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

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

Bases: openstack_dashboard.dashboards.project.networks.workflows.CreateNetwork

default_steps = (<class 'openstack_dashboard.dashboards.project.networks.subnets.workflows.CreateSubnetInfo'>, <class 'openstack_dashboard.dashboards.project.networks.workflows.CreateSubnetDetail'>)
failure_message = <django.utils.functional.__proxy__ object>
finalize_button_name = <django.utils.functional.__proxy__ object>
format_status_message(message)[source]
get_failure_url()[source]
get_success_url()[source]
handle(request, data)[source]
name = <django.utils.functional.__proxy__ object>
slug = 'create_subnet'
success_message = <django.utils.functional.__proxy__ object>
class openstack_dashboard.dashboards.project.networks.subnets.workflows.CreateSubnetInfo(workflow)[source]

Bases: openstack_dashboard.dashboards.project.networks.workflows.CreateSubnetInfo

action_class

alias of CreateSubnetInfoAction

depends_on = ('network_id',)
class openstack_dashboard.dashboards.project.networks.subnets.workflows.CreateSubnetInfoAction(request, *args, **kwargs)[source]

Bases: openstack_dashboard.dashboards.project.networks.workflows.CreateSubnetInfoAction

base_fields = OrderedDict([('subnet_name', <django.forms.fields.CharField object at 0x7fe5f95104d0>), ('address_source', <django.forms.fields.ChoiceField object at 0x7fe5f9510a90>), ('subnetpool', <django.forms.fields.ChoiceField object at 0x7fe5f9510f50>), ('prefixlen', <django.forms.fields.ChoiceField object at 0x7fe5f95105d0>), ('cidr', <horizon.forms.fields.IPField object at 0x7fe5f95101d0>), ('ip_version', <django.forms.fields.ChoiceField object at 0x7fe5f9510150>), ('gateway_ip', <horizon.forms.fields.IPField object at 0x7fe5fb9c1150>), ('no_gateway', <django.forms.fields.BooleanField object at 0x7fe5fb9c1350>), ('with_subnet', <django.forms.fields.BooleanField object at 0x7fe5f92bb450>)])
clean()[source]
declared_fields = OrderedDict([('subnet_name', <django.forms.fields.CharField object at 0x7fe5f95104d0>), ('address_source', <django.forms.fields.ChoiceField object at 0x7fe5f9510a90>), ('subnetpool', <django.forms.fields.ChoiceField object at 0x7fe5f9510f50>), ('prefixlen', <django.forms.fields.ChoiceField object at 0x7fe5f95105d0>), ('cidr', <horizon.forms.fields.IPField object at 0x7fe5f95101d0>), ('ip_version', <django.forms.fields.ChoiceField object at 0x7fe5f9510150>), ('gateway_ip', <horizon.forms.fields.IPField object at 0x7fe5fb9c1150>), ('no_gateway', <django.forms.fields.BooleanField object at 0x7fe5fb9c1350>), ('with_subnet', <django.forms.fields.BooleanField object at 0x7fe5f92bb450>)])
help_text = <django.utils.functional.__proxy__ object>
help_text_template = None
media
msg = <django.utils.functional.__proxy__ object>
name = <django.utils.functional.__proxy__ object>
permissions = ()
policy_rules = ()
progress_message = <django.utils.functional.__proxy__ object>
slug = u'createsubnetinfoaction'
class openstack_dashboard.dashboards.project.networks.subnets.workflows.UpdateSubnet(request=None, context_seed=None, entry_point=None, *args, **kwargs)[source]

Bases: openstack_dashboard.dashboards.project.networks.workflows.CreateNetwork

default_steps = (<class 'openstack_dashboard.dashboards.project.networks.subnets.workflows.UpdateSubnetInfo'>, <class 'openstack_dashboard.dashboards.project.networks.subnets.workflows.UpdateSubnetDetail'>)
failure_message = <django.utils.functional.__proxy__ object>
failure_url = 'horizon:project:networks:detail'
finalize_button_name = <django.utils.functional.__proxy__ object>
format_status_message(message)[source]
get_success_url()[source]
handle(request, data)[source]
name = <django.utils.functional.__proxy__ object>
slug = 'update_subnet'
success_message = <django.utils.functional.__proxy__ object>
success_url = 'horizon:project:networks:detail'
class openstack_dashboard.dashboards.project.networks.subnets.workflows.UpdateSubnetDetail(workflow)[source]

Bases: openstack_dashboard.dashboards.project.networks.workflows.CreateSubnetDetail

action_class

alias of UpdateSubnetDetailAction

class openstack_dashboard.dashboards.project.networks.subnets.workflows.UpdateSubnetDetailAction(request, context, *args, **kwargs)[source]

Bases: openstack_dashboard.dashboards.project.networks.workflows.CreateSubnetDetailAction

base_fields = OrderedDict([('enable_dhcp', <django.forms.fields.BooleanField object at 0x7fe5fb9c1210>), ('ipv6_modes', <django.forms.fields.ChoiceField object at 0x7fe5fb9c1f10>), ('allocation_pools', <django.forms.fields.CharField object at 0x7fe5fb9c1a90>), ('dns_nameservers', <django.forms.fields.CharField object at 0x7fe5fb9c1510>), ('host_routes', <django.forms.fields.CharField object at 0x7fe5fb9c1d90>)])
declared_fields = OrderedDict([('enable_dhcp', <django.forms.fields.BooleanField object at 0x7fe5fb9c1210>), ('ipv6_modes', <django.forms.fields.ChoiceField object at 0x7fe5fb9c1f10>), ('allocation_pools', <django.forms.fields.CharField object at 0x7fe5fb9c1a90>), ('dns_nameservers', <django.forms.fields.CharField object at 0x7fe5fb9c1510>), ('host_routes', <django.forms.fields.CharField object at 0x7fe5fb9c1d90>)])
help_text = <django.utils.functional.__proxy__ object>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object>
permissions = ()
policy_rules = ()
progress_message = <django.utils.functional.__proxy__ object>
slug = u'updatesubnetdetailaction'
class openstack_dashboard.dashboards.project.networks.subnets.workflows.UpdateSubnetInfo(workflow)[source]

Bases: openstack_dashboard.dashboards.project.networks.subnets.workflows.CreateSubnetInfo

action_class

alias of UpdateSubnetInfoAction

depends_on = ('network_id', 'subnet_id')
class openstack_dashboard.dashboards.project.networks.subnets.workflows.UpdateSubnetInfoAction(request, *args, **kwargs)[source]

Bases: openstack_dashboard.dashboards.project.networks.subnets.workflows.CreateSubnetInfoAction

base_fields = OrderedDict([('subnet_name', <django.forms.fields.CharField object at 0x7fe5f95104d0>), ('address_source', <horizon.forms.fields.ThemableChoiceField object at 0x7fe5fa8113d0>), ('subnetpool', <horizon.forms.fields.ThemableChoiceField object at 0x7fe5fa811550>), ('prefixlen', <horizon.forms.fields.ThemableChoiceField object at 0x7fe5fa811d90>), ('cidr', <horizon.forms.fields.IPField object at 0x7fe5fa811410>), ('ip_version', <horizon.forms.fields.ThemableChoiceField object at 0x7fe5fa811810>), ('gateway_ip', <horizon.forms.fields.IPField object at 0x7fe5fb9c1150>), ('no_gateway', <django.forms.fields.BooleanField object at 0x7fe5fb9c1350>), ('with_subnet', <django.forms.fields.BooleanField object at 0x7fe5f92bb450>)])
clean()[source]
declared_fields = OrderedDict([('subnet_name', <django.forms.fields.CharField object at 0x7fe5f95104d0>), ('address_source', <horizon.forms.fields.ThemableChoiceField object at 0x7fe5fa8113d0>), ('subnetpool', <horizon.forms.fields.ThemableChoiceField object at 0x7fe5fa811550>), ('prefixlen', <horizon.forms.fields.ThemableChoiceField object at 0x7fe5fa811d90>), ('cidr', <horizon.forms.fields.IPField object at 0x7fe5fa811410>), ('ip_version', <horizon.forms.fields.ThemableChoiceField object at 0x7fe5fa811810>), ('gateway_ip', <horizon.forms.fields.IPField object at 0x7fe5fb9c1150>), ('no_gateway', <django.forms.fields.BooleanField object at 0x7fe5fb9c1350>), ('with_subnet', <django.forms.fields.BooleanField object at 0x7fe5f92bb450>)])
help_text = <django.utils.functional.__proxy__ object>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object>
permissions = ()
policy_rules = ()
progress_message = <django.utils.functional.__proxy__ object>
slug = u'updatesubnetinfoaction'