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 0x7fba5a6a8d50>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7fba5a6a8d50>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7fba5a9f3ad0>
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 0x7fba5a9f3750>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7fba5a9f37d0>
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 0x7fba5bbc1050>), ('insert_before', <django.forms.fields.ChoiceField object at 0x7fba5d00eb50>), ('insert_after', <django.forms.fields.ChoiceField object at 0x7fba5ae91810>)])
declared_fields = OrderedDict([('firewall_rule_id', <django.forms.fields.ChoiceField object at 0x7fba5bbc1050>), ('insert_before', <django.forms.fields.ChoiceField object at 0x7fba5d00eb50>), ('insert_after', <django.forms.fields.ChoiceField object at 0x7fba5ae91810>)])
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 0x7fba5a9f3cd0>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7fba5a9f3cd0>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7fba5a9f36d0>
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 0x7fba5a9f3810>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7fba5a9f3b90>
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 0x7fba5ae915d0>)])
declared_fields = OrderedDict([('firewall_rule_id', <django.forms.fields.ChoiceField object at 0x7fba5ae915d0>)])
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 0x7fba5a24c390>), ('description', <django.forms.fields.CharField object at 0x7fba5c7493d0>), ('firewall_policy_id', <django.forms.fields.ChoiceField object at 0x7fba5c749c10>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7fba5bbc1e50>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5a24c390>), ('description', <django.forms.fields.CharField object at 0x7fba5c7493d0>), ('firewall_policy_id', <django.forms.fields.ChoiceField object at 0x7fba5c749c10>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7fba5bbc1e50>)])
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 0x7fba597d8850>), ('description', <django.forms.fields.CharField object at 0x7fba5930d510>), ('shared', <django.forms.fields.BooleanField object at 0x7fba5930d790>), ('audited', <django.forms.fields.BooleanField object at 0x7fba5a24c190>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba597d8850>), ('description', <django.forms.fields.CharField object at 0x7fba5930d510>), ('shared', <django.forms.fields.BooleanField object at 0x7fba5930d790>), ('audited', <django.forms.fields.BooleanField object at 0x7fba5a24c190>)])
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 0x7fba58b76650>), ('description', <django.forms.fields.CharField object at 0x7fba5a26ac90>), ('protocol', <django.forms.fields.ChoiceField object at 0x7fba593e8250>), ('action', <django.forms.fields.ChoiceField object at 0x7fba59d17f50>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7fba59846fd0>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7fba59846a50>), ('source_port', <django.forms.fields.CharField object at 0x7fba59170910>), ('destination_port', <django.forms.fields.CharField object at 0x7fba591aa5d0>), ('ip_version', <django.forms.fields.ChoiceField object at 0x7fba597d8710>), ('shared', <django.forms.fields.BooleanField object at 0x7fba597d8bd0>), ('enabled', <django.forms.fields.BooleanField object at 0x7fba597d8690>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba58b76650>), ('description', <django.forms.fields.CharField object at 0x7fba5a26ac90>), ('protocol', <django.forms.fields.ChoiceField object at 0x7fba593e8250>), ('action', <django.forms.fields.ChoiceField object at 0x7fba59d17f50>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7fba59846fd0>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7fba59846a50>), ('source_port', <django.forms.fields.CharField object at 0x7fba59170910>), ('destination_port', <django.forms.fields.CharField object at 0x7fba591aa5d0>), ('ip_version', <django.forms.fields.ChoiceField object at 0x7fba597d8710>), ('shared', <django.forms.fields.BooleanField object at 0x7fba597d8bd0>), ('enabled', <django.forms.fields.BooleanField object at 0x7fba597d8690>)])
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.workflows Module

Project Source

This Page