You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can make a single call to pull the DeviceGroup tree using:
frompanos.panoramaimportPanorama, DeviceGrouppano=Panorama(hn, un, pw)
dgs=DeviceGroup.refreshall(pano)
I can then cycle through all the various Objects and Policy element in each DG rather than making a bunch of API calls for each.
Similarly, I would like to pull down the Shared tree for similar ease rather than trying a bunch of API calls that may or may not be relevant. Perhaps a class Shared could be added to panos.panorama to facilitate?
frompanos.panoramaimportPanorama, Sharedpano=Panorama(hn, un, pw)
shared=Shared.refreshall(pano)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I can make a single call to pull the DeviceGroup tree using:
I can then cycle through all the various Objects and Policy element in each DG rather than making a bunch of API calls for each.
Similarly, I would like to pull down the Shared tree for similar ease rather than trying a bunch of API calls that may or may not be relevant. Perhaps a class Shared could be added to panos.panorama to facilitate?
Beta Was this translation helpful? Give feedback.
All reactions