neutron/neutron/objects
Slawek Kaplonski 4bdfc71145 Remove FIP agent's gw port when L3 agent is deleted
Floating IP agent gateway ports are created for each external network
for each node where DVR L3 agent is running and where there is some FIP
from the ext_net.
But even, if L3 agent is removed (e.g. when scaling down the cluster),
such floating IP gateway port is never removed so it consumes IP address
from the external network.

With this patch when the DVR L3 agent is deleted, all such fip gateway
ports owned by that agent will be deleted.
When new L3 agent is created (registered in the DB), Neutron will check
if there are any floating IPs on that host and will recreate such FIP
gateway ports for it.

Closes-Bug: #1891360
Change-Id: If6ef990baf039c556d7420962ac4c54608711f06
(cherry picked from commit 8cc7c0cf7a)
2021-06-24 06:54:42 +00:00
..
db remove the neutron.db._model_query module 2019-01-25 08:55:25 -07:00
extensions use object standardattributes from neutron-lib 2019-06-12 13:57:00 -06:00
logapi use object event_types from neutron-lib 2019-06-18 14:25:02 -06:00
plugins Fix queries to retrieve allocations with network_segment_range 2020-03-16 16:16:30 +00:00
port [DVR] Send allowed address pairs info to the L3 agents 2021-05-24 11:10:46 +02:00
qos Fix objname error in QosPolicy 2019-08-13 17:13:09 -04:00
README.rst Objects: Add README for neutron/objects directory tree 2016-10-07 15:12:20 +00:00
__init__.py Use dirname in object recursive import 2017-04-20 04:35:10 -07:00
address_scope.py Relax subnet pool network affinity constraints 2019-07-31 10:01:55 -05:00
agent.py Merge "postgresql compatibility for get_l3_agent routines" 2019-04-12 13:01:27 +00:00
auto_allocate.py [OVO] Switch to use own registry 2017-11-22 17:44:22 +01:00
base.py use object standardattributes from neutron-lib 2019-06-12 13:57:00 -06:00
common_types.py use AuthenticIPNetwork and AuthenticEUI from neutron-lib 2019-06-25 08:47:48 -06:00
conntrack_helper.py Conntrack Helper - OVO and db script 2019-05-20 18:00:18 +02:00
flavor.py [OVO] Switch to use own registry 2017-11-22 17:44:22 +01:00
floatingip.py Integration of Floating IP OVO 2017-12-04 19:30:02 +09:00
ipam.py [OVO] Switch to use own registry 2017-11-22 17:44:22 +01:00
l3_hamode.py remove neutron.common.constants 2019-04-04 14:10:26 -06:00
l3agent.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
metering.py use AuthenticIPNetwork and AuthenticEUI from neutron-lib 2019-06-25 08:47:48 -06:00
network.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
network_segment_range.py Make phynet paramter also is optional when network_segment_range enabled 2021-06-08 11:26:30 +00:00
port_forwarding.py Fix pylint R1714 (consider-using-in) refactor messages 2019-02-21 21:11:34 +00:00
ports.py Remove FIP agent's gw port when L3 agent is deleted 2021-06-24 06:54:42 +00:00
provisioning_blocks.py [OVO] Switch to use own registry 2017-11-22 17:44:22 +01:00
quota.py Fix invalid JSON generated by quota details 2021-03-19 15:15:58 +00:00
rbac.py Use RBACBaseObject OVO in neutron/db/rbac_db_mixin.py 2018-11-08 13:41:36 +00:00
rbac_db.py Fix list security groups performance with RBAC 2019-07-07 17:44:56 -05:00
router.py Get only FIP ID on network delete 2021-04-22 08:49:59 +00:00
securitygroup.py Filter by owner SGs when retrieving the SG rules 2020-04-14 18:37:12 +00:00
servicetype.py [OVO] Switch to use own registry 2017-11-22 17:44:22 +01:00
stdattrs.py use object standardattributes from neutron-lib 2019-06-12 13:57:00 -06:00
subnet.py [OVN] Allow IP allocation with different segments for OVN service ports 2020-07-27 11:53:37 +00:00
subnetpool.py Allow objects to opt in new engine facade 2018-02-09 04:07:34 +00:00
tag.py Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
trunk.py Switch to new engine facade for TrunkPlugin and TrunkSkeleton 2019-07-04 14:24:17 +00:00

README.rst

Neutron Objects

Directory

This directory is designed to contain all modules which have objects definitions shipped with core Neutron. The files and directories located inside of this directory should follow the guidelines below.

Structure

The Neutron objects tree should have the following structure:

  • The expected directory structure is flat, except for the ML2 plugins. All ML2 plugin objects should fall under the plugins subdirectory (i.e. plugins/ml2/gre_allocation).
  • Module names should use singular forms for nouns (network.py, not networks.py).