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

class openstack_dashboard.dashboards.project.firewalls.forms.AddRouterToFirewall(request, *args, **kwargs)[source]

Bases: openstack_dashboard.dashboards.project.firewalls.forms.RouterInsertionFormBase

base_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7fdfb3c76550>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7fdfb3c76550>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7fdfb3c76710>
failure_url = 'horizon:project:firewalls:index'
get_new_router_ids(context)[source]
get_router_choices(request, kwargs)[source]
init_failure_msg = <django.utils.functional.__proxy__ object at 0x7fdfb3c76850>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7fdfb3c76310>
class openstack_dashboard.dashboards.project.firewalls.forms.InsertRuleToPolicy(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('firewall_rule_id', <django.forms.fields.ChoiceField object at 0x7fdfb3291f90>), ('insert_before', <django.forms.fields.ChoiceField object at 0x7fdfb3291c90>), ('insert_after', <django.forms.fields.ChoiceField object at 0x7fdfb3291410>)])
declared_fields = OrderedDict([('firewall_rule_id', <django.forms.fields.ChoiceField object at 0x7fdfb3291f90>), ('insert_before', <django.forms.fields.ChoiceField object at 0x7fdfb3291c90>), ('insert_after', <django.forms.fields.ChoiceField object at 0x7fdfb3291410>)])
failure_url = 'horizon:project:firewalls:index'
handle(request, context)[source]
media
class openstack_dashboard.dashboards.project.firewalls.forms.RemoveRouterFromFirewall(request, *args, **kwargs)[source]

Bases: openstack_dashboard.dashboards.project.firewalls.forms.RouterInsertionFormBase

base_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7fdfb11eec50>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7fdfb11eec50>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7fdfb11ee690>
failure_url = 'horizon:project:firewalls:index'
get_new_router_ids(context)[source]
get_router_choices(request, kwargs)[source]
init_failure_msg = <django.utils.functional.__proxy__ object at 0x7fdfb11eea10>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7fdfb11ee910>
class openstack_dashboard.dashboards.project.firewalls.forms.RemoveRuleFromPolicy(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('firewall_rule_id', <django.forms.fields.ChoiceField object at 0x7fdfb3291ad0>)])
declared_fields = OrderedDict([('firewall_rule_id', <django.forms.fields.ChoiceField object at 0x7fdfb3291ad0>)])
failure_url = 'horizon:project:firewalls:index'
handle(request, context)[source]
media
class openstack_dashboard.dashboards.project.firewalls.forms.RouterInsertionFormBase(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict()
declared_fields = OrderedDict()
get_new_router_ids(context)[source]

Return a new list of router IDs associated with the firewall.

get_router_choices(request, kwargs)[source]

Return a list of selectable routers.

handle(request, context)[source]
media
class openstack_dashboard.dashboards.project.firewalls.forms.UpdateFirewall(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb15af750>), ('description', <django.forms.fields.CharField object at 0x7fdfb15af790>), ('firewall_policy_id', <django.forms.fields.ChoiceField object at 0x7fdfb15af190>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7fdfb32918d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb15af750>), ('description', <django.forms.fields.CharField object at 0x7fdfb15af790>), ('firewall_policy_id', <django.forms.fields.ChoiceField object at 0x7fdfb15af190>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7fdfb32918d0>)])
failure_url = 'horizon:project:firewalls:index'
handle(request, context)[source]
media
class openstack_dashboard.dashboards.project.firewalls.forms.UpdatePolicy(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb15afc90>), ('description', <django.forms.fields.CharField object at 0x7fdfb15afb90>), ('shared', <django.forms.fields.BooleanField object at 0x7fdfb15af590>), ('audited', <django.forms.fields.BooleanField object at 0x7fdfb15af110>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb15afc90>), ('description', <django.forms.fields.CharField object at 0x7fdfb15afb90>), ('shared', <django.forms.fields.BooleanField object at 0x7fdfb15af590>), ('audited', <django.forms.fields.BooleanField object at 0x7fdfb15af110>)])
failure_url = 'horizon:project:firewalls:index'
handle(request, context)[source]
media
class openstack_dashboard.dashboards.project.firewalls.forms.UpdateRule(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb1c96610>), ('description', <django.forms.fields.CharField object at 0x7fdfb1c967d0>), ('protocol', <django.forms.fields.ChoiceField object at 0x7fdfb1c96fd0>), ('action', <django.forms.fields.ChoiceField object at 0x7fdfb1c96890>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7fdfb1c96250>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7fdfb1c962d0>), ('source_port', <django.forms.fields.CharField object at 0x7fdfb1c96190>), ('destination_port', <django.forms.fields.CharField object at 0x7fdfb0e38750>), ('shared', <django.forms.fields.BooleanField object at 0x7fdfb15afad0>), ('enabled', <django.forms.fields.BooleanField object at 0x7fdfb15af150>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fdfb1c96610>), ('description', <django.forms.fields.CharField object at 0x7fdfb1c967d0>), ('protocol', <django.forms.fields.ChoiceField object at 0x7fdfb1c96fd0>), ('action', <django.forms.fields.ChoiceField object at 0x7fdfb1c96890>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7fdfb1c96250>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7fdfb1c962d0>), ('source_port', <django.forms.fields.CharField object at 0x7fdfb1c96190>), ('destination_port', <django.forms.fields.CharField object at 0x7fdfb0e38750>), ('shared', <django.forms.fields.BooleanField object at 0x7fdfb15afad0>), ('enabled', <django.forms.fields.BooleanField object at 0x7fdfb15af150>)])
failure_url = 'horizon:project:firewalls:index'
handle(request, context)[source]
media

Previous topic

The openstack_dashboard.dashboards.project.firewalls.panel Module

Next topic

The openstack_dashboard.dashboards.project.firewalls Module

Project Source

This Page