Giter VIP home page Giter VIP logo

switch_auto_check's Introduction

switch_auto_check

交换机运维

一、实现功能

该程序主要用于简单的交换机自动运维,目前仅支持华为交换机,目前实现的功能为从csv文件读取设备信息,自动访问交换机,并发送运维指令,将其写入logs.txt内,提取简要信息写入short_logs.txt文件。运行后自动删除csv表格内密码。

二、安装

可以使用以下两种运行方式:

  1. 源代码运行:自行安装python3.6版本程序,解压build目录下的netmiko-win-install.zip,运行install.bat,可自动离线安装程序所需要的netmiko库,仅需运行一次。
  2. 打包程序运行:解压build\交换机运维辅助工具-V0.1.zip,复制文件夹至任意目录下。

三、使用

打开device_info.csv文件一次填写设备信息, 格式为:<序号>,<品牌>,<ip>,<账号>,<密码>

将文件放至auto_check.py交换机运维辅助工具-V0.1.exe相同目录下,可选源代码或exe文件运行两种方式。

需要注意的是,exe文件可能存在兼容性问题,部分电脑无法正常运行,此时建议使用源代码运行。

switch_auto_check's People

Contributors

tchy avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

nblky

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.