-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add support for cisco static nat #1
Comments
Hi, sure, happy to add. Could you share a template to work on as a starting point. |
I don't have anything for a template yet. I found your repo about 3 hours ago and still trying to figure out how I can contribute to this. I have a few more commands that I'd like to parse via this. |
I have started with something but I'm at a loss at the moment of why the template:
output: [
[
{
"global_ip": "3.3.4.4",
"global_port": 443,
"inside_ip": "192.168.1.10",
"inside_port": 443,
"location": "inside",
"protocol": "tcp",
"vrf": "VRF1000"
}
]
] Any suggestions here? |
I have also tried writing a template like
And, this is resulting in an empty result. The groups work when I run them individually but ideally all the results should be returned in a combined result. |
3rd times a charm!!! I got everything to work but as individual ttp commands. Ideally, if these can be run via a single template, that would be much easier to parse. I have attached all the files that are working here along with the command which returns the result for them I hope this is helpful for you to build the template. |
Added template - https://dmulyalin.github.io/ttp_templates/ttp_templates/platform.cisco_ios_show_running_config_pipe_include_source_static/ Also created contribute guide - https://dmulyalin.github.io/ttp_templates/contribute/ Please check above template and let me know your thoughts. |
I'll try this today and let you know |
The template seems to be working. I'll integrate it into my app and recheck the results |
This is working as expected, closing |
After updating the latest code from the master branch for both
cc @dmulyalin |
Thank you for raising this problem, that was a typo in "cisco_ios_show_running_config_pipe_include_source_static" template, instead of INT it should be DIGIT, fix is in 0.1.4 |
Command
Sample output
The text was updated successfully, but these errors were encountered: