11 Commits

Author SHA1 Message Date
Jakub Libosvar
e967221952 Add netaddr as a requirement
Currently netaddr is installed as part of the neutron-lib but it's safer
to explicitly list the requirement since the library is imported
directly.

Change-Id: I1cce4aee1109071e442c8df30d7f57714a9b92be
2024-01-12 14:58:37 +00:00
Luis Tomas Bolivar
938cdc2643 Add initial support for local OVN cluster instead of kernel-networking
This patch adds support for configuring a local (in-node) OVN cluster
to do the actions that were being done by the kernel networking.
This way, things like ovs-dpdk or HWOL could be supported.

This also includes adaptation to the tox.ini coverage so that
test files are not considered. This was making coveraged artificially
higher that it was, so this patch is also adjusting the minimun
coverage accordingly.

Missing items to be handled in follow up patch sets:
- Documentation
- Support for IPv6
- Support for BFD
- Support for vlan provider networks

Change-Id: Ieff19d88a22d7267bd58f8d1d4ecbcdc668c6bfb
2023-11-14 15:45:59 +01:00
Luis Tomas Bolivar
1f87eda8a3 Revert "Bump ovsdbapp dependency"
This reverts commit 9dcede6d92464e10c2a313d5df8fb7c577e2a326.

Reason for revert: This does not meet the current uppper-constraints

Change-Id: I565a2774bd9814584c6d2cb77e7cb946718de8ac
2023-04-28 10:55:03 +00:00
Luis Tomas Bolivar
9dcede6d92 Bump ovsdbapp dependency
The new NB driver depends on a new function from ovsdbapp that
is only available since 2.3.0 release.

Depends-On: https://review.opendev.org/c/openstack/releases/+/881135
Change-Id: I5439658446ff354ca213326c50ff2e108b5c9488
2023-04-27 09:33:54 +02:00
Luis Tomas Bolivar
0a666bb10c Add retry mechanism for some pyroute actions
pyroute 0.6.6 introduced a new exception NetlinkDumpInterrupted which
is raised when NLM_F_DUMP_INTR is set in the flags during dump of
devices.
The suggestion from pyroute developers is to retry in case of this
exception (see [1]).

For reference, this is how it was handled in neutron side: [2]

[1] https://github.com/svinota/pyroute2/issues/874#issuecomment-1063139555
[2] https://review.opendev.org/c/openstack/neutron/+/833015

Change-Id: I6b5604266f29a585bb1e0f8e605ee5df523b5951
2023-02-09 14:27:30 +01:00
Luis Tomas Bolivar
44f5fca0cb Add oslo.rootwrap requirements
Change-Id: I8956b4c79efbace08b23578365b17ec266efd9c2
2022-03-09 08:53:47 +01:00
Daniel Alvarez Sanchez
0762a31e8e Lower the neutron-lib version requirement
The OpenStack Wallaby release ships neutron-lib 2.10.1 at
the moment. There's no reason for us to depend on a newer
version and this way the ovn-bgp-agent can run on Wallaby
as well.

Signed-off-by: Daniel Alvarez <dalvarez@redhat.com>
Change-Id: If9af96c6c7c30887e864c715ae87d7e107576163
2022-01-13 10:38:01 +01:00
Luis Tomas Bolivar
05e3d1bff4 Add privsep support
Change-Id: Iab2cb051807cbfa52f43604c93905a8d15158d44
2021-09-07 08:28:52 +02:00
Luis Tomas Bolivar
4d7ef570c7 Ensure InvalidIP exceptions are handled properly
Change-Id: I31033e6e804bc2b56abdf4704deb04c55a6ec39c
2021-09-03 10:33:08 +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