neutron/neutron/objects
Christian Rohmann fa28c3c35c Allow HA routers to have automatic l3agent failover
Currently routers with ha=true are NOT rescheduled form a dead L3 agent, even
when `allow_automatic_l3agent_failover` is enabled.

This is contrary to what the user expects and the feature description states:
   "Automatically reschedule routers from offline
    L3 agents to online L3 agents."

There is no distinction made between HA and non-HA routers. Also HA and
automatic-failover can work together:

* HA allows for a fast failover to a standby router

* Automatic failover then restores back full redundancy in case the failed L3
agent, which HA failed away from, does not come back within a certain time.

Closes-Bug: #2050236
Change-Id: I1e5ee5048f61eef7fa4d9de25e69bf0e0a5ea442
2024-02-09 14:33:13 +01:00
..
db Replace context decorators with context managers 2023-04-23 08:21:35 +02:00
extensions use objects common_types from neutron-lib 2019-11-26 15:34:18 +01:00
logapi use objects common_types from neutron-lib 2019-11-26 15:34:18 +01:00
plugins Randomize segmentation ID assignation 2021-03-24 13:56:09 +00:00
port Remove the "new_facade" parameter that is no longer needed 2024-01-17 17:02:46 +00:00
qos Fix some pylint indentation warnings 2022-08-09 15:10:01 -04:00
README.rst Objects: Add README for neutron/objects directory tree 2016-10-07 15:12:20 +00:00
__init__.py Bump pylint version to support python 3.8 2020-08-06 16:00:30 +02:00
address_group.py Replace "target_tenant" with "target_project" in RBAC OVOs and models 2021-12-03 10:48:57 +00:00
address_scope.py Add the corresponding DB context to all SQL transactions 2022-04-08 09:09:54 +00:00
agent.py Fix some pylint indentation warnings 2022-08-09 15:10:01 -04:00
auto_allocate.py use objects common_types from neutron-lib 2019-11-26 15:34:18 +01:00
base.py Remove _use_db_facade() 2024-01-12 18:29:00 -05:00
conntrack_helper.py use objects common_types from neutron-lib 2019-11-26 15:34:18 +01:00
flavor.py use objects common_types from neutron-lib 2019-11-26 15:34:18 +01:00
floatingip.py use objects common_types from neutron-lib 2019-11-26 15:34:18 +01:00
ipam.py use objects common_types from neutron-lib 2019-11-26 15:34:18 +01:00
l3_hamode.py Add the corresponding DB context to all SQL transactions 2022-04-08 09:09:54 +00:00
l3agent.py Allow HA routers to have automatic l3agent failover 2024-02-09 14:33:13 +01:00
local_ip.py Add Local IP Extension and DB 2021-11-11 10:08:23 +03:00
metering.py Add source_ip_prefix and destination_ip_prefix to metering label rules 2020-09-29 09:06:03 -03:00
ndp_proxy.py [Server Side] L3 router support ndp proxy 2022-02-03 10:07:46 +08:00
network.py Replace "target_tenant" with "target_project" in RBAC OVOs and models 2021-12-03 10:48:57 +00:00
network_segment_range.py Fix some pylint indentation warnings 2022-08-09 15:10:01 -04:00
port_forwarding.py Merge "Fix some new pylint "R" warnings" 2023-07-28 06:58:46 +00:00
ports.py Add a "port" child table "porthardwareoffloadtype" 2023-08-19 06:08:51 +00:00
provisioning_blocks.py [OVO] Switch to use own registry 2017-11-22 17:44:22 +01:00
quota.py Fix some pylint indentation warnings 2022-08-09 15:10:01 -04:00
rbac.py Add the corresponding DB context to all SQL transactions 2022-04-08 09:09:54 +00:00
rbac_db.py Fix some pylint indentation warnings 2022-08-09 15:10:01 -04:00
router.py [OVN] Populate the "router.distributed" flag in ML2/OVN 2023-10-16 08:04:31 +00:00
securitygroup.py Add a new extension "security-groups-rules-belongs-to-default-sg" 2023-10-06 15:36:26 +00:00
securitygroup_default_rules.py Default SG api rules template - DB and OVO models 2023-07-07 10:43:34 +02:00
servicetype.py use objects common_types from neutron-lib 2019-11-26 15:34:18 +01:00
stdattrs.py Use neutron-lib standard_attr 2021-09-15 09:19:26 +00:00
subnet.py Add policy enforcer for "tags" service plugin 2023-10-14 15:41:06 +00:00
subnetpool.py Add the corresponding DB context to all SQL transactions 2022-04-08 09:09:54 +00:00
tag.py Use neutron-lib standard_attr 2021-09-15 09:19:26 +00:00
trunk.py [OVN] Execute OVN migration transactions independently 2021-11-11 07:11:47 +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).