Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Dict Str NameLoad keyword NameLoad Return ListComp NameLoad comprehension NameStore NameLoad BoolOpAnd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Dict Str NameLoad If UnaryOpNot NameLoad body Assign SubscriptStore NameLoad Index Str Str Return NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Return NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index Str Num If NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If BoolOpAnd NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Str orelse Assign SubscriptStore NameLoad Index Str Str orelse Assign SubscriptStore NameLoad Index Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num handlers ExceptHandler type AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr keyword NameLoad Return Dict Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr TupleLoad Num Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad Return Dict Str NameLoad decorator_list Call AttributeLoad NameLoad attr TupleLoad Num Num Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad If CompareNotEq NameLoad Str body Assign NameStore BinOpMod Call NameLoad Str NameLoad Raise Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore Num FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListLoad decorator_list decorator_list
N/A N/A Connect your vlan to the world. oslo_config cfg oslo_utils fileutils webob exc nova.api.openstack.compute.schemas cloudpipe nova.api.openstack extensions nova.api.openstack wsgi nova.api validation nova.cloudpipe pipelib nova compute nova.compute utils compute_utils nova.compute vm_states nova exception nova.i18n _ nova network nova objects nova utils N/A CONF N/A cfg CONF N/A N/A N/A CONF import_opt keys_path nova.crypto N/A ALIAS os-cloudpipe N/A authorize N/A N/A extensions os_compute_authorizer ALIAS CloudpipeController N/A N/A wsgi Controller N/A N/A Handle creating and listing cloudpipe instances. __init__ N/A N/A self N/A N/A N/A N/A self compute_api N/A N/A compute API skip_policy_check True N/A N/A self network_api N/A N/A network API skip_policy_check True N/A N/A self cloudpipe N/A N/A pipelib CloudPipe skip_policy_check True N/A N/A N/A self setup N/A setup N/A N/A self N/A N/A N/A Ensure the keychains and folders exist. N/A N/A N/A fileutils ensure_tree N/A CONF keys_path N/A _get_all_cloudpipes N/A N/A self context N/A N/A N/A Get all cloudpipes. N/A instances N/A N/A N/A self compute_api get_all context search_opts N/A deleted False want_objects True N/A N/A instance N/A instance instances N/A N/A N/A pipelib is_vpn_image N/A instance image_ref N/A N/A instance vm_state N/A vm_states DELETED N/A _get_cloudpipe_for_project N/A N/A self context N/A N/A N/A Get the cloudpipe instance for a project from context. N/A cloudpipes N/A N/A N/A self _get_all_cloudpipes context N/A None N/A N/A cloudpipes N/A 0 N/A _vpn_dict N/A N/A self context project_id instance N/A N/A N/A elevated N/A N/A context elevated N/A rv N/A project_id project_id N/A N/A instance N/A N/A N/A rv N/A state pending N/A rv N/A N/A rv N/A instance_id N/A instance uuid N/A N/A rv N/A created_at N/A N/A utils isotime N/A instance created_at N/A nw_info N/A N/A compute_utils get_nw_info_for_instance instance N/A N/A nw_info N/A N/A rv N/A vif N/A nw_info N/A 0 N/A ips N/A ip N/A ip N/A N/A vif fixed_ips N/A N/A ip N/A version 4 N/A ips N/A N/A N/A rv N/A internal_ip N/A N/A ips N/A 0 N/A address N/A N/A elevated project_id project_id N/A network N/A N/A N/A self network_api get elevated N/A N/A vif N/A network N/A id N/A network N/A N/A vpn_ip N/A network N/A vpn_public_address N/A vpn_port N/A network N/A vpn_public_port N/A N/A rv N/A public_ip vpn_ip N/A N/A rv N/A public_port vpn_port N/A N/A vpn_ip vpn_port N/A N/A N/A N/A utils vpn_ping vpn_ip vpn_port N/A N/A N/A rv N/A state running N/A N/A N/A rv N/A state down N/A N/A N/A rv N/A state invalid N/A rv N/A create N/A N/A self req body N/A N/A N/A Create a new cloudpipe instance, if none exists.

        Parameters: {cloudpipe: {'project_id': ''}}
         N/A context N/A N/A req environ N/A nova.context N/A N/A authorize context N/A params N/A N/A body get cloudpipe N/A N/A project_id N/A N/A params get project_id N/A context project_id N/A N/A context project_id project_id N/A N/A context user_id project-vpn N/A N/A context is_admin False N/A N/A context roles N/A N/A instance N/A N/A self _get_cloudpipe_for_project context N/A N/A instance N/A N/A N/A N/A result N/A N/A N/A self cloudpipe launch_vpn_instance context N/A instance N/A N/A result N/A 0 N/A 0 N/A N/A N/A N/A exception NoMoreNetworks N/A N/A msg N/A _ Unable to claim IP for VPN instances, ensure it isn't running, and try again in a few minutes N/A N/A N/A exc HTTPBadRequest explanation msg N/A N/A instance_id N/A instance uuid N/A N/A N/A extensions expected_errors N/A 400 403 N/A N/A validation schema N/A cloudpipe create index N/A N/A self req N/A N/A N/A List running cloudpipe instances. N/A context N/A N/A req environ N/A nova.context N/A N/A authorize context N/A vpns N/A N/A N/A self _vpn_dict context N/A x N/A project_id x N/A x N/A N/A self _get_all_cloudpipes context N/A N/A cloudpipes vpns N/A N/A N/A extensions expected_errors N/A 400 403 404 update N/A N/A self req id body N/A N/A N/A Configure cloudpipe parameters for the project. N/A context N/A N/A req environ N/A nova.context N/A N/A authorize context N/A N/A id configure-project N/A N/A msg N/A N/A _ Unknown action %s id N/A N/A N/A exc HTTPBadRequest explanation msg N/A project_id N/A context project_id N/A networks N/A N/A N/A objects NetworkList get_by_project context project_id N/A params N/A body N/A configure_project N/A vpn_ip N/A params N/A vpn_ip N/A vpn_port N/A params N/A vpn_port N/A nw networks N/A N/A N/A nw vpn_public_address vpn_ip N/A N/A nw vpn_public_port vpn_port N/A N/A N/A nw save N/A N/A N/A wsgi response 202 N/A N/A extensions expected_errors 400 N/A N/A validation schema N/A cloudpipe update N/A Cloudpipe N/A N/A extensions V21APIExtensionBase N/A N/A Adds actions to create cloudpipe instances.

    When running with the Vlan network mode, you need a mechanism to route
    from the public Internet to your vlans.  This mechanism is known as a
    cloudpipe.

    At the time of creating this class, only OpenVPN is supported.  Support for
    a SSH Bastion host is forthcoming.
     N/A name Cloudpipe N/A alias ALIAS N/A version 1 get_resources N/A N/A self N/A N/A N/A resource N/A N/A N/A extensions ResourceExtension ALIAS N/A CloudpipeController N/A resource N/A get_controller_extensions N/A N/A self N/A N/A N/A It's an abstract function V21APIExtensionBase and the extension
        will not be loaded without it.
         N/A N/A N/A N/A