-
Notifications
You must be signed in to change notification settings - Fork 229
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
IOS-XR: honor ipv4 acl sequence numbers out of order #7798
Conversation
Supports differential changes to ACLs.
Codecov Report
@@ Coverage Diff @@
## master #7798 +/- ##
============================================
- Coverage 73.93% 73.92% -0.01%
+ Complexity 42062 42061 -1
============================================
Files 3304 3304
Lines 165738 165747 +9
Branches 19857 19858 +1
============================================
- Hits 122531 122526 -5
- Misses 33692 33703 +11
- Partials 9515 9518 +3
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 9 of 9 files at r1, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @sfraint)
projects/batfish/src/main/java/org/batfish/grammar/cisco_xr/CiscoXrControlPlaneExtractor.java, line 3630 at r1 (raw file):
} long seq = ctx.num != null ? toLong(ctx.num) : _currentIpv4Acl.getNextSeq();
So, if we have lines
ip acl FOO
10 permit ..
20 permit ...
followed by
ip acl FOO
5 permit ...
permit ...
The last line will get sequence number 25 (not 15)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status:
complete! all files reviewed, all discussions resolved (waiting on @sfraint)
projects/batfish/src/main/java/org/batfish/grammar/cisco_xr/CiscoXrControlPlaneExtractor.java, line 3630 at r1 (raw file):
Previously, ratulm wrote…
So, if we have lines
ip acl FOO 10 permit .. 20 permit ...
followed by
ip acl FOO 5 permit ... permit ...
The last line will get sequence number 25 (not 15)?
Right.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status:
complete! all files reviewed, all discussions resolved
projects/batfish/src/main/java/org/batfish/grammar/cisco_xr/CiscoXrControlPlaneExtractor.java, line 3630 at r1 (raw file):
Previously, dhalperi (Dan Halperin) wrote…
Right.
well, no it will get 30. But same thing holds.
Supports differential changes to ACLs.