The openstack_dashboard.dashboards.admin.networks.forms ModuleΒΆ

class openstack_dashboard.dashboards.admin.networks.forms.CreateNetwork(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f446f5fc610>), ('tenant_id', <django.forms.fields.ChoiceField object at 0x7f446f5fc490>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7f446fe1d350>), ('network_type', <django.forms.fields.ChoiceField object at 0x7f446fe1db10>), ('physical_network', <django.forms.fields.CharField object at 0x7f446fe1d810>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7f446fe1dbd0>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7f446fe1d6d0>), ('shared', <django.forms.fields.BooleanField object at 0x7f446fe1d450>), ('external', <django.forms.fields.BooleanField object at 0x7f44700970d0>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f446f5fc610>), ('tenant_id', <django.forms.fields.ChoiceField object at 0x7f446f5fc490>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7f446fe1d350>), ('network_type', <django.forms.fields.ChoiceField object at 0x7f446fe1db10>), ('physical_network', <django.forms.fields.CharField object at 0x7f446fe1d810>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7f446fe1dbd0>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7f446fe1d6d0>), ('shared', <django.forms.fields.BooleanField object at 0x7f446fe1d450>), ('external', <django.forms.fields.BooleanField object at 0x7f44700970d0>)])
get_network_profile_choices(request)[source]
handle(request, data)[source]
media
widget = <django.forms.widgets.HiddenInput object at 0x7f446f5fcb10>
class openstack_dashboard.dashboards.admin.networks.forms.UpdateNetwork(request, *args, **kwargs)[source]

Bases: horizon.forms.base.SelfHandlingForm

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f4470097c10>), ('tenant_id', <django.forms.fields.CharField object at 0x7f4470097b90>), ('network_id', <django.forms.fields.CharField object at 0x7f4470097350>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7f4470097cd0>), ('shared', <django.forms.fields.BooleanField object at 0x7f4471238d50>), ('external', <django.forms.fields.BooleanField object at 0x7f4470d238d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f4470097c10>), ('tenant_id', <django.forms.fields.CharField object at 0x7f4470097b90>), ('network_id', <django.forms.fields.CharField object at 0x7f4470097350>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7f4470097cd0>), ('shared', <django.forms.fields.BooleanField object at 0x7f4471238d50>), ('external', <django.forms.fields.BooleanField object at 0x7f4470d238d0>)])
failure_url = 'horizon:admin:networks:index'
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.admin.networks.urls Module

Next topic

The openstack_dashboard.dashboards.admin.networks Module

Project Source

This Page