mirror of
https://github.com/OpenNebula/one.git
synced 2025-09-27 13:44:17 +03:00
F #4393: Added resize operation for running VMs
This commit is contained in:
@@ -401,6 +401,19 @@ private:
|
||||
write_drv("DISKSNAPSHOTCREATE", oid, drv_msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sends a disk resize request to the MAD:
|
||||
* "RESIZE ID XML_DRV_MSG"
|
||||
* @param oid the virtual machine id.
|
||||
* @param drv_msg xml data for the mad operation
|
||||
*/
|
||||
void disk_resize (
|
||||
const int oid,
|
||||
const string& drv_msg) const
|
||||
{
|
||||
write_drv("RESIZEDISK", oid, drv_msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sends a request to update the VM security groups:
|
||||
* "UPDATESG ID XML_DRV_MSG"
|
||||
|
Reference in New Issue
Block a user