You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Yaron Rosenbaum (JIRA)" <ji...@apache.org> on 2015/08/03 12:40:04 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=14651735#comment-14651735 ] 

Yaron Rosenbaum commented on JCLOUDS-860:
-----------------------------------------

Thank you!

> .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
>             Fix For: 2.0.0
>
>
> 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)