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

Use multiple ttp templates with multiple commands #189

Open
hanunes opened this issue Sep 14, 2022 · 4 comments
Open

Use multiple ttp templates with multiple commands #189

hanunes opened this issue Sep 14, 2022 · 4 comments

Comments

@hanunes
Copy link

hanunes commented Sep 14, 2022

At the moment it's not possible to pass an array of commands to getconfig endpoint, and match multiple ttp templates to the output, meaning that you can't effectively parse data correctly. When you try to do this, only the first command get's parsed correctly.

Would this be too hard to implement?

@tbotnz
Copy link
Owner

tbotnz commented Sep 14, 2022

For now the best thing to do would be use a netpalm script inside netpalm or a service and trigger multiple calls via the netpalm manager class

@hanunes
Copy link
Author

hanunes commented Sep 15, 2022

Would these multiple calls trigger multiple device connections? Cause I'd love the ability of taking all the output on just one connection.

@hanunes
Copy link
Author

hanunes commented Sep 16, 2022

Created PR #190

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