mirror of
https://github.com/ceph/ceph
synced 2025-01-01 16:42:29 +00:00
qa/tasks/vstart_runner: add LocalCluster.run
Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
8788af5663
commit
1bfa812f5d
@ -1011,6 +1011,12 @@ class LocalCluster(object):
|
||||
def only(self, requested):
|
||||
return self.__class__(rolename=requested)
|
||||
|
||||
def run(self, *args, **kwargs):
|
||||
r = []
|
||||
for remote in self.remotes.keys():
|
||||
r.append(remote.run(*args, **kwargs))
|
||||
return r
|
||||
|
||||
|
||||
class LocalContext(object):
|
||||
def __init__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user