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
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
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
This patch makes it possible to use oslo-config-generator, which was not
possible without the correct oslo.config entry point.
Change-Id: I5174fb7a8e10b2f8a833bca5c54b4d05b0e91ad0
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
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