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

Danny Choi (dannchoi) dannchoi at cisco.com
Thu Oct 23 23:00:26 UTC 2014


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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141023/d91bf9f2/attachment.html>


More information about the OpenStack-dev mailing list