neutron/neutron/tests
Rodolfo Alonso Hernandez f2f7602de7 Populate self.floating_ips_dict using "ip rule" information
When the L3 agent starts, reads the floating IP rule priority from
a state file created by "FipRulePriorityAllocator". In case of not
having all floating IPs registers in this file, the method:
- Creates a new priority for this floating IP.
- Creates the "ip rule" in the namespace.
- Adds a new entry in "self.floating_ips_dict".

All "ip rules" present in the namespace that do not match the
registered fixed IP address ("from") and the priority assigned
are deleted.

Closes-Bug: #1891673
Closes-Bug: #1929821

Change-Id: Ia3fbde3304ab5f3c309dc62dbf58274afbcf4614
(cherry picked from commit a03c240ef4)
2021-09-22 13:05:22 +00:00
..
common Revert "Implement "kill" method using os.kill()" 2021-03-25 22:05:58 +00:00
contrib Allow sharing of address groups via RBAC mechanism 2021-03-01 18:28:31 -06:00
etc Convert policy.json into policy-in-code 2018-12-13 20:37:53 +00:00
fullstack Allow to manually define the gateway IP when using subnet pools 2021-02-27 10:06:35 +00:00
functional Populate self.floating_ips_dict using "ip rule" information 2021-09-22 13:05:22 +00:00
unit Populate self.floating_ips_dict using "ip rule" information 2021-09-22 13:05:22 +00:00
var
__init__.py
base.py Log python warnings only once to limit size of CI jobs' output 2021-03-18 21:50:19 +01:00
post_mortem_debug.py
tools.py Add port NUMA affinity policy 2020-11-13 15:49:34 +00:00