// generate create spec for fast clone
VmCreateSpec spec = new VmCreateSpec();
VmSchema createSchema = getVmSchema(vNode);
spec.setSchema(createSchema);
String defaultPgName = null;
GuestMachineIdSpec machineIdSpec =
new GuestMachineIdSpec(networkAdds,
vNode.fetchPortGroupToIpV4Map(),
vNode.getPrimaryMgtPgName());
logger.info("machine id of vm " + vNode.getVmName() + ":\n"
+ machineIdSpec.toString());
spec.setBootupConfigs(machineIdSpec.toGuestVariable());
// timeout is 10 mintues
StartVmPostPowerOn query =
new StartVmPostPowerOn(vNode.getNics().keySet(),
Constants.VM_POWER_ON_WAITING_SEC);
spec.setPostPowerOn(query);