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 Fri, 05 Sep 2014 17:01:17 GMT
Hi Chris,

I updated the FAQ wiki.

On the FAQ wiki, you had an example config for "networkInterfaces" tuples
with "name" and "networkUuid" parameters.  On the same example, I'm
suggesting we remove "name" attributes and add examples of "fixedIp".
Since "portUuid" will go away, I didn't mention it.

-Jeffrey

On 9/5/14 1:51 AM, "chris snow" <chsnow123@gmail.com> wrote:

>Hi Jeffrey - sorry, I'm confused what do you want adding to the wiki?
>
>It may be easier to get a wiki account setup so that you can directly
>add the info yourself?
>
>On Thu, Sep 4, 2014 at 7:41 PM, Jeffrey Nguyen (jeffrngu)
><jeffrngu@cisco.com> wrote:
>> 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+Cartridg
>>e+
>> 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