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 0x7fec2112b690>), ('ip_address', <horizon.forms.fields.IPField object at 0x7fec2112b110>), ('router_name', <django.forms.fields.CharField object at 0x7fec2112b9d0>), ('router_id', <django.forms.fields.CharField object at 0x7fec2112b3d0>)])
declared_fields = OrderedDict([('subnet_id', <horizon.forms.fields.ThemableChoiceField object at 0x7fec2112b690>), ('ip_address', <horizon.forms.fields.IPField object at 0x7fec2112b110>), ('router_name', <django.forms.fields.CharField object at 0x7fec2112b9d0>), ('router_id', <django.forms.fields.CharField object at 0x7fec2112b3d0>)])
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 0x7fec2112bf50>), ('router_name', <django.forms.fields.CharField object at 0x7fec2112b450>), ('router_id', <django.forms.fields.CharField object at 0x7fec2112b0d0>)])
declared_fields = OrderedDict([('network_id', <horizon.forms.fields.ThemableChoiceField object at 0x7fec2112bf50>), ('router_name', <django.forms.fields.CharField object at 0x7fec2112b450>), ('router_id', <django.forms.fields.CharField object at 0x7fec2112b0d0>)])
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.tables Module

Project Source

This Page