- 博客(2)
- 收藏
- 关注
原创 python多厂商巡检脚本~
import netmikofrom netmiko import ConnectHandlerimport timeimport ostoday = time.strftime("%Y-%m-%d", time.localtime())switch_with_authentication_issue = [] # 存放认证失败的设备信息switch_not_reachable = [] # 存放网络不通的设备信息def ssh_session(devlist): ##定义备份函数.
2022-05-09 16:44:01
1655
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人