Advertisement
Guest User

Untitled

a guest
Sep 27th, 2019
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1.  
  2. #!/usr/bin/python3
  3.  
  4. from pytos.securetrack.helpers import Secure_Track_Helper
  5.  
  6. st_helper = Secure_Track_Helper("xxx.xxx.xxx.xx", ("yyyyy", "zzzz"))
  7.  
  8. devlist = st_helper.get_devices_list()
  9.  
  10. for dev in devlist:
  11. print (dev)
  12.  
  13.  
  14. Output:
  15.  
  16. Device('asa','yyyyy','1','Default','10','devicename1','false','true','xx.xx.xx.xx',[])
  17. Device('asa','yyyyy','1','Default','11','devicename2','false','true','xx.xx.xx.xx',[])
  18. Device('asa','yyyyy','1','Default','12','devicename3','false','true','xx.xx.xx.xx',[])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement