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

Cisco interface parsing: allow secondary HSRP address #4186

Merged
merged 1 commit into from
Jul 3, 2019

Conversation

progwriter
Copy link
Contributor

No description provided.

@progwriter progwriter requested a review from arifogel July 3, 2019 05:57
@batfish-bot
Copy link

This change is Reviewable

@codecov
Copy link

codecov bot commented Jul 3, 2019

Codecov Report

Merging #4186 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4186      +/-   ##
============================================
- Coverage     75.32%   75.31%   -0.01%     
+ Complexity    24947    24944       -3     
============================================
  Files          2046     2046              
  Lines         99604    99604              
  Branches      11839    11839              
============================================
- Hits          75022    75016       -6     
- Misses        19209    19212       +3     
- Partials       5373     5376       +3
Impacted Files Coverage Δ Complexity Δ
...java/org/batfish/symbolic/state/EdgeStateExpr.java 80.95% <0%> (-4.77%) 10% <0%> (-1%)
...rc/main/java/org/batfish/bddreachability/Edge.java 67.64% <0%> (-2.95%) 11% <0%> (-1%)
...src/main/java/org/batfish/coordinator/PoolMgr.java 64.04% <0%> (-1.13%) 15% <0%> (-1%)
...tfish/representation/cisco/CiscoConfiguration.java 83.96% <0%> (-0.13%) 530% <0%> (-1%)

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

a discussion (no related file):
What impact does this have? I see no data model changes nor tests. Do we not process HSRP currently? Are you ignoring distinction between primary and secondary HSRP addresses?


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

a discussion (no related file):

Previously, arifogel (Ari Fogel) wrote…

What impact does this have? I see no data model changes nor tests. Do we not process HSRP currently? Are you ignoring distinction between primary and secondary HSRP addresses?

The extractor has no logic of any if_hsrp stanzas; we only handle standby stanzas. Cursory search suggests it is an ios/nxos difference.

Happy to flesh out extraction/conversion, but best in separate PR.


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.

:lgtm:

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

@progwriter progwriter merged commit 25c0f0f into batfish:master Jul 3, 2019
@progwriter progwriter deleted the hsrp-secondary branch July 3, 2019 20:44
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