]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add partial specs support in ML2 for multiprovider extension
authorCedric Brandily <zzelle@gmail.com>
Fri, 20 Jun 2014 09:31:01 +0000 (11:31 +0200)
committerCedric Brandily <zzelle@gmail.com>
Mon, 21 Jul 2014 20:02:14 +0000 (20:02 +0000)
commit926d8a939ab97d0eb41b04d495f865a64da11b43
tree090cfaf5af723c6fb74dad5acc0d0d1ff6a92828
parentc9fd72a8e1c6a0b936e0c6d00285c0b9764108d5
Add partial specs support in ML2 for multiprovider extension

ML2 provider network partial specs let admins choose some
multiprovider network attributes and let neutron choose remaining
attributes. This change provides the implementation for
multiprovider networks.

In practice, for VLAN/GRE/VXLAN segments provider:segmentation_id
choice can be delegated to neutron, in such case neutron try to find
a segment in tenant network pools which respects provided segment
attributes. For VLAN segments provider:physical_network choice can
also be delegated.

DocImpact

Implements blueprint provider-network-partial-specs

Change-Id: I1cf1441a179ec527674276b71e9924841f8570b6
neutron/extensions/multiprovidernet.py
neutron/plugins/ml2/driver_api.py
neutron/plugins/ml2/drivers/type_flat.py
neutron/plugins/ml2/drivers/type_local.py
neutron/plugins/ml2/managers.py
neutron/plugins/ml2/plugin.py
neutron/plugins/vmware/plugins/base.py
neutron/tests/unit/ml2/test_ml2_plugin.py
neutron/tests/unit/ml2/test_type_flat.py
neutron/tests/unit/ml2/test_type_local.py