You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Ruben Rubio Rey <tk...@gmail.com> on 2015/04/09 07:24:43 UTC

Digital Ocean private IP

Hi,

When creating new instances with Digital Ocean the private network is not
enabled. How do I enable the private network ?

Regards,
Ruben

Re: Digital Ocean private IP

Posted by Ruben Rubio Rey <tk...@gmail.com>.
Hi Ignasi,

Thanks for your fast response.

Regards,
Ruben

On Thu, Apr 9, 2015 at 3:36 PM, Ignasi Barrera <na...@apache.org> wrote:

> Hi!
>
> You have to use the provider specific options. Something like the
> following when using the template builder:
>
> TemplateOptions opts = compute.templateOptions();
> Template template = compute.templateBuilder().options(opts.as
> (DigitalOceanTemplateOptions.class).privateNetworking(true));
>
> See:
> https://github.com/jclouds/jclouds-labs/blob/master/digitalocean/src/main/java/org/jclouds/digitalocean/compute/options/DigitalOceanTemplateOptions.java#L40-46
>
> HTH!
>
> I.
> El 09/04/2015 07:26, "Ruben Rubio Rey" <tk...@gmail.com> escribió:
>
>> Hi,
>>
>> When creating new instances with Digital Ocean the private network is not
>> enabled. How do I enable the private network ?
>>
>> Regards,
>> Ruben
>>
>

Re: Digital Ocean private IP

Posted by Ignasi Barrera <na...@apache.org>.
Hi!

You have to use the provider specific options. Something like the following
when using the template builder:

TemplateOptions opts = compute.templateOptions();
Template template = compute.templateBuilder().options(opts.as
(DigitalOceanTemplateOptions.class).privateNetworking(true));

See:
https://github.com/jclouds/jclouds-labs/blob/master/digitalocean/src/main/java/org/jclouds/digitalocean/compute/options/DigitalOceanTemplateOptions.java#L40-46

HTH!

I.
El 09/04/2015 07:26, "Ruben Rubio Rey" <tk...@gmail.com> escribió:

> Hi,
>
> When creating new instances with Digital Ocean the private network is not
> enabled. How do I enable the private network ?
>
> Regards,
> Ruben
>