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 0x7fec24eda4d0>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0x7fec24eda510>), ('external_network', <horizon.forms.fields.ThemableChoiceField object at 0x7fec24e72850>), ('mode', <django.forms.fields.ChoiceField object at 0x7fec264a9750>), ('ha', <django.forms.fields.ChoiceField object at 0x7fec24e723d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fec24eda4d0>), ('admin_state_up', <horizon.forms.fields.ThemableChoiceField object at 0x7fec24eda510>), ('external_network', <horizon.forms.fields.ThemableChoiceField object at 0x7fec24e72850>), ('mode', <django.forms.fields.ChoiceField object at 0x7fec264a9750>), ('ha', <django.forms.fields.ChoiceField object at 0x7fec24e723d0>)])
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 0x7fec24e72090>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7fec24e72810>), ('router_id', <django.forms.fields.CharField object at 0x7fec24e72450>), ('mode', <horizon.forms.fields.ThemableChoiceField object at 0x7fec24e72e90>), ('ha', <django.forms.fields.BooleanField object at 0x7fec25a91ad0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fec24e72090>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7fec24e72810>), ('router_id', <django.forms.fields.CharField object at 0x7fec24e72450>), ('mode', <horizon.forms.fields.ThemableChoiceField object at 0x7fec24e72e90>), ('ha', <django.forms.fields.BooleanField object at 0x7fec25a91ad0>)])
handle(request, data)[source]
media
redirect_url = <django.utils.functional.__proxy__ object at 0x7fec25a91f50>

Previous topic

The openstack_dashboard.dashboards.project.routers.urls Module

Next topic

The openstack_dashboard.dashboards.project.routers.tables Module

Project Source

This Page