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 IOS line parsing improvements #5833

Merged
merged 1 commit into from
May 28, 2020

Conversation

arifogel
Copy link
Member

- fix batfish#5831
- warn instead of crash for unsupported line ranges, i.e. where last
number of range end is smaller than last number of range start
- parse and ignore some other constructs
@arifogel arifogel requested review from dhalperi and ratulm May 28, 2020 20:16
@batfish-bot
Copy link

This change is Reviewable

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 5 of 5 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ratulm)

@codecov
Copy link

codecov bot commented May 28, 2020

Codecov Report

Merging #5833 into master will decrease coverage by 0.00%.
The diff coverage is 89.65%.

@@             Coverage Diff              @@
##             master    #5833      +/-   ##
============================================
- Coverage     71.90%   71.90%   -0.01%     
+ Complexity    33867    33865       -2     
============================================
  Files          2791     2791              
  Lines        139522   139527       +5     
  Branches      16752    16752              
============================================
  Hits         100328   100328              
- Misses        31313    31317       +4     
- Partials       7881     7882       +1     
Impacted Files Coverage Δ Complexity Δ
...fish/grammar/cisco/CiscoControlPlaneExtractor.java 65.28% <89.65%> (+0.06%) 1190.00 <7.00> (+2.00)
.../datamodel/routing_policy/statement/Statement.java 72.72% <0.00%> (-9.10%) 6.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%)
...tfish/representation/cisco/CiscoConfiguration.java 85.73% <0.00%> (-0.14%) 491.00% <0.00%> (-1.00%)

@arifogel arifogel merged commit 8f21f63 into batfish:master May 28, 2020
@arifogel arifogel deleted the ari-ios-line-parsing branch May 28, 2020 20:30
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.

Multiple VTY Line Entries Cause Import Failure
3 participants