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

Batfish: unusableVlanShutdown should only count active interfaces #6368

Merged
merged 2 commits into from Oct 28, 2020

Conversation

dhalperi
Copy link
Member

If an interface is shutdown, it will not keep a Vlan up. (The autostate flag is
still supported below).

If an interface is shutdown, it will not keep a Vlan up. (The autostate flag is
still supported below).
@batfish-bot
Copy link

This change is Reviewable

@codecov
Copy link

codecov bot commented Oct 28, 2020

Codecov Report

Merging #6368 into master will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #6368      +/-   ##
============================================
- Coverage     72.98%   72.97%   -0.02%     
+ Complexity    35164    35155       -9     
============================================
  Files          2829     2829              
  Lines        142779   142779              
  Branches      17160    17160              
============================================
- Hits         104212   104191      -21     
- Misses        30336    30351      +15     
- Partials       8231     8237       +6     
Impacted Files Coverage Δ Complexity Δ
...atfish/src/main/java/org/batfish/main/Batfish.java 75.01% <100.00%> (+0.06%) 277.00 <0.00> (+1.00)
...rg/batfish/identifiers/StorageBasedIdResolver.java 85.29% <0.00%> (-5.89%) 22.00% <0.00%> (ø%)
.../org/batfish/dataplane/rib/RouteAdvertisement.java 83.67% <0.00%> (-4.09%) 18.00% <0.00%> (-1.00%)
...ava/org/batfish/datamodel/bgp/Layer2VniConfig.java 80.00% <0.00%> (-2.00%) 13.00% <0.00%> (-1.00%)
...col/src/main/java/org/batfish/role/InferRoles.java 89.09% <0.00%> (-1.82%) 49.00% <0.00%> (-2.00%)
...ain/java/org/batfish/storage/FileBasedStorage.java 86.19% <0.00%> (-0.68%) 249.00% <0.00%> (ø%)
...java/org/batfish/dataplane/ibdp/VirtualRouter.java 90.54% <0.00%> (-0.34%) 208.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 75.91% <0.00%> (-0.16%) 246.00% <0.00%> (-1.00%)
...tfish/representation/cisco/CiscoConfiguration.java 85.88% <0.00%> (-0.14%) 492.00% <0.00%> (-1.00%)
... and 1 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

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

a discussion (no related file):
test


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: 1 of 4 files reviewed, all discussions resolved

a discussion (no related file):

Previously, dhalperi (Dan Halperin) wrote…

test

Done.


@dhalperi dhalperi merged commit 080a0fc into batfish:master Oct 28, 2020
@dhalperi dhalperi deleted the unusable-vlan branch October 28, 2020 18:00
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