-
Notifications
You must be signed in to change notification settings - Fork 726
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
fix1037_paloalto_panos_show_running_nat-policy #1040
fix1037_paloalto_panos_show_running_nat-policy #1040
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.
I have modified the code for DESTINATION as well. But Still it cant able to process data if there is list in the fields.
Destination : List of Subnets or List of IPs
Source: List of Subnets or List of IPs
From: List
To: List
"Rule 4 Nat-ID 4; index: 8" { source can be below:
"Rule 4 Nat-ID 4; index: 8" { |
@alihyder-s ok so you are saying here is another example where the destination is a list. For now we just capture the lists as a string, to keep it backwards compatible, also seems PaloAlto invented there own list format with no commas. I will add another test for source and destination lists.
|
ebd7c48
to
0490777
Compare
@alihyder-s please check updated PR - added new example and test. |
Flaky pipeline ? Failed only in Python 3.8 |
- add 2 more raw examples
0490777
to
45d3018
Compare
ntc_templates/templates/paloalto_panos_show_running_nat-policy.textfsm
Outdated
Show resolved
Hide resolved
* fix1037_paloalto_panos_show_running_nat-policy - add 2 more raw examples * Update ntc_templates/templates/paloalto_panos_show_running_nat-policy.textfsm Co-authored-by: Pieter E Smit <[email protected]> Co-authored-by: Jacob McGill <[email protected]>
* fix1037_paloalto_panos_show_running_nat-policy - add 2 more raw examples * Update ntc_templates/templates/paloalto_panos_show_running_nat-policy.textfsm Co-authored-by: Pieter E Smit <[email protected]> Co-authored-by: Jacob McGill <[email protected]>
ISSUE TYPE
COMPONENT
ntc_templates/templates/paloalto_panos_show_running_nat-policy.textfsm
SUMMARY
SOURCE changed form single IP to list
add -> Error
Fixes #1037