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 0x2b6d3e3711d0>), ('description', <django.forms.fields.CharField object at 0x2b6d3e371d90>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x2b6d3e371a50>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x2b6d3befc150>), ('ike_version', <django.forms.fields.ChoiceField object at 0x2b6d3befcc10>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x2b6d395fb390>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x2b6d395fb8d0>), ('pfs', <django.forms.fields.ChoiceField object at 0x2b6d395fb490>), ('phase1_negotiation_mode', <django.forms.fields.ChoiceField object at 0x2b6d3eaf8a10>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2b6d3e3711d0>), ('description', <django.forms.fields.CharField object at 0x2b6d3e371d90>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x2b6d3e371a50>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x2b6d3befc150>), ('ike_version', <django.forms.fields.ChoiceField object at 0x2b6d3befcc10>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x2b6d395fb390>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x2b6d395fb8d0>), ('pfs', <django.forms.fields.ChoiceField object at 0x2b6d395fb490>), ('phase1_negotiation_mode', <django.forms.fields.ChoiceField object at 0x2b6d3eaf8a10>)])
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 0x2b6d3eaf8bd0>), ('description', <django.forms.fields.CharField object at 0x2b6d3eaf8f90>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x2b6d3caad2d0>), ('encapsulation_mode', <django.forms.fields.ChoiceField object at 0x2b6d3caad910>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x2b6d3caadf50>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x2b6d3caad8d0>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x2b6d3c235510>), ('pfs', <django.forms.fields.ChoiceField object at 0x2b6d3c235350>), ('transform_protocol', <django.forms.fields.ChoiceField object at 0x2b6d3d209110>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2b6d3eaf8bd0>), ('description', <django.forms.fields.CharField object at 0x2b6d3eaf8f90>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x2b6d3caad2d0>), ('encapsulation_mode', <django.forms.fields.ChoiceField object at 0x2b6d3caad910>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x2b6d3caadf50>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x2b6d3caad8d0>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x2b6d3c235510>), ('pfs', <django.forms.fields.ChoiceField object at 0x2b6d3c235350>), ('transform_protocol', <django.forms.fields.ChoiceField object at 0x2b6d3d209110>)])
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 0x2b6d3c8f3150>), ('description', <django.forms.fields.CharField object at 0x2b6d3c8f3690>), ('vpnservice_id', <django.forms.fields.ChoiceField object at 0x2b6d3c1cc410>), ('ikepolicy_id', <django.forms.fields.ChoiceField object at 0x2b6d3dc2f850>), ('ipsecpolicy_id', <django.forms.fields.ChoiceField object at 0x2b6d3dc2f090>), ('peer_address', <horizon.forms.fields.IPField object at 0x2b6d3dc2f750>), ('peer_id', <horizon.forms.fields.IPField object at 0x2b6d3dc2f3d0>), ('peer_cidrs', <horizon.forms.fields.MultiIPField object at 0x2b6d3dc2f210>), ('psk', <django.forms.fields.CharField object at 0x2b6d3dc2fc50>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2b6d3c8f3150>), ('description', <django.forms.fields.CharField object at 0x2b6d3c8f3690>), ('vpnservice_id', <django.forms.fields.ChoiceField object at 0x2b6d3c1cc410>), ('ikepolicy_id', <django.forms.fields.ChoiceField object at 0x2b6d3dc2f850>), ('ipsecpolicy_id', <django.forms.fields.ChoiceField object at 0x2b6d3dc2f090>), ('peer_address', <horizon.forms.fields.IPField object at 0x2b6d3dc2f750>), ('peer_id', <horizon.forms.fields.IPField object at 0x2b6d3dc2f3d0>), ('peer_cidrs', <horizon.forms.fields.MultiIPField object at 0x2b6d3dc2f210>), ('psk', <django.forms.fields.CharField object at 0x2b6d3dc2fc50>)])
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 0x2b6d3d564690>), ('dpd_action', <django.forms.fields.ChoiceField object at 0x2b6d3d564e50>), ('dpd_interval', <django.forms.fields.IntegerField object at 0x2b6d3d564990>), ('dpd_timeout', <django.forms.fields.IntegerField object at 0x2b6d3d564510>), ('initiator', <django.forms.fields.ChoiceField object at 0x2b6d3d5643d0>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2b6d3d564ad0>)])
clean()[source]
declared_fields = OrderedDict([('mtu', <django.forms.fields.IntegerField object at 0x2b6d3d564690>), ('dpd_action', <django.forms.fields.ChoiceField object at 0x2b6d3d564e50>), ('dpd_interval', <django.forms.fields.IntegerField object at 0x2b6d3d564990>), ('dpd_timeout', <django.forms.fields.IntegerField object at 0x2b6d3d564510>), ('initiator', <django.forms.fields.ChoiceField object at 0x2b6d3d5643d0>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2b6d3d564ad0>)])
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 0x2b6d404e9e50>), ('description', <django.forms.fields.CharField object at 0x2b6d3dc2d810>), ('router_id', <django.forms.fields.ChoiceField object at 0x2b6d3dc2ddd0>), ('subnet_id', <django.forms.fields.ChoiceField object at 0x2b6d3dc2d950>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2b6d3dc2d1d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2b6d404e9e50>), ('description', <django.forms.fields.CharField object at 0x2b6d3dc2d810>), ('router_id', <django.forms.fields.ChoiceField object at 0x2b6d3dc2ddd0>), ('subnet_id', <django.forms.fields.ChoiceField object at 0x2b6d3dc2d950>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2b6d3dc2d1d0>)])
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')