Get job configs call for sync dashboard

Change-Id: Ib646da8a16360ce7d6a0caf4b7d515bd01968ea8
This commit is contained in:
Nikolay Mahotkin
2013-09-30 15:34:01 +04:00
parent 2554d3da7f
commit 526e39f78d
2 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
Alexander Kuznetsov <akuznetsov@mirantis.com>
Nikita Konovalov <nkonovalov@mirantis.com>
Nikolay Mahotkin <nmakhotkin@mirantis.com>
Renat Akhmerov <rakhmerov@mirantis.com>
Sergey Galkin <sgalkin@mirantis.com>
Sergey Lukjanov <slukjanov@mirantis.com>

View File

@@ -40,5 +40,8 @@ class JobsManager(base.ResourceManager):
def get(self, job_id):
return self._get('/jobs/%s' % job_id, 'job')
def get_configs(self, job_type):
return self._get('/jobs/config-hints/%s' % job_type)
def delete(self, job_id):
self._delete('/jobs/%s' % job_id)