Loading cccli/command/vm.py +10 −0 Original line number Diff line number Diff line Loading @@ -101,6 +101,16 @@ class Command_destroy(VmCommand): def usage(self): return "Usage: destroy [--raw] [--direct] [--force] [--help] <tql>" class Command_restart(VmCommand): '''Restart a vm''' def __call__(self, argv): self._vm_action(argv, "&role=vm&status=running") def usage(self): return "Usage: restart [--raw] [--direct] [--force] [--help] <tql>" class Command_pause(VmCommand): '''Pause a running vm''' Loading Loading
cccli/command/vm.py +10 −0 Original line number Diff line number Diff line Loading @@ -101,6 +101,16 @@ class Command_destroy(VmCommand): def usage(self): return "Usage: destroy [--raw] [--direct] [--force] [--help] <tql>" class Command_restart(VmCommand): '''Restart a vm''' def __call__(self, argv): self._vm_action(argv, "&role=vm&status=running") def usage(self): return "Usage: restart [--raw] [--direct] [--force] [--help] <tql>" class Command_pause(VmCommand): '''Pause a running vm''' Loading