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 0x7f446cb361d0>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7f446cb361d0>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7f446cb36d10>
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 0x7f4470819c50>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7f446cb36a90>
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 0x7f446cb36ad0>), ('insert_before', <django.forms.fields.ChoiceField object at 0x7f446cb36bd0>), ('insert_after', <django.forms.fields.ChoiceField object at 0x7f446cb367d0>)])
declared_fields = OrderedDict([('firewall_rule_id', <django.forms.fields.ChoiceField object at 0x7f446cb36ad0>), ('insert_before', <django.forms.fields.ChoiceField object at 0x7f446cb36bd0>), ('insert_after', <django.forms.fields.ChoiceField object at 0x7f446cb367d0>)])
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 0x7f446d1d1350>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7f446d1d1350>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7f446d1d1050>
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 0x7f446d1d1750>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7f446d1d11d0>
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 0x7f446cb366d0>)])
declared_fields = OrderedDict([('firewall_rule_id', <django.forms.fields.ChoiceField object at 0x7f446cb366d0>)])
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 0x7f446cb36450>), ('description', <django.forms.fields.CharField object at 0x7f446cb36e10>), ('firewall_policy_id', <django.forms.fields.ChoiceField object at 0x7f446cb36f50>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7f446cb36ed0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f446cb36450>), ('description', <django.forms.fields.CharField object at 0x7f446cb36e10>), ('firewall_policy_id', <django.forms.fields.ChoiceField object at 0x7f446cb36f50>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7f446cb36ed0>)])
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 0x7f446d936e10>), ('description', <django.forms.fields.CharField object at 0x7f446d9364d0>), ('shared', <django.forms.fields.BooleanField object at 0x7f446d936ed0>), ('audited', <django.forms.fields.BooleanField object at 0x7f446d936910>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f446d936e10>), ('description', <django.forms.fields.CharField object at 0x7f446d9364d0>), ('shared', <django.forms.fields.BooleanField object at 0x7f446d936ed0>), ('audited', <django.forms.fields.BooleanField object at 0x7f446d936910>)])
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 0x7f446da22d50>), ('description', <django.forms.fields.CharField object at 0x7f446da22190>), ('protocol', <django.forms.fields.ChoiceField object at 0x7f446da22250>), ('action', <django.forms.fields.ChoiceField object at 0x7f446da22150>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7f4470b24610>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7f446d936bd0>), ('source_port', <django.forms.fields.CharField object at 0x7f446d936750>), ('destination_port', <django.forms.fields.CharField object at 0x7f446d936f50>), ('ip_version', <django.forms.fields.ChoiceField object at 0x7f446d936d50>), ('shared', <django.forms.fields.BooleanField object at 0x7f446d936d90>), ('enabled', <django.forms.fields.BooleanField object at 0x7f446d936410>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f446da22d50>), ('description', <django.forms.fields.CharField object at 0x7f446da22190>), ('protocol', <django.forms.fields.ChoiceField object at 0x7f446da22250>), ('action', <django.forms.fields.ChoiceField object at 0x7f446da22150>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7f4470b24610>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7f446d936bd0>), ('source_port', <django.forms.fields.CharField object at 0x7f446d936750>), ('destination_port', <django.forms.fields.CharField object at 0x7f446d936f50>), ('ip_version', <django.forms.fields.ChoiceField object at 0x7f446d936d50>), ('shared', <django.forms.fields.BooleanField object at 0x7f446d936d90>), ('enabled', <django.forms.fields.BooleanField object at 0x7f446d936410>)])
failure_url = 'horizon:project:firewalls:index'
handle(request, context)[source]
media

Previous topic

The openstack_dashboard.dashboards.project.firewalls.urls Module

Next topic

The openstack_dashboard.dashboards.project.firewalls Module

Project Source

This Page