Comment 14 for bug 1464016

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/12034
Committed: http://github.org/Juniper/contrail-controller/commit/e2eeebcd7fac812def9e7b89e102aadc8792e169
Submitter: Zuul
Branch: master

commit e2eeebcd7fac812def9e7b89e102aadc8792e169
Author: Ananth Suryanarayana <email address hidden>
Date: Thu Jun 25 11:38:38 2015 -0700

Partial-Bug: 1464016 Add bgp routes with unique RDs for all bgp peers

1. Each BGP peer sends its own route : n_peers_
2. Each Agent sends its own route per instance: nagents * ninstances
3. Per agent route, one route is injected by 1/2 bgp peers with same rd
: nagents * ninstances
4. Per agent route, one route is injected by 1/2 bgp peers with different rds
: nagents * ninstances * n_peers_/2

Sum: n_peers_ + nagents * ninstances * (1 + 1 + n_peers_/2)
Expected: nroutes * (n_peers_ + nagents * ninstances * (2 + n_peers_/2))

For inet6, for part 1, half peers ended up with the same rd, thus causing the
table to have only n_peers_/2 bgp routes. This same/different rd applies only
to part 3 and 4.

Change-Id: I2904c615e175f16c6c20f48f75a4fb509b56320c