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 0x2ac91696e710>), ('description', <django.forms.fields.CharField object at 0x2ac910ed3f90>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x2ac9168d5290>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x2ac9168d5450>), ('ike_version', <django.forms.fields.ChoiceField object at 0x2ac9168d5c10>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x2ac9168d5650>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x2ac9168d56d0>), ('pfs', <django.forms.fields.ChoiceField object at 0x2ac9168d5050>), ('phase1_negotiation_mode', <django.forms.fields.ChoiceField object at 0x2ac9168d5fd0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2ac91696e710>), ('description', <django.forms.fields.CharField object at 0x2ac910ed3f90>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x2ac9168d5290>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x2ac9168d5450>), ('ike_version', <django.forms.fields.ChoiceField object at 0x2ac9168d5c10>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x2ac9168d5650>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x2ac9168d56d0>), ('pfs', <django.forms.fields.ChoiceField object at 0x2ac9168d5050>), ('phase1_negotiation_mode', <django.forms.fields.ChoiceField object at 0x2ac9168d5fd0>)])
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 0x2ac9166da410>), ('description', <django.forms.fields.CharField object at 0x2ac9166dab90>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x2ac9166da950>), ('encapsulation_mode', <django.forms.fields.ChoiceField object at 0x2ac9166da210>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x2ac9166da550>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x2ac9166da1d0>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x2ac9166da510>), ('pfs', <django.forms.fields.ChoiceField object at 0x2ac9166da590>), ('transform_protocol', <django.forms.fields.ChoiceField object at 0x2ac9166da890>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2ac9166da410>), ('description', <django.forms.fields.CharField object at 0x2ac9166dab90>), ('auth_algorithm', <django.forms.fields.ChoiceField object at 0x2ac9166da950>), ('encapsulation_mode', <django.forms.fields.ChoiceField object at 0x2ac9166da210>), ('encryption_algorithm', <django.forms.fields.ChoiceField object at 0x2ac9166da550>), ('lifetime_units', <django.forms.fields.ChoiceField object at 0x2ac9166da1d0>), ('lifetime_value', <django.forms.fields.IntegerField object at 0x2ac9166da510>), ('pfs', <django.forms.fields.ChoiceField object at 0x2ac9166da590>), ('transform_protocol', <django.forms.fields.ChoiceField object at 0x2ac9166da890>)])
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 0x2ac91551b110>), ('description', <django.forms.fields.CharField object at 0x2ac91551b610>), ('vpnservice_id', <django.forms.fields.ChoiceField object at 0x2ac917eff650>), ('ikepolicy_id', <django.forms.fields.ChoiceField object at 0x2ac917effed0>), ('ipsecpolicy_id', <django.forms.fields.ChoiceField object at 0x2ac917eff490>), ('peer_address', <horizon.forms.fields.IPField object at 0x2ac917effad0>), ('peer_id', <horizon.forms.fields.IPField object at 0x2ac917effcd0>), ('peer_cidrs', <horizon.forms.fields.MultiIPField object at 0x2ac9158e4bd0>), ('psk', <django.forms.fields.CharField object at 0x2ac915ce97d0>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2ac91551b110>), ('description', <django.forms.fields.CharField object at 0x2ac91551b610>), ('vpnservice_id', <django.forms.fields.ChoiceField object at 0x2ac917eff650>), ('ikepolicy_id', <django.forms.fields.ChoiceField object at 0x2ac917effed0>), ('ipsecpolicy_id', <django.forms.fields.ChoiceField object at 0x2ac917eff490>), ('peer_address', <horizon.forms.fields.IPField object at 0x2ac917effad0>), ('peer_id', <horizon.forms.fields.IPField object at 0x2ac917effcd0>), ('peer_cidrs', <horizon.forms.fields.MultiIPField object at 0x2ac9158e4bd0>), ('psk', <django.forms.fields.CharField object at 0x2ac915ce97d0>)])
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 0x2ac915ce9590>), ('dpd_action', <django.forms.fields.ChoiceField object at 0x2ac9180ade50>), ('dpd_interval', <django.forms.fields.IntegerField object at 0x2ac9180adc50>), ('dpd_timeout', <django.forms.fields.IntegerField object at 0x2ac9180ad790>), ('initiator', <django.forms.fields.ChoiceField object at 0x2ac9180ade90>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2ac9180ad250>)])
clean()[source]
declared_fields = OrderedDict([('mtu', <django.forms.fields.IntegerField object at 0x2ac915ce9590>), ('dpd_action', <django.forms.fields.ChoiceField object at 0x2ac9180ade50>), ('dpd_interval', <django.forms.fields.IntegerField object at 0x2ac9180adc50>), ('dpd_timeout', <django.forms.fields.IntegerField object at 0x2ac9180ad790>), ('initiator', <django.forms.fields.ChoiceField object at 0x2ac9180ade90>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2ac9180ad250>)])
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 0x2ac916c6bad0>), ('description', <django.forms.fields.CharField object at 0x2ac9148d8b50>), ('router_id', <django.forms.fields.ChoiceField object at 0x2ac9148d8750>), ('subnet_id', <django.forms.fields.ChoiceField object at 0x2ac915b892d0>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2ac915b89550>)])
declared_fields = OrderedDict([('name', <django.forms.fields.CharField object at 0x2ac916c6bad0>), ('description', <django.forms.fields.CharField object at 0x2ac9148d8b50>), ('router_id', <django.forms.fields.ChoiceField object at 0x2ac9148d8750>), ('subnet_id', <django.forms.fields.ChoiceField object at 0x2ac915b892d0>), ('admin_state_up', <django.forms.fields.ChoiceField object at 0x2ac915b89550>)])
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')