neutron/neutron/tests
Rodolfo Alonso Hernandez 3796c03fd1 Fix queries to retrieve allocations with network_segment_range
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 046672247d)
(cherry picked from commit bbe401aaf9)
2020-04-30 11:00:41 +00:00
..
common NetcatTester.stop_processes skip "No such process" exception 2019-11-22 10:54:17 +00:00
contrib Switch neutron-functional-with-wsgi job to zuul v3 syntax 2019-03-21 15:01:55 +00:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Increase waiting time for network rescheduling 2020-04-07 20:18:59 +00:00
functional [L3 HA] Add "no_track" option to VIPs in keepalived config 2020-04-23 07:14:53 +00:00
unit Fix queries to retrieve allocations with network_segment_range 2020-04-30 11:00:41 +00:00
var
__init__.py Avoid eventlet monkey patching for the tempest plugin 2016-04-29 22:47:24 -05:00
base.py Reset timeout exception in DietTestCase when retrying 2020-02-04 17:51:36 +01:00
post_mortem_debug.py
tools.py Merge "consume UnorderedList from neutron-lib" 2019-03-15 20:54:10 +00:00