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

Reply via email to