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 0x7f10340a8150>), ('network_id', <django.forms.fields.CharField object at 0x7f10340a8550>), ('name', <django.forms.fields.CharField object at 0x7f1033a57dd0>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033a57910>), ('device_id', <django.forms.fields.CharField object at 0x7f1033a57110>), ('device_owner', <django.forms.fields.CharField object at 0x7f1033a57fd0>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f1033a57650>), ('specify_ip', <horizon.forms.fields.ThemableChoiceField object at 0x7f103398fbd0>), ('subnet_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f103398f790>), ('fixed_ip', <horizon.forms.fields.IPField object at 0x7f103398f450>)])
declared_fields = OrderedDict([('network_name', <django.forms.fields.CharField object at 0x7f10340a8150>), ('network_id', <django.forms.fields.CharField object at 0x7f10340a8550>), ('name', <django.forms.fields.CharField object at 0x7f1033a57dd0>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033a57910>), ('device_id', <django.forms.fields.CharField object at 0x7f1033a57110>), ('device_owner', <django.forms.fields.CharField object at 0x7f1033a57fd0>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f1033a57650>), ('specify_ip', <horizon.forms.fields.ThemableChoiceField object at 0x7f103398fbd0>), ('subnet_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f103398f790>), ('fixed_ip', <horizon.forms.fields.IPField object at 0x7f103398f450>)])
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 0x7f1033a3c550>), ('port_id', <django.forms.fields.CharField object at 0x7f1033a3c490>), ('name', <django.forms.fields.CharField object at 0x7f1033a3ccd0>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033a3c410>), ('device_id', <django.forms.fields.CharField object at 0x7f1033a18d50>), ('device_owner', <django.forms.fields.CharField object at 0x7f1033a18350>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f1033a188d0>)])
declared_fields = OrderedDict([('network_id', <django.forms.fields.CharField object at 0x7f1033a3c550>), ('port_id', <django.forms.fields.CharField object at 0x7f1033a3c490>), ('name', <django.forms.fields.CharField object at 0x7f1033a3ccd0>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033a3c410>), ('device_id', <django.forms.fields.CharField object at 0x7f1033a18d50>), ('device_owner', <django.forms.fields.CharField object at 0x7f1033a18350>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f1033a188d0>)])
failure_url = 'horizon:admin:networks:detail'
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.admin.networks.ports Module

Next topic

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

Project Source

This Page