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 0x7f9f3ccfe2d0>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7f9f3ccfe2d0>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7f9f3dde1290>
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 0x7f9f3c8ec190>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7f9f3ccfe310>
class openstack_dashboard.dashboards.project.firewalls.forms.InsertRuleToPolicy(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('firewall_rule_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ccf8c90>), ('insert_before', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ccf8d50>), ('insert_after', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ccf8e50>)])
declared_fields = OrderedDict([('firewall_rule_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ccf8c90>), ('insert_before', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ccf8d50>), ('insert_after', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ccf8e50>)])
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 0x7f9f3ccfe5d0>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7f9f3ccfe5d0>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7f9f3ccfe650>
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 0x7f9f3ccfe690>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7f9f3ccfe610>
class openstack_dashboard.dashboards.project.firewalls.forms.RemoveRuleFromPolicy(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('firewall_rule_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ccfe050>)])
declared_fields = OrderedDict([('firewall_rule_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ccfe050>)])
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 0x7f9f3ccf8610>), ('description', <django.forms.fields.CharField object at 0x7f9f3ccf8710>), ('firewall_policy_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ccf8890>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ccf8a50>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f9f3ccf8610>), ('description', <django.forms.fields.CharField object at 0x7f9f3ccf8710>), ('firewall_policy_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ccf8890>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ccf8a50>)])
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 0x7f9f3ccf8090>), ('description', <django.forms.fields.CharField object at 0x7f9f3ccf8190>), ('shared', <django.forms.fields.BooleanField object at 0x7f9f3ccf8310>), ('audited', <django.forms.fields.BooleanField object at 0x7f9f3ccf83d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f9f3ccf8090>), ('description', <django.forms.fields.CharField object at 0x7f9f3ccf8190>), ('shared', <django.forms.fields.BooleanField object at 0x7f9f3ccf8310>), ('audited', <django.forms.fields.BooleanField object at 0x7f9f3ccf83d0>)])
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 0x7f9f3c8ecf90>), ('description', <django.forms.fields.CharField object at 0x7f9f3cd140d0>), ('protocol', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3cd14310>), ('action', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3cd144d0>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7f9f3c91c650>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7f9f3cd14690>), ('source_port', <django.forms.fields.CharField object at 0x7f9f3cd14810>), ('destination_port', <django.forms.fields.CharField object at 0x7f9f3cd14a10>), ('ip_version', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3cd14c10>), ('shared', <django.forms.fields.BooleanField object at 0x7f9f3cd14d90>), ('enabled', <django.forms.fields.BooleanField object at 0x7f9f3cd14e50>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f9f3c8ecf90>), ('description', <django.forms.fields.CharField object at 0x7f9f3cd140d0>), ('protocol', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3cd14310>), ('action', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3cd144d0>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7f9f3c91c650>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7f9f3cd14690>), ('source_port', <django.forms.fields.CharField object at 0x7f9f3cd14810>), ('destination_port', <django.forms.fields.CharField object at 0x7f9f3cd14a10>), ('ip_version', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3cd14c10>), ('shared', <django.forms.fields.BooleanField object at 0x7f9f3cd14d90>), ('enabled', <django.forms.fields.BooleanField object at 0x7f9f3cd14e50>)])
failure_url = 'horizon:project:firewalls:index'
handle(request, context)[source]
media

Previous topic

The openstack_dashboard.dashboards.project.firewalls Module

Next topic

The openstack_dashboard.dashboards.project.firewalls.workflows Module

Project Source

This Page