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 0x7f446e1eae90>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7f446e1ea210>), ('external_network', <django.forms.fields.ChoiceField object at 0x7f446e0f6790>), ('mode', <django.forms.fields.ChoiceField object at 0x7f446e0f63d0>), ('ha', <django.forms.fields.ChoiceField object at 0x7f446e0f6c10>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f446e1eae90>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7f446e1ea210>), ('external_network', <django.forms.fields.ChoiceField object at 0x7f446e0f6790>), ('mode', <django.forms.fields.ChoiceField object at 0x7f446e0f63d0>), ('ha', <django.forms.fields.ChoiceField object at 0x7f446e0f6c10>)])
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 0x7f446e0f6c90>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7f446e0f6e90>), ('router_id', <django.forms.fields.CharField object at 0x7f446e0f6850>), ('mode', <django.forms.fields.ChoiceField object at 0x7f446e0f6110>), ('ha', <django.forms.fields.BooleanField object at 0x7f446e0f6350>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f446e0f6c90>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7f446e0f6e90>), ('router_id', <django.forms.fields.CharField object at 0x7f446e0f6850>), ('mode', <django.forms.fields.ChoiceField object at 0x7f446e0f6110>), ('ha', <django.forms.fields.BooleanField object at 0x7f446e0f6350>)])
handle(request, data)[source]
media
redirect_url = <django.utils.functional.__proxy__ object at 0x7f446e0f6d50>

Previous topic

The openstack_dashboard.dashboards.project.routers.urls Module

Next topic

The openstack_dashboard.dashboards.project.routers Module

Project Source

This Page