mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
F #4934 Added updateconf Java API
This commit is contained in:
parent
4018be7277
commit
3bba964edc
@ -590,6 +590,18 @@ public class VirtualMachine extends PoolElement{
|
||||
return client.call(DISKRESIZE, id, diskId, String.valueOf(newSize));
|
||||
}
|
||||
|
||||
/**
|
||||
* Update VM Configuration
|
||||
* @param client XML-RPC Client.
|
||||
* @param id The VM id of the target VM.
|
||||
* @param new_conf New Configuration of the target VM
|
||||
* @return If an error occurs the error message contains the reason.
|
||||
*/
|
||||
public static OneResponse updateconf(Client client, int id, String new_conf)
|
||||
{
|
||||
return client.call(UPDATECONF, id, new_conf);
|
||||
}
|
||||
|
||||
/**
|
||||
* Recovers a stuck VM.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user