I'm going to use device's tags to have another dimension beside of template/device groups.
I've assigned a tag to subset of devices (using Panorama>Managed devices WebUI), but I'm really lost how I can get access/filter devices by this tag in CLI/API (except WebUI - search/filter them on or when selecting scope to push).
When I'm using Panorama XML API to get all connected devices, I didn't get any mention of the tag in response text.
I've also looked into CLI commands that will show the tag assigned, but found only commands related to traffic tagging, not device tags.
Any idea how to get this done on CLI/API?
P.S. Panorama running PanOS 10.0.7