neutron/neutron
Rodolfo Alonso Hernandez 2081910d6d Always create a "router_extra_attributes" register per router
The table "router_extra_attributes" is a child of "router" table.
Each register contains extra information that completes the router
description. When using ML2/OVS mechanism driver, the methods that
create and populate the "router_extra_attributes" register are always
called from the L3 DVR, L3 HA and availability zones extensions.

When using ML2/OVN, those extensions are not loaded and therefore the
"router_extra_attributes" register is not created.

Despite this register is currently not used in ML2/OVN (it will be in
future features), there are some project expecting the
"router_extra_attributes" register to be always created (for example,
neutron-dynamic-routing [1]).

This patch enforces the child register creating always when a router is
created. This register is populated with the default values. This new
register does not affect any current operation related to ML2/OVN nor
ML2/OVS.

There is a 1:1 relationship between "routers" and
"router_extra_attributes". The child register is deleted by the database
engine when the "routers" register is deleted (ondelete="CASCADE").

[1]https://review.opendev.org/c/openstack/neutron-dynamic-routing/+/863713

Closes-Bug: #1995974
Change-Id: Ic546e40513402fa101c9687acce382cd6b84356c
2022-11-18 08:51:43 +00:00
..
agent dhcp: support multiple segmentations per network 2022-10-27 09:30:33 +02:00
api dhcp/rpc: retrieve network details with segments 2022-09-01 14:48:54 +02:00
cmd Script to remove duplicated port bindings 2022-08-18 08:13:56 +00:00
common Fix some pylint indentation warnings 2022-11-02 10:37:39 -04:00
conf Merge "Allow operator to disable usage of random-fully" 2022-08-26 08:42:03 +00:00
core_extensions Revert "Set system_scope='all' in elevated context" 2021-06-15 10:29:20 +02:00
db Always create a "router_extra_attributes" register per router 2022-11-18 08:51:43 +00:00
debug Fix typos in log/error messages 2022-06-01 21:17:29 +05:30
exceptions Add port-resource-request-groups extension 2021-10-21 14:30:07 +02:00
extensions [api]adds port_forwarding id when list floatingip 2022-08-26 08:45:09 +08:00
hacking Fix remaining typos in comments and tests 2022-07-06 21:20:27 +05:30
ipam Fix misplaced comparison constant warnings 2022-10-05 17:13:39 -04:00
locale Imported Translations from Zanata 2022-04-30 03:45:16 +00:00
notifiers Retry connections to Nova 2022-09-02 11:26:40 +02:00
objects Always create a "router_extra_attributes" register per router 2022-11-18 08:51:43 +00:00
pecan_wsgi Merge "Handle properly InvalidScope exceptions to not return error 500" 2022-04-19 06:42:29 +00:00
plugins Always create a "router_extra_attributes" register per router 2022-11-18 08:51:43 +00:00
privileged Format the protocol number to be passed to pyroute2 2022-08-29 12:44:14 +02:00
profiling Remove "six" library 2020-07-28 16:55:52 +00:00
quota Implement specific tracked resource count method per quota driver 2022-07-28 06:01:18 +02:00
scheduler Fix some pylint indentation warnings 2022-11-02 10:26:11 -04:00
server Use monkey_patch for neutron API server. 2022-04-28 13:34:36 +00:00
services Merge "[Trunk] Update the trunk status with the parent status" 2022-10-27 12:42:04 +00:00
tests Always create a "router_extra_attributes" register per router 2022-11-18 08:51:43 +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-05 21:18:09 +05:30
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 Merge "Fix some pylint indentation warnings" 2022-07-05 17:19:29 +00:00
policy.py Bump oslo.policy to 3.12.0 2022-05-02 12:47:16 +02:00
service.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
version.py
worker.py
wsgi.py Fix some pylint indentation warnings 2022-07-01 17:52:59 -04:00