RPC layer support to cluster_update
We allow updates to name, profile_id, parent, tags and timeout properties and that is ALL.
This commit is contained in:
parent
b260ccee05
commit
2cbfe20fb1
@ -207,10 +207,14 @@ class EngineClient(object):
|
|||||||
identity=identity,
|
identity=identity,
|
||||||
count=count))
|
count=count))
|
||||||
|
|
||||||
def cluster_update(self, ctxt, identity, profile_id):
|
def cluster_update(self, ctxt, identity, name=None, profile_id=None,
|
||||||
|
parent=None, tags=None, timeout=None):
|
||||||
return self.call(ctxt, self.make_msg('cluster_update',
|
return self.call(ctxt, self.make_msg('cluster_update',
|
||||||
identity=identity,
|
identity=identity,
|
||||||
profile_id=profile_id))
|
name=name,
|
||||||
|
profile_id=profile_id,
|
||||||
|
parent=parent, tags=tags,
|
||||||
|
timeout=timeout))
|
||||||
|
|
||||||
def cluster_delete(self, ctxt, identity, cast=True):
|
def cluster_delete(self, ctxt, identity, cast=True):
|
||||||
rpc_method = self.cast if cast else self.call
|
rpc_method = self.cast if cast else self.call
|
||||||
|
Loading…
Reference in New Issue
Block a user