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

general: add warnings when Layer1 topology is invalid #6611

Merged
merged 1 commit into from Feb 8, 2021

Conversation

dhalperi
Copy link
Member

@dhalperi dhalperi commented Feb 8, 2021

And other similar storage issues.

@batfish-bot
Copy link

This change is Reviewable

@codecov
Copy link

codecov bot commented Feb 8, 2021

Codecov Report

Merging #6611 (d088be1) into master (0f80e15) will decrease coverage by 0.01%.
The diff coverage is 10.52%.

@@             Coverage Diff              @@
##             master    #6611      +/-   ##
============================================
- Coverage     73.42%   73.41%   -0.02%     
+ Complexity    35831    35826       -5     
============================================
  Files          2842     2842              
  Lines        144606   144624      +18     
  Branches      17502    17503       +1     
============================================
- Hits         106177   106170       -7     
- Misses        30006    30026      +20     
- Partials       8423     8428       +5     
Impacted Files Coverage Δ Complexity Δ
...ain/java/org/batfish/storage/FileBasedStorage.java 84.50% <6.25%> (-1.70%) 249.00 <1.00> (ø)
...n/java/org/batfish/common/topology/Layer1Node.java 76.47% <33.33%> (-4.78%) 13.00 <1.00> (ø)
.../org/batfish/dataplane/rib/RouteAdvertisement.java 83.67% <0.00%> (-4.09%) 18.00% <0.00%> (-1.00%)
...java/org/batfish/dataplane/ibdp/VirtualRouter.java 90.32% <0.00%> (-0.32%) 206.00% <0.00%> (-1.00%)
...tfish/representation/cisco/CiscoConfiguration.java 86.51% <0.00%> (-0.14%) 508.00% <0.00%> (-1.00%)
.../org/batfish/dataplane/ibdp/BgpRoutingProcess.java 84.79% <0.00%> (-0.12%) 150.00% <0.00%> (-1.00%)

Copy link
Member

@arifogel arifogel 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 r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dhalperi)

a discussion (no related file):
It's been a while since I looked at logging. Is the double-logging intentional?
Is one recorded in snapshot, and the other for runtime logging?


Copy link
Member Author

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

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

a discussion (no related file):

Previously, arifogel (Ari Fogel) wrote…

It's been a while since I looked at logging. Is the double-logging intentional?
Is one recorded in snapshot, and the other for runtime logging?

Right.


@dhalperi dhalperi merged commit df462cd into batfish:master Feb 8, 2021
@dhalperi dhalperi deleted the layer1-warning branch February 8, 2021 23:40
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