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 0x7f19b6e34e10>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7f19b6e34e10>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7f19b6e349d0>
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 0x7f19b6e34690>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7f19b6e342d0>
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 0x7f19b6e34890>), ('insert_before', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b6e34ad0>), ('insert_after', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b6e34950>)])
declared_fields = OrderedDict([('firewall_rule_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b6e34890>), ('insert_before', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b6e34ad0>), ('insert_after', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b6e34950>)])
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 0x7f19b6e34090>)])
declared_fields = OrderedDict([('router_ids', <django.forms.fields.MultipleChoiceField object at 0x7f19b6e34090>)])
failure_msg = <django.utils.functional.__proxy__ object at 0x7f19b6e34310>
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 0x7f19b6e344d0>
media
success_msg = <django.utils.functional.__proxy__ object at 0x7f19b6e34250>
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 0x7f19b6e34210>)])
declared_fields = OrderedDict([('firewall_rule_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b6e34210>)])
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 0x7f19b8853910>), ('description', <django.forms.fields.CharField object at 0x7f19b88b1f50>), ('firewall_policy_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b88b1ad0>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b88b1f10>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b8853910>), ('description', <django.forms.fields.CharField object at 0x7f19b88b1f50>), ('firewall_policy_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b88b1ad0>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b88b1f10>)])
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 0x7f19b8be1850>), ('description', <django.forms.fields.CharField object at 0x7f19b8be1350>), ('shared', <django.forms.fields.BooleanField object at 0x7f19b79d1910>), ('audited', <django.forms.fields.BooleanField object at 0x7f19b79d1150>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b8be1850>), ('description', <django.forms.fields.CharField object at 0x7f19b8be1350>), ('shared', <django.forms.fields.BooleanField object at 0x7f19b79d1910>), ('audited', <django.forms.fields.BooleanField object at 0x7f19b79d1150>)])
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 0x7f19b76f9b90>), ('description', <django.forms.fields.CharField object at 0x7f19b76f9210>), ('protocol', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b76f9c90>), ('action', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b76f96d0>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7f19b76f91d0>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7f19b76f92d0>), ('source_port', <django.forms.fields.CharField object at 0x7f19bb8fc850>), ('destination_port', <django.forms.fields.CharField object at 0x7f19bb8fc990>), ('ip_version', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b7e9a9d0>), ('shared', <django.forms.fields.BooleanField object at 0x7f19b8be1510>), ('enabled', <django.forms.fields.BooleanField object at 0x7f19b8be1e10>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b76f9b90>), ('description', <django.forms.fields.CharField object at 0x7f19b76f9210>), ('protocol', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b76f9c90>), ('action', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b76f96d0>), ('source_ip_address', <horizon.forms.fields.IPField object at 0x7f19b76f91d0>), ('destination_ip_address', <horizon.forms.fields.IPField object at 0x7f19b76f92d0>), ('source_port', <django.forms.fields.CharField object at 0x7f19bb8fc850>), ('destination_port', <django.forms.fields.CharField object at 0x7f19bb8fc990>), ('ip_version', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b7e9a9d0>), ('shared', <django.forms.fields.BooleanField object at 0x7f19b8be1510>), ('enabled', <django.forms.fields.BooleanField object at 0x7f19b8be1e10>)])
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