projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adds yaml support in common consumer
[osm/MON.git]
/
osm_mon
/
plugins
/
OpenStack
/
common.py
diff --git
a/osm_mon/plugins/OpenStack/common.py
b/osm_mon/plugins/OpenStack/common.py
index
57acf40
..
2540a3f
100644
(file)
--- a/
osm_mon/plugins/OpenStack/common.py
+++ b/
osm_mon/plugins/OpenStack/common.py
@@
-62,8
+62,8
@@
class Common(object):
tenant_name=creds.tenant_name)
return ks.service_catalog.url_for(
service_type=service_type,
tenant_name=creds.tenant_name)
return ks.service_catalog.url_for(
service_type=service_type,
- endpoint_type=
'publicURL'
,
- region_name=
'RegionOne'
)
+ endpoint_type=
creds.endpoint_type
,
+ region_name=
creds.region_name
)
@staticmethod
def perform_request(url, auth_token,
@staticmethod
def perform_request(url, auth_token,