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 0x7f10325a5c90>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7f10325a5c90>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7f10325a5110>
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 0x7f10325a54d0>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7f10325a5d90>
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 0x7f103248c150>), ('insert_before', <horizon.forms.fields.ThemableChoiceField object at 0x7f103248c510>), ('insert_after', <horizon.forms.fields.ThemableChoiceField object at 0x7f103248ca50>)])
declared_fields = OrderedDict([('firewall_rule_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f103248c150>), ('insert_before', <horizon.forms.fields.ThemableChoiceField object at 0x7f103248c510>), ('insert_after', <horizon.forms.fields.ThemableChoiceField object at 0x7f103248ca50>)])
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 0x7f1032895fd0>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7f1032895fd0>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7f1032895dd0>
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 0x7f1032895ad0>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7f1032895550>
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 0x7f103248cad0>)])
declared_fields = OrderedDict([('firewall_rule_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f103248cad0>)])
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 0x7f103426b6d0>), ('description', <django.forms.fields.CharField object at 0x7f103426b4d0>), ('firewall_policy_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f103589e710>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0x7f1031589550>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f103426b6d0>), ('description', <django.forms.fields.CharField object at 0x7f103426b4d0>), ('firewall_policy_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f103589e710>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0x7f1031589550>)])
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 0x7f1032d6bb10>), ('description', <django.forms.fields.CharField object at 0x7f1032d6bfd0>), ('shared', <django.forms.fields.BooleanField object at 0x7f1032d6b450>), ('audited', <django.forms.fields.BooleanField object at 0x7f1032d6b550>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f1032d6bb10>), ('description', <django.forms.fields.CharField object at 0x7f1032d6bfd0>), ('shared', <django.forms.fields.BooleanField object at 0x7f1032d6b450>), ('audited', <django.forms.fields.BooleanField object at 0x7f1032d6b550>)])
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 0x7f1033ef6e50>), ('description', <django.forms.fields.CharField object at 0x7f1032b68110>), ('protocol', <horizon.forms.fields.ThemableChoiceField object at 0x7f1032b68a10>), ('action', <horizon.forms.fields.ThemableChoiceField object at 0x7f1032b68cd0>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7f1032b68b90>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7f1032b68410>), ('source_port', <django.forms.fields.CharField object at 0x7f1032d6bc10>), ('destination_port', <django.forms.fields.CharField object at 0x7f1032d6b190>), ('ip_version', <horizon.forms.fields.ThemableChoiceField object at 0x7f1032d6b090>), ('shared', <django.forms.fields.BooleanField object at 0x7f1032d6b9d0>), ('enabled', <django.forms.fields.BooleanField object at 0x7f1032d6b890>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f1033ef6e50>), ('description', <django.forms.fields.CharField object at 0x7f1032b68110>), ('protocol', <horizon.forms.fields.ThemableChoiceField object at 0x7f1032b68a10>), ('action', <horizon.forms.fields.ThemableChoiceField object at 0x7f1032b68cd0>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7f1032b68b90>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7f1032b68410>), ('source_port', <django.forms.fields.CharField object at 0x7f1032d6bc10>), ('destination_port', <django.forms.fields.CharField object at 0x7f1032d6b190>), ('ip_version', <horizon.forms.fields.ThemableChoiceField object at 0x7f1032d6b090>), ('shared', <django.forms.fields.BooleanField object at 0x7f1032d6b9d0>), ('enabled', <django.forms.fields.BooleanField object at 0x7f1032d6b890>)])
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.ngdetails.urls Module

Project Source

This Page