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" <[email protected]> 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 <[email protected]> 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 <[email protected]>
>>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

Reply via email to