Revision f789d500 include/VirtualMachine.h
include/VirtualMachine.h | ||
---|---|---|
1209 | 1209 |
vector<VectorAttribute *>& pci_dev); |
1210 | 1210 |
|
1211 | 1211 |
/** |
1212 |
* Returns the list of Cluster IDs where the VM can be deployed, based |
|
1213 |
* on the Datastores and VirtualNetworks requested |
|
1214 |
* |
|
1215 |
* @param cluster_ids set of Cluster IDs |
|
1216 |
* @param error_str Returns the error reason, if any |
|
1217 |
* @return 0 on success |
|
1218 |
*/ |
|
1219 |
int get_cluster_requirements(set<int>& cluster_ids, string& error_str); |
|
1220 |
|
|
1221 |
/** |
|
1212 | 1222 |
* Checks if the resize parameters are valid |
1213 | 1223 |
* @param cpu New CPU. 0 means unchanged. |
1214 | 1224 |
* @param memory New MEMORY. 0 means unchanged. |
Also available in: Unified diff