Question: Write a python module that contains functions to perform the following. get _ hostname ( ) get _ model ( ) get _ sernum (
Write a python module that contains functions to perform the following.
gethostname
getmodel
getsernum
getswversion
Write a second file program that logs into each device and retrieves hostname, model, serial number, and software version. The main program should connect to each device and retreive the appropriate show command. The command output will be passed into a function from the python module you created.
Once all values are retrIeved, write them to a csv file.
I have gotten this far and am confused going further
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
