Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python3
- from pytos.securetrack.helpers import Secure_Track_Helper
- st_helper = Secure_Track_Helper("xxx.xxx.xxx.xx", ("yyyyy", "zzzz"))
- devlist = st_helper.get_devices_list()
- for dev in devlist:
- print (dev)
- Output:
- Device('asa','yyyyy','1','Default','10','devicename1','false','true','xx.xx.xx.xx',[])
- Device('asa','yyyyy','1','Default','11','devicename2','false','true','xx.xx.xx.xx',[])
- Device('asa','yyyyy','1','Default','12','devicename3','false','true','xx.xx.xx.xx',[])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement