444445446447448449450451452453454
} } if(isNewDhcpHost){ DhcpHost host = sub.addDhcpHost(); host.ipAddr(nic.getIp4Address()); host.macAddr(nic.getMacAddress()); // This only sets the cloudstack internal name host.name(vm.getHostName()); host.create();
436437438439440441442443444445446
} } if (isNewDhcpHost) { DhcpHost host = sub.addDhcpHost(); host.ipAddr(nic.getIp4Address()); host.macAddr(nic.getMacAddress()); // This only sets the cloudstack internal name host.name(vm.getHostName()); host.create();
447448449450451452453454455456457