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>
finalize_button_name = <django.utils.functional.__proxy__ object>
format_status_message(message)[source]
handle(request, context)[source]
name = <django.utils.functional.__proxy__ object>
slug = 'addfirewall'
success_message = <django.utils.functional.__proxy__ object>
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 = OrderedDict([('name', <django.forms.fields.CharField object at 0x2b04af3b2710>), ('description', <django.forms.fields.CharField object at 0x2b04af499250>), ('firewall_policy_id', <django.forms.fields.ChoiceField object at 0x2b04af499610>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2b04af499090>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2b04af3b2710>), ('description', <django.forms.fields.CharField object at 0x2b04af499250>), ('firewall_policy_id', <django.forms.fields.ChoiceField object at 0x2b04af499610>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2b04af499090>)])
help_text = <django.utils.functional.__proxy__ object>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object>
permissions = ('openstack.services.network',)
progress_message = <django.utils.functional.__proxy__ object>
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', '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>
finalize_button_name = <django.utils.functional.__proxy__ object>
format_status_message(message)[source]
handle(request, context)[source]
name = <django.utils.functional.__proxy__ object>
slug = 'addpolicy'
success_message = <django.utils.functional.__proxy__ object>
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 = OrderedDict([('name', <django.forms.fields.CharField object at 0x2b04ae802b90>), ('description', <django.forms.fields.CharField object at 0x2b04ae410610>), ('shared', <django.forms.fields.BooleanField object at 0x2b04ae410390>), ('audited', <django.forms.fields.BooleanField object at 0x2b04ae410550>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2b04ae802b90>), ('description', <django.forms.fields.CharField object at 0x2b04ae410610>), ('shared', <django.forms.fields.BooleanField object at 0x2b04ae410390>), ('audited', <django.forms.fields.BooleanField object at 0x2b04ae410550>)])
help_text = <django.utils.functional.__proxy__ object>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object>
permissions = ('openstack.services.network',)
progress_message = <django.utils.functional.__proxy__ object>
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>
finalize_button_name = <django.utils.functional.__proxy__ object>
format_status_message(message)[source]
handle(request, context)[source]
name = <django.utils.functional.__proxy__ object>
slug = 'addrule'
success_message = <django.utils.functional.__proxy__ object>
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 = OrderedDict([('name', <django.forms.fields.CharField object at 0x2b04ae6b1410>), ('description', <django.forms.fields.CharField object at 0x2b04add277d0>), ('protocol', <django.forms.fields.ChoiceField object at 0x2b04add27690>), ('action', <django.forms.fields.ChoiceField object at 0x2b04adf45b90>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x2b04adf452d0>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x2b04adf45cd0>), ('source_port', <django.forms.fields.CharField object at 0x2b04adf45dd0>), ('destination_port', <django.forms.fields.CharField object at 0x2b04adf45f50>), ('ip_version', <django.forms.fields.ChoiceField object at 0x2b04adf45390>), ('shared', <django.forms.fields.BooleanField object at 0x2b04adf454d0>), ('enabled', <django.forms.fields.BooleanField object at 0x2b04adf457d0>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2b04ae6b1410>), ('description', <django.forms.fields.CharField object at 0x2b04add277d0>), ('protocol', <django.forms.fields.ChoiceField object at 0x2b04add27690>), ('action', <django.forms.fields.ChoiceField object at 0x2b04adf45b90>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x2b04adf452d0>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x2b04adf45cd0>), ('source_port', <django.forms.fields.CharField object at 0x2b04adf45dd0>), ('destination_port', <django.forms.fields.CharField object at 0x2b04adf45f50>), ('ip_version', <django.forms.fields.ChoiceField object at 0x2b04adf45390>), ('shared', <django.forms.fields.BooleanField object at 0x2b04adf454d0>), ('enabled', <django.forms.fields.BooleanField object at 0x2b04adf457d0>)])
help_text = <django.utils.functional.__proxy__ object>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object>
permissions = ('openstack.services.network',)
progress_message = <django.utils.functional.__proxy__ object>
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', 'ip_version')
class openstack_dashboard.dashboards.project.firewalls.workflows.SelectRoutersAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('router', <django.forms.fields.MultipleChoiceField object at 0x2b04ae802b10>)])
declared_fields = OrderedDict([('router', <django.forms.fields.MultipleChoiceField object at 0x2b04ae802b10>)])
help_text = <django.utils.functional.__proxy__ object>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object>
permissions = ('openstack.services.network',)
populate_router_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object>
slug = u'selectroutersaction'
class openstack_dashboard.dashboards.project.firewalls.workflows.SelectRoutersStep(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of SelectRoutersAction

contribute(data, context)[source]
contributes = ('router_ids', 'all_routers_selected', 'Select No Routers')
template_name = 'project/firewalls/_update_routers.html'
class openstack_dashboard.dashboards.project.firewalls.workflows.SelectRulesAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('rule', <django.forms.fields.MultipleChoiceField object at 0x2b04ae802890>)])
declared_fields = OrderedDict([('rule', <django.forms.fields.MultipleChoiceField object at 0x2b04ae802890>)])
help_text = <django.utils.functional.__proxy__ object>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object>
permissions = ('openstack.services.network',)
populate_rule_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object>
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'