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

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

Bases: horizon.workflows.base.Workflow

default_steps = (<class 'openstack_dashboard.dashboards.project.vpn.workflows.AddIKEPolicyStep'>,)
failure_message = <django.utils.functional.__proxy__ object>
finalize_button_name = <django.utils.functional.__proxy__ object>
format_status_message(message)[source]
handle(request, context)[source]
name = <django.utils.functional.__proxy__ object>
slug = 'addikepolicy'
success_message = <django.utils.functional.__proxy__ object>
success_url = 'horizon:project:vpn:index'
class openstack_dashboard.dashboards.project.vpn.workflows.AddIKEPolicyAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2ab7541baa10>), ('description', <django.forms.fields.CharField object at 0x2ab7541ba410>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x2ab756ca7e10>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x2ab756ca7fd0>), ('ike_version', <django.forms.fields.ChoiceField object at 0x2ab756ca7d90>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x2ab756ca7f50>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x2ab75690f8d0>), ('pfs', <django.forms.fields.ChoiceField object at 0x2ab75690fdd0>), ('phase1_negotiation_mode', <django.forms.fields.ChoiceField object at 0x2ab75690f590>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2ab7541baa10>), ('description', <django.forms.fields.CharField object at 0x2ab7541ba410>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x2ab756ca7e10>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x2ab756ca7fd0>), ('ike_version', <django.forms.fields.ChoiceField object at 0x2ab756ca7d90>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x2ab756ca7f50>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x2ab75690f8d0>), ('pfs', <django.forms.fields.ChoiceField object at 0x2ab75690fdd0>), ('phase1_negotiation_mode', <django.forms.fields.ChoiceField object at 0x2ab75690f590>)])
help_text = <django.utils.functional.__proxy__ object>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object>
permissions = ('openstack.services.network',)
progress_message = <django.utils.functional.__proxy__ object>
slug = u'addikepolicyaction'
class openstack_dashboard.dashboards.project.vpn.workflows.AddIKEPolicyStep(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of AddIKEPolicyAction

contribute(data, context)[source]
contributes = ('name', 'description', 'auth_algorithm', 'encryption_algorithm', 'ike_version', 'lifetime_units', 'lifetime_value', 'pfs', 'phase1_negotiation_mode')
class openstack_dashboard.dashboards.project.vpn.workflows.AddIPSecPolicy(request=None, context_seed=None, entry_point=None, *args, **kwargs)[source]

Bases: horizon.workflows.base.Workflow

default_steps = (<class 'openstack_dashboard.dashboards.project.vpn.workflows.AddIPSecPolicyStep'>,)
failure_message = <django.utils.functional.__proxy__ object>
finalize_button_name = <django.utils.functional.__proxy__ object>
format_status_message(message)[source]
handle(request, context)[source]
name = <django.utils.functional.__proxy__ object>
slug = 'addipsecpolicy'
success_message = <django.utils.functional.__proxy__ object>
success_url = 'horizon:project:vpn:index'
class openstack_dashboard.dashboards.project.vpn.workflows.AddIPSecPolicyAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2ab75690fc90>), ('description', <django.forms.fields.CharField object at 0x2ab75690ff90>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x2ab750002790>), ('encapsulation_mode', <django.forms.fields.ChoiceField object at 0x2ab756a6e690>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x2ab756a6eb50>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x2ab756a6e4d0>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x2ab756a6e310>), ('pfs', <django.forms.fields.ChoiceField object at 0x2ab756a6e7d0>), ('transform_protocol', <django.forms.fields.ChoiceField object at 0x2ab756a6e610>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2ab75690fc90>), ('description', <django.forms.fields.CharField object at 0x2ab75690ff90>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x2ab750002790>), ('encapsulation_mode', <django.forms.fields.ChoiceField object at 0x2ab756a6e690>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x2ab756a6eb50>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x2ab756a6e4d0>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x2ab756a6e310>), ('pfs', <django.forms.fields.ChoiceField object at 0x2ab756a6e7d0>), ('transform_protocol', <django.forms.fields.ChoiceField object at 0x2ab756a6e610>)])
help_text = <django.utils.functional.__proxy__ object>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object>
permissions = ('openstack.services.network',)
progress_message = <django.utils.functional.__proxy__ object>
slug = u'addipsecpolicyaction'
class openstack_dashboard.dashboards.project.vpn.workflows.AddIPSecPolicyStep(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of AddIPSecPolicyAction

contribute(data, context)[source]
contributes = ('name', 'description', 'auth_algorithm', 'encapsulation_mode', 'encryption_algorithm', 'lifetime_units', 'lifetime_value', 'pfs', 'transform_protocol')
class openstack_dashboard.dashboards.project.vpn.workflows.AddIPSecSiteConnection(request=None, context_seed=None, entry_point=None, *args, **kwargs)[source]

Bases: horizon.workflows.base.Workflow

default_steps = (<class 'openstack_dashboard.dashboards.project.vpn.workflows.AddIPSecSiteConnectionStep'>, <class 'openstack_dashboard.dashboards.project.vpn.workflows.AddIPSecSiteConnectionOptionalStep'>)
failure_message = <django.utils.functional.__proxy__ object>
finalize_button_name = <django.utils.functional.__proxy__ object>
format_status_message(message)[source]
handle(request, context)[source]
name = <django.utils.functional.__proxy__ object>
slug = 'addipsecsiteconnection'
success_message = <django.utils.functional.__proxy__ object>
success_url = 'horizon:project:vpn:index'
class openstack_dashboard.dashboards.project.vpn.workflows.AddIPSecSiteConnectionAction(request, context, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2ab756a6e890>), ('description', <django.forms.fields.CharField object at 0x2ab756a6ed10>), ('vpnservice_id', <django.forms.fields.ChoiceField object at 0x2ab756f4b290>), ('ikepolicy_id', <django.forms.fields.ChoiceField object at 0x2ab756f4b610>), ('ipsecpolicy_id', <django.forms.fields.ChoiceField object at 0x2ab756f4b8d0>), ('peer_address', <horizon.forms.fields.IPField object at 0x2ab756f4be10>), ('peer_id', <horizon.forms.fields.IPField object at 0x2ab756f4b9d0>), ('peer_cidrs', <horizon.forms.fields.MultiIPField object at 0x2ab756f4b710>), ('psk', <django.forms.fields.CharField object at 0x2ab756f4b210>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2ab756a6e890>), ('description', <django.forms.fields.CharField object at 0x2ab756a6ed10>), ('vpnservice_id', <django.forms.fields.ChoiceField object at 0x2ab756f4b290>), ('ikepolicy_id', <django.forms.fields.ChoiceField object at 0x2ab756f4b610>), ('ipsecpolicy_id', <django.forms.fields.ChoiceField object at 0x2ab756f4b8d0>), ('peer_address', <horizon.forms.fields.IPField object at 0x2ab756f4be10>), ('peer_id', <horizon.forms.fields.IPField object at 0x2ab756f4b9d0>), ('peer_cidrs', <horizon.forms.fields.MultiIPField object at 0x2ab756f4b710>), ('psk', <django.forms.fields.CharField object at 0x2ab756f4b210>)])
help_text = <django.utils.functional.__proxy__ object>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object>
permissions = ('openstack.services.network',)
populate_ikepolicy_id_choices(request, context)[source]
populate_ipsecpolicy_id_choices(request, context)[source]
populate_vpnservice_id_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object>
slug = u'addipsecsiteconnectionaction'
class openstack_dashboard.dashboards.project.vpn.workflows.AddIPSecSiteConnectionOptionalAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('mtu', <django.forms.fields.IntegerField object at 0x2ab750b33ed0>), ('dpd_action', <django.forms.fields.ChoiceField object at 0x2ab756f35710>), ('dpd_interval', <django.forms.fields.IntegerField object at 0x2ab756f35fd0>), ('dpd_timeout', <django.forms.fields.IntegerField object at 0x2ab756f35990>), ('initiator', <django.forms.fields.ChoiceField object at 0x2ab756f357d0>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2ab756f358d0>)])
clean()[source]
declared_fields = OrderedDict([('mtu', <django.forms.fields.IntegerField object at 0x2ab750b33ed0>), ('dpd_action', <django.forms.fields.ChoiceField object at 0x2ab756f35710>), ('dpd_interval', <django.forms.fields.IntegerField object at 0x2ab756f35fd0>), ('dpd_timeout', <django.forms.fields.IntegerField object at 0x2ab756f35990>), ('initiator', <django.forms.fields.ChoiceField object at 0x2ab756f357d0>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2ab756f358d0>)])
help_text = <django.utils.functional.__proxy__ object>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object>
permissions = ('openstack.services.network',)
populate_dpd_action_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object>
slug = u'addipsecsiteconnectionoptionalaction'
class openstack_dashboard.dashboards.project.vpn.workflows.AddIPSecSiteConnectionOptionalStep(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of AddIPSecSiteConnectionOptionalAction

contribute(data, context)[source]
contributes = ('dpd_action', 'dpd_interval', 'dpd_timeout', 'initiator', 'mtu', 'admin_state_up')
class openstack_dashboard.dashboards.project.vpn.workflows.AddIPSecSiteConnectionStep(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of AddIPSecSiteConnectionAction

contributes = ('name', 'description', 'vpnservice_id', 'ikepolicy_id', 'ipsecpolicy_id', 'peer_address', 'peer_id', 'peer_cidrs', 'psk')
class openstack_dashboard.dashboards.project.vpn.workflows.AddVPNService(request=None, context_seed=None, entry_point=None, *args, **kwargs)[source]

Bases: horizon.workflows.base.Workflow

default_steps = (<class 'openstack_dashboard.dashboards.project.vpn.workflows.AddVPNServiceStep'>,)
failure_message = <django.utils.functional.__proxy__ object>
finalize_button_name = <django.utils.functional.__proxy__ object>
format_status_message(message)[source]
handle(request, context)[source]
name = <django.utils.functional.__proxy__ object>
slug = 'addvpnservice'
success_message = <django.utils.functional.__proxy__ object>
success_url = 'horizon:project:vpn:index'
class openstack_dashboard.dashboards.project.vpn.workflows.AddVPNServiceAction(request, *args, **kwargs)[source]

Bases: horizon.workflows.base.Action

base_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2ab756a1b190>), ('description', <django.forms.fields.CharField object at 0x2ab756a1bc50>), ('router_id', <django.forms.fields.ChoiceField object at 0x2ab752fc5550>), ('subnet_id', <django.forms.fields.ChoiceField object at 0x2ab755a89e10>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2ab755042910>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2ab756a1b190>), ('description', <django.forms.fields.CharField object at 0x2ab756a1bc50>), ('router_id', <django.forms.fields.ChoiceField object at 0x2ab752fc5550>), ('subnet_id', <django.forms.fields.ChoiceField object at 0x2ab755a89e10>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2ab755042910>)])
help_text = <django.utils.functional.__proxy__ object>
help_text_template = None
media
name = <django.utils.functional.__proxy__ object>
permissions = ('openstack.services.network',)
populate_router_id_choices(request, context)[source]
populate_subnet_id_choices(request, context)[source]
progress_message = <django.utils.functional.__proxy__ object>
slug = u'addvpnserviceaction'
class openstack_dashboard.dashboards.project.vpn.workflows.AddVPNServiceStep(workflow)[source]

Bases: horizon.workflows.base.Step

action_class

alias of AddVPNServiceAction

contribute(data, context)[source]
contributes = ('name', 'description', 'subnet_id', 'router_id', 'admin_state_up')