You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Daniel Broudy (JIRA)" <ji...@apache.org> on 2015/05/19 22:09:00 UTC
[jira] [Commented] (JCLOUDS-860) .templateOptions.networks("..")
does not work
[ https://issues.apache.org/jira/browse/JCLOUDS-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551125#comment-14551125 ]
Daniel Broudy commented on JCLOUDS-860:
---------------------------------------
This is addressed in the recently committed PR:
https://github.com/jclouds/jclouds-labs-google/pull/138
Per JCLOUDS-896 network has been removed from GoogleComputeEngineTemplateOptions and now the portable templateOptions.networks is used.
> .templateOptions.networks("..") does not work
> ---------------------------------------------
>
> Key: JCLOUDS-860
> URL: https://issues.apache.org/jira/browse/JCLOUDS-860
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-labs-google
> Affects Versions: 2.0.0
> Reporter: Yaron Rosenbaum
>
> 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 :)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)