9 Commits

Author SHA1 Message Date
Luis Tomas Bolivar
cb978dc244 Add a new driver that uses NB DB instead of SB DB
This patch creates a new driver using NB DB information instead of
SB DB. This has 2 objective:
- Alleviate the stress on big scale environment due to many
  connections to the SB DBs.
- Being more future proof as content generated in the SB DBs based
  on NB DB information is subject to change. For example we were
  already adviced that the information we are currently using for
  ovn LB events at the SB DB is probably going to change soon.

Depends-On: https://review.opendev.org/c/openstack/ovsdbapp/+/873853
Change-Id: Ib6bf077ce1e354652f5b728bd7192c762d3d071b
2023-04-10 09:28:44 +02:00
Trygve Vea
c631c7d084 Minor rename of stretched l2 driver to be in sync with docs
The symbol is documented to be ovn_bgp_stretched_l2_driver, while
it in setup.cfg has been installed as ovn_stretched_l2_bgp_driver.
This patch makes the symbol consistent with the documentation.

Change-Id: I5691779d0f465b475a5ea2335ed4323591a1d8f0
2023-03-01 14:49:14 +01:00
Luca Czesla
d59c61caa5 Add new driver ovn_stretched_l2_bgp_driver
This driver allows to announce tenant networks with
an address scope via the virtual router IP.

For this to work, all routers in the respective L2
network must be reachable to each other and the
ovn-bgp-agent/frr needs an IP in this network to
talk to its BGP peer.

The following changes have been made:
- To filter which networks are announced via which
  agent/BGP session, we added a filter on the
  OpenStack address scope
- Networks are announced instead of VM IPs
- Add SubnetRouterUpdateEvent to handle updates of
  lrp ports

Depends-on: https://review.opendev.org/c/openstack/neutron/+/861719

Change-Id: I6e48c7e056ba2101ad670ab54c96e072459c5e65
2023-01-10 11:19:41 +00:00
Thomas Goirand
fb1d984b42 Add list_opts() function and define entry point
This patch makes it possible to use oslo-config-generator, which was not
possible without the correct oslo.config entry point.

Change-Id: I5174fb7a8e10b2f8a833bca5c54b4d05b0e91ad0
2022-11-03 14:46:54 +01:00
Lucas Alvares Gomes
5f26dda1e6 Add privsep rootwrap configuration support and filters
This patch adds the ability to configure rootwrap for ovn-bgp-agent. It
creates the entrypoints, configuration variables as well as some sample
configurations under etc/ that will be later used by DevStack to
configure the environment.

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Change-Id: I8a0d04374e67e46f0731f4d5bc0520e43a63e879
2022-02-22 11:03:48 +00:00
Lucas Alvares Gomes
0da4fbb8ee Change the entrypoint name to ovn-bgp-agent
We refer to this agent as "ovn-bgp-agent" everywhere I think the
entrypoint to it should be the same instead of "bgp-agent".

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Change-Id: I483afcb830585039323e9b1f04c59d682876b50f
2021-10-15 15:52:07 +01:00
Luis Tomas Bolivar
e3afbb0aba Add initial support for EVPN
Change-Id: I8c6ffc192158b96ea3186501ae6579bd2934d37b
2021-09-03 10:15:49 +02:00
Luis Tomas Bolivar
f5ef3c8f31 Initial support for BGP
Change-Id: Ieed45b80e2860c94a42a8d5d16f5dfe7b515bf2c
2021-09-01 11:29:04 +02:00
Lucas Alvares Gomes
224a19994e Initial commit
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Change-Id: I7de2acf50ab009a3a45b90b977c4c7d801c491b5
2021-08-27 16:56:11 +01:00