c138dcfdda
This patch proposes to use the physical_network attribute of provider network API for network type VLAN to consume comma ',' separated DVS-IDs. This way, admin can provide the multiple DVS-IDs associated with a single VLAN network in the provider net create command. This will result in creation of port groups on each of the DVSes. If no DVS-ID is provided, we pick the DVS-ID from conf file. If DVS-ID is provided in the physical network, in order for the instances on these networks to grab DHCP addresses, the DVS-ID of the edge/mgmt cluster must be explicitly provided in the CLI along with other DVS-IDs. Usage: neutron net-create fancy-network --provider:network_type=vlan --provider:segmentation_id=100 --provider:physical_network=dvs-10,dvs-20 Closes-Bug: #1559320 Change-Id: Ifb10e3f34bf0c55d2d7710e804b5de995ec954bd