Fix get_endpoint 23/37023/5
authorLinda Wang <wangwulin@huawei.com>
Thu, 6 Jul 2017 16:01:32 +0000 (16:01 +0000)
committerLinda Wang <wangwulin@huawei.com>
Fri, 7 Jul 2017 15:17:14 +0000 (15:17 +0000)
commite9aefb62e3e2942084b3845c08d3b0362271b852
treee40397e6916c9f88b779c5a2e3400f744751e8a5
parent56ad05c9ed980a5e4c71d18bb4067519ae7efa49
Fix get_endpoint

One specific service type has the same endpoint url if interface is admin
or internal, while it is different from that with public interface, except
the admin and internal endpoint url for service identity has same ip but
different ports.

Change-Id: I19c260222286d8b4aa3f0d3b7d273e192b13a96b
Signed-off-by: Linda Wang <wangwulin@huawei.com>
snaps/openstack/utils/keystone_utils.py
snaps/openstack/utils/tests/keystone_utils_tests.py