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 0x7fba57a7fe50>), ('destination', <openstack_dashboard.dashboards.project.routers.extensions.routerrules.forms.RuleCIDRField object at 0x7fba57a7f590>), ('action', <django.forms.fields.ChoiceField object at 0x7fba57a7f550>), ('nexthops', <horizon.forms.fields.MultiIPField object at 0x7fba57a7f190>), ('router_id', <django.forms.fields.CharField object at 0x7fba57807390>)])
declared_fields = OrderedDict([('source', <openstack_dashboard.dashboards.project.routers.extensions.routerrules.forms.RuleCIDRField object at 0x7fba57a7fe50>), ('destination', <openstack_dashboard.dashboards.project.routers.extensions.routerrules.forms.RuleCIDRField object at 0x7fba57a7f590>), ('action', <django.forms.fields.ChoiceField object at 0x7fba57a7f550>), ('nexthops', <horizon.forms.fields.MultiIPField object at 0x7fba57a7f190>), ('router_id', <django.forms.fields.CharField object at 0x7fba57807390>)])
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.views Module

Next topic

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

Project Source

This Page