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
Let's say that for example I want to run' show system info' against all of them and looping over each object works:
for fw in firewalls:
ET.dump(fw.op('show system info'))
However what will be the best way to wok with a single firewall or list of firewalls, matching serial numbers list? Is this the best aproach or am I doing something wrong?
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 would like to run certain ops command to all or to a subset of the firewalls connected to Panorama.
I first get all connected firewalls:
firewalls = panorama1.refresh_devices(only_connected=True, expand_vsys=False, include_device_groups=False)
And then I add them as Panorama children:
Let's say that for example I want to run' show system info' against all of them and looping over each object works:
However what will be the best way to wok with a single firewall or list of firewalls, matching serial numbers list? Is this the best aproach or am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions