The openstack_dashboard.dashboards.project.routers.extensions.routerrules.forms ModuleΒΆ

class openstack_dashboard.dashboards.project.routers.extensions.routerrules.forms.AddRouterRule(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('source', <openstack_dashboard.dashboards.project.routers.extensions.routerrules.forms.RuleCIDRField object at 0x7f446c16a110>), ('destination', <openstack_dashboard.dashboards.project.routers.extensions.routerrules.forms.RuleCIDRField object at 0x7f446af9ffd0>), ('action', <django.forms.fields.ChoiceField object at 0x7f446af9f450>), ('nexthops', <horizon.forms.fields.MultiIPField object at 0x7f446af9f7d0>), ('router_id', <django.forms.fields.CharField object at 0x7f446af9f550>)])
declared_fields = OrderedDict([('source', <openstack_dashboard.dashboards.project.routers.extensions.routerrules.forms.RuleCIDRField object at 0x7f446c16a110>), ('destination', <openstack_dashboard.dashboards.project.routers.extensions.routerrules.forms.RuleCIDRField object at 0x7f446af9ffd0>), ('action', <django.forms.fields.ChoiceField object at 0x7f446af9f450>), ('nexthops', <horizon.forms.fields.MultiIPField object at 0x7f446af9f7d0>), ('router_id', <django.forms.fields.CharField object at 0x7f446af9f550>)])
failure_url = 'horizon:project:routers:detail'
handle(request, data, **kwargs)[source]
media
class openstack_dashboard.dashboards.project.routers.extensions.routerrules.forms.RuleCIDRField(*args, **kwargs)[source]

Bases: horizon.forms.fields.IPField

Extends IPField to allow (‘any’,’external’) keywords and requires CIDR

validate(value)[source]

Previous topic

The openstack_dashboard.dashboards.project.routers.extensions.routerrules.rulemanager Module

Next topic

The openstack_dashboard.dashboards.project.routers.extensions.routerrules Module

Project Source

This Page