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 0x7f19b8a39450>), ('tenant_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8a3a450>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7f19b8a3a810>), ('network_type', <django.forms.fields.ChoiceField object at 0x7f19b8a3a950>), ('physical_network', <django.forms.fields.CharField object at 0x7f19b8a3a750>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7f19b8a3af90>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8a3a290>), ('shared', <django.forms.fields.BooleanField object at 0x7f19b93fba10>), ('external', <django.forms.fields.BooleanField object at 0x7f19b93fbc50>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b8a39450>), ('tenant_id', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8a3a450>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7f19b8a3a810>), ('network_type', <django.forms.fields.ChoiceField object at 0x7f19b8a3a950>), ('physical_network', <django.forms.fields.CharField object at 0x7f19b8a3a750>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7f19b8a3af90>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b8a3a290>), ('shared', <django.forms.fields.BooleanField object at 0x7f19b93fba10>), ('external', <django.forms.fields.BooleanField object at 0x7f19b93fbc50>)])
get_network_profile_choices(request)[source]
handle(request, data)[source]
media
widget = <django.forms.widgets.HiddenInput object at 0x7f19b8a3add0>
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 0x7f19b93fb8d0>), ('tenant_id', <django.forms.fields.CharField object at 0x7f19b93fb710>), ('network_id', <django.forms.fields.CharField object at 0x7f19b93fbc90>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b88fc090>), ('shared', <django.forms.fields.BooleanField object at 0x7f19b88fc250>), ('external', <django.forms.fields.BooleanField object at 0x7f19b8959990>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f19b93fb8d0>), ('tenant_id', <django.forms.fields.CharField object at 0x7f19b93fb710>), ('network_id', <django.forms.fields.CharField object at 0x7f19b93fbc90>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x7f19b88fc090>), ('shared', <django.forms.fields.BooleanField object at 0x7f19b88fc250>), ('external', <django.forms.fields.BooleanField object at 0x7f19b8959990>)])
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