Remove api/v0.1 to access to ceph mgr RESTful plugin

"restapi base url"(ceph.conf) is removed from ceph Mimic
version. remove the base url now.

Story: 2003605
Task: 28860

Depends-On: Ibfbecf0a8beb38009b9d7192ca9455a841402040
Change-Id: If4bfad6dfde1285ff68a139f7a95b91cc51b19bb
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Signed-off-by: Daniel Badea <daniel.badea@windriver.com>
This commit is contained in:
Changcheng Liu 2019-01-16 18:56:24 +08:00 committed by Daniel Badea
parent fe77c236e3
commit 4d31b72aae
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class CephApiOperator(object):
def __init__(self):
self._ceph_api = ceph.CephWrapper(
endpoint='http://localhost:5001/api/v0.1/')
endpoint='https://localhost:5001/')
def ceph_status_ok(self, timeout=10):
"""