Replace nova get flavor with shade client. 33/59133/1
authorShobhi Jain <shobhi.jain@intel.com>
Thu, 5 Apr 2018 15:04:08 +0000 (16:04 +0100)
committerEmma Foley <emma.l.foley@intel.com>
Wed, 27 Jun 2018 16:16:42 +0000 (17:16 +0100)
commit40358fe73d7816d90b551b8eed0c2660899acb3e
tree52812ab70a8695c58340530362fccba50c6926d4
parent60aa5d558a80bd3cfa51f962cef794c25a2eb828
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>
(cherry picked from commit 35bbd618b1e69a5b5edbd64a333720bfa5a92400)
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