Go to file
Rodolfo Alonso Hernandez d87f4f11c7 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/agent/l3/dvr_local_router.py
    neutron/tests/unit/agent/l3/test_agent.py
    neutron/tests/unit/agent/l3/test_dvr_local_router.py

That patch additionally changes to use old IpRuleCommand.add() method
from the ip_lib module as in that branch it's not yet moved to use
pyroute2 library. Additional changes are in the
neutron/agent/l3/dvr_local_router.py file.

Change-Id: Ia3fbde3304ab5f3c309dc62dbf58274afbcf4614
(cherry picked from commit a03c240ef4)
(cherry picked from commit b4ad1a2775)
(cherry picked from commit 34ec42df9f)
2021-12-13 10:04:19 +01:00
2016-06-28 22:46:19 +02:00
2018-06-07 02:24:02 +00:00
2016-10-17 17:06:19 +05:30
2018-06-02 13:03:33 +02:00
2019-04-19 19:39:02 +00:00
2014-05-16 13:40:04 -04:00
2017-06-13 19:26:49 +00:00
2017-08-31 16:44:51 +02:00
2018-07-10 15:40:00 +07:00
2017-03-04 11:19:58 +00:00
2018-07-17 09:45:43 +00:00

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst

Description
OpenStack Networking (Neutron)
Readme 1 GiB
Languages
Python 99.7%
Shell 0.3%