The openstack_dashboard.dashboards.admin.networks.ports.forms ModuleΒΆ

class openstack_dashboard.dashboards.admin.networks.ports.forms.CreatePort(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('network_name', <django.forms.fields.CharField object at 0x7f6aba78ce50>), ('network_id', <django.forms.fields.CharField object at 0x7f6aba78ca50>), ('name', <django.forms.fields.CharField object at 0x7f6aba78c590>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f6aba78ca10>), ('device_id', <django.forms.fields.CharField object at 0x7f6aba78c990>), ('device_owner', <django.forms.fields.CharField object at 0x7f6aba78ccd0>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f6ab93ce890>), ('specify_ip', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab93cebd0>), ('subnet_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab93cecd0>), ('fixed_ip', <horizon.forms.fields.IPField object at 0x7f6ab93ce510>)])
declared_fields = OrderedDict([('network_name', <django.forms.fields.CharField object at 0x7f6aba78ce50>), ('network_id', <django.forms.fields.CharField object at 0x7f6aba78ca50>), ('name', <django.forms.fields.CharField object at 0x7f6aba78c590>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f6aba78ca10>), ('device_id', <django.forms.fields.CharField object at 0x7f6aba78c990>), ('device_owner', <django.forms.fields.CharField object at 0x7f6aba78ccd0>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f6ab93ce890>), ('specify_ip', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab93cebd0>), ('subnet_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f6ab93cecd0>), ('fixed_ip', <horizon.forms.fields.IPField object at 0x7f6ab93ce510>)])
failure_url = 'horizon:admin:networks:detail'
handle(request, data)[source]
media
class openstack_dashboard.dashboards.admin.networks.ports.forms.UpdatePort(request, *args, **kwargs)[source]

Bases: openstack_dashboard.dashboards.project.networks.ports.forms.UpdatePort

base_fields = OrderedDict([('network_id', <django.forms.fields.CharField object at 0x7f6ab8518dd0>), ('port_id', <django.forms.fields.CharField object at 0x7f6ab8518790>), ('name', <django.forms.fields.CharField object at 0x7f6ab8518990>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f6aba78cb90>), ('device_id', <django.forms.fields.CharField object at 0x7f6abc7756d0>), ('device_owner', <django.forms.fields.CharField object at 0x7f6abd75fb90>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f6abc775950>)])
declared_fields = OrderedDict([('network_id', <django.forms.fields.CharField object at 0x7f6ab8518dd0>), ('port_id', <django.forms.fields.CharField object at 0x7f6ab8518790>), ('name', <django.forms.fields.CharField object at 0x7f6ab8518990>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f6aba78cb90>), ('device_id', <django.forms.fields.CharField object at 0x7f6abc7756d0>), ('device_owner', <django.forms.fields.CharField object at 0x7f6abd75fb90>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f6abc775950>)])
failure_url = 'horizon:admin:networks:detail'
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.admin.networks.ports.views Module

Next topic

The openstack_dashboard.dashboards.admin.networks.ports Module

Project Source

This Page