Enhancing Sync template feature.
The sync template feature in kingbird is to sync multiple resource types to multiple regions.We can sync the same resource_type more than once and in any order. Added test-cases and tempest test-cases for the same. Closes-Bug: #1748172 Change-Id: I01fd628ef8ed34363facc21c39e66908c4f383ac
This commit is contained in:
@@ -69,18 +69,20 @@ class EngineClient(object):
|
||||
return self.cast(ctxt, self.make_msg('quota_sync_for_project',
|
||||
project_id=project_id))
|
||||
|
||||
def keypair_sync_for_user(self, ctxt, job_id, force):
|
||||
def keypair_sync_for_user(self, ctxt, job_id, force, jobs):
|
||||
return self.cast(
|
||||
ctxt,
|
||||
self.make_msg('keypair_sync_for_user', job_id=job_id,
|
||||
force=force))
|
||||
force=force, jobs=jobs))
|
||||
|
||||
def image_sync(self, ctxt, job_id, force):
|
||||
def image_sync(self, ctxt, job_id, force, jobs):
|
||||
return self.cast(
|
||||
ctxt,
|
||||
self.make_msg('image_sync', job_id=job_id, force=force))
|
||||
self.make_msg('image_sync', job_id=job_id, force=force,
|
||||
jobs=jobs))
|
||||
|
||||
def flavor_sync(self, ctxt, job_id, force):
|
||||
def flavor_sync(self, ctxt, job_id, force, jobs):
|
||||
return self.cast(
|
||||
ctxt,
|
||||
self.make_msg('flavor_sync', job_id=job_id, force=force))
|
||||
self.make_msg('flavor_sync', job_id=job_id, force=force,
|
||||
jobs=jobs))
|
||||
|
||||
Reference in New Issue
Block a user