Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VirtualRouter: uniquify export BGP Routes #6123

Merged
merged 1 commit into from Aug 24, 2020

Conversation

dhalperi
Copy link
Member

The process of exporting a BGP route changes the properties, so routes
that are distinct going in may be identical coming out. Before queueing
the routes for import on the neighbor, uniquify them.

On some large networks, this results in up to 100x fewer queued routes.

The process of exporting a BGP route changes the properties, so routes
that are distinct going in may be identical coming out. Before queueing
the routes for import on the neighbor, uniquify them.

On some large networks, this results in up to 100x fewer queued routes.
@batfish-bot
Copy link

This change is Reviewable

@codecov
Copy link

codecov bot commented Aug 22, 2020

Codecov Report

Merging #6123 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #6123      +/-   ##
============================================
- Coverage     72.71%   72.71%   -0.01%     
+ Complexity    34656    34654       -2     
============================================
  Files          2815     2815              
  Lines        141351   141392      +41     
  Branches      16971    16975       +4     
============================================
+ Hits         102788   102815      +27     
- Misses        30407    30413       +6     
- Partials       8156     8164       +8     
Impacted Files Coverage Δ Complexity Δ
...java/org/batfish/dataplane/ibdp/VirtualRouter.java 87.80% <100.00%> (-0.20%) 263.00 <0.00> (-1.00)
...g/batfish/datamodel/flow/IncomingSessionScope.java 84.61% <0.00%> (-15.39%) 7.00% <0.00%> (-1.00%)
.../org/batfish/dataplane/rib/RouteAdvertisement.java 84.78% <0.00%> (-4.35%) 16.00% <0.00%> (-1.00%)
...c/main/java/org/batfish/dataplane/rib/RibTree.java 89.58% <0.00%> (-4.17%) 27.00% <0.00%> (-1.00%)
...col/src/main/java/org/batfish/role/InferRoles.java 89.54% <0.00%> (-1.37%) 50.00% <0.00%> (-1.00%)
...src/main/java/org/batfish/coordinator/PoolMgr.java 59.25% <0.00%> (-1.24%) 15.00% <0.00%> (-1.00%)
...a/org/batfish/representation/aws/LoadBalancer.java 82.18% <0.00%> (-0.32%) 70.00% <0.00%> (-1.00%)
...src/main/java/org/batfish/coordinator/WorkMgr.java 77.41% <0.00%> (-0.14%) 284.00% <0.00%> (-1.00%)
...h/representation/palo_alto/ApplicationBuiltIn.java 100.00% <0.00%> (ø) 2.00% <0.00%> (ø%)
... and 3 more

Copy link
Contributor

@progwriter progwriter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@dhalperi dhalperi merged commit 23823cc into batfish:master Aug 24, 2020
@dhalperi dhalperi deleted the routing-distinct branch August 24, 2020 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants