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 0x7f9f402fabd0>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f402faa90>), ('external_network', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ee21850>), ('mode', <django.forms.fields.ChoiceField object at 0x7f9f3ee21b90>), ('ha', <django.forms.fields.ChoiceField object at 0x7f9f3ee21710>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f9f402fabd0>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f402faa90>), ('external_network', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ee21850>), ('mode', <django.forms.fields.ChoiceField object at 0x7f9f3ee21b90>), ('ha', <django.forms.fields.ChoiceField object at 0x7f9f3ee21710>)])
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 0x7f9f3ee213d0>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ee21390>), ('router_id', <django.forms.fields.CharField object at 0x7f9f3ee214d0>), ('mode', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ee211d0>), ('ha', <django.forms.fields.BooleanField object at 0x7f9f3ee21150>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f9f3ee213d0>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ee21390>), ('router_id', <django.forms.fields.CharField object at 0x7f9f3ee214d0>), ('mode', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ee211d0>), ('ha', <django.forms.fields.BooleanField object at 0x7f9f3ee21150>)])
handle(request, data)[source]
media
redirect_url = <django.utils.functional.__proxy__ object at 0x7f9f3ee21810>

Previous topic

The openstack_dashboard.dashboards.project.routers Module

Next topic

The openstack_dashboard.dashboards.project.routers.tabs Module

Project Source

This Page