Replace cinder create volume with shade client. 37/59137/1
authorShobhi Jain <shobhi.jain@intel.com>
Fri, 6 Apr 2018 13:44:33 +0000 (14:44 +0100)
committerEmma Foley <emma.l.foley@intel.com>
Wed, 27 Jun 2018 16:19:16 +0000 (17:19 +0100)
commit952b7604129474fc080ef2fbbbe1150ffe7775c6
treea2ebc79e11b994a401330e3b6b7cfea919f92628
parentcfccf4a09a8c692702f44763b7597d4c236116f3
Replace cinder create volume with shade client.

Adds get_volume function.
Function create volume now uses shade client.

JIRA: YARDSTICK-891

Change-Id: I0b2fae5f2cf52eaf2e4a0062c858d49bc4ce9ccd
Signed-off-by: Shobhi Jain <shobhi.jain@intel.com>
(cherry picked from commit 2d33d0f289f3dd3864fe57289e953b876f362c06)
yardstick/benchmark/scenarios/lib/create_volume.py
yardstick/common/exceptions.py
yardstick/common/openstack_utils.py
yardstick/tests/unit/benchmark/scenarios/lib/test_create_volume.py
yardstick/tests/unit/common/test_openstack_utils.py