Re: How writing a new api of Pause VirtualMachine

2014-03-13 Thread Chiradeep Vittal
12, 2014 at 5:52 PM To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" mailto:dev@cloudstack.apache.org>> Subject: RE: How writing a new api of Pause VirtualMachine Yeah,it doesn't expose. so i write a new api to implements suspend method. ​So i add some files as bel

Re: How writing a new api of Pause VirtualMachine

2014-03-13 Thread Wei ZHOU
entityType=UserVmResponse.class

RE: How writing a new api of Pause VirtualMachine

2014-03-12 Thread Yitao Jiang
Yeah,it doesn't expose. so i write a new api to implements suspend method. ​So i add some files as belows: api/src/org/apache/cloudstack/api/command/user/vm/PauseVMCmd.java ​ @APICommand(name = "pauseVirtualMachine", description="Pause a virtual machine.", responseObject=SuccessResponse.class) p

RE: How writing a new api of Pause VirtualMachine

2014-03-12 Thread Stephen Turner
Not answering your question, but note that XenServer has two different concepts: pause/unpause and suspend/resume. Normally you want suspend, which suspends to disk; with pause, the VM will continue using memory. In fact, the XenServer UI (XenCenter) doesn't even expose pause. -- Stephen Turne