-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
372f717
commit 663b2d6
Showing
2 changed files
with
34 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters