[openstack-dev] [api] Networking API "Create network" missing Request parameters

Manish Godara manishg at yahoo-inc.com
Fri Oct 24 17:32:21 UTC 2014


Provider network is an extension.  The API details should be at [1]

To get this to work your plugin should support the 'provider' extension.
ML2 supports it [2].  More details can be found at [3]

There is also multi-segment provider networks support.  Details for that
is at [4] as mentioned by Mathieu

[1] 
http://developer.openstack.org/api-ref-networking-v2.html#network_provider-
ext
[2] 
https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/plugin
.py#L102
[3] 
http://docs.openstack.org/api/openstack-network/2.0/content/provider_ext.ht
ml
[4] 
http://developer.openstack.org/api-ref-networking-v2.html#network_multi_pro
vider-ext


On 10/23/14, 4:12 PM, "Mathieu Gagné" <mgagne at iweb.com> wrote:

>On 2014-10-23 7:00 PM, Danny Choi (dannchoi) wrote:
>>
>> In neutron, user with ³admin² role can specify the provider network
>> parameters when creating a network.
>>
>> ‹provider:network_type
>> ‹provider:physical_network
>> ‹provider:segmentation_id
>>
>> localadmin at qa4:~/devstack$ neutron net-create test-network
>> --provider:network_type vlan --provider:physical_network physnet1
>> --provider:segmentation_id 400
>>
>> However, the Networking API v2.0
>> (http://developer.openstack.org/api-ref-networking-v2.html) ³Create
>>network²
>> does not list them as Request parameters.
>>
>> Is this a print error?
>>
>
>I see them under the "Networks multiple provider extension (networks)"
>section. [1]
>
>Open the detail for "Create network with multiple segment mappings" to
>see them.
>
>Is this what you were looking for?
>
>[1] 
>http://developer.openstack.org/api-ref-networking-v2.html#network_multi_pr
>ovider-ext
>
>-- 
>Mathieu
>
>_______________________________________________
>OpenStack-dev mailing list
>OpenStack-dev at lists.openstack.org
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list