bagpipe driver: wrong RTs passed to agent on BGPVPN update or association updates in the case of multiple associations

Bug #1522072 reported by Thomas Morin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-bgpvpn
Fix Released
Medium
Thomas Morin

Bug Description

The following seems to not be addressed in the bagpipe driver in the case where multiple associations are made between a Network and multiple BGPVPNs.

Updating a said BGPVPN (BGPVPN A):
- what is done now: for all the networks N associated with BGPVPN A send an RPC for Network N with updated RTs based only on BGPVPN A
- what should be done: send updated RTs based on all the BGPVPNs to which network N is associated

Deleting a said BGPVPN (BGPVPN A):
- what is done now: send an RPC for Network N with no RTs
- what should be done: send updated RTs based on all the BGPVPNs to which network N is associated (excluding the BGVPN that was just deleted)

Creating a said association between BGPVPN A and network N:
- what is done now: send an RPC for Network N with updated RTs based only on BGPVPN A
- what should be done: send updated RTs based on all the BGPVPNs to which network N is now associated

Deleting a said association between BGPVPN A and network N:
- what is done now: send an RPC for Network N with no RTs
- what should be done: send updated RTs based on all the BGPVPNs to which network N is now associated

A related issue is that the create_bgpvpn, delete_bgpvpn, and update_bgpvpn RPCs are:
- misnamed (they are related to a network)
- duplicated, it seems we only need 'update'
Renaming them would be ideal, but requires coordinated changes between networking-bgpvpn and networking-bagpipe.
We should at least document them better, and mark the useless ones as obsolete.

Tags: bagpipe
Revision history for this message
Thomas Morin (tmmorin-orange) wrote :

Importance 'medium' because multiple associations between a network and a BGPVPN is not the most critical use case.

Changed in bgpvpn:
milestone: none → next
tags: added: bagpipe
Changed in bgpvpn:
assignee: nobody → Thomas Morin (tmmorin-orange)
Changed in bgpvpn:
milestone: 4.0.0 → 5.0.0
Revision history for this message
Thomas Morin (tmmorin-orange) wrote :

Fixed in Queens, thanks to moving to OVO-based RPCs.

Changed in bgpvpn:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.