Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Str FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore BoolOpOr NameLoad Call AttributeLoad NameLoad attr Str Str Assign NameStore BoolOpOr NameLoad Call AttributeLoad NameLoad attr Str Str Assign NameStore BoolOpOr NameLoad Call AttributeLoad NameLoad attr Str Str Assign NameStore BoolOpOr NameLoad Call AttributeLoad NameLoad attr Str Str Return Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Return Call AttributeLoad NameLoad attr keyword NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return IfExp CompareNotEq NameLoad Str BinOpAdd BinOpAdd NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr While CompareLt BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad body If CompareIn NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Break orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr While CompareLt BinOpSub Call AttributeLoad NameLoad attr NameLoad NameLoad body If CompareNotIn NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Break handlers ExceptHandler type AttributeLoad NameLoad attr body Pass orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str If CompareIn NameLoad Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list decorator_list
N/A N/A os N/A time N/A six tempest_lib.cli base tempest_lib.cli output_parser tempest_lib exceptions N/A _CREDS_FILE functional_creds.conf credentials N/A N/A N/A N/A N/A Retrieves credentials to run functional tests

    Credentials are either read from the environment or from a config file
    ('functional_creds.conf'). Environment variables override those from the
    config file.

    The 'functional_creds.conf' file is the clean and new way to use (by
    default tox 2.0 does not pass environment variables).
     N/A username N/A N/A N/A os environ get OS_USERNAME N/A password N/A N/A N/A os environ get OS_PASSWORD N/A tenant_name N/A N/A N/A os environ get OS_TENANT_NAME N/A auth_url N/A N/A N/A os environ get OS_AUTH_URL N/A config N/A N/A N/A N/A six moves configparser RawConfigParser N/A N/A N/A config read _CREDS_FILE N/A N/A username N/A username N/A N/A config get admin user N/A password N/A password N/A N/A config get admin pass N/A tenant_name N/A tenant_name N/A N/A config get admin tenant N/A auth_url N/A auth_url N/A N/A config get auth uri N/A N/A username password tenant_name uri username password tenant_name auth_url N/A ClientTestBase N/A N/A base ClientTestBase N/A N/A Cinder base class, issues calls to cinderclient.

     setUp N/A N/A self N/A N/A N/A N/A N/A N/A super ClientTestBase self setUp N/A N/A self clients N/A N/A self _get_clients N/A N/A self parser output_parser N/A _get_clients N/A N/A self N/A N/A N/A cli_dir N/A N/A N/A os environ get OS_CINDERCLIENT_EXEC_DIR N/A N/A N/A os path join N/A N/A N/A os path abspath . .tox/functional/bin N/A N/A N/A base CLIClient cli_dir cli_dir N/A credentials N/A cinder N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A self clients cinder args kwargs N/A assertTableHeaders N/A N/A self output_lines field_names N/A N/A N/A Verify that output table has headers item listed in field_names.

        :param output_lines: output table from cmd
        :param field_names: field names from the output table of the cmd
         N/A table N/A N/A N/A self parser table output_lines N/A headers N/A table N/A headers N/A field field_names N/A N/A N/A N/A self assertIn field headers N/A assertTableStruct N/A N/A self items field_names N/A N/A N/A Verify that all items has keys listed in field_names.

        :param items: items to assert are field names in the output table
        :type items: list
        :param field_names: field names from the output table of the cmd
        :type field_names: list
         N/A item items N/A N/A field field_names N/A N/A N/A N/A self assertIn field item N/A assert_object_details N/A N/A self expected items N/A N/A N/A Check presence of common object properties.

        :param expected: expected object properties
        :param items: object properties
         N/A value expected N/A N/A N/A N/A self assertIn value items N/A _get_property_from_output N/A N/A self output N/A N/A N/A Create a dictionary from an output

        :param output: the output of the cmd
         N/A obj N/A N/A items N/A N/A N/A self parser listing output N/A item items N/A N/A N/A obj N/A N/A item N/A Property N/A N/A six text_type N/A item N/A Value N/A obj N/A object_cmd N/A N/A self object_name cmd N/A N/A N/A N/A N/A object_name volume N/A N/A object_name - cmd cmd N/A wait_for_object_status N/A N/A self object_name object_id status timeout N/A 60 N/A N/A Wait until object reaches given status.

        :param object_name: object name
        :param object_id: uuid4 id of an object
        :param status: expected status of an object
        :param timeout: timeout in seconds
         N/A cmd N/A N/A self object_cmd object_name show N/A start_time N/A N/A time time N/A N/A N/A N/A N/A time time start_time timeout N/A N/A N/A status N/A N/A self cinder cmd params object_id N/A N/A N/A N/A N/A N/A self fail N/A %s %s did not reach status %s after %d seconds. N/A object_name object_id status timeout N/A check_object_deleted N/A N/A self object_name object_id timeout N/A 60 N/A N/A Check that object deleted successfully.

        :param object_name: object name
        :param object_id: uuid4 id of an object
        :param timeout: timeout in seconds
         N/A cmd N/A N/A self object_cmd object_name show N/A N/A N/A start_time N/A N/A time time N/A N/A N/A N/A N/A time time start_time timeout N/A N/A N/A object_id N/A N/A self cinder cmd params object_id N/A N/A N/A N/A N/A N/A exceptions CommandFailed N/A N/A N/A N/A N/A N/A self fail N/A %s %s not deleted after %d seconds. N/A object_name object_id timeout N/A object_create N/A N/A self object_name params N/A N/A N/A Create an object.

        :param object_name: object name
        :param params: parameters to cinder command
        :return: object dictionary
         N/A cmd N/A N/A self object_cmd object_name create N/A output N/A N/A self cinder cmd params params N/A object N/A N/A self _get_property_from_output output N/A N/A N/A self addCleanup N/A self object_delete object_name N/A object N/A id N/A N/A N/A self wait_for_object_status object_name N/A object N/A id available N/A object N/A object_delete N/A N/A self object_name object_id N/A N/A N/A Delete specified object by ID.

        :param object_name: object name
        :param object_id: uuid4 id of an object
         N/A cmd N/A N/A self object_cmd object_name list N/A cmd_delete N/A N/A self object_cmd object_name delete N/A N/A object_id N/A N/A self cinder cmd N/A N/A N/A N/A self cinder cmd_delete params object_id N/A N/A