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

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

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('subnet_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f4241e5e850>), ('ip_address', <horizon.forms.fields.IPField object at 0x7f4241e5e7d0>), ('router_name', <django.forms.fields.CharField object at 0x7f4241e5e710>), ('router_id', <django.forms.fields.CharField object at 0x7f4241e5e2d0>)])
declared_fields = OrderedDict([('subnet_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f4241e5e850>), ('ip_address', <horizon.forms.fields.IPField object at 0x7f4241e5e7d0>), ('router_name', <django.forms.fields.CharField object at 0x7f4241e5e710>), ('router_id', <django.forms.fields.CharField object at 0x7f4241e5e2d0>)])
failure_url = 'horizon:project:routers:detail'
handle(request, data)[source]
media
populate_subnet_id_choices(request)[source]
class openstack_dashboard.dashboards.project.routers.ports.forms.SetGatewayForm(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('network_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f4241e5ee50>), ('router_name', <django.forms.fields.CharField object at 0x7f4241e5e0d0>), ('router_id', <django.forms.fields.CharField object at 0x7f4241e5ec50>)])
declared_fields = OrderedDict([('network_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f4241e5ee50>), ('router_name', <django.forms.fields.CharField object at 0x7f4241e5e0d0>), ('router_id', <django.forms.fields.CharField object at 0x7f4241e5ec50>)])
failure_url = 'horizon:project:routers:index'
handle(request, data)[source]
media
populate_network_id_choices(request)[source]

Previous topic

The openstack_dashboard.dashboards.project.routers.ports.urls Module

Next topic

The openstack_dashboard.dashboards.project.routers.ports Module

Project Source

This Page