Skip to content
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 TTP Parser with local ttp templates, with overrides in git repo #274

Closed
jeffkala opened this issue Nov 27, 2024 · 1 comment
Closed
Assignees

Comments

@jeffkala
Copy link
Contributor

Environment

  • Nautobot version: 2.3+
  • nautobot-device-onboarding version: next

Proposed Functionality

All for the yaml file to support ttp parsers. The idea would be to have the following.

Add parser options for ttp. The ttp parser should have the following lookups.

  1. Look in the core source code for a parsers/ttp directory, where the template should be named <network_driver>_<command>.ttp.
  2. If the file is not found based on this lookup, search the Gitrepo command_mappers/ttp/<network_driver>_<command>.ttp.
  3. Add TTP parser (manually) meaning don't use the use_ttp feature in netmiko. This will follow the same pattern as textfsm does today.

Optionally:
It may make sense during this same feature request to also add parsers/textfsm in order to support textfsm template overrides.

Use Case

TTP is a parsing option that is growing in popularity. It may offer easier ways to extend this app to support additional platforms.

@jeffkala
Copy link
Contributor Author

Done in #275

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants