]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add partial specs support in ML2 for vlan provider networks
authorCedric Brandily <zzelle@gmail.com>
Mon, 16 Jun 2014 20:43:13 +0000 (22:43 +0200)
committerCedric Brandily <zzelle@gmail.com>
Sat, 19 Jul 2014 08:40:49 +0000 (10:40 +0200)
commitb3202c3283597de031572e0ede082237487d8110
tree692b19ba000d1bce28536ed0423e4f95c455e80a
parent6e877945c923857395de3b5fd15953c58a4d74a4
Add partial specs support in ML2 for vlan 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 VLAN provider networks.

In practice, for VLAN provider networks provider:physical_network
and provider:segmentation_id choices 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: I2c52c71167edaa153b2e04681273e2f1be8d03aa
16 files changed:
neutron/common/exceptions.py
neutron/plugins/ml2/driver_api.py
neutron/plugins/ml2/drivers/helpers.py [new file with mode: 0644]
neutron/plugins/ml2/drivers/type_flat.py
neutron/plugins/ml2/drivers/type_gre.py
neutron/plugins/ml2/drivers/type_local.py
neutron/plugins/ml2/drivers/type_vlan.py
neutron/plugins/ml2/drivers/type_vxlan.py
neutron/plugins/ml2/managers.py
neutron/plugins/ml2/plugin.py
neutron/tests/unit/ml2/test_helpers.py [new file with mode: 0644]
neutron/tests/unit/ml2/test_type_flat.py
neutron/tests/unit/ml2/test_type_gre.py
neutron/tests/unit/ml2/test_type_local.py
neutron/tests/unit/ml2/test_type_vlan.py
neutron/tests/unit/ml2/test_type_vxlan.py