[Openstack] associating provider vlan and IP allocation pool with a subnet

Naveen Joy (najoy) najoy at cisco.com
Wed Aug 29 18:33:26 UTC 2012


Thanks Salvatore and Dan. I was asking for #1 below, as my use-case was to map a quantum network to an existing provider vlan.  #2 is also quite useful to know.

Naveen 

-----Original Message-----
From: Dan Wendlandt [mailto:dan at nicira.com] 
Sent: Wednesday, August 29, 2012 11:28 AM
To: Salvatore Orlando
Cc: Naveen Joy (najoy); openstack at lists.launchpad.net
Subject: Re: [Openstack] associating provider vlan and IP allocation pool with a subnet

One other comment:  sometimes people use the term "provider network"
to mean two things:
1) a quantum network that maps directly to an existing physical or vlan network in the provider's infrastructure.
2) a "shared" network that all tenants have access to (e.g., to reach the Internet).

In Quantum, we use the term "provider" to refer to #1.  We use the term "shared" to refer to #2.  Not sure which one you were asking about.  Salvatore's responses covers #1.  For #2, just create a network with --shared=True.  Note, with the default policy, you need to be an admin user to create a shared network.

dan

On Wed, Aug 29, 2012 at 10:22 AM, Salvatore Orlando <sorlando at nicira.com> wrote:
> Hi Naveen,
>
> That is almost correct. You can associate a provider network (either a 
> physical network or a vlan) with a Quantum network. The association is 
> at the network level, not the subnet level.
>
> As the 'provider networks' is an extension in quantum, there is no 
> direct CLI option available. However the quantum CLI allows for 
> configuring extensions using the following syntax:
>
> quantum <command> <core_parameters> -- <extended_parameters>
>
> for instance the following syntax should create a network associate 
> with a specific vlan id, on the default physical interface:
>
> quantum net-create <network_name> -- --provider:vlan_id 999
>
> Please keep in mind that the provider networks extension will be 
> feature complete with folsom-rc1. In the Folsom-3 milestone, provider 
> networks are not yet supported with Open vSwitch. The related patch is 
> currently under
> review: https://review.openstack.org/#/c/11388/
>
> Regards,
> Salvatore
>
> On 29 August 2012 02:31, Naveen Joy (najoy) <najoy at cisco.com> wrote:
>>
>> Hi All,
>>
>>
>>
>> In the latest quantum code,  I believe it is possible to associate a 
>> provider vlan and an IP allocation pool with a subnet. Can someone 
>> provide the quantum client cli or the API to accomplish this.
>>
>>
>>
>> Thanks much,
>>
>> Naveen
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>



--
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira, Inc: www.nicira.com
twitter: danwendlandt
~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the Openstack mailing list