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

Views for managing Neutron Routers.

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

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5d2db790>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7fba5d2dbd50>), ('external_network', <django.forms.fields.ChoiceField object at 0x7fba5d2db290>), ('mode', <django.forms.fields.ChoiceField object at 0x7fba5d2db9d0>), ('ha', <django.forms.fields.ChoiceField object at 0x7fba5ce4b610>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5d2db790>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7fba5d2dbd50>), ('external_network', <django.forms.fields.ChoiceField object at 0x7fba5d2db290>), ('mode', <django.forms.fields.ChoiceField object at 0x7fba5d2db9d0>), ('ha', <django.forms.fields.ChoiceField object at 0x7fba5ce4b610>)])
failure_url = 'horizon:project:routers:index'
handle(request, data)[source]
media
class openstack_dashboard.dashboards.project.routers.forms.UpdateForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5d0dd6d0>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7fba5d0ddf10>), ('router_id', <django.forms.fields.CharField object at 0x7fba5c9237d0>), ('mode', <django.forms.fields.ChoiceField object at 0x7fba5c923090>), ('ha', <django.forms.fields.BooleanField object at 0x7fba5c923590>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5d0dd6d0>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7fba5d0ddf10>), ('router_id', <django.forms.fields.CharField object at 0x7fba5c9237d0>), ('mode', <django.forms.fields.ChoiceField object at 0x7fba5c923090>), ('ha', <django.forms.fields.BooleanField object at 0x7fba5c923590>)])
handle(request, data)[source]
media
redirect_url = <django.utils.functional.__proxy__ object at 0x7fba5c9e1490>

Previous topic

The openstack_dashboard.dashboards.project.routers.panel Module

Next topic

The openstack_dashboard.dashboards.project.routers.urls Module

Project Source

This Page