[OVN][OVN-BGP-AGENT] Expose port hosting information for virtual ports
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
In Progress
|
Medium
|
Lucas Alvares Gomes |
Bug Description
The NB BGP driver for the ovn-bgp-agent project [0] is a driver that only connects to the OVN Northbound database and get hosting information for ports using the "requested-chassis" option that is set by Neutron.
For virtual ports, this is not populated upon the port creation because the virtual ports are bound by ovn-controller when an ARP packet with the VIP is seeing in the br-int bridge. Upon seeing the ARP ovn-controller will create a Port_Binding entry in the SB DB which will be seeing by Neutron that will call the set_port_
We have two problems here:
1. First is that "requested-chassis" should not be populated by Neutron if the port is of type "virtual" because it will be ignored.
2. If not populating it in the "requested-chassis" the NB BGP driver does not have any means to get the hosting information for that port.
This LP would suggest that we stop populating the "requested-chassis" options if the port is virtual and instead add the hosting chassis information to the LSP external_ids in case of the virtual ports.
Changed in neutron: | |
importance: | Undecided → Medium |
assignee: | nobody → Lucas Alvares Gomes (lucasagomes) |
status: | New → Confirmed |
Changed in neutron: | |
status: | Confirmed → In Progress |
https:/ /review. opendev. org/c/openstack /neutron/ +/889073
I don't know why this isn't automatically added sometimes.