def info(self): info_type = first(self.app.pargs.info_type) data = Run(self.app, first(self.app.pargs.run_id)).inspect() if info_type == 'hosts': self._show_hosts(data)
def destroy(self): Run(self.app, first(self.app.pargs.run_id)).destroy()
def inspect(self): data = Run(self.app, first(self.app.pargs.run_id)).inspect() json.dump(data, sys.stdout, indent=4, sort_keys=True)
def bench(self): Run(self.app, first(self.app.pargs.run_id)).bench( first(self.app.pargs.load_profile), self.app.pargs.tps, self.app.pargs.total_tx)
def provision(self): Run(self.app, first(self.app.pargs.run_id)).provision()
def dependency(self): Run(self.app, first(self.app.pargs.run_id)).dependency()
def create(self): Run(self.app, first(self.app.pargs.run_id)).create()
def plan(self): Run(self.app, first(self.app.pargs.run_id)).plan()