The openstack_dashboard.dashboards.project.firewalls.workflows ModuleΒΆ

class openstack_dashboard.dashboards.project.firewalls.workflows.AddFirewall(request=None, context_seed=None, entry_point=None, *args, **kwargs)[source]

Bases: horizon.workflows.base.Workflow

default_steps = (<class 'openstack_dashboard.dashboards.project.firewalls.workflows.AddFirewallStep'>,)
failure_message = <django.utils.functional.__proxy__ object at 0xd64116c>
finalize_button_name = <django.utils.functional.__proxy__ object at 0xd641fac>
format_status_message(message)[source]
handle(request, context)[source]
name = <django.utils.functional.__proxy__ object at 0xe2b5c6c>
slug = 'addfirewall'
success_message = <django.utils.functional.__proxy__ object at 0xd641f0c>
success_url = 'horizon:project:firewalls:index'
class openstack_dashboard.dashboards.project.firewalls.workflows.AddFirewallAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = {'name': <django.forms.fields.CharField object at 0xdc7cb6c>, 'description': <django.forms.fields.CharField object at 0xdc7cb8c>, 'firewall_policy_id': <django.forms.fields.ChoiceField object at 0xd6417ac>, 'shared': <django.forms.fields.BooleanField object at 0xd641cac>, 'admin_state_up': <django.forms.fields.BooleanField object at 0xd641bec>}
help_text = <django.utils.functional.__proxy__ object at 0xd641acc>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0xd6412ec>
permissions = ('openstack.services.network',)
progress_message = <django.utils.functional.__proxy__ object at 0xd641e8c>
slug = u'addfirewallaction'
class openstack_dashboard.dashboards.project.firewalls.workflows.AddFirewallStep(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of AddFirewallAction

contribute(data, context)[source]
contributes = ('name', 'firewall_policy_id', 'description', 'shared', 'admin_state_up')
class openstack_dashboard.dashboards.project.firewalls.workflows.AddPolicy(request=None, context_seed=None, entry_point=None, *args, **kwargs)[source]

Bases: horizon.workflows.base.Workflow

default_steps = (<class 'openstack_dashboard.dashboards.project.firewalls.workflows.AddPolicyStep'>, <class 'openstack_dashboard.dashboards.project.firewalls.workflows.SelectRulesStep'>)
failure_message = <django.utils.functional.__proxy__ object at 0xdc7c18c>
finalize_button_name = <django.utils.functional.__proxy__ object at 0xdc7c46c>
format_status_message(message)[source]
handle(request, context)[source]
name = <django.utils.functional.__proxy__ object at 0xdc7cd4c>
slug = 'addpolicy'
success_message = <django.utils.functional.__proxy__ object at 0xdc7cd0c>
success_url = 'horizon:project:firewalls:index'
class openstack_dashboard.dashboards.project.firewalls.workflows.AddPolicyAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = {'name': <django.forms.fields.CharField object at 0xddd54cc>, 'description': <django.forms.fields.CharField object at 0xddb6a2c>, 'shared': <django.forms.fields.BooleanField object at 0xddb62cc>, 'audited': <django.forms.fields.BooleanField object at 0xddb686c>}
help_text = <django.utils.functional.__proxy__ object at 0xd90810c>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0xddb69cc>
permissions = ('openstack.services.network',)
progress_message = <django.utils.functional.__proxy__ object at 0xd90806c>
slug = u'addpolicyaction'
class openstack_dashboard.dashboards.project.firewalls.workflows.AddPolicyStep(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of AddPolicyAction

contribute(data, context)[source]
contributes = ('name', 'description', 'shared', 'audited')
class openstack_dashboard.dashboards.project.firewalls.workflows.AddRule(request=None, context_seed=None, entry_point=None, *args, **kwargs)[source]

Bases: horizon.workflows.base.Workflow

default_steps = (<class 'openstack_dashboard.dashboards.project.firewalls.workflows.AddRuleStep'>,)
failure_message = <django.utils.functional.__proxy__ object at 0xde8b40c>
finalize_button_name = <django.utils.functional.__proxy__ object at 0xdd4188c>
format_status_message(message)[source]
handle(request, context)[source]
name = <django.utils.functional.__proxy__ object at 0xe2be52c>
slug = 'addrule'
success_message = <django.utils.functional.__proxy__ object at 0xdc7908c>
success_url = 'horizon:project:firewalls:index'
class openstack_dashboard.dashboards.project.firewalls.workflows.AddRuleAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = {'name': <django.forms.fields.CharField object at 0xdcb788c>, 'description': <django.forms.fields.CharField object at 0xdab454c>, 'protocol': <django.forms.fields.ChoiceField object at 0xd566fcc>, 'action': <django.forms.fields.ChoiceField object at 0xddbd32c>, 'source_ip_address': <horizon.utils.fields.IPField object at 0xdb365ac>, 'destination_ip_address': <horizon.utils.fields.IPField object at 0xd8ff68c>, 'source_port': <django.forms.fields.CharField object at 0xdd0376c>, 'destination_port': <django.forms.fields.CharField object at 0xdc7972c>, 'shared': <django.forms.fields.BooleanField object at 0xdc79acc>, 'enabled': <django.forms.fields.BooleanField object at 0xdc79b2c>}
help_text = <django.utils.functional.__proxy__ object at 0xdc7980c>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0xdc7966c>
permissions = ('openstack.services.network',)
progress_message = <django.utils.functional.__proxy__ object at 0xddc36ec>
slug = u'addruleaction'
class openstack_dashboard.dashboards.project.firewalls.workflows.AddRuleStep(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of AddRuleAction

contribute(data, context)[source]
contributes = ('name', 'description', 'protocol', 'action', 'source_ip_address', 'source_port', 'destination_ip_address', 'destination_port', 'enabled', 'shared')
class openstack_dashboard.dashboards.project.firewalls.workflows.SelectRulesAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = {'rule': <django.forms.fields.MultipleChoiceField object at 0xde8b30c>}
help_text = <django.utils.functional.__proxy__ object at 0xde8ba0c>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0xde8be8c>
permissions = ('openstack.services.network',)
populate_rule_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0xddd5e8c>
slug = u'selectrulesaction'
class openstack_dashboard.dashboards.project.firewalls.workflows.SelectRulesStep(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of SelectRulesAction

contribute(data, context)[source]
contributes = ('firewall_rules',)
template_name = 'project/firewalls/_update_rules.html'