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 0x7faf85a2af90>), ('network_id', <django.forms.fields.CharField object at 0x7faf859b0090>), ('name', <django.forms.fields.CharField object at 0x7faf859b0110>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7faf859b0290>), ('device_id', <django.forms.fields.CharField object at 0x7faf859b03d0>), ('device_owner', <django.forms.fields.CharField object at 0x7faf859b0590>), ('binding__host_id', <django.forms.fields.CharField object at 0x7faf859b0790>)])
declared_fields = OrderedDict([('network_name', <django.forms.fields.CharField object at 0x7faf85a2af90>), ('network_id', <django.forms.fields.CharField object at 0x7faf859b0090>), ('name', <django.forms.fields.CharField object at 0x7faf859b0110>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7faf859b0290>), ('device_id', <django.forms.fields.CharField object at 0x7faf859b03d0>), ('device_owner', <django.forms.fields.CharField object at 0x7faf859b0590>), ('binding__host_id', <django.forms.fields.CharField object at 0x7faf859b0790>)])
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 0x7faf85a2aa90>), ('port_id', <django.forms.fields.CharField object at 0x7faf85a2ab50>), ('name', <django.forms.fields.CharField object at 0x7faf85a2abd0>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7faf85a2ad50>), ('device_id', <django.forms.fields.CharField object at 0x7faf859b0a50>), ('device_owner', <django.forms.fields.CharField object at 0x7faf859b0b90>), ('binding__host_id', <django.forms.fields.CharField object at 0x7faf859b0d90>)])
declared_fields = OrderedDict([('network_id', <django.forms.fields.CharField object at 0x7faf85a2aa90>), ('port_id', <django.forms.fields.CharField object at 0x7faf85a2ab50>), ('name', <django.forms.fields.CharField object at 0x7faf85a2abd0>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7faf85a2ad50>), ('device_id', <django.forms.fields.CharField object at 0x7faf859b0a50>), ('device_owner', <django.forms.fields.CharField object at 0x7faf859b0b90>), ('binding__host_id', <django.forms.fields.CharField object at 0x7faf859b0d90>)])
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.tabs Module

Project Source

This Page