Avoid checking Keystone v3 domains when using API v2.0 17/51317/3
authorGeorg Kunz <georg.kunz@ericsson.com>
Mon, 29 Jan 2018 15:24:48 +0000 (16:24 +0100)
committerGeorg Kunz <georg.kunz@ericsson.com>
Mon, 29 Jan 2018 19:04:25 +0000 (20:04 +0100)
commit0cb9752f2cafb4abc7a5df969becb86ce34d6aa7
tree1b83aa21b737d4351b0c25ed39641bd958fae866
parentb4ddabd5af178f0e8bc33fb694facb20fea354ea
Avoid checking Keystone v3 domains when using API v2.0

Introducing a version check to avoid checking keystone domains,
which are an auth API v3 feature, when only auth API v2.0 is
being used.

Change-Id: I220c6637e5f65124e5dbe7d5246490c3986b7a66
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
snaps/openstack/utils/keystone_utils.py
snaps/openstack/utils/tests/keystone_utils_tests.py