The code does not filter duplicates: e.g. an RT that is both
in route_targets and import_targets will be present twice in the
RPCs between neutron server and agents, and agents will also pass
this RT twice to bagpipe-bgp.
This patch fix avoid duplicated RTs in compiled Import Targets and
Export Targets lists.
Reviewed: https:/ /review. openstack. org/513670 /git.openstack. org/cgit/ openstack/ networking- bgpvpn/ commit/ ?id=72119ca9728 d9bd7a6094d0377 f57c4930db6267
Committed: https:/
Submitter: Zuul
Branch: master
commit 72119ca9728d9bd 7a6094d0377f57c 4930db6267
Author: Cédric Savignan <email address hidden>
Date: Fri Oct 20 10:58:18 2017 +0200
Filter duplicated RTs in compiled list
The code does not filter duplicates: e.g. an RT that is both
in route_targets and import_targets will be present twice in the
RPCs between neutron server and agents, and agents will also pass
this RT twice to bagpipe-bgp.
This patch fix avoid duplicated RTs in compiled Import Targets and
Export Targets lists.
Change-Id: Ia5b76235c75f00 5e3c53f7cddc8e0 85376f5ebe1
Closes-Bug: 1719589