I am working on Virtual Box SDK and I have a couple of questions. Any of your suggestions would be helpful.
1. When ever I start a VM, I need to get the IP address from DHCP for the first time, but upon subsequent restarts, I want the VMs to get the same IP address. Is it possible to do programatically using the SDK? Can you please point me to the specific class/function calls?
2. Where can I get the documentation for "VirtualBoxManager" class used in TestVBox.java . The SDK reference guide provides documentation for "IVirtualBox" and all but not for "VirtualBoxManager" class. Here is how it is used in TestVBox.java
Code: Select all
VirtualBoxManager mgr = VirtualBoxManager.createInstance(null);
IVirtualBox vbox = mgr.getVBox();
mgr.startVm(m, null, 7000);
My Setup information:
Virtual box and API version: Version 4.2.12
Connection Type: object-oriented web service (OOWS)
Language: Java
Host OS: Windows 7 64
Thanks.