I'm trying to set up a virtual machine but I can't get it to do networking.
ServiceInstance si = new ServiceInstance(new URL(Url), user, password, true);
VirtualMachine vm = (VirtualMachine) new InventoryNavigator(si.getRootFolder()).searchManagedEntity("VirtualMachine", "NewVmName");
System.out.println( vm.getGuest().toolsRunningStatus);
vm.getGuest().setIpAddress(ipAddress);
* Please tell me what to do to change the IP.