Replies: 2 comments 1 reply
-
🎉 Thanks for opening your first issue here! Welcome to the community! |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have an idea for how this can be done, and it's related to the module I want to add in #219. I used this to create a role called onboard, which could incorporate adding a device to Panorama quite easily. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the collection does not allow some administrative tasks in Panorama like adding devices to device groups or template groups. This would be helpful when onboarding a device or removing a device from inventory.
It would be nice if there was a panorama module to add x serial number to device group/templatestack or add x serial number to log collector.
Here is a concept layout for the module:
Currently we are making API calls with ansible to get the template stack
/restapi/v10.0/Panorama/TemplateStacks?name=somegroup
, then parsing the output to either add a serial or remove a serial number from that location. Having a module doing this would remove some logic flows on the end user. Currently parsing the output and running through jinja to rebuild the JSON for the PUT is okay but probably not efficient.Thank you for the time and considering this.
Beta Was this translation helpful? Give feedback.
All reactions