3796c03fd1
Fixed the queries to retrieve the segment ID allocations when service plugin network_segment_range is enabled. With the previous implementation, a project user was able to allocate a segment ID belonging to other project segment range. The solution implemented was discussed in [1]: - A project user will retrieve segments from the project ranges. - When depleted, the segment IDs will be retrieved from the shared range, never using another project segment ID. [1]http://lists.openstack.org/pipermail/openstack-discuss/2020-February/012736.html Conflicts: neutron/objects/network_segment_range.py neutron/objects/plugins/ml2/base.py neutron/objects/plugins/ml2/vxlanallocation.py neutron/objects/plugins/ml2/vlanallocation.py neutron/tests/unit/objects/test_network_segment_range.py Change-Id: I953062d9ee8ee5ee9a9f07aff4a8222ac63ed525 Closes-Bug: #1863423 (cherry picked from commit |
||
---|---|---|
.. | ||
common | ||
contrib | ||
etc | ||
fullstack | ||
functional | ||
unit | ||
var | ||
__init__.py | ||
base.py | ||
post_mortem_debug.py | ||
tools.py |