Browse Source

Merge "Fix share endpoint discovery"

changes/92/784892/1
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
233fca29a5
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      config_tempest/services/share.py

+ 6
- 0
config_tempest/services/share.py View File

@ -23,6 +23,12 @@ from tempest.lib import exceptions
class ShareService(VersionedService):
def set_versions(self):
url, top_level = self.no_port_cut_url()
body = self.do_get(url, top_level=top_level)
self.versions_body = json.loads(body)
self.versions = self.deserialize_versions(self.versions_body)
def get_share_pools(self, detail=False):
url = self.service_url + '/scheduler-stats/pools'
if detail:


Loading…
Cancel
Save