Replace nova get flavor with shade client. 01/55001/16
authorShobhi Jain <shobhi.jain@intel.com>
Thu, 5 Apr 2018 15:04:08 +0000 (16:04 +0100)
committerShobhi Jain <shobhi.jain@intel.com>
Thu, 3 May 2018 08:27:37 +0000 (08:27 +0000)
commit35bbd618b1e69a5b5edbd64a333720bfa5a92400
tree77c31dab3d92018239b13b95ee2613278a76cc1d
parentd75a91ebf2937e5cfe5cf2aa5a90db9121f73967
Replace nova get flavor with shade client.

Rename get_flavor_by_name with get_flavor.
Function get_flavor now uses shade client.

JIRA: YARDSTICK-1088

Change-Id: Ic82127e475baf39643be0a254b177f3058b85748
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
yardstick/benchmark/scenarios/lib/get_flavor.py
yardstick/common/exceptions.py
yardstick/common/openstack_utils.py
yardstick/tests/unit/benchmark/scenarios/lib/test_get_flavor.py
yardstick/tests/unit/common/test_openstack_utils.py