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 0xabfc190>), ('network_id', <django.forms.fields.CharField object at 0xabfc250>), ('name', <django.forms.fields.CharField object at 0xabfc2d0>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0xabfc450>), ('device_id', <django.forms.fields.CharField object at 0xabfc550>), ('device_owner', <django.forms.fields.CharField object at 0xabfc690>), ('binding__host_id', <django.forms.fields.CharField object at 0xabfc7d0>)])
declared_fields = OrderedDict([('network_name', <django.forms.fields.CharField object at 0xabfc190>), ('network_id', <django.forms.fields.CharField object at 0xabfc250>), ('name', <django.forms.fields.CharField object at 0xabfc2d0>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0xabfc450>), ('device_id', <django.forms.fields.CharField object at 0xabfc550>), ('device_owner', <django.forms.fields.CharField object at 0xabfc690>), ('binding__host_id', <django.forms.fields.CharField object at 0xabfc7d0>)])
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 0xabe0ad0>), ('port_id', <django.forms.fields.CharField object at 0xabe0d90>), ('name', <django.forms.fields.CharField object at 0xabe0dd0>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0xabe0f50>), ('device_id', <django.forms.fields.CharField object at 0xabfc9d0>), ('device_owner', <django.forms.fields.CharField object at 0xabfcb10>), ('binding__host_id', <django.forms.fields.CharField object at 0xabfcd10>)])
declared_fields = OrderedDict([('network_id', <django.forms.fields.CharField object at 0xabe0ad0>), ('port_id', <django.forms.fields.CharField object at 0xabe0d90>), ('name', <django.forms.fields.CharField object at 0xabe0dd0>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0xabe0f50>), ('device_id', <django.forms.fields.CharField object at 0xabfc9d0>), ('device_owner', <django.forms.fields.CharField object at 0xabfcb10>), ('binding__host_id', <django.forms.fields.CharField object at 0xabfcd10>)])
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.tables Module

This Page