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 0x7fba5ab7eb10>), ('network_id', <django.forms.fields.CharField object at 0x7fba5ab7ec10>), ('name', <django.forms.fields.CharField object at 0x7fba5ab7e510>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7fba5acf6790>), ('device_id', <django.forms.fields.CharField object at 0x7fba5acf6250>), ('device_owner', <django.forms.fields.CharField object at 0x7fba5acf61d0>), ('binding__host_id', <django.forms.fields.CharField object at 0x7fba5acf6a90>)])
declared_fields = OrderedDict([('network_name', <django.forms.fields.CharField object at 0x7fba5ab7eb10>), ('network_id', <django.forms.fields.CharField object at 0x7fba5ab7ec10>), ('name', <django.forms.fields.CharField object at 0x7fba5ab7e510>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7fba5acf6790>), ('device_id', <django.forms.fields.CharField object at 0x7fba5acf6250>), ('device_owner', <django.forms.fields.CharField object at 0x7fba5acf61d0>), ('binding__host_id', <django.forms.fields.CharField object at 0x7fba5acf6a90>)])
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 0x7fba5adf2950>), ('port_id', <django.forms.fields.CharField object at 0x7fba5adf2650>), ('name', <django.forms.fields.CharField object at 0x7fba5adf2610>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7fba5ad8a550>), ('device_id', <django.forms.fields.CharField object at 0x7fba5ade8790>), ('device_owner', <django.forms.fields.CharField object at 0x7fba5ade8310>), ('binding__host_id', <django.forms.fields.CharField object at 0x7fba5ade8e90>)])
declared_fields = OrderedDict([('network_id', <django.forms.fields.CharField object at 0x7fba5adf2950>), ('port_id', <django.forms.fields.CharField object at 0x7fba5adf2650>), ('name', <django.forms.fields.CharField object at 0x7fba5adf2610>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7fba5ad8a550>), ('device_id', <django.forms.fields.CharField object at 0x7fba5ade8790>), ('device_owner', <django.forms.fields.CharField object at 0x7fba5ade8310>), ('binding__host_id', <django.forms.fields.CharField object at 0x7fba5ade8e90>)])
failure_url = 'horizon:admin:networks:detail'
handle(request, data)[source]
media

Previous topic

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

Next topic

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

Project Source

This Page