neutron/neutron/tests
Rodolfo Alonso Hernandez f315f85a7b Do not fail if the agent load is not bumped
When a new network and its first subnet is created, the DHCP agent
bumps the "load" parameter to reflect the number of networks handled.
This "load" parameter is modified when:
- As commented, when the first subnet of a network is created. The
  "load" value is bumped.
- When periodically the DHCP agent sends the status, informing about
  the current number of networks handled.

If during the subnet creation this "load" value is not updated, it will
be in the next periodic update of the agent.

This "load" value is used by the scheduler to equally distribute the
objects to be managed by any agent type (DHCP agents manage networks).

The bug refers to DHCP but is valid for any other agent.

Conflicts:
      neutron/common/utils.py
      neutron/scheduler/base_resource_filter.py

Change-Id: Ief402048d99d40b64d81fcf58eb2e39b1ba7ebbb
Closes-Bug: #1939432
(cherry picked from commit 668b1cc652)
(cherry picked from commit 816aca60b9)
(cherry picked from commit 1eb6b8926a)
2021-08-30 13:10:01 +00:00
..
common [Fullstack] Handle properly BrokenPipeError exception 2020-04-14 11:35:44 +00:00
contrib [OVN] Unify OVN/OVS compilation 2020-07-17 11:40:37 +00:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Add minimum bw qos rule validation for network 2021-03-09 10:09:10 +00:00
functional Merge "[ovn]: Create neutron_pg_drop Port Group on init" into stable/ussuri 2021-08-20 23:29:14 +00:00
unit Do not fail if the agent load is not bumped 2021-08-30 13:10:01 +00:00
var
__init__.py
base.py HA race condition test for DHCP scheduling 2019-11-18 14:09:32 +01:00
post_mortem_debug.py
tools.py Remove references to unittest2 library 2020-01-14 09:03:26 +00:00