The openstack_dashboard.dashboards.project.networks.workflows ModuleΒΆ

class openstack_dashboard.dashboards.project.networks.workflows.CreateNetwork(request=None, context_seed=None, entry_point=None, *args, **kwargs)[source]

Bases: horizon.workflows.base.Workflow

default_steps = (<class 'openstack_dashboard.dashboards.project.networks.workflows.CreateNetworkInfo'>, <class 'openstack_dashboard.dashboards.project.networks.workflows.CreateSubnetInfo'>, <class 'openstack_dashboard.dashboards.project.networks.workflows.CreateSubnetDetail'>)
failure_message = <django.utils.functional.__proxy__ object at 0x6a3cc10>
finalize_button_name = <django.utils.functional.__proxy__ object at 0x88a9690>
format_status_message(message)[source]
get_failure_url()[source]
get_success_url()[source]
handle(request, data)[source]
name = <django.utils.functional.__proxy__ object at 0x88a9910>
slug = 'create_network'
success_message = <django.utils.functional.__proxy__ object at 0x6a3c050>
wizard = True
class openstack_dashboard.dashboards.project.networks.workflows.CreateNetworkInfo(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of CreateNetworkInfoAction

contributes = ('net_name', 'admin_state', 'net_profile_id', 'with_subnet', 'shared')
class openstack_dashboard.dashboards.project.networks.workflows.CreateNetworkInfoAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('net_name', <django.forms.fields.CharField object at 0x90efa90>), ('net_profile_id', <horizon.forms.fields.ThemableChoiceField object at 0xa586850>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x78b6410>), ('shared', <django.forms.fields.BooleanField object at 0x78b6450>), ('with_subnet', <django.forms.fields.BooleanField object at 0x78b6d90>)])
declared_fields = OrderedDict([('net_name', <django.forms.fields.CharField object at 0x90efa90>), ('net_profile_id', <horizon.forms.fields.ThemableChoiceField object at 0xa586850>), ('admin_state', <horizon.forms.fields.ThemableChoiceField object at 0x78b6410>), ('shared', <django.forms.fields.BooleanField object at 0x78b6450>), ('with_subnet', <django.forms.fields.BooleanField object at 0x78b6d90>)])
get_network_profile_choices(request)[source]
help_text = <django.utils.functional.__proxy__ object at 0x78b6750>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x78b6690>
permissions = ()
policy_rules = ()
progress_message = <django.utils.functional.__proxy__ object at 0x9fb41d0>
slug = u'createnetworkinfoaction'
widget = <django.forms.widgets.HiddenInput object at 0xa586a90>
class openstack_dashboard.dashboards.project.networks.workflows.CreateSubnetDetail(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of CreateSubnetDetailAction

contributes = ('enable_dhcp', 'ipv6_modes', 'allocation_pools', 'dns_nameservers', 'host_routes')
class openstack_dashboard.dashboards.project.networks.workflows.CreateSubnetDetailAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('enable_dhcp', <django.forms.fields.BooleanField object at 0x96b5850>), ('ipv6_modes', <django.forms.fields.ChoiceField object at 0x88a9c10>), ('allocation_pools', <django.forms.fields.CharField object at 0x88a9610>), ('dns_nameservers', <django.forms.fields.CharField object at 0x88a9590>), ('host_routes', <django.forms.fields.CharField object at 0x88a9d10>)])
clean()[source]
declared_fields = OrderedDict([('enable_dhcp', <django.forms.fields.BooleanField object at 0x96b5850>), ('ipv6_modes', <django.forms.fields.ChoiceField object at 0x88a9c10>), ('allocation_pools', <django.forms.fields.CharField object at 0x88a9610>), ('dns_nameservers', <django.forms.fields.CharField object at 0x88a9590>), ('host_routes', <django.forms.fields.CharField object at 0x88a9d10>)])
help_text = <django.utils.functional.__proxy__ object at 0x88a9a10>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object at 0x88a9c90>
permissions = ()
policy_rules = ()
populate_ipv6_modes_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object at 0x88a9290>
slug = u'createsubnetdetailaction'
class openstack_dashboard.dashboards.project.networks.workflows.CreateSubnetInfo(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of CreateSubnetInfoAction

contributes = ('subnet_name', 'cidr', 'ip_version', 'gateway_ip', 'no_gateway', 'subnetpool', 'prefixlen', 'address_source')
class openstack_dashboard.dashboards.project.networks.workflows.CreateSubnetInfoAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('subnet_name', <django.forms.fields.CharField object at 0x9fb4850>), ('address_source', <django.forms.fields.ChoiceField object at 0x9fb4f50>), ('subnetpool', <django.forms.fields.ChoiceField object at 0x9fb4b10>), ('prefixlen', <django.forms.fields.ChoiceField object at 0x9fb47d0>), ('cidr', <horizon.forms.fields.IPField object at 0x9fb4210>), ('ip_version', <django.forms.fields.ChoiceField object at 0x9fb42d0>), ('gateway_ip', <horizon.forms.fields.IPField object at 0x88a2c10>), ('no_gateway', <django.forms.fields.BooleanField object at 0x96b5ed0>)])
check_subnet_range = True
clean()[source]
declared_fields = OrderedDict([('subnet_name', <django.forms.fields.CharField object at 0x9fb4850>), ('address_source', <django.forms.fields.ChoiceField object at 0x9fb4f50>), ('subnetpool', <django.forms.fields.ChoiceField object at 0x9fb4b10>), ('prefixlen', <django.forms.fields.ChoiceField object at 0x9fb47d0>), ('cidr', <horizon.forms.fields.IPField object at 0x9fb4210>), ('ip_version', <django.forms.fields.ChoiceField object at 0x9fb42d0>), ('gateway_ip', <horizon.forms.fields.IPField object at 0x88a2c10>), ('no_gateway', <django.forms.fields.BooleanField object at 0x96b5ed0>)])
get_subnetpool_choices(request)[source]
help_text = <django.utils.functional.__proxy__ object at 0x96b5fd0>
help_text_template = None
hide_subnetpool_choices()[source]
media
name = <django.utils.functional.__proxy__ object at 0x96b5cd0>
permissions = ()
policy_rules = ()
progress_message = <django.utils.functional.__proxy__ object at 0x96b5f90>
slug = u'createsubnetinfoaction'