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 0xf25a550>
-
finalize_button_name= <django.utils.functional.__proxy__ object at 0xf288fd0>
-
format_status_message(message)[source]
-
handle(request, context)[source]
-
name= <django.utils.functional.__proxy__ object at 0xf288f90>
-
slug= 'addfirewall'
-
success_message= <django.utils.functional.__proxy__ object at 0xf25a750>
-
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 0xf288650>), ('description', <django.forms.fields.CharField object at 0xf288890>), ('firewall_policy_id', <horizon.forms.fields.ThemableChoiceField object at 0xf288a10>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0xf288bd0>)])
-
declared_fields= OrderedDict([('name', <django.forms.fields.CharField object at 0xf288650>), ('description', <django.forms.fields.CharField object at 0xf288890>), ('firewall_policy_id', <horizon.forms.fields.ThemableChoiceField object at 0xf288a10>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0xf288bd0>)])
-
help_text= <django.utils.functional.__proxy__ object at 0xf288d50>
-
help_text_template= None
-
media
-
name= <django.utils.functional.__proxy__ object at 0xf288d10>
-
permissions= ('openstack.services.network',)
-
policy_rules= ()
-
progress_message= <django.utils.functional.__proxy__ object at 0xf288f50>
-
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 at 0xf288590>
-
finalize_button_name= <django.utils.functional.__proxy__ object at 0xf288510>
-
format_status_message(message)[source]
-
handle(request, context)[source]
-
name= <django.utils.functional.__proxy__ object at 0xf2884d0>
-
slug= 'addpolicy'
-
success_message= <django.utils.functional.__proxy__ object at 0xf288550>
-
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 0xf287d10>), ('description', <django.forms.fields.CharField object at 0xf287e50>), ('shared', <django.forms.fields.BooleanField object at 0xf287fd0>), ('audited', <django.forms.fields.BooleanField object at 0xf2880d0>)])
-
declared_fields= OrderedDict([('name', <django.forms.fields.CharField object at 0xf287d10>), ('description', <django.forms.fields.CharField object at 0xf287e50>), ('shared', <django.forms.fields.BooleanField object at 0xf287fd0>), ('audited', <django.forms.fields.BooleanField object at 0xf2880d0>)])
-
help_text= <django.utils.functional.__proxy__ object at 0xf2881d0>
-
help_text_template= None
-
media
-
name= <django.utils.functional.__proxy__ object at 0xf288190>
-
permissions= ('openstack.services.network',)
-
policy_rules= ()
-
progress_message= <django.utils.functional.__proxy__ object at 0xf288450>
-
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 0xf287310>
-
finalize_button_name= <django.utils.functional.__proxy__ object at 0xf287290>
-
format_status_message(message)[source]
-
handle(request, context)[source]
-
name= <django.utils.functional.__proxy__ object at 0xf287250>
-
slug= 'addrule'
-
success_message= <django.utils.functional.__proxy__ object at 0xf2872d0>
-
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 0xf3a4110>), ('description', <django.forms.fields.CharField object at 0xf3a4510>), ('protocol', <horizon.forms.fields.ThemableChoiceField object at 0xf3a4710>), ('action', <horizon.forms.fields.ThemableChoiceField object at 0xf3a4890>), ('source_ip_address', <horizon.forms.fields.IPField object at 0xf3a4950>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0xf23e810>), ('source_port', <django.forms.fields.CharField object at 0xf3a4a90>), ('destination_port', <django.forms.fields.CharField object at 0xf3a4b90>), ('ip_version', <horizon.forms.fields.ThemableChoiceField object at 0xf3a4cd0>), ('shared', <django.forms.fields.BooleanField object at 0xf3a4e10>), ('enabled', <django.forms.fields.BooleanField object at 0xef7e9d0>)])
-
clean()[source]
-
declared_fields= OrderedDict([('name', <django.forms.fields.CharField object at 0xf3a4110>), ('description', <django.forms.fields.CharField object at 0xf3a4510>), ('protocol', <horizon.forms.fields.ThemableChoiceField object at 0xf3a4710>), ('action', <horizon.forms.fields.ThemableChoiceField object at 0xf3a4890>), ('source_ip_address', <horizon.forms.fields.IPField object at 0xf3a4950>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0xf23e810>), ('source_port', <django.forms.fields.CharField object at 0xf3a4a90>), ('destination_port', <django.forms.fields.CharField object at 0xf3a4b90>), ('ip_version', <horizon.forms.fields.ThemableChoiceField object at 0xf3a4cd0>), ('shared', <django.forms.fields.BooleanField object at 0xf3a4e10>), ('enabled', <django.forms.fields.BooleanField object at 0xef7e9d0>)])
-
help_text= <django.utils.functional.__proxy__ object at 0xf3a4f50>
-
help_text_template= None
-
media
-
name= <django.utils.functional.__proxy__ object at 0xf3a4f10>
-
permissions= ('openstack.services.network',)
-
policy_rules= ()
-
progress_message= <django.utils.functional.__proxy__ object at 0xf287210>
-
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 0xf287990>)])
-
declared_fields= OrderedDict([('router', <django.forms.fields.MultipleChoiceField object at 0xf287990>)])
-
help_text= <django.utils.functional.__proxy__ object at 0xf287a50>
-
help_text_template= None
-
media
-
name= <django.utils.functional.__proxy__ object at 0xf287a10>
-
permissions= ('openstack.services.network',)
-
policy_rules= ()
-
populate_router_choices(request, context)[source]
-
progress_message= <django.utils.functional.__proxy__ object at 0xf287c90>
-
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 0xf287590>)])
-
declared_fields= OrderedDict([('rule', <django.forms.fields.MultipleChoiceField object at 0xf287590>)])
-
help_text= <django.utils.functional.__proxy__ object at 0xf287650>
-
help_text_template= None
-
media
-
name= <django.utils.functional.__proxy__ object at 0xf287610>
-
permissions= ('openstack.services.network',)
-
policy_rules= ()
-
populate_rule_choices(request, context)[source]
-
progress_message= <django.utils.functional.__proxy__ object at 0xf287890>
-
slug= u'selectrulesaction'
-