Document workaround: need to stop VM before calling API.

Conflicts:

	api/src/com/cloud/api/commands/UpdateVMCmd.java
This commit is contained in:
Jessica Tomechak 2012-05-18 17:13:05 -07:00 committed by Alena Prokharchyk
parent 512e3427bf
commit c86d110933
1 changed files with 7 additions and 4 deletions

View File

@ -25,11 +25,14 @@ import com.cloud.user.Account;
import com.cloud.user.UserContext;
import com.cloud.uservm.UserVm;
@Implementation(description="Updates parameters of a virtual machine.", responseObject=UserVmResponse.class)
public class UpdateVMCmd extends BaseCmd{
public static final Logger s_logger = Logger.getLogger(UpdateVMCmd.class.getName());
private static final String s_name = "updatevirtualmachineresponse";
@Implementation(description="Updates properties of a virtual machine. The VM has to be stopped and restarted for the " +
"new properties to take effect. UpdateVirtualMachine does not first check whether the VM is stopped. " +
"Therefore, stop the VM manually before issuing this call.", responseObject=UserVmResponse.class)
public class UpdateVMCmd extends BaseCmd{
public static final Logger s_logger = Logger.getLogger(UpdateVMCmd.class.getName());
private static final String s_name = "updatevirtualmachineresponse";
/////////////////////////////////////////////////////
//////////////// API parameters /////////////////////
/////////////////////////////////////////////////////