Hey guys, Hope all of you are doing well. I recently started using the panos python module to interact and automate some of the things I'm doing on Panorama GUI. I wanted to know how to add a administrator account using the device.administrator class. This is the code I have written as of now: from panos . panorama import Panorama from panos import objects from panos import device # connect to panorama pano = Panorama ( 'ip_addr' , 'name' , 'password' ) myDevice = device . Administrator ( name = 'testcase' , authentication_profile = 'organization_based' , device_admin_read_only = True , password_hash = 'adminaccounttest1' ) pano . add ( myDevice ) #pano.find(myDevice) myDevice . create () pano . commit ( 'password' ) Thanks a lot!
... View more