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 0x7fecb735a590>), ('description', <django.forms.fields.CharField object at 0x7fecb735a050>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x7fecb735a550>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x7fecb735a110>), ('ike_version', <django.forms.fields.ChoiceField object at 0x7fecb735ae90>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x7fecb735af50>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x7fecb735acd0>), ('pfs', <django.forms.fields.ChoiceField object at 0x7fecb735aa90>), ('phase1_negotiation_mode', <django.forms.fields.ChoiceField object at 0x7fecb735a410>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fecb735a590>), ('description', <django.forms.fields.CharField object at 0x7fecb735a050>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x7fecb735a550>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x7fecb735a110>), ('ike_version', <django.forms.fields.ChoiceField object at 0x7fecb735ae90>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x7fecb735af50>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x7fecb735acd0>), ('pfs', <django.forms.fields.ChoiceField object at 0x7fecb735aa90>), ('phase1_negotiation_mode', <django.forms.fields.ChoiceField object at 0x7fecb735a410>)])
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 0x7fecb70fa9d0>), ('description', <django.forms.fields.CharField object at 0x7fecb70fa350>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x7fecb70fa750>), ('encapsulation_mode', <django.forms.fields.ChoiceField object at 0x7fecb70fa790>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x7fecb70fae10>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x7fecb70faf90>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x7fecb70fa810>), ('pfs', <django.forms.fields.ChoiceField object at 0x7fecb70fad10>), ('transform_protocol', <django.forms.fields.ChoiceField object at 0x7fecb7e6d8d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fecb70fa9d0>), ('description', <django.forms.fields.CharField object at 0x7fecb70fa350>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x7fecb70fa750>), ('encapsulation_mode', <django.forms.fields.ChoiceField object at 0x7fecb70fa790>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x7fecb70fae10>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x7fecb70faf90>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x7fecb70fa810>), ('pfs', <django.forms.fields.ChoiceField object at 0x7fecb70fad10>), ('transform_protocol', <django.forms.fields.ChoiceField object at 0x7fecb7e6d8d0>)])
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 0x7fecb83ca6d0>), ('description', <django.forms.fields.CharField object at 0x7fecb6bac9d0>), ('vpnservice_id', <django.forms.fields.ChoiceField object at 0x7fecb6bac790>), ('ikepolicy_id', <django.forms.fields.ChoiceField object at 0x7fecb6bac410>), ('ipsecpolicy_id', <django.forms.fields.ChoiceField object at 0x7fecb6bacfd0>), ('peer_address', <horizon.forms.fields.IPField object at 0x7fecb6bac710>), ('peer_id', <horizon.forms.fields.IPField object at 0x7fecb6bacd90>), ('peer_cidrs', <horizon.forms.fields.MultiIPField object at 0x7fecb6bac490>), ('psk', <django.forms.fields.CharField object at 0x7fecb6bac890>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fecb83ca6d0>), ('description', <django.forms.fields.CharField object at 0x7fecb6bac9d0>), ('vpnservice_id', <django.forms.fields.ChoiceField object at 0x7fecb6bac790>), ('ikepolicy_id', <django.forms.fields.ChoiceField object at 0x7fecb6bac410>), ('ipsecpolicy_id', <django.forms.fields.ChoiceField object at 0x7fecb6bacfd0>), ('peer_address', <horizon.forms.fields.IPField object at 0x7fecb6bac710>), ('peer_id', <horizon.forms.fields.IPField object at 0x7fecb6bacd90>), ('peer_cidrs', <horizon.forms.fields.MultiIPField object at 0x7fecb6bac490>), ('psk', <django.forms.fields.CharField object at 0x7fecb6bac890>)])
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 0x7fecbe852bd0>), ('dpd_action', <django.forms.fields.ChoiceField object at 0x7fecb9bcba10>), ('dpd_interval', <django.forms.fields.IntegerField object at 0x7fecbe8dee90>), ('dpd_timeout', <django.forms.fields.IntegerField object at 0x7fecb8caaa50>), ('initiator', <django.forms.fields.ChoiceField object at 0x7fecb8caa410>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7fecb8caab90>)])
clean()[source]
declared_fields = OrderedDict([('mtu', <django.forms.fields.IntegerField object at 0x7fecbe852bd0>), ('dpd_action', <django.forms.fields.ChoiceField object at 0x7fecb9bcba10>), ('dpd_interval', <django.forms.fields.IntegerField object at 0x7fecbe8dee90>), ('dpd_timeout', <django.forms.fields.IntegerField object at 0x7fecb8caaa50>), ('initiator', <django.forms.fields.ChoiceField object at 0x7fecb8caa410>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7fecb8caab90>)])
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 0x7fecb7be5850>), ('description', <django.forms.fields.CharField object at 0x7fecb71dbbd0>), ('router_id', <django.forms.fields.ChoiceField object at 0x7fecb71db790>), ('subnet_id', <django.forms.fields.ChoiceField object at 0x7fecb8f25150>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7fecbe43eb90>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x7fecb7be5850>), ('description', <django.forms.fields.CharField object at 0x7fecb71dbbd0>), ('router_id', <django.forms.fields.ChoiceField object at 0x7fecb71db790>), ('subnet_id', <django.forms.fields.ChoiceField object at 0x7fecb8f25150>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x7fecbe43eb90>)])
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')