Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
I pre-created a newrok on gce, called "multicloud".
It lists when ....unwrapApi(GoogleComputeEngineApi.class).networks().list();
It's name is 'multicloud', id is '18175...15972', and selfLink=https://www.googleapis.com/compute/v1/projects/multicloud-something/global/networks/multicloud
I would like my nodes to be on this network.
I tried a number of variations:
getComputeService().templateOptions().networks("multicloud")
.networks("18175...15972")
and the same with:
getComputeService().templateOptions().as(GoogleComputeEngineTemplateOptions.class).networks(...)
Doesn't work, the default jClouds network is created / used.
The only thing that DOES work, is:
etComputeService().templateOptions().as(GoogleComputeEngineTemplateOptions.class).network(new URI("https://www.googleapis.com/compute/v1/projects/multicloud-../global/networks/multicloud"));
IMO this is a bug, but I can't be sure because there's no documentation.
So double the bug
Attachments
Issue Links
- is superceded by
-
JCLOUDS-896 Replace the GCETemplateOptions#network by the TemplateOptions#networks option
- Resolved