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 0x7f6abd410d90>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7f6abd410d90>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7f6abd4109d0>
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 0x7f6abd410dd0>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7f6abd410c50>
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 0x7f6ab7c237d0>), ('insert_before', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7c23b10>), ('insert_after', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7398690>)])
declared_fields = OrderedDict([('firewall_rule_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7c237d0>), ('insert_before', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7c23b10>), ('insert_after', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7398690>)])
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 0x7f6ab72e4910>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7f6ab72e4910>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7f6ab72e43d0>
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 0x7f6ab72e4250>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7f6ab72e4890>
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 0x7f6ab7ef25d0>)])
declared_fields = OrderedDict([('firewall_rule_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7ef25d0>)])
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 0x7f6ab73f7810>), ('description', <django.forms.fields.CharField object at 0x7f6ab73f7a50>), ('firewall_policy_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab73f7590>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7c231d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f6ab73f7810>), ('description', <django.forms.fields.CharField object at 0x7f6ab73f7a50>), ('firewall_policy_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab73f7590>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7c231d0>)])
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 0x7f6ab7ad03d0>), ('description', <django.forms.fields.CharField object at 0x7f6ab7ad0850>), ('shared', <django.forms.fields.BooleanField object at 0x7f6ab73f7390>), ('audited', <django.forms.fields.BooleanField object at 0x7f6ab73f7b10>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f6ab7ad03d0>), ('description', <django.forms.fields.CharField object at 0x7f6ab7ad0850>), ('shared', <django.forms.fields.BooleanField object at 0x7f6ab73f7390>), ('audited', <django.forms.fields.BooleanField object at 0x7f6ab73f7b10>)])
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 0x7f6ab7c72890>), ('description', <django.forms.fields.CharField object at 0x7f6ab7c720d0>), ('protocol', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7c72b90>), ('action', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7c72350>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7f6ab7c72210>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7f6ab7c726d0>), ('source_port', <django.forms.fields.CharField object at 0x7f6ab965e790>), ('destination_port', <django.forms.fields.CharField object at 0x7f6ab965ec50>), ('ip_version', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7ad0690>), ('shared', <django.forms.fields.BooleanField object at 0x7f6ab7ad0510>), ('enabled', <django.forms.fields.BooleanField object at 0x7f6ab7ad01d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f6ab7c72890>), ('description', <django.forms.fields.CharField object at 0x7f6ab7c720d0>), ('protocol', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7c72b90>), ('action', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7c72350>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7f6ab7c72210>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7f6ab7c726d0>), ('source_port', <django.forms.fields.CharField object at 0x7f6ab965e790>), ('destination_port', <django.forms.fields.CharField object at 0x7f6ab965ec50>), ('ip_version', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab7ad0690>), ('shared', <django.forms.fields.BooleanField object at 0x7f6ab7ad0510>), ('enabled', <django.forms.fields.BooleanField object at 0x7f6ab7ad01d0>)])
failure_url = 'horizon:project:firewalls:index'
handle(request, context)[source]
media

Previous topic

The openstack_dashboard.dashboards.project.firewalls.views Module

Next topic

The openstack_dashboard.dashboards.project.firewalls Module

Project Source

This Page