neutron/neutron
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
..
agent Populate self.floating_ips_dict using "ip rule" information 2021-09-22 13:05:22 +00:00
api Don't use singleton in routes.middleware.RoutesMiddleware 2021-09-07 06:09:10 +00:00
cmd Merge "Added common config and SR-IOV agent config to sanity check" into stable/wallaby 2021-06-14 18:04:45 +00:00
common Merge "ovn: Consider all router ports in is_lsp_router_port()" into stable/wallaby 2021-09-02 16:35:20 +00:00
conf Make default hypervisor hostname compatible with libvirt 2021-06-17 13:14:42 +00:00
core_extensions Set system_scope='all' in elevated context 2021-03-19 12:05:56 +01:00
db Merge "Use elevated context to get default SG from database" into stable/wallaby 2021-08-26 12:11:31 +00:00
debug Remove rootwrap execution (2) 2021-02-06 16:23:03 +00:00
extensions Config option to disable the DHCP functions 2021-03-05 14:35:29 +08:00
hacking Follow up for replacing assertItemsEqual 2021-08-24 12:02:17 +00:00
ipam Allow to manually define the gateway IP when using subnet pools 2021-02-27 10:06:35 +00:00
locale Imported Translations from Zanata 2020-10-11 07:22:44 +00:00
notifiers [OVS] Fix live-migration connection disruption 2021-01-13 11:13:41 +00:00
objects Remove FIP agent's gw port when L3 agent is deleted 2021-06-24 06:52:44 +00:00
pecan_wsgi Log exception generated in Controller.prepare_request_body 2020-08-18 16:18:34 -03:00
plugins Fix neutron_pg_drop-related startup issues 2021-09-14 08:44:47 -05:00
privileged Implement namespace creation method 2021-07-23 08:01:37 +00:00
profiling Remove "six" library 2020-07-28 16:55:52 +00:00
quota Remove "six" library 2020-07-28 16:55:52 +00:00
scheduler Do not fail if the agent load is not bumped 2021-08-30 13:04:14 +00:00
server Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
services Improve Subnet create performance 2021-06-23 15:35:16 +00:00
tests Populate self.floating_ips_dict using "ip rule" information 2021-09-22 13:05:22 +00:00
__init__.py Remove usage of six.PY2 2020-05-22 12:59:01 -04:00
_i18n.py
auth.py Add fake_project_id middleware for noauth 2021-07-08 07:02:24 +00:00
manager.py Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
neutron_plugin_base_v2.py Remove usage of six.add_metaclass 2020-05-21 14:41:18 -04:00
opts.py Provide the rpc_response_max_timeout parameter to sriov-agent 2021-06-14 14:00:35 +00:00
policy.py Always perform policy checks if enforce_new_defaults == true 2021-03-18 08:51:00 +01:00
service.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py neutron-server api worker process should be named to their role 2021-01-11 08:28:32 +08:00