Hi,
We were able to successfully start up and connect VBox VMs to VDE virtual switches (within one, or even across VM hosts). What I haven't found is information on how to gain access to the connection between the VM and the virtual switch and apply VDE wirefilter options to those, either programmatically (via the VBox SDK) or by command line. If these were physical machines, this would equate to the cable between the machine and the switch. We're using VDE to introduce some network conditions (packet loss, delays) to our tests, and it would be nice if this is possible, and if so, how?
I looked through VBox' INetworkAdapter javadocs and didn't find something that matches what I'm looking for.
A workaround we have found is setting up a master switch on the VM hosts, and creating slave switches where the VBox VMs connect to. We connect the slave switches to the master switch using VDE's dpipe, and then apply the wirefilter to that dpipe to create our test network conditions. However, we were hoping we could avoid doing this as it complicates the topologies for our tests, and we have literally hundreds of possible configurations for each test.
Thanks in advance,
-GraceC