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 0x7fba5ace3150>), ('tenant_id', <django.forms.fields.ChoiceField object at 0x7fba5ad3eb90>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7fba5ad3ea50>), ('network_type', <django.forms.fields.ChoiceField object at 0x7fba5ad3e7d0>), ('physical_network', <django.forms.fields.CharField object at 0x7fba5ad3e6d0>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7fba5ad33c50>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7fba5ad33250>), ('shared', <django.forms.fields.BooleanField object at 0x7fba5ad333d0>), ('external', <django.forms.fields.BooleanField object at 0x7fba5ad33550>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5ace3150>), ('tenant_id', <django.forms.fields.ChoiceField object at 0x7fba5ad3eb90>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7fba5ad3ea50>), ('network_type', <django.forms.fields.ChoiceField object at 0x7fba5ad3e7d0>), ('physical_network', <django.forms.fields.CharField object at 0x7fba5ad3e6d0>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7fba5ad33c50>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7fba5ad33250>), ('shared', <django.forms.fields.BooleanField object at 0x7fba5ad333d0>), ('external', <django.forms.fields.BooleanField object at 0x7fba5ad33550>)])
get_network_profile_choices(request)[source]
handle(request, data)[source]
media
widget = <django.forms.widgets.HiddenInput object at 0x7fba5ad3ebd0>
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 0x7fba5ad33690>), ('tenant_id', <django.forms.fields.CharField object at 0x7fba5ad33b90>), ('network_id', <django.forms.fields.CharField object at 0x7fba5ad33650>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7fba5ad338d0>), ('shared', <django.forms.fields.BooleanField object at 0x7fba5c00a7d0>), ('external', <django.forms.fields.BooleanField object at 0x7fba5b36b790>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fba5ad33690>), ('tenant_id', <django.forms.fields.CharField object at 0x7fba5ad33b90>), ('network_id', <django.forms.fields.CharField object at 0x7fba5ad33650>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7fba5ad338d0>), ('shared', <django.forms.fields.BooleanField object at 0x7fba5c00a7d0>), ('external', <django.forms.fields.BooleanField object at 0x7fba5b36b790>)])
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.urls Module

Project Source

This Page