Forwarding to user@, as that may be of interest to others there...
2. For a given network/interface, specify an IP address to be used
instead of being assigned a random IP from the network
3. A floating IP to be used for the instance
One of the OpenStack experts on the list will certainly have more to
say, but for #2 and #3 it might be worth trying what happens if you
set autoAssignFloatingIp to false/true on the template options, if you
haven't already.
More floating IP options are available via the FloatingIPApi [2],
which you can access via the (provider-specific) NovaApi.
Hope that helps!
ap
[1]
http://javadocs.jclouds.cloudbees.net/org/jclouds/openstack/nova/v2_0/compute/options/NovaTemplateOptions.Builder.html#autoAssignFloatingIp(boolean)
[2]
http://javadocs.jclouds.cloudbees.net/org/jclouds/openstack/nova/v2_0/NovaApi.html#getFloatingIPExtensionForZone(java.lang.String)
----- Forwarded message from [email protected] -----
Date: Thu, 6 Feb 2014 02:14:10 +0000
From: "Jeffrey Nguyen (jeffrngu)" <[email protected]>
Reply-To: [email protected]
Subject: Questions about network related support for jClouds
To: "[email protected]" <[email protected]>
Hi Devs,
I have the need to specify additional network related parameters when
creating an instance of an OpenStack cartridge. These parameters
include the following:
1. A list of networks (uuids) to associate with the list of
network interfaces defined in the cartridge
2. For a given network/interface, specify an IP address to be used
instead of being assigned a random IP from the network
3. A floating IP to be used for the instance
With the jClouds version 1.7 and later, CreateServerOptions.networks()
fulfills item #1 (please seee
https://issues.apache.org/jira/browse/JCLOUDS-416, )
Can someone give me some pointers on whether items #2 and #3 are also
supported. If not, I would appreciate some pointers, tips on how to
extend the existing API to support them.
Thanks in advance!
Regards,
-Jeffrey
Hi Devs,
I have the need to specify additional network related parameters when creating
an instance of an OpenStack cartridge. These parameters include the following:
1. A list of networks (uuids) to associate with the list of network
interfaces defined in the cartridge
2. For a given network/interface, specify an IP address to be used instead
of being assigned a random IP from the network
3. A floating IP to be used for the instance
With the jClouds version 1.7 and later, CreateServerOptions.networks() fulfills
item #1 (please seee https://issues.apache.org/jira/browse/JCLOUDS-416, )
Can someone give me some pointers on whether items #2 and #3 are also
supported. If not, I would appreciate some pointers, tips on how to extend
the existing API to support them.
Thanks in advance!
Regards,
-Jeffrey