functest.utils.functest_utils module¶
-
functest.utils.functest_utils.
convert_dict_to_ini
(value)¶ Convert dict to oslo.conf input
-
functest.utils.functest_utils.
convert_ini_to_dict
(value)¶ Convert oslo.conf input to dict
-
functest.utils.functest_utils.
convert_ini_to_list
(value)¶ Convert list to oslo.conf input
-
functest.utils.functest_utils.
convert_list_to_ini
(value)¶ Convert list to oslo.conf input
-
functest.utils.functest_utils.
execute_command
(cmd, info=False, error_msg='', verbose=True, output_file=None)¶
-
functest.utils.functest_utils.
execute_command_raise
(cmd, info=False, error_msg='', verbose=True, output_file=None)¶
-
functest.utils.functest_utils.
get_nova_version
(cloud)¶ Get Nova API microversion
Returns:
- Nova API microversion
- None on operation error
-
functest.utils.functest_utils.
get_openstack_version
(cloud)¶ Detect OpenStack version via Nova API microversion
It follows MicroversionHistory.
Returns:
- OpenStack release
- Unknown on operation error
-
functest.utils.functest_utils.
get_parameter_from_yaml
(parameter, yfile)¶ Returns the value of a given parameter in file.yaml parameter must be given in string format with dots Example: general.openstack.image_name