Module ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Call AttributeLoad NameLoad attr Str keyword Str Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Return BoolOpOr AttributeLoad NameLoad attr Call NameLoad keyword Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Return Call NameLoad Call NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Return Call NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr attr Str ListLoad orelse Return Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr attr Str ListLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Str body Expr Str Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list
N/A keystoneclient.auth identity keystone_identity keystoneclient session keystone_session keystoneclient.v2_0 client keystone_client keystoneclient.v3 client keystone_client_v3 oslo_config cfg sahara context sahara.service sessions sahara.utils.openstack base N/A opts N/A N/A N/A cfg BoolOpt use_identity_api_v3 default True help Enables Sahara to use Keystone API v3. If that flag is disabled, per-job clusters will not be terminated automatically. N/A N/A cfg StrOpt admin_user_domain_name default default help The name of the domain to which the admin user belongs. N/A N/A cfg StrOpt admin_project_domain_name default default help The name of the domain for the service project(ex. tenant). N/A ssl_opts N/A N/A N/A cfg BoolOpt api_insecure default False help Allow to perform insecure SSL requests to keystone. N/A N/A cfg StrOpt ca_file help Location of ca certificates file to use for keystone client requests. N/A N/A cfg StrOpt endpoint_type default internalURL help Endpoint type for keystone client requests N/A keystone_group N/A N/A cfg OptGroup name keystone title Keystone client options N/A CONF N/A cfg CONF N/A N/A N/A CONF register_group keystone_group N/A N/A N/A CONF register_opts opts N/A N/A N/A CONF register_opts ssl_opts group keystone_group auth N/A N/A N/A N/A N/A Return a token auth plugin for the current context. N/A ctx N/A N/A context current N/A N/A N/A ctx auth_plugin N/A token_auth token N/A N/A context get_auth_token project_id N/A ctx tenant_id N/A auth_for_admin N/A N/A project_name trust_id N/A None None N/A N/A Return an auth plugin for the admin.

    :param project_name: a project to scope the auth with (optional).

    :param trust_id: a trust to scope the auth with (optional).

    :returns: an auth plugin object for the admin.
     N/A auth N/A _password_auth username N/A N/A CONF keystone_authtoken admin_user password N/A N/A CONF keystone_authtoken admin_password project_name project_name user_domain_name N/A CONF admin_user_domain_name project_domain_name N/A CONF admin_project_domain_name trust_id trust_id N/A auth N/A auth_for_proxy N/A N/A username password trust_id N/A None N/A N/A Return an auth plugin for the proxy user.

    :param username: the name of the proxy user.

    :param password: the proxy user's password.

    :param trust_id: a trust to scope the auth with (optional).

    :returns: an auth plugin object for the proxy user.
     N/A auth N/A _password_auth username username password password user_domain_name N/A CONF proxy_user_domain_name trust_id trust_id N/A auth N/A client N/A N/A N/A N/A N/A Return the current context client. N/A N/A client_from_auth N/A auth N/A client_for_admin N/A N/A N/A N/A N/A Return the Sahara admin user client. N/A auth N/A auth_for_admin project_name N/A N/A CONF keystone_authtoken admin_tenant_name N/A N/A client_from_auth auth N/A client_from_auth N/A N/A auth N/A N/A N/A Return a session based client from the auth plugin provided.

    A session is obtained from the global session cache.

    :param auth: the auth plugin object to use in client creation.

    :returns: a keystone client
     N/A session N/A N/A N/A N/A sessions cache get_session N/A sessions SESSION_TYPE_KEYSTONE N/A N/A CONF use_identity_api_v3 N/A N/A client_class N/A keystone_client_v3 Client N/A N/A client_class N/A keystone_client Client N/A N/A client_class session session auth auth N/A project_id_from_auth N/A N/A auth N/A N/A N/A Return the project id associated with an auth plugin.

    :param auth: the auth plugin to inspect.

    :returns: the project id associated with the auth plugin.
     N/A N/A N/A auth get_project_id N/A N/A N/A N/A sessions cache get_session N/A sessions SESSION_TYPE_KEYSTONE N/A service_catalog_from_auth N/A N/A auth N/A N/A N/A Return the service catalog associated with an auth plugin.

    :param auth: the auth plugin to inspect.

    :returns: a list containing the service catalog.
     N/A N/A CONF use_identity_api_v3 N/A N/A N/A N/A N/A N/A auth get_access N/A N/A N/A N/A sessions cache get_session get catalog N/A N/A N/A N/A N/A N/A N/A auth get_access N/A N/A N/A N/A sessions cache get_session get serviceCatalog N/A N/A session_for_admin N/A N/A N/A N/A N/A Return a Keystone session for the admin user. N/A auth N/A _password_auth username N/A N/A CONF keystone_authtoken admin_user password N/A N/A CONF keystone_authtoken admin_password project_name N/A N/A CONF keystone_authtoken admin_tenant_name user_domain_name N/A CONF admin_user_domain_name project_domain_name N/A CONF admin_project_domain_name N/A N/A N/A keystone_session Session auth auth N/A token_auth N/A N/A token project_id project_name project_domain_name N/A None None Default N/A N/A Return a token auth plugin object.

    :param token: the token to use for authentication.

    :param project_id: the project(ex. tenant) id to scope the auth.

    :returns: a token auth plugin object.
     N/A token_kwargs N/A dict auth_url N/A N/A base retrieve_auth_url N/A N/A CONF keystone endpoint_type token token N/A N/A CONF use_identity_api_v3 N/A N/A N/A N/A token_kwargs update N/A dict project_id project_id project_name project_name project_domain_name project_domain_name N/A auth N/A N/A N/A keystone_identity v3 Token token_kwargs N/A N/A N/A N/A token_kwargs update N/A dict tenant_id project_id tenant_name project_name N/A auth N/A N/A N/A keystone_identity v2 Token token_kwargs N/A auth N/A token_from_auth N/A N/A auth N/A N/A N/A Return an authentication token from an auth plugin.

    :param auth: the auth plugin to acquire a token from.

    :returns: an auth token in string format.
     N/A N/A N/A N/A N/A keystone_session Session auth auth verify N/A CONF generic_session_verify get_token N/A user_id_from_auth N/A N/A auth N/A N/A N/A Return a user id associated with an auth plugin.

    :param auth: the auth plugin to inspect.

    :returns: a token associated with the auth.
     N/A N/A N/A auth get_user_id N/A N/A N/A N/A sessions cache get_session N/A sessions SESSION_TYPE_KEYSTONE N/A _client N/A N/A username password token tenant_name tenant_id trust_id domain_name N/A None None None None None None N/A N/A N/A trust_id N/A N/A CONF use_identity_api_v3 N/A N/A N/A Exception Trusts aren't implemented in keystone api less than v3 N/A auth_url N/A N/A base retrieve_auth_url endpoint_type N/A N/A CONF keystone endpoint_type N/A client_kwargs N/A username password token tenant_name tenant_id trust_id user_domain_name auth_url cacert insecure username password token tenant_name tenant_id trust_id domain_name auth_url N/A N/A CONF keystone ca_file N/A N/A CONF keystone api_insecure N/A N/A CONF use_identity_api_v3 N/A N/A keystone N/A N/A keystone_client_v3 Client client_kwargs N/A N/A keystone management_url auth_url N/A N/A keystone N/A N/A keystone_client Client client_kwargs N/A keystone N/A _password_auth N/A N/A username password project_name user_domain_name project_domain_name trust_id N/A None None None None N/A N/A Return a password auth plugin object.

    :param username: the user to authenticate as.

    :param password: the user's password.

    :param project_name: the project(ex. tenant) name to scope the auth.

    :param user_domain_name: the domain the user belongs to.

    :param project_domain_name: the domain the project belongs to.

    :param trust_id: a trust id to scope the auth.

    :returns: a password auth plugin object.
     N/A passwd_kwargs N/A dict auth_url N/A N/A base retrieve_auth_url N/A N/A CONF keystone endpoint_type username username password password N/A N/A CONF use_identity_api_v3 N/A N/A N/A N/A passwd_kwargs update N/A dict project_name project_name user_domain_name user_domain_name project_domain_name project_domain_name trust_id trust_id N/A auth N/A N/A N/A keystone_identity v3 Password passwd_kwargs N/A N/A N/A N/A passwd_kwargs update N/A dict tenant_name project_name trust_id trust_id N/A auth N/A N/A N/A keystone_identity v2 Password passwd_kwargs N/A auth N/A