Question: Using the from netmiko import ConnectHandler command: Create a function named get _ ospf _ table and save it as a module named ospf _
Using the from netmiko import ConnectHandler command:
Create a function named getospftable and save it as a module named ospffunctions.py
getospftable must expect arguments ipaddress,port,devicetype
the arguments will be used to create the connection and determine what command is sent to the device to get OSPF information.
getospftable must return the ospf table to the function call.
Your main program will need to print the return of the function call.
You should test your function using all three device types.
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
