neutron/neutron/tests/unit/agent/l3
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
..
extensions Clean port forwarding cache when router is DOWN 2021-03-03 15:21:23 +08:00
__init__.py Move extra routes processing to router classes 2015-02-05 10:25:45 -05:00
test_agent.py Populate self.floating_ips_dict using "ip rule" information 2021-09-22 13:05:22 +00:00
test_dvr_fip_ns.py Remove rootwrap execution (1) 2021-02-06 16:22:43 +00:00
test_dvr_local_router.py Populate self.floating_ips_dict using "ip rule" information 2021-09-22 13:05:22 +00:00
test_dvr_snat_ns.py Remove rootwrap execution (1) 2021-02-06 16:22:43 +00:00
test_fip_rule_priority_allocator.py Merge "Removed unnecessary setUp calls in tests" 2017-08-29 23:57:56 +00:00
test_ha_router.py HA-non-DVR router don't need manually add static route 2021-05-25 00:56:27 +00:00
test_item_allocator.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_l3_agent_extension_api.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_legacy_router.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_link_local_allocator.py Preserve DVR FIP rule priority over Agent restarts 2015-08-12 15:52:19 -05:00
test_namespace_manager.py Remove the dependency on the "mock" package 2020-04-28 18:05:37 -04:00
test_router_info.py Implement "RouterInfo.update_routing_table" with Pyroute2 2020-06-09 13:48:41 +00:00