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 get_ospf_table and save it as a module named ospf_functions.py.
get_ospf_table() must expect 3 arguments (ip_address,port,device_type)
the 3 arguments will be used to create the connection and determine what command is sent to the device to get OSPF information.
get_ospf_table() 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!