Hello out there! from now on I’ll try to share my Python knowledge in this ‘blog’. Hopefully this will become an habit and I won’t have to think about it.
The challenge is to get as fast as possible hostnames for several Dell Force10 S4048.
I’ve hardcoded a lot on purpose. It’s your job to use argsparse or whatever you want :)
If you would like to add more devices edit line 47. Maybe you want to read a file and retrieve a list? or use sqlite3?
Another approach here.