-
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: Convert route-map matching for static NAT #6573
Conversation
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: 0 of 6 files reviewed, all discussions resolved (waiting on @progwriter)
projects/batfish/src/main/java/org/batfish/representation/cisco/CiscoIosDynamicNat.java, line 98 at r1 (raw file):
} /** Route-map specifying matching traffic (mutually exclusive with {@link #getAclName() ACL}) */
fyi, this isn't gone, just moved it into CiscoIosNat since both children can have route-maps now.
projects/batfish/src/test/java/org/batfish/grammar/cisco/CiscoGrammarTest.java, line 5804 at r1 (raw file):
Interface outside = c.getAllInterfaces().get(outsideIntf); assertThat(outside.getIncomingTransformation(), notNullValue()); assertThat(outside.getOutgoingTransformation(), notNullValue());
unnecessary because both transformations are further tested down the line (and can't pass those tests if null).
Codecov Report
@@ Coverage Diff @@
## master #6573 +/- ##
============================================
- Coverage 73.40% 73.39% -0.01%
Complexity 35741 35741
============================================
Files 2837 2837
Lines 144244 144272 +28
Branches 17446 17455 +9
============================================
+ Hits 105877 105885 +8
- Misses 29976 29988 +12
- Partials 8391 8399 +8
|
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 6 of 6 files at r1.
Reviewable status:complete! all files reviewed, all discussions resolved
projects/batfish/src/main/java/org/batfish/representation/cisco/CiscoIosNat.java, line 26 at r1 (raw file):
private RuleAction _action; private boolean _addRoute; @Nullable private String _routeMap;
nit: I would have made this protected to not call the getter each time, but not a blocker
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/representation/cisco/CiscoIosNat.java, line 26 at r1 (raw file):
Previously, progwriter (Victor Heorhiadi) wrote…
nit: I would have made this protected to not call the getter each time, but not a blocker
yeahh it's kind of annoying, but i figured i'd follow the pattern set by the other fields
No description provided.