Ai
1 Star 1 Fork 1

foxflying/auto_config_switch_router

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config.py 848 Bytes
一键复制 编辑 原始数据 按行查看 历史
luffycjf 提交于 2018-01-19 14:15 +08:00 . Add files via upload
# coding=utf-8
config = {
'config_username':'test', #有配置权限的帐号,如果不填会让你每次输入
'config_password':'test', #有配置权限帐号的密码,同上
'show_username':'test_show', #只有show权限的帐号,如果不填会直接使用配置权限帐号
'show_password':'test_show', #只有show权限的帐号的密码,如果不填会直接使用配置权限帐号的密码
'ssh_port':'22', #ssh的端口号,默认是22
'login_method':'', #登录方式,填写ssh或者telnet
'login_user_identification':':', #telnet方式需要填写对应设备的登录时账户输入的标识符,本人亲测大部分就是login:和username:,用:就行,不用改
'login_password_identification':'assword:' #同上,输入密码的标识符
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/foxflying/auto_config_switch_router.git
git@gitee.com:foxflying/auto_config_switch_router.git
foxflying
auto_config_switch_router
auto_config_switch_router
master

搜索帮助