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

When using parsers for functions like compliance, & using files, select parser based on RANCID-CONTENT-TYPE #147

Open
ryanmerolle opened this issue Aug 26, 2022 · 1 comment

Comments

@ryanmerolle
Copy link

Environment

  • netutils version: 1.2.0

Proposed Functionality

Instead of forcing users to enter the parser/platform for a particular function like compliance, when files are specified for the backup and/or intended it would be great to use the RANCID-CONTENT-TYPE if found in the file.

Use Case

This is a long shot, and probably not worth the ROI, but I figured I share before letting it leave my mind.

A lot of operators backup configurations and append the RANCID-CONTENT-TYPE and/or do the same in their configuration generation so they can pass this helper to tools like batfish.

@itdependsnetworks
Copy link
Contributor

I’m open to this idea, we do something similar in schema validator. Would likely use another function to be the entry point, but makes sense

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

No branches or pull requests

2 participants