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 0x7f10339122d0>), ('tenant_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033912b50>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7f1033912cd0>), ('network_type', <django.forms.fields.ChoiceField object at 0x7f1033912e10>), ('physical_network', <django.forms.fields.CharField object at 0x7f1033912f10>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7f1033981110>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033981250>), ('shared', <django.forms.fields.BooleanField object at 0x7f1033981410>), ('external', <django.forms.fields.BooleanField object at 0x7f10339814d0>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f10339122d0>), ('tenant_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033912b50>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7f1033912cd0>), ('network_type', <django.forms.fields.ChoiceField object at 0x7f1033912e10>), ('physical_network', <django.forms.fields.CharField object at 0x7f1033912f10>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7f1033981110>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033981250>), ('shared', <django.forms.fields.BooleanField object at 0x7f1033981410>), ('external', <django.forms.fields.BooleanField object at 0x7f10339814d0>)])
get_network_profile_choices(request)[source]
handle(request, data)[source]
media
widget = <django.forms.widgets.HiddenInput object at 0x7f1033912c50>
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 0x7f10339816d0>), ('tenant_id', <django.forms.fields.CharField object at 0x7f1033981750>), ('network_id', <django.forms.fields.CharField object at 0x7f1033981850>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033981950>), ('shared', <django.forms.fields.BooleanField object at 0x7f1033981b10>), ('external', <django.forms.fields.BooleanField object at 0x7f1033981bd0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f10339816d0>), ('tenant_id', <django.forms.fields.CharField object at 0x7f1033981750>), ('network_id', <django.forms.fields.CharField object at 0x7f1033981850>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f1033981950>), ('shared', <django.forms.fields.BooleanField object at 0x7f1033981b10>), ('external', <django.forms.fields.BooleanField object at 0x7f1033981bd0>)])
failure_url = 'horizon:admin:networks:index'
handle(request, data)[source]
media

Previous topic

The openstack_dashboard.dashboards.admin.networks.panel Module

Next topic

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

Project Source

This Page