Пример #1
0
Файл: test.py Проект: KUB88/noob
from switcher import Switcher

switcher = Switcher('9.9.9.1', 'Qzxt@1088', 'yanghua')
switcher.login()
ip, version = switcher.get_version()
print(ip+' '+version)
#buff = switcher.send_cmd('sh run', 'More', 'test error')
#print(buff)b