-
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
PAN: destination NAT #5040
PAN: destination NAT #5040
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 9 files reviewed, 1 unresolved discussion (waiting on @corinaminer, @progwriter, and @sfraint)
a discussion (no related file):
note: after #5039
Codecov Report
@@ Coverage Diff @@
## master #5040 +/- ##
===========================================
- Coverage 76.8% 76.7% -0.1%
+ Complexity 30433 30308 -125
===========================================
Files 2414 2414
Lines 117031 116638 -393
Branches 13887 13768 -119
===========================================
- Hits 89883 89469 -414
- Misses 20360 20390 +30
+ Partials 6788 6779 -9
|
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 1 of 5 files at r3, 3 of 5 files at r5.
Reviewable status: complete! all files reviewed, all discussions resolved (waiting on @corinaminer)
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 4 of 9 files at r2, 1 of 5 files at r3, 1 of 5 files at r5.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @sfraint)
projects/batfish/src/main/java/org/batfish/representation/palo_alto/PaloAltoConfiguration.java, line 1354 at r5 (raw file):
DestinationTranslation destTranslation = rule.getDestinationTranslation(); Zone toZone = vsys.getZones().get(rule.getTo()); if (destTranslation == null || toZone == null) {
recommend replacing toZone == null
with checkNatRuleValid(rule, _w)
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 1 of 5 files at r5, 1 of 1 files at r6.
Reviewable status: complete! all files reviewed, all discussions resolved
Convert Palo Alto destination NAT to VI model.