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 0x7f19b8c0b5d0>), ('network_id', <django.forms.fields.CharField object at 0x7f19b8c0b690>), ('name', <django.forms.fields.CharField object at 0x7f19b8c0b710>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8c0b910>), ('device_id', <django.forms.fields.CharField object at 0x7f19b8dfb0d0>), ('device_owner', <django.forms.fields.CharField object at 0x7f19b8dfbe50>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f19b8dfbe10>), ('specify_ip', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8dfb9d0>), ('subnet_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8dfb750>), ('fixed_ip', <horizon.forms.fields.IPField object at 0x7f19b8dfb5d0>)])
declared_fields = OrderedDict([('network_name', <django.forms.fields.CharField object at 0x7f19b8c0b5d0>), ('network_id', <django.forms.fields.CharField object at 0x7f19b8c0b690>), ('name', <django.forms.fields.CharField object at 0x7f19b8c0b710>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8c0b910>), ('device_id', <django.forms.fields.CharField object at 0x7f19b8dfb0d0>), ('device_owner', <django.forms.fields.CharField object at 0x7f19b8dfbe50>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f19b8dfbe10>), ('specify_ip', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8dfb9d0>), ('subnet_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8dfb750>), ('fixed_ip', <horizon.forms.fields.IPField object at 0x7f19b8dfb5d0>)])
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 0x7f19b8c0bc10>), ('port_id', <django.forms.fields.CharField object at 0x7f19b8c0b8d0>), ('name', <django.forms.fields.CharField object at 0x7f19b8c0ba50>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8c0b390>), ('device_id', <django.forms.fields.CharField object at 0x7f19b8dfb3d0>), ('device_owner', <django.forms.fields.CharField object at 0x7f19b8dfb210>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f19b888e650>)])
declared_fields = OrderedDict([('network_id', <django.forms.fields.CharField object at 0x7f19b8c0bc10>), ('port_id', <django.forms.fields.CharField object at 0x7f19b8c0b8d0>), ('name', <django.forms.fields.CharField object at 0x7f19b8c0ba50>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8c0b390>), ('device_id', <django.forms.fields.CharField object at 0x7f19b8dfb3d0>), ('device_owner', <django.forms.fields.CharField object at 0x7f19b8dfb210>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f19b888e650>)])
failure_url = 'horizon:admin:networks:detail'
handle(request, data)[source]
media

Previous topic

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

Next topic

The openstack_dashboard.dashboards.admin.networks.ports Module

Project Source

This Page