Is it possible to create a new physical machine in the VmAllocationPolicy file? Usually it is done while creating datacenter.But i wanted to add one during VM Allocation if none of the existing Physical machine can accommodate the VM.
Asked
Active
Viewed 248 times
1 Answers
0
Yes, you can add a new Host dynamically after creation.
datacenter.getHostList().add(new Host(...));

Atakan Aral
- 68
- 1
- 7