← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2021968] [NEW] [OVN][OVN-BGP-AGENT] Expose subnet CIDR information on NB DB

 

Public bug reported:

In ML2/OVN, the OVN equivalent of a Neutron Subnet is a DHCP_Option
entry in the OVN Northbound database but, when DHCP is disabled for a
Neutron Subnet no entry is created.

Projects like ovn-bgp-agent does not talk directly to Neutron, instead
it gets information from the OVN Northbound database that is populated
by ML2/OVN.

For the multi-cloud connect with BGP work, the ovn-bgp-agent needs to
know the CIDR of the provider network but, if DHCP is disabled we do not
have that information at handy as the DHCP_Option entry is not present.

This LP is addressing that problem and proposing storing the subnet's
CIDRs in the Logical_Switch table (the Neutron Network equivalent in
OVN) external_ids column. With that, projects such ovn-bgp-agent can
consume this information while doing it's configuration.

** Affects: neutron
     Importance: Medium
     Assignee: Lucas Alvares Gomes (lucasagomes)
         Status: Confirmed


** Tags: ovn

** Changed in: neutron
       Status: New => Confirmed

** Changed in: neutron
     Assignee: (unassigned) => Lucas Alvares Gomes (lucasagomes)

** Changed in: neutron
   Importance: Undecided => Medium

** Tags added: ovn

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2021968

Title:
  [OVN][OVN-BGP-AGENT] Expose subnet CIDR information on NB DB

Status in neutron:
  Confirmed

Bug description:
  In ML2/OVN, the OVN equivalent of a Neutron Subnet is a DHCP_Option
  entry in the OVN Northbound database but, when DHCP is disabled for a
  Neutron Subnet no entry is created.

  Projects like ovn-bgp-agent does not talk directly to Neutron, instead
  it gets information from the OVN Northbound database that is populated
  by ML2/OVN.

  For the multi-cloud connect with BGP work, the ovn-bgp-agent needs to
  know the CIDR of the provider network but, if DHCP is disabled we do
  not have that information at handy as the DHCP_Option entry is not
  present.

  This LP is addressing that problem and proposing storing the subnet's
  CIDRs in the Logical_Switch table (the Neutron Network equivalent in
  OVN) external_ids column. With that, projects such ovn-bgp-agent can
  consume this information while doing it's configuration.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2021968/+subscriptions