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 0x7faf8569b3d0>), ('destination', <openstack_dashboard.dashboards.project.routers.extensions.routerrules.forms.RuleCIDRField object at 0x7faf8569b910>), ('action', <django.forms.fields.ChoiceField object at 0x7faf8569ba10>), ('nexthops', <horizon.forms.fields.MultiIPField object at 0x7faf82492410>), ('router_id', <django.forms.fields.CharField object at 0x7faf824922d0>)])
declared_fields = OrderedDict([('source', <openstack_dashboard.dashboards.project.routers.extensions.routerrules.forms.RuleCIDRField object at 0x7faf8569b3d0>), ('destination', <openstack_dashboard.dashboards.project.routers.extensions.routerrules.forms.RuleCIDRField object at 0x7faf8569b910>), ('action', <django.forms.fields.ChoiceField object at 0x7faf8569ba10>), ('nexthops', <horizon.forms.fields.MultiIPField object at 0x7faf82492410>), ('router_id', <django.forms.fields.CharField object at 0x7faf824922d0>)])
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 Module

Next topic

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

Project Source

This Page