- If "vlan" is specified when creating a network, we honour the option.
- If it is not specified, the Vlan number is calculated as follows:
CONF.vlan_start + num_existing_networks + index_of_requested_network
- If the above vlan is in use, try to get the next free vlan.
Reviewed: https:/ /review. openstack. org/34529 github. com/openstack/ nova/commit/ ec4a9490047106b 36c8a6bdf91fc75 79b84868dd
Committed: http://
Submitter: Jenkins
Branch: master
commit ec4a9490047106b 36c8a6bdf91fc75 79b84868dd
Author: Alvaro Lopez Garcia <email address hidden>
Date: Wed Jul 17 13:20:33 2013 +0200
Fix network creation in Vlan mode
- If "vlan" is specified when creating a network, we honour the option. networks + index_of_ requested_ network
- If it is not specified, the Vlan number is calculated as follows:
CONF.vlan_start + num_existing_
- If the above vlan is in use, try to get the next free vlan.
Fixes bug 1194835
Fixes bug 1169026
Change-Id: Id4476c14f9dadc f498a4995343374 77b3f64f604