Re: [openstack-dev] [api] Networking API "Create network" missing Request parameters
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é" 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@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@lists.openstack.org >http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [api] Networking API "Create network" missing Request parameters
On Thu, Oct 23, 2014 at 6:12 PM, Mathieu Gagné 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@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_provider-ext > > We have a couple of doc bugs on this: https://bugs.launchpad.net/openstack-api-site/+bug/1373418 https://bugs.launchpad.net/openstack-api-site/+bug/1373423 Hope that helps -- please triage those bugs if you find out more. Thanks, Anne > -- > Mathieu > > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [api] Networking API "Create network" missing Request parameters
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@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_provider-ext -- Mathieu ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] [api] Networking API "Create network" missing Request parameters
Hi, 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@qa4:~/devstack$ neutron net-create test-network --provider:network_type vlan --provider:physical_network physnet1 --provider:segmentation_id 400 Created a new network: +---+--+ | Field | Value| +---+--+ | admin_state_up| True | | id| 389caa09-da54-4713-b869-12f7389cb9c6 | | name | test-network | | provider:network_type | vlan | | provider:physical_network | physnet1 | | provider:segmentation_id | 400 | | router:external | False| | shared| False| | status| ACTIVE | | subnets | | | tenant_id | 92edf0cd20bf4085bb9dbe1b9084aadb | +---+--+ 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? Thanks, Danny ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev