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

OSPF: improvements to inter-area route propagation #6156

Merged
merged 3 commits into from
Sep 1, 2020

Conversation

progwriter
Copy link
Contributor

  • Generate IA routes on initialization and import, as opposed to on export. This allows for better loop prevention by having a non-routing version of intra-area route as IA route in IA RIB.
  • Implement split horizon rules for IA route propagation. Also helps loop prevention

* Generate IA routes on initialization and import, as opposed to on export. This allows for better loop prevention by having a non-routing version of intra-area route as IA route in IA RIB.
* Implement split horizon rules for IA route propagation. Also helps loop prevention
@batfish-bot
Copy link

This change is Reviewable

Victor Heorhiadi added 2 commits August 31, 2020 17:05
@codecov
Copy link

codecov bot commented Sep 1, 2020

Codecov Report

Merging #6156 into master will decrease coverage by 0.01%.
The diff coverage is 95.83%.

@@             Coverage Diff              @@
##             master    #6156      +/-   ##
============================================
- Coverage     72.78%   72.77%   -0.02%     
+ Complexity    34718    34709       -9     
============================================
  Files          2816     2818       +2     
  Lines        141624   141646      +22     
  Branches      16985    16986       +1     
============================================
- Hits         103082   103080       -2     
- Misses        30386    30401      +15     
- Partials       8156     8165       +9     
Impacted Files Coverage Δ Complexity Δ
...org/batfish/dataplane/ibdp/OspfRoutingProcess.java 88.49% <95.83%> (-0.33%) 166.00 <10.00> (-4.00)
...rg/batfish/identifiers/StorageBasedIdResolver.java 88.88% <0.00%> (-4.45%) 27.00% <0.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%)
...ain/java/org/batfish/storage/FileBasedStorage.java 86.36% <0.00%> (-0.91%) 259.00% <0.00%> (ø%)
...r/src/main/java/org/batfish/minesweeper/Graph.java 80.11% <0.00%> (-0.47%) 199.00% <0.00%> (-8.00%)
...a/org/batfish/representation/aws/LoadBalancer.java 82.18% <0.00%> (-0.32%) 70.00% <0.00%> (-1.00%)
... and 6 more

Copy link
Member

@dhalperi dhalperi left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r2.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @progwriter)


projects/batfish/src/test/java/org/batfish/dataplane/ibdp/OspfRoutingProcessTest.java, line 564 at r2 (raw file):

  @Test
  public void testConvertAndFilterIntraAreaRoutesToPropagate() {

I assume you've convinced yourself there's no important coverage lost?

Copy link
Contributor Author

@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.

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved


projects/batfish/src/test/java/org/batfish/dataplane/ibdp/OspfRoutingProcessTest.java, line 564 at r2 (raw file):

Previously, dhalperi (Dan Halperin) wrote…

I assume you've convinced yourself there's no important coverage lost?

yes, should be covered by testFilterInterAreaRoutesToPropagateAtABR since that still holds the required logic

@progwriter progwriter merged commit 5ed44ac into batfish:master Sep 1, 2020
@progwriter progwriter deleted the fix-ospf-attempt1 branch September 1, 2020 03:41
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.

3 participants