Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword BoolOpOr NameLoad NameLoad keyword BoolOpOr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Call NameLoad Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str Str Str Str Str Str Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad IfExp Call NameLoad NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad Call NameLoad NameLoad Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot NameLoad body Return NameLoad If AttributeLoad NameLoad attr body Return NameLoad If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot Call NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list
N/A N/A RequestContext: context for requests that persist through all of ec2. oslo_config cfg oslo_context context oslo_log log logging oslo_utils timeutils N/A six ec2api clients ec2api exception ec2api.i18n _LW N/A CONF N/A cfg CONF N/A LOG N/A N/A logging getLogger __name__ RequestContext N/A N/A context RequestContext N/A N/A Security context and request information.

    Represents the user taking a given action within the system.

     __init__ N/A N/A self user_id project_id request_id is_admin remote_address auth_token user_name project_name overwrite service_catalog api_version is_os_admin N/A None None None None None None True None None None kwargs N/A N/A Parameters

            :param overwrite: Set to False to ensure that the greenthread local
                copy of the index is not overwritten.


            :param kwargs: Extra arguments that might be present, but we ignore
                because they possibly came in from older rpc messages.
         N/A user N/A N/A kwargs pop user None N/A tenant N/A N/A kwargs pop tenant None N/A N/A N/A N/A super RequestContext self __init__ auth_token auth_token user N/A user_id user tenant N/A project_id tenant is_admin is_admin request_id request_id resource_uuid N/A N/A kwargs pop resource_uuid None overwrite overwrite N/A N/A N/A kwargs pop user_identity None N/A N/A self session N/A N/A kwargs pop session None N/A kwargs N/A N/A N/A N/A LOG warning N/A N/A _LW Arguments dropped when creating context: %s N/A str kwargs N/A N/A self user_id user_id N/A N/A self project_id project_id N/A N/A self remote_address remote_address N/A timestamp N/A N/A timeutils utcnow N/A N/A isinstance timestamp N/A six string_types N/A N/A timestamp N/A N/A timeutils parse_strtime timestamp N/A N/A self timestamp timestamp N/A N/A self service_catalog service_catalog N/A N/A N/A self service_catalog None N/A N/A N/A self service_catalog N/A N/A N/A self user_name user_name N/A N/A self project_name project_name N/A N/A self is_admin is_admin N/A N/A self is_os_admin is_os_admin N/A N/A self api_version api_version N/A to_dict N/A N/A self N/A N/A N/A values N/A N/A N/A super RequestContext self to_dict N/A N/A N/A values update N/A user_id project_id is_admin remote_address timestamp request_id quota_class user_name service_catalog project_name is_os_admin api_version N/A getattr self user_id None N/A getattr self project_id None N/A getattr self is_admin None N/A getattr self remote_address None N/A N/A hasattr self timestamp N/A N/A N/A self timestamp strftime N/A timeutils PERFECT_TIME_FORMAT None N/A getattr self request_id None N/A getattr self quota_class None N/A getattr self user_name None N/A getattr self service_catalog None N/A getattr self project_name None N/A getattr self is_os_admin None N/A getattr self api_version None N/A values N/A from_dict N/A N/A cls values N/A N/A N/A N/A cls values N/A classmethod N/A is_user_context N/A N/A context N/A N/A N/A Indicates if the request context is a normal user. N/A N/A context N/A N/A False N/A N/A context is_os_admin N/A N/A False N/A N/A N/A N/A context user_id N/A N/A context project_id N/A N/A False N/A True N/A require_context N/A N/A ctxt N/A N/A N/A Raise exception.AuthFailure()

    if context is not a user or an admin context.
     N/A N/A N/A N/A ctxt is_os_admin N/A N/A is_user_context ctxt N/A N/A N/A N/A exception AuthFailure N/A get_os_admin_context N/A N/A N/A N/A N/A Create a context to interact with OpenStack as an administrator. N/A admin_session N/A N/A clients get_os_admin_session N/A N/A RequestContext None None session admin_session is_os_admin True overwrite False N/A