Hi, team.
vCloud-based apis have a concept of virtual datacenters. Inside these are a number of networks and such. Prior to this change, you could select a default network for your VMs to join, but not the datacenter :)
I've taken quite a bit of time to implement and test the ability to change the default org, datacenter, network, etc. and this applies to both ComputeService and provider-specific interfaces of vcloudexpress and vcloud products. I've tested this by having our tests on trmk-ecloud select between running against miami and amsterdam.
In order to use this, you'll set a regex pattern to VCloudConstants.PROPERTY_VCLOUD_DEFAULT_VDC in the properties object passed to createContext(). For example ".*MIA.*" works in trmk-ecloud, as does ".*AMA.*" for amsterdam.
If you are interested in more, please see the issue here. This change will be ready for the 1.1.0 release planned for this month.
https://code.google.com/p/jclouds/issues/detail?id=628
Cheers,
-adrian