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 0x7faf83fb94d0>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7faf83fb94d0>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7faf8521af10>
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 0x7faf8521a390>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7faf83fb9f10>
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 0x7faf857a0c90>), ('insert_before', <django.forms.fields.ChoiceField object at 0x7faf83fb9f50>), ('insert_after', <django.forms.fields.ChoiceField object at 0x7faf83fb9d50>)])
declared_fields = OrderedDict([('firewall_rule_id', <django.forms.fields.ChoiceField object at 0x7faf857a0c90>), ('insert_before', <django.forms.fields.ChoiceField object at 0x7faf83fb9f50>), ('insert_after', <django.forms.fields.ChoiceField object at 0x7faf83fb9d50>)])
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 0x7faf8521a250>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7faf8521a250>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7faf8521ab10>
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 0x7faf8521abd0>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7faf8521aed0>
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 0x7faf83fb9dd0>)])
declared_fields = OrderedDict([('firewall_rule_id', <django.forms.fields.ChoiceField object at 0x7faf83fb9dd0>)])
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 0x7faf84dd7b50>), ('description', <django.forms.fields.CharField object at 0x7faf84dd7a50>), ('firewall_policy_id', <django.forms.fields.ChoiceField object at 0x7faf84dd7b10>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7faf84dd7ad0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf84dd7b50>), ('description', <django.forms.fields.CharField object at 0x7faf84dd7a50>), ('firewall_policy_id', <django.forms.fields.ChoiceField object at 0x7faf84dd7b10>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7faf84dd7ad0>)])
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 0x7faf84dd4dd0>), ('description', <django.forms.fields.CharField object at 0x7faf84dd4050>), ('shared', <django.forms.fields.BooleanField object at 0x7faf84dd4fd0>), ('audited', <django.forms.fields.BooleanField object at 0x7faf83db1b10>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf84dd4dd0>), ('description', <django.forms.fields.CharField object at 0x7faf84dd4050>), ('shared', <django.forms.fields.BooleanField object at 0x7faf84dd4fd0>), ('audited', <django.forms.fields.BooleanField object at 0x7faf83db1b10>)])
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 0x7faf84e22a10>), ('description', <django.forms.fields.CharField object at 0x7faf84e226d0>), ('protocol', <django.forms.fields.ChoiceField object at 0x7faf84e220d0>), ('action', <django.forms.fields.ChoiceField object at 0x7faf84e22310>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7faf84e22a50>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7faf84e225d0>), ('source_port', <django.forms.fields.CharField object at 0x7faf84dd49d0>), ('destination_port', <django.forms.fields.CharField object at 0x7faf84dd47d0>), ('ip_version', <django.forms.fields.ChoiceField object at 0x7faf84dd42d0>), ('shared', <django.forms.fields.BooleanField object at 0x7faf84dd4290>), ('enabled', <django.forms.fields.BooleanField object at 0x7faf84dd4c90>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf84e22a10>), ('description', <django.forms.fields.CharField object at 0x7faf84e226d0>), ('protocol', <django.forms.fields.ChoiceField object at 0x7faf84e220d0>), ('action', <django.forms.fields.ChoiceField object at 0x7faf84e22310>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7faf84e22a50>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7faf84e225d0>), ('source_port', <django.forms.fields.CharField object at 0x7faf84dd49d0>), ('destination_port', <django.forms.fields.CharField object at 0x7faf84dd47d0>), ('ip_version', <django.forms.fields.ChoiceField object at 0x7faf84dd42d0>), ('shared', <django.forms.fields.BooleanField object at 0x7faf84dd4290>), ('enabled', <django.forms.fields.BooleanField object at 0x7faf84dd4c90>)])
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.panel Module

Project Source

This Page