Bugfix: fix multi-region support 11/34211/1
authorRoss Brattain <ross.b.brattain@intel.com>
Wed, 26 Apr 2017 13:13:31 +0000 (15:13 +0200)
committerJing Lu <lvjing5@huawei.com>
Thu, 4 May 2017 07:41:55 +0000 (07:41 +0000)
commit4738c37f004d6a4e3c60cff5941b91ba162fbfde
treeb544be1ed4d7eb167b655faea53ff98d579c0e16
parent8362ebc1a0212f79bc9dedb4bf4d3865e811d440
Bugfix: fix multi-region support

When running with multiple regions we need to specify
the region when we select the endpoint.

the region is specified in the OS_REGION_NAME env variable

Change-Id: I37853dd42f6d9013d4475b5e3b2b9f97b6bdc8d0
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
(cherry picked from commit 90032ba61345752b014002dda629f84c42780e6c)
yardstick/common/openstack_utils.py