10 lines
221 B
Python
10 lines
221 B
Python
from connect import connect
|
|
|
|
|
|
for device_type in ["csr", "nexus"]:
|
|
|
|
connection = connect(device_type)
|
|
print('connection:', connection)
|
|
output = connection.send_command("show running-config")
|
|
print(output)
|