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 0x7f640e5aa350>), ('description', <django.forms.fields.CharField object at 0x7f640e5aa4d0>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x7f640e5aae50>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x7f640e5aab90>), ('ike_version', <django.forms.fields.ChoiceField object at 0x7f640e5aac10>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x7f640e5aac50>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x7f640e5aad50>), ('pfs', <django.forms.fields.ChoiceField object at 0x7f640e5aaf50>), ('phase1_negotiation_mode', <django.forms.fields.ChoiceField object at 0x7f640e0c5910>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f640e5aa350>), ('description', <django.forms.fields.CharField object at 0x7f640e5aa4d0>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x7f640e5aae50>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x7f640e5aab90>), ('ike_version', <django.forms.fields.ChoiceField object at 0x7f640e5aac10>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x7f640e5aac50>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x7f640e5aad50>), ('pfs', <django.forms.fields.ChoiceField object at 0x7f640e5aaf50>), ('phase1_negotiation_mode', <django.forms.fields.ChoiceField object at 0x7f640e0c5910>)])
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 0x7f640e0c5190>), ('description', <django.forms.fields.CharField object at 0x7f640e0c5b10>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x7f640e0c5290>), ('encapsulation_mode', <django.forms.fields.ChoiceField object at 0x7f6410e1f9d0>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x7f6410e1f210>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x7f6410e1f150>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x7f6410e1fc10>), ('pfs', <django.forms.fields.ChoiceField object at 0x7f640de6d290>), ('transform_protocol', <django.forms.fields.ChoiceField object at 0x7f640de6dcd0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f640e0c5190>), ('description', <django.forms.fields.CharField object at 0x7f640e0c5b10>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x7f640e0c5290>), ('encapsulation_mode', <django.forms.fields.ChoiceField object at 0x7f6410e1f9d0>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x7f6410e1f210>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x7f6410e1f150>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x7f6410e1fc10>), ('pfs', <django.forms.fields.ChoiceField object at 0x7f640de6d290>), ('transform_protocol', <django.forms.fields.ChoiceField object at 0x7f640de6dcd0>)])
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 0x7f640de6d110>), ('description', <django.forms.fields.CharField object at 0x7f640de6d690>), ('vpnservice_id', <django.forms.fields.ChoiceField object at 0x7f640de6d450>), ('ikepolicy_id', <django.forms.fields.ChoiceField object at 0x7f640de6d7d0>), ('ipsecpolicy_id', <django.forms.fields.ChoiceField object at 0x7f640de6d810>), ('peer_address', <horizon.forms.fields.IPField object at 0x7f640de6d590>), ('peer_id', <horizon.forms.fields.IPField object at 0x7f640e02f7d0>), ('peer_cidrs', <horizon.forms.fields.MultiIPField object at 0x7f640e02fa10>), ('psk', <django.forms.fields.CharField object at 0x7f640e02f590>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f640de6d110>), ('description', <django.forms.fields.CharField object at 0x7f640de6d690>), ('vpnservice_id', <django.forms.fields.ChoiceField object at 0x7f640de6d450>), ('ikepolicy_id', <django.forms.fields.ChoiceField object at 0x7f640de6d7d0>), ('ipsecpolicy_id', <django.forms.fields.ChoiceField object at 0x7f640de6d810>), ('peer_address', <horizon.forms.fields.IPField object at 0x7f640de6d590>), ('peer_id', <horizon.forms.fields.IPField object at 0x7f640e02f7d0>), ('peer_cidrs', <horizon.forms.fields.MultiIPField object at 0x7f640e02fa10>), ('psk', <django.forms.fields.CharField object at 0x7f640e02f590>)])
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 0x7f640e02f8d0>), ('dpd_action', <django.forms.fields.ChoiceField object at 0x7f640e02ff90>), ('dpd_interval', <django.forms.fields.IntegerField object at 0x7f640e02f1d0>), ('dpd_timeout', <django.forms.fields.IntegerField object at 0x7f640e02fe10>), ('initiator', <django.forms.fields.ChoiceField object at 0x7f640e02fdd0>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7f6410dd27d0>)])
clean()[source]
declared_fields = OrderedDict([('mtu', <django.forms.fields.IntegerField object at 0x7f640e02f8d0>), ('dpd_action', <django.forms.fields.ChoiceField object at 0x7f640e02ff90>), ('dpd_interval', <django.forms.fields.IntegerField object at 0x7f640e02f1d0>), ('dpd_timeout', <django.forms.fields.IntegerField object at 0x7f640e02fe10>), ('initiator', <django.forms.fields.ChoiceField object at 0x7f640e02fdd0>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7f6410dd27d0>)])
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 0x7f640ea65050>), ('description', <django.forms.fields.CharField object at 0x7f640e257fd0>), ('router_id', <django.forms.fields.ChoiceField object at 0x7f640e257490>), ('subnet_id', <django.forms.fields.ChoiceField object at 0x7f640e2572d0>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7f640e257410>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7f640ea65050>), ('description', <django.forms.fields.CharField object at 0x7f640e257fd0>), ('router_id', <django.forms.fields.ChoiceField object at 0x7f640e257490>), ('subnet_id', <django.forms.fields.ChoiceField object at 0x7f640e2572d0>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7f640e257410>)])
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')