Commit 857fbf59 authored by Antoine Millet's avatar Antoine Millet

Added destroy method to the client handler, synonym of stop with force=True.

parent 75a9fd8c
......@@ -158,6 +158,11 @@ class ClientHandler(OnlineCCHandler):
def stop(self, query, force=False):
self._vm_action(query, 'stop_vm', force)
@pure
@listed
def destroy(self, query):
self.stop(query, force=True)
@pure
@listed
def suspend(self, query):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment