#python

This is an article that was created 451 days ago, and the information may have evolved or changed.

由于不想亲自动手打开某网站登陆然后签到,所以制作一个python脚本实现自动操作。

Read More

This is an article that was created 561 days ago, and the information may have evolved or changed.

去年写过一版这个需求的python代码,使用的是if判断语句进行匹配获取内容然后写入表格

H3C 防火墙(v7)提取导出安全策略至表格

当时主打一个使用最少的库,最易理解和最长代码原则(哈哈),现在改用textfsm来实现这个需求

Read More

This is an article that was created 572 days ago, and the information may have evolved or changed.

这篇文描述的是使用我注册的第二个Github账号对netops_v2.0_beta仓库进行一次pull requests

Read More

This is an article that was created 574 days ago, and the information may have evolved or changed.

Ubuntu服务端采用publickey方式验证客户端身份,客户端本地vscode连接至Ubuntu服务端进行python远程调试

Read More

This is an article that was created 579 days ago, and the information may have evolved or changed.

最近测试了python脚本执行钉钉机器人发消息和邮件发送,本想集成到上一篇文章中的脚本里,奈何想不到比较实用的场景。

突然想到自己的台式电脑是来电自动开机的设置,略有所思后想到把开关机事件自动发送邮件。

Read More

This is an article that was created 584 days ago, and the information may have evolved or changed.

一个使用nornir框架编写的跑脚本工具。之前写过一版这个菜单式跑python脚本的工具,简直臃肿的不堪入目,后面发现需要添加改进功能真让我头大。了解nornir后,一直就想把功能移植过来,现在搞的差不多了,分享一下

Read More

This is an article that was created 614 days ago, and the information may have evolved or changed.

一个小测试,实现HCL模拟器下利用python脚本根据交换机的背板MAC地址(真机环境可以换成序列号)自动加载配置。

Read More

This is an article that was created 619 days ago, and the information may have evolved or changed.

一个基于Django编写的SNMP轮询Demo,可以对设备(代码内置了H3C OID部分规则)进行SNMP轮询,icmp连通性检测,并将结果写入数据库,前端页面读取数据库数据进行直观的展示。效果图可点击本页面导航栏的Gallery相册查看。

Read More

This is an article that was created 720 days ago, and the information may have evolved or changed.

当前日期时间: 20221201 版本:H3C Comware Software, Version 7.1.064, Release 9628P2416还没有安全策略导出到表格的功能,而有时确实有实际需求导出安全策略到表格,无论是存档还是提交报告

本文介绍使用python脚本语言编写一个根据display回显内容提取安全策略和对象组到表格的方法

Read More

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×