stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Udara Liyanage <>
Subject Re: Assign private IP addresses when subscribing to cartridge via CC
Date Mon, 01 Sep 2014 07:29:44 GMT

AFAIK this flag is relevant for floating IP assignment. I am now aware of
any way of assigning a specific private IP to a instance. May be Reka can
provide a better answer.

On Thu, Feb 27, 2014 at 5:43 PM, Udara Liyanage <> wrote:

> AFAR if this property is set to true, CC will assign a public IP to the
> instance when it is spawned. Else the public IP is not assigned by CC. We
> have to manually assign it if we need.
> Touched, not typed. Erroneous words are a feature, not a typo.
> On Feb 27, 2014 2:24 PM, "Jeffrey Nguyen (jeffrngu)" <>
> wrote:
>>  Hi Devs,
>>  I'm looking for a way to assign private IP addresses when subscribing
>> to cartridges via Cloud Controller.   Ideally, these private IP addresses
>> corresponds to their network interfaces which can be specified in the
>> NovaTemplateOptions.
>>  Currently, when I subscribe to a cartridge, the private IPs are
>> randomly assigned from their respective networks.   I want to be able to
>> use the private IPs defined in the cartridge definition.
>>  jClouds supports specifying list of network interface UUIDs when
>> launching cartridges, but not specifying private IPs.
>>  I was also playing with CloudControllServiceImpl.startInstance() and
>> noticed that the private IPs are assigned after  the MetadataNode is
>> returned from the call "computeService.createNodesInGroup()".   I modified
>> the instance of MetadataNode returned from this call to overwrite the set
>> of randomly assigned private IPs with the ones I specified in cartridge
>> definition JSON.   On the Horizon GUI, I observed that the instance still
>> came up with the randomly private IPs.
>>  Questions:
>>    - Does Stratos support assigning specific private IPs?
>>    - What does "autoAssignIp" in cloud-controller.xml used for?   From
>>    the implementation, it looks like regardless of the value (true/false), we
>>    are still getting the IP from the IP pool.
>>    - Does the above flag apply to both private and floating Ips?
>>  Thanks,
>> -Jeffrey


Udara Liyanage
Software Engineer
WSO2, Inc.:
lean. enterprise. middleware

phone: +94 71 443 6897

View raw message