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 0x7f9f3ebcb6d0>), ('network_id', <django.forms.fields.CharField object at 0x7f9f3ebcb790>), ('name', <django.forms.fields.CharField object at 0x7f9f3ebcb810>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ed9a890>), ('device_id', <django.forms.fields.CharField object at 0x7f9f3ebcba50>), ('device_owner', <django.forms.fields.CharField object at 0x7f9f3ebcbb90>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f9f3ebcbcd0>), ('specify_ip', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ebcbf10>), ('subnet_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3eb79110>), ('fixed_ip', <horizon.forms.fields.IPField object at 0x7f9f3eb79290>)])
declared_fields = OrderedDict([('network_name', <django.forms.fields.CharField object at 0x7f9f3ebcb6d0>), ('network_id', <django.forms.fields.CharField object at 0x7f9f3ebcb790>), ('name', <django.forms.fields.CharField object at 0x7f9f3ebcb810>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ed9a890>), ('device_id', <django.forms.fields.CharField object at 0x7f9f3ebcba50>), ('device_owner', <django.forms.fields.CharField object at 0x7f9f3ebcbb90>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f9f3ebcbcd0>), ('specify_ip', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ebcbf10>), ('subnet_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3eb79110>), ('fixed_ip', <horizon.forms.fields.IPField object at 0x7f9f3eb79290>)])
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 0x7f9f3ebbabd0>), ('port_id', <django.forms.fields.CharField object at 0x7f9f3ebcb290>), ('name', <django.forms.fields.CharField object at 0x7f9f3ebcb310>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ebcb490>), ('device_id', <django.forms.fields.CharField object at 0x7f9f3eb79510>), ('device_owner', <django.forms.fields.CharField object at 0x7f9f3eb79690>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f9f3eb79890>)])
declared_fields = OrderedDict([('network_id', <django.forms.fields.CharField object at 0x7f9f3ebbabd0>), ('port_id', <django.forms.fields.CharField object at 0x7f9f3ebcb290>), ('name', <django.forms.fields.CharField object at 0x7f9f3ebcb310>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f3ebcb490>), ('device_id', <django.forms.fields.CharField object at 0x7f9f3eb79510>), ('device_owner', <django.forms.fields.CharField object at 0x7f9f3eb79690>), ('binding__host_id', <django.forms.fields.CharField object at 0x7f9f3eb79890>)])
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