Module Expr Str Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias Assign NameStore TupleLoad Str Str Assign NameStore TupleLoad Str Str Str Str Str Str Str Assign NameStore Dict Str Str Assign NameStore Dict Str TupleLoad Str Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore ListLoad If NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad orelse Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call NameLoad NameLoad NameLoad body TryExcept body Assign NameStore SubscriptLoad NameLoad Index Str handlers ExceptHandler type NameLoad body Pass With Call AttributeLoad NameLoad attr Str NameLoad keyword Str body With Call AttributeLoad NameLoad attr Str NameLoad keyword Str body Assign NameStore ListComp Call NameLoad NameLoad NameLoad keyword NameLoad comprehension NameStore NameLoad NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad If CompareLtE NameLoad Call NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad SubscriptLoad NameLoad Slice NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore BinOpAdd NameLoad NameLoad orelse Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore NameLoad If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If NameLoad body For NameStore NameLoad body If BoolOpAnd CompareIn Str NameLoad CompareEq Str SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Break If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad NameLoad orelse If NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str If NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num Assign NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str If NameLoad body Assign NameStore Str Return BinOpMod Str Dict Str Str Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If UnaryOpNot NameLoad body Return NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore ListLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num orelse Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotIn NameLoad NameLoad body Assign NameStore BinOpMod Str Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body AugAssignAdd NameStore NameLoad If CompareIn NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpMod Str Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad NameLoad body Return NameLoad Assign NameStore BinOpMod Str Call AttributeLoad Str attr NameLoad Raise Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Num handlers ExceptHandler type NameLoad body Pass Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore BinOpMod Str NameLoad TryExcept body Expr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass TryFinally body Expr Yield finalbody Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad BinOpMod Str NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad keyword NameLoad keyword NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad kwarg body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad With Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword Str body With Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr keyword Str body Return Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Return Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad kwarg body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad keyword NameLoad If NameLoad body Return Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad keyword NameLoad keyword NameLoad Assign NameStore BoolOpOr NameLoad Dict Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Pass decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Raise Call AttributeLoad NameLoad attr Num NameLoad orelse If CompareGt NameLoad Num body Raise AttributeLoad NameLoad attr orelse Expr Call AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Dict Str Num If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str orelse If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body TryExcept body If Call NameLoad GeneratorExp CompareEq Call NameLoad NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Continue Return NameLoad decorator_list decorator_list
N/A N/A 
Base utilities to build API operation managers and objects on top of.
 N/A abc N/A contextlib N/A hashlib N/A os N/A six six.moves.urllib parse cinderclient api_versions cinderclient exceptions cinderclient.openstack.common.apiclient base common_base cinderclient utils N/A SORT_DIR_VALUES N/A asc desc N/A SORT_KEY_VALUES N/A id status size availability_zone name bootable created_at N/A SORT_KEY_MAPPINGS N/A name display_name N/A SORT_KEY_ADD_VALUES N/A backups N/A data_timestamp N/A Resource N/A common_base Resource getid N/A N/A obj N/A N/A N/A 
    Abstracts the common pattern of allowing both an object or an object's ID
    as a parameter when dealing with relationships.
     N/A N/A N/A N/A obj id N/A N/A N/A AttributeError N/A N/A obj N/A Manager N/A N/A common_base HookableMixin N/A N/A 
    Managers interact with a particular type of API (servers, flavors, images,
    etc.) and provide CRUD operations for them.
     N/A resource_class None __init__ N/A N/A self api N/A N/A N/A N/A self _api_version N/A N/A api_versions APIVersion N/A N/A self api api N/A api_version N/A N/A self N/A N/A N/A N/A self _api_version N/A property _list N/A N/A self url response_key obj_class body limit items N/A None None None None N/A N/A resp None N/A N/A items None N/A N/A items N/A N/A body N/A N/A N/A resp body N/A N/A N/A N/A self api client post url body body N/A N/A N/A resp body N/A N/A N/A N/A self api client get url N/A N/A obj_class None N/A N/A obj_class N/A self resource_class N/A data N/A body N/A response_key N/A N/A isinstance data dict N/A N/A N/A N/A data N/A data N/A values N/A N/A N/A KeyError N/A N/A N/A N/A N/A self completion_cache human_id obj_class mode w N/A N/A N/A N/A self completion_cache uuid obj_class mode w N/A N/A items_new N/A N/A obj_class self res loaded True N/A res data res N/A limit N/A N/A limit N/A int limit N/A margin N/A limit N/A len items N/A N/A margin N/A len items_new N/A N/A items N/A items N/A items_new N/A margin N/A N/A N/A common_base ListWithMeta items resp N/A N/A items N/A items items_new N/A N/A items N/A items items_new N/A next None N/A N/A volumes_links body N/A N/A volumes_links N/A body N/A volumes_links N/A volumes_links N/A N/A volumes_link volumes_links N/A N/A N/A N/A rel volumes_link N/A next N/A volumes_link N/A rel N/A N/A next N/A volumes_link N/A href N/A N/A next N/A N/A items N/A N/A self _list next response_key obj_class None limit items N/A N/A N/A common_base ListWithMeta items resp N/A _build_list_url N/A N/A self resource_type detailed search_opts marker limit sort_key sort_dir sort N/A True None None None None None None N/A N/A N/A search_opts None N/A N/A search_opts N/A N/A query_params N/A N/A N/A key val N/A N/A search_opts items N/A N/A val N/A N/A N/A query_params N/A key val N/A marker N/A N/A N/A query_params N/A marker marker N/A limit N/A N/A N/A query_params N/A limit limit N/A sort N/A N/A N/A query_params N/A sort N/A N/A self _format_sort_param sort resource_type N/A N/A sort_key N/A N/A N/A query_params N/A sort_key N/A N/A self _format_sort_key_param sort_key resource_type N/A sort_dir N/A N/A N/A query_params N/A sort_dir N/A N/A self _format_sort_dir_param sort_dir N/A query_string N/A query_params N/A N/A params N/A sorted N/A N/A query_params items key N/A N/A N/A x N/A N/A x N/A 0 N/A query_string N/A ?%s N/A N/A parse urlencode params N/A detail N/A detailed N/A N/A detail /detail N/A N/A /%(resource_type)s%(detail)s%(query_string)s N/A resource_type detail query_string resource_type detail query_string N/A _format_sort_param N/A N/A self sort resource_type N/A None N/A N/A Formats the sort information into the sort query string parameter.

        The input sort information can be any of the following:
        - Comma-separated string in the form of <key[:dir]>
        - List of strings in the form of <key[:dir]>
        - List of either string keys, or tuples of (key, dir)

        For example, the following import sort values are valid:
        - 'key1:dir1,key2,key3:dir3'
        - ['key1:dir1', 'key2', 'key3:dir3']
        - [('key1', 'dir1'), 'key2', ('key3', dir3')]

        :param sort: Input sort information
        :returns: Formatted query string parameter or None
        :raise ValueError: If an invalid sort direction or invalid sort key is
                           given
         N/A N/A sort N/A N/A None N/A N/A isinstance sort N/A six string_types N/A N/A sort N/A s N/A s N/A N/A sort split , s N/A sort_array N/A N/A sort_item sort N/A N/A N/A isinstance sort_item tuple N/A N/A sort_key N/A sort_item N/A 0 N/A sort_dir N/A sort_item N/A 1 N/A N/A N/A sort_key _sep sort_dir N/A N/A sort_item partition : N/A sort_key N/A N/A sort_key strip N/A sort_key N/A N/A self _format_sort_key_param sort_key resource_type N/A sort_dir N/A N/A sort_dir N/A N/A sort_dir strip N/A N/A sort_dir SORT_DIR_VALUES N/A N/A msg N/A sort_dir must be one of the following: %s. N/A N/A ,  join SORT_DIR_VALUES N/A N/A ValueError msg N/A N/A N/A sort_array append N/A %s:%s N/A sort_key sort_dir N/A N/A N/A N/A sort_array append sort_key N/A N/A N/A , join sort_array N/A _format_sort_key_param N/A N/A self sort_key resource_type N/A None N/A N/A valid_sort_keys SORT_KEY_VALUES N/A resource_type N/A N/A add_sort_keys N/A N/A SORT_KEY_ADD_VALUES get resource_type None N/A add_sort_keys N/A N/A valid_sort_keys add_sort_keys N/A N/A sort_key valid_sort_keys N/A N/A N/A N/A SORT_KEY_MAPPINGS get sort_key sort_key N/A msg N/A sort_key must be one of the following: %s. N/A N/A ,  join valid_sort_keys N/A N/A ValueError msg N/A _format_sort_dir_param N/A N/A self sort_dir N/A N/A N/A N/A sort_dir SORT_DIR_VALUES N/A N/A sort_dir N/A msg N/A sort_dir must be one of the following: %s. N/A N/A ,  join SORT_DIR_VALUES N/A N/A ValueError msg N/A completion_cache N/A N/A self cache_type obj_class mode N/A N/A N/A 
        The completion cache store items that can be used for bash
        autocompletion, like UUIDs or human-friendly IDs.

        A resource listing will clear and repopulate the cache.

        A resource create will append to the cache.

        Delete is not handled because listings are assumed to be performed
        often enough to keep the cache reasonably up-to-date.
         N/A base_dir N/A N/A utils env CINDERCLIENT_UUID_CACHE_DIR default ~/.cinderclient N/A username N/A N/A utils env OS_USERNAME CINDER_USERNAME N/A url N/A N/A utils env OS_URL CINDER_URL N/A uniqifier N/A N/A N/A N/A hashlib md5 N/A N/A N/A username encode utf-8 N/A N/A url encode utf-8 hexdigest N/A cache_dir N/A N/A N/A os path expanduser N/A N/A N/A os path join base_dir uniqifier N/A N/A N/A N/A N/A os makedirs cache_dir 493 N/A N/A N/A OSError N/A N/A N/A resource N/A N/A N/A obj_class __name__ lower N/A filename N/A %s-%s-cache N/A resource N/A N/A cache_type replace _ - N/A path N/A N/A N/A os path join cache_dir filename N/A cache_attr N/A _%s_cache cache_type N/A N/A N/A N/A setattr self cache_attr N/A open path mode N/A N/A N/A IOError N/A N/A N/A N/A N/A N/A N/A N/A cache N/A getattr self cache_attr None N/A cache N/A N/A N/A N/A cache close N/A N/A delattr self cache_attr N/A N/A contextlib contextmanager write_to_completion_cache N/A N/A self cache_type val N/A N/A N/A cache N/A getattr self N/A _%s_cache cache_type None N/A cache N/A N/A N/A N/A cache write N/A %s
 val N/A _get N/A N/A self url response_key N/A None N/A N/A N/A resp body N/A N/A N/A N/A self api client get url N/A response_key N/A N/A N/A N/A self resource_class self N/A body N/A response_key loaded True resp resp N/A N/A N/A N/A self resource_class self body loaded True resp resp N/A _create N/A N/A self url body response_key return_raw N/A False kwargs N/A N/A N/A N/A self run_hooks modify_body_for_create body kwargs N/A N/A resp body N/A N/A N/A N/A self api client post url body body N/A return_raw N/A N/A N/A N/A common_base DictWithMeta N/A body N/A response_key resp N/A N/A N/A self completion_cache human_id N/A self resource_class mode a N/A N/A N/A N/A self completion_cache uuid N/A self resource_class mode a N/A N/A N/A N/A self resource_class self N/A body N/A response_key resp resp N/A _delete N/A N/A self url N/A N/A N/A N/A resp body N/A N/A N/A N/A self api client delete url N/A N/A N/A common_base TupleWithMeta N/A resp body resp N/A _update N/A N/A self url body response_key N/A None kwargs N/A N/A N/A N/A self run_hooks modify_body_for_update body kwargs N/A N/A resp body N/A N/A N/A N/A self api client put url body body N/A response_key N/A N/A N/A N/A self resource_class self N/A body N/A response_key loaded True resp resp N/A body N/A body N/A N/A N/A N/A common_base DictWithMeta body resp N/A N/A ManagerWithFind N/A N/A N/A six with_metaclass N/A abc ABCMeta Manager N/A N/A 
    Like a `Manager`, but with additional `find()`/`findall()` methods.
     list N/A N/A self N/A N/A N/A N/A N/A abc abstractmethod find N/A N/A self N/A kwargs N/A N/A 
        Find a single item with attributes matching ``**kwargs``.

        This isn't very efficient for search options which require the
        Python side filtering(e.g. 'human_id')
         N/A matches N/A N/A self findall kwargs N/A num_matches N/A len matches N/A N/A num_matches 0 N/A N/A msg N/A No %s matching %s. N/A N/A N/A self resource_class __name__ kwargs N/A N/A N/A exceptions NotFound 404 msg N/A N/A N/A num_matches 1 N/A N/A N/A exceptions NoUniqueMatch N/A N/A N/A N/A N/A matches N/A 0 append_request_ids N/A matches request_ids N/A N/A matches N/A 0 N/A findall N/A N/A self N/A kwargs N/A N/A 
        Find all items with attributes matching ``**kwargs``.

        This isn't very efficient for search options which require the
        Python side filtering(e.g. 'human_id')
         N/A search_opts N/A all_tenants 1 N/A N/A name kwargs N/A N/A N/A search_opts N/A name N/A kwargs N/A name N/A N/A N/A display_name kwargs N/A N/A N/A search_opts N/A display_name N/A kwargs N/A display_name N/A found N/A N/A common_base ListWithMeta N/A None N/A searches N/A N/A kwargs items N/A listing N/A N/A self list search_opts search_opts N/A N/A N/A found append_request_ids N/A listing request_ids N/A obj listing N/A N/A N/A N/A N/A all N/A N/A N/A getattr obj attr value N/A N/A attr value searches N/A N/A N/A N/A found append obj N/A N/A N/A AttributeError N/A N/A N/A found N/A N/A