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 0x7f4244574590>), ('tenant_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f4244574e10>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7f4244574f90>), ('network_type', <django.forms.fields.ChoiceField object at 0x7f4244577110>), ('physical_network', <django.forms.fields.CharField object at 0x7f4244577250>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7f4244577410>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f4244577550>), ('shared', <django.forms.fields.BooleanField object at 0x7f4244577710>), ('external', <django.forms.fields.BooleanField object at 0x7f42445777d0>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f4244574590>), ('tenant_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f4244574e10>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7f4244574f90>), ('network_type', <django.forms.fields.ChoiceField object at 0x7f4244577110>), ('physical_network', <django.forms.fields.CharField object at 0x7f4244577250>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7f4244577410>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f4244577550>), ('shared', <django.forms.fields.BooleanField object at 0x7f4244577710>), ('external', <django.forms.fields.BooleanField object at 0x7f42445777d0>)])
get_network_profile_choices(request)[source]
handle(request, data)[source]
media
widget = <django.forms.widgets.HiddenInput object at 0x7f4244574f10>
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 0x7f42445779d0>), ('tenant_id', <django.forms.fields.CharField object at 0x7f4244577a50>), ('network_id', <django.forms.fields.CharField object at 0x7f4244577b50>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f4244577c10>), ('shared', <django.forms.fields.BooleanField object at 0x7f4244577dd0>), ('external', <django.forms.fields.BooleanField object at 0x7f4244577e90>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f42445779d0>), ('tenant_id', <django.forms.fields.CharField object at 0x7f4244577a50>), ('network_id', <django.forms.fields.CharField object at 0x7f4244577b50>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f4244577c10>), ('shared', <django.forms.fields.BooleanField object at 0x7f4244577dd0>), ('external', <django.forms.fields.BooleanField object at 0x7f4244577e90>)])
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.panel Module

Project Source

This Page