neutron/neutron/tests
Kailun Qin a01b7125cd Use network segment ranges for segment allocation
This patch makes necessary changes to ML2 type drivers and plugin
manager for network segment range extension support when it is loaded.

When the network segment range extension is not loaded, no impact to the
current flow.

When the extension is loaded,
- populating a range that is managed from the configuration file [1]_,
  such as "VLAN IDs", "VXLAN VNI IDs", "GRE tunnel IDs",
  "Geneve VNI IDs" to the network segment range DB table as a "default"
  and "shared" entry to maintain backward compatibility;
- reloading the "default" segment ranges when Neutron server
  starts/restarts;
- creating a set of "default" network segment ranges out of the
  ML2-config-file-defined ranges [1]_ and the segment allocation
  operations are always retrieving the information from the DB to have
  the network segment ranges fully administered via API;
- when a tenant allocates a segment, it will first allocate from an
  available segment range assigned to the tenant, and then a shared
  range if no tenant specific allocation is possible.

[1] /etc/neutron/plugins/ml2/ml2_conf.ini

Co-authored-by: Allain Legacy <Allain.legacy@windriver.com>

Partially-implements: blueprint network-segment-range-management
Change-Id: I522940fc4d054f5eec1110eb2c424e32e8ae6bad
2019-03-09 22:04:20 +00:00
..
common Add port forwarding floating IP QoS 2019-01-30 14:04:00 +00:00
contrib [Fullstack] Use newer openvswitch 2019-03-07 15:22:46 +01:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Add a more robust method to check OVSDB values in BaseOVSTestCase 2019-03-09 15:46:59 +00:00
functional Merge "Add a more robust method to check OVSDB values in BaseOVSTestCase" 2019-03-09 22:01:17 +00:00
unit Use network segment ranges for segment allocation 2019-03-09 22:04:20 +00:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Add new test decorator skip_if_timeout 2019-02-14 11:08:19 +01:00
post_mortem_debug.py
tools.py Support Network Segment Range CRUD as extensions 2019-03-07 08:20:30 +00:00