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/01 19:37:05 UTC

[jira] [Commented] (JCLOUDS-896) Replace the GCETemplateOptions#network by the TemplateOptions#networks option

    [ https://issues.apache.org/jira/browse/JCLOUDS-896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14523500#comment-14523500 ] 

Daniel Broudy commented on JCLOUDS-896:
---------------------------------------

Instances can only be attached to one network.

I can do this as a part of https://github.com/jclouds/jclouds-labs-google/pull/138

> Replace the GCETemplateOptions#network by the TemplateOptions#networks option
> -----------------------------------------------------------------------------
>
>                 Key: JCLOUDS-896
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-896
>             Project: jclouds
>          Issue Type: Sub-task
>          Components: jclouds-labs-google
>    Affects Versions: 1.9.0
>            Reporter: Ignasi Barrera
>              Labels: google-compute-engine
>
> Currently the GCETemplateOptions provide a way to specify the URI of a network where the VMs will be attached. The portable TemplateOptions already provides that property as a list of Strings, so the provider-specific options should be removed and the portable one should be used instead:
> * If a VM can be attached to multiple networks, then the adapter should honor the property and attach the VM to all them.
> * If not, we should validate the options and fail giving a proper feedback to the user.
> * If no network is explicitly provided, the VMs will be attached to the default network, as suggested in https://github.com/jclouds/jclouds-labs-google/pull/138



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)