Lucas Alvares Gomes 7b0fccfb5a Refactor some methods from OvsdbSbOvnIdl + unittests
This patch also refactor a few things in the OvsdbSbOvnIdl class:

*  is_provider_network() now returns a boolean, as expected by is_*
   methods.

* The methods get_ports_on_datapath() and _get_ports_by_datapath() were
  merged since they were the same thing.

* The methods get_evpn_info_from_port() and get_evpn_info() are now
  merged since they were the same thing.

* The methods get_evpn_info_from_crlrp_port_name() and
  get_evpn_info_from_lrp_port_name() were merged into
  get_evpn_info_from_port_name()

* get_ip_from_port_peer() now can raise PortNotFound

This patch also adds unittests for the methods in the OvsdbSbOvnIdl class.

Story: 2009165
Task: 43262

Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
Change-Id: I3d1e3b20727227f32d094deedc897d034ab6f7f6
2021-09-10 12:08:00 +01:00
2021-09-03 10:15:49 +02:00
2021-08-27 16:56:11 +01:00
2021-09-02 11:07:44 +01:00
2021-08-27 16:56:11 +01:00
2021-08-27 16:56:11 +01:00
2021-08-27 13:57:53 +00:00
2021-08-27 16:56:11 +01:00
2021-08-27 16:56:11 +01:00
2021-08-27 16:56:11 +01:00
2021-08-27 16:56:11 +01:00
2021-08-27 16:56:11 +01:00
2021-08-27 16:56:11 +01:00
2021-09-03 10:15:49 +02:00
2021-09-07 08:28:52 +02:00
2021-09-03 10:15:49 +02:00
2021-08-27 16:56:11 +01:00
2021-08-27 16:56:11 +01:00
2021-09-01 11:29:04 +02:00

OVN BGP Agent

The OVN BGP Agent allows to expose VMs/Containers through BGP on OVN

Features

  • Expose VMs with FIPs or on Provider Networks through BGP on OVN environments.
  • Expose VMs on Tenant Networks through EVPN on OVN environments.
Description
OVN BGP Agent exposes VMs/containers through BGP on OVN environments.
Readme 6.5 MiB
Languages
Python 99%
Shell 0.7%
Jinja 0.3%