neutron/neutron/tests/unit/agent/linux
Rodolfo Alonso Hernandez 7eaa84a0cd 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

Conflicts:
    neutron/tests/unit/agent/l3/test_dvr_local_router.py

Change-Id: Ia3fbde3304ab5f3c309dc62dbf58274afbcf4614
(cherry picked from commit a03c240ef4)
(cherry picked from commit b4ad1a2775)
2021-09-22 15:08:38 +02:00
..
openvswitch_firewall [ovs fw] Restrict IPv6 NA and DHCP(v6) IP and MAC source addresses 2021-05-14 14:41:28 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
failing_process.py Keep reading stdout/stderr until after kill 2015-11-19 19:14:13 +02:00
test_bridge_lib.py Start using oslo_utils.netutils.is_ipv6_enabled() 2019-10-16 21:44:56 -04:00
test_daemon.py Use sys.executable instead of 'python' 2020-02-07 19:48:05 +01:00
test_dhcp.py Remove dhcp_extra_opt value after first newline character 2021-08-31 13:47:27 +00:00
test_external_process.py Check dnsmasq process is active when spawned 2019-10-25 13:30:30 -04:00
test_interface.py Workaround for TCP checksum issue with ovs-dpdk and veth pair 2020-06-29 17:34:39 +00:00
test_ip_conntrack.py [OVS FW] Clean conntrack entries with mark == CT_MARK_INVALID 2021-02-23 13:41:26 +00:00
test_ip_lib.py Improve "get_devices_with_ip" performance 2021-03-01 10:31:58 +00:00
test_ipset_manager.py [Security] fix allowed-address-pair 0.0.0.0/0 issue 2020-03-21 17:54:34 +08:00
test_iptables_firewall.py Fix "_get_sg_members" method 2021-04-08 15:35:58 +00:00
test_iptables_manager.py Do not initialize the iptables nat table in the dhcp-agent 2019-04-24 20:56:03 -04:00
test_keepalived.py Ensure "keepalived" is correcly disabled 2021-01-14 16:35:31 +00:00
test_l3_tc_lib.py Use Pyroute2 "add_tc_qdisc" function in l3_tc_lib 2019-07-05 08:13:07 +00:00
test_pd.py Populate self.floating_ips_dict using "ip rule" information 2021-09-22 15:08:38 +02:00
test_tc_lib.py Fix the wrong value for QoS rate conversion to bytes/s 2020-06-24 17:21:16 +00:00
test_utils.py Stop testing python 2 2019-10-25 18:50:08 +00:00
test_xenapi_root_helper.py Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00