]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add partial specs support in ML2 for gre/vxlan provider networks
authorCedric Brandily <zzelle@gmail.com>
Mon, 16 Jun 2014 20:03:14 +0000 (22:03 +0200)
committerCedric Brandily <zzelle@gmail.com>
Mon, 21 Jul 2014 20:00:59 +0000 (20:00 +0000)
commitc9fd72a8e1c6a0b936e0c6d00285c0b9764108d5
tree0deed21467e95279c24b3b63e7cc486dd14f02c1
parent00d638a5532c371415915829b67718eb0bb625a9
Add partial specs support in ML2 for gre/vxlan provider networks

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

In practice, for GRE/VXLAN provider networks provider:segmentation_id
choice can be delegated to neutron, in such case neutron will try to
find a network in tenant network pools which respects provided
provider attributes.

DocImpact

Related to blueprint provider-network-partial-specs
Partial-Bug: #1330562

Change-Id: I720d7d04f6e3453145e888d9e4d9b5e381d0f7d4
neutron/plugins/ml2/drivers/type_gre.py
neutron/plugins/ml2/drivers/type_tunnel.py
neutron/plugins/ml2/drivers/type_vxlan.py
neutron/tests/unit/ml2/test_type_gre.py
neutron/tests/unit/ml2/test_type_vxlan.py