-
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
New template for NGFW FortiGate #1872
Conversation
New Template: fortinet_diagnose_lldprx_port_neighbor_details_port-name.textfsm
fortinet_diagnose_lldprx_port_neighbor_details_port-name.textfsm, .*, fortinet, d[[iagnose]] lldpr[[x]] p[[ort]] n[[eighbor]] d[[etails]] (\S+)
Create fortinet_diagnose_lldprx_port_neighbor_details_port-name.yml
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.
Thanks @pnpestov, just a couple of minor requets
ntc_templates/templates/fortinet_diagnose_lldprx_port_neighbor_details_port-name.textfsm
Outdated
Show resolved
Hide resolved
ntc_templates/templates/fortinet_diagnose_lldprx_port_neighbor_details_port-name.textfsm
Outdated
Show resolved
Hide resolved
ntc_templates/templates/fortinet_diagnose_lldprx_port_neighbor_details_port-name.textfsm
Show resolved
Hide resolved
...port_neighbor_details_port-name/fortinet_diagnose_lldprx_port_neighbor_details_port-name.yml
Outdated
Show resolved
Hide resolved
@jmcgill298 |
…_details_port-name.textfsm MAC -> MAC_ADDRESS Co-authored-by: Jacob McGill <9847006+jmcgill298@users.noreply.github.com>
…_details_port-name.textfsm Error Directive Co-authored-by: Jacob McGill <9847006+jmcgill298@users.noreply.github.com>
…_details_port-name.textfsm MAC -> MAC_ADDRESS Co-authored-by: Jacob McGill <9847006+jmcgill298@users.noreply.github.com>
…/fortinet_diagnose_lldprx_port_neighbor_details_port-name.yml mac -> mac_address Co-authored-by: Jacob McGill <9847006+jmcgill298@users.noreply.github.com>
@jmcgill298 |
We have provided scripts to help with this: https://github.com/networktocode/ntc-templates/blob/master/docs/dev/dev_parser.md#development-helper-scripts |
Deleting an empty line
@pnpestov I created pnpestov#1 |
Fixup yaml file
Template name in length order (longest to shortest)
ntc_templates/templates/fortinet_diagnose_lldprx_port_neighbor_details_port-name.textfsm
Outdated
Show resolved
Hide resolved
…_details_port-name.textfsm
ntc_templates/templates/fortinet_diagnose_lldprx_port_neighbor_details_port-name.textfsm
Outdated
Show resolved
Hide resolved
…_details_port-name.textfsm
@jmcgill298 |
The template for processing the command:
diagnose lldprx port neighbor details <port-name>