Tufin/pytos

Help to parse device list

thefossgeek opened this issue · 1 comments

Hi All,

I am using the this script: https://pastebin.com/K9KBeqYL to get device list and trying to print device name and id but I am not able to manage print it. can some one through some light on how to print device name and id like below:

devicename1 10
devicename2 11
devicename3 12

Please ignore it, I was able to figure out it.

for dev in devlist:
print (dev.name, dev.id)