stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Nguyen (jeffrngu)" <jeffr...@cisco.com>
Subject Re: Specifying the network in cartridge definition
Date Thu, 04 Sep 2014 18:41:59 GMT
Hi Chris, Udara,

While you're at it, please also add "fixedIp" and "portUuid" as well as
per 
https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Sample+Cartridge+
Definition.  I don't believe "name" attributed is currently supported (at
least in to 4.0.0) although I think it's nice to have.

Also, just a heads up, when we're ready to upgrade jClouds to 1.8.0 or
above, I'm planning to replace "portUuid" with something like "fixedMac"
so that we can dynamically allocate Openstack port for the fixed MAC
address.  "portUuid" can only be used once and therefore you cannot
resubscribe cartridge without modifying "portUuid" value.

-Jeffrey

On 9/3/14 2:30 AM, "chris snow" <chsnow123@gmail.com> wrote:

>Thanks Udara - I've added this info to the Stratos FAQ:
>
>https://cwiki.apache.org/confluence/display/STRATOS/FAQ
>
>On Wed, Sep 3, 2014 at 9:55 AM, Udara Liyanage <udara@wso2.com> wrote:
>> Hi Chamila,
>>
>> You can specify the network interface as below. networkUuid refers to
>>the
>> UUID of the network. You can find this in Openstack  Horizon UI
>>
>> "networkInterfaces": [
>> { "name": "net1", "networkUuid": "afc8dd31-52f4-44e2-a9b0-a10610b78661"
>>}
>> ,
>> { "name": "net2", "networkUuid": "493ac57c-1d21-4fb8-a750-56ae7dbd160d"
>>}
>> }
>> ,
>> { "name": "net4", "networkUuid": "c17d6a7d-3ebb-4cdb-ae56-48e3cd31e270"
>>}
>> ],
>>
>>
>> On Wed, Sep 3, 2014 at 2:21 PM, Chamila De Alwis <chamilad@wso2.com>
>>wrote:
>>>
>>> Hi,
>>>
>>> I have an openstack deployment where two networks exist. How do I
>>>specify
>>> the network to be used to spawn the instances in the cartridge
>>>definition?
>>>
>>>
>>> Regards,
>>> Chamila de Alwis
>>> Software Engineer | WSO2 | +94772207163
>>> Blog: code.chamiladealwis.com
>>>
>>>
>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897


Mime
View raw message