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 0x7faf877eb5d0>), ('tenant_id', <django.forms.fields.ChoiceField object at 0x7faf877eb6d0>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7faf877ebc90>), ('network_type', <django.forms.fields.ChoiceField object at 0x7faf877eb250>), ('physical_network', <django.forms.fields.CharField object at 0x7faf877eb050>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7faf877eb990>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7faf88824dd0>), ('shared', <django.forms.fields.BooleanField object at 0x7faf88824190>), ('external', <django.forms.fields.BooleanField object at 0x7faf88824350>)])
clean()[source]
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf877eb5d0>), ('tenant_id', <django.forms.fields.ChoiceField object at 0x7faf877eb6d0>), ('net_profile_id', <django.forms.fields.ChoiceField object at 0x7faf877ebc90>), ('network_type', <django.forms.fields.ChoiceField object at 0x7faf877eb250>), ('physical_network', <django.forms.fields.CharField object at 0x7faf877eb050>), ('segmentation_id', <django.forms.fields.IntegerField object at 0x7faf877eb990>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7faf88824dd0>), ('shared', <django.forms.fields.BooleanField object at 0x7faf88824190>), ('external', <django.forms.fields.BooleanField object at 0x7faf88824350>)])
get_network_profile_choices(request)[source]
handle(request, data)[source]
media
widget = <django.forms.widgets.HiddenInput object at 0x7faf877ebf10>
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 0x7faf88824710>), ('tenant_id', <django.forms.fields.CharField object at 0x7faf88824790>), ('network_id', <django.forms.fields.CharField object at 0x7faf88824ad0>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7faf88824910>), ('shared', <django.forms.fields.BooleanField object at 0x7faf882dfb90>), ('external', <django.forms.fields.BooleanField object at 0x7faf882df990>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7faf88824710>), ('tenant_id', <django.forms.fields.CharField object at 0x7faf88824790>), ('network_id', <django.forms.fields.CharField object at 0x7faf88824ad0>), ('admin_state', <django.forms.fields.ChoiceField object at 0x7faf88824910>), ('shared', <django.forms.fields.BooleanField object at 0x7faf882dfb90>), ('external', <django.forms.fields.BooleanField object at 0x7faf882df990>)])
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.panel Module

Project Source

This Page