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 0x7f9f3f640610>), ('tenant_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f405c1ed0>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7f9f40dfc050>), ('network_type', <django.forms.fields.ChoiceField object at 0x7f9f40dfcd10>), ('physical_network', <django.forms.fields.CharField object at 0x7f9f40dfc1d0>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7f9f40dfc810>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f40dfc290>), ('shared', <django.forms.fields.BooleanField object at 0x7f9f40dfc210>), ('external', <django.forms.fields.BooleanField object at 0x7f9f40857e90>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f9f3f640610>), ('tenant_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f405c1ed0>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7f9f40dfc050>), ('network_type', <django.forms.fields.ChoiceField object at 0x7f9f40dfcd10>), ('physical_network', <django.forms.fields.CharField object at 0x7f9f40dfc1d0>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7f9f40dfc810>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f40dfc290>), ('shared', <django.forms.fields.BooleanField object at 0x7f9f40dfc210>), ('external', <django.forms.fields.BooleanField object at 0x7f9f40857e90>)])
get_network_profile_choices(request)[source]
handle(request, data)[source]
media
widget = <django.forms.widgets.HiddenInput object at 0x7f9f405c1910>
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 0x7f9f40857190>), ('tenant_id', <django.forms.fields.CharField object at 0x7f9f40857f10>), ('network_id', <django.forms.fields.CharField object at 0x7f9f40857090>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f40857f90>), ('shared', <django.forms.fields.BooleanField object at 0x7f9f410b1ad0>), ('external', <django.forms.fields.BooleanField object at 0x7f9f410b1450>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f9f40857190>), ('tenant_id', <django.forms.fields.CharField object at 0x7f9f40857f10>), ('network_id', <django.forms.fields.CharField object at 0x7f9f40857090>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f9f40857f90>), ('shared', <django.forms.fields.BooleanField object at 0x7f9f410b1ad0>), ('external', <django.forms.fields.BooleanField object at 0x7f9f410b1450>)])
failure_url = 'horizon:admin:networks:index'
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.admin.networks Module

Next topic

The openstack_dashboard.dashboards.admin.networks.tables Module

Project Source

This Page