Giter Club home page Giter Club logo

genie's Introduction

getConfig.py - get config of device/devices & write to file/files.

getConfig.py usage:

python getConfig.py - get config of multiple devices from my_testbed.yaml file

python getConfig.py <device_hostname> - get config of a specific device, device must exist in my_testbed.yaml file

my_testbed.yaml file must exist in current working folder

remember to creat 'config' folder before running script

================================================================================================================================

checkConfig.py - get current config of device & compare to pre-stored config.

checkConfig.py usage:

python checkConfig.py <device_hostname> - get & compare config of a specific device, device must exist in my_testbed.yaml file

my_testbed.yaml file must exist in current working directory

pre-stored config must be collected & put to 'config' directory first

================================================================================================================================

putCommand.py - put command/commands from cmd.txt to device/ multiple devces.

Usage:

python putCommand.py cmd.txt <device_hostname> - put command on a device, device must exist in my_testbed.yaml file

python putCommand.py cmd.txt - put command on multiple devices in my_testbed.yaml file

my_testbed.yaml file must exist in current working directory

================================================================================================================================

putSpecificCommand.py - put specific command/commands from cmd file to specific devices.

cmd file & list of devices are in cmdRouter.csv.

Usage:

python putSpecificCommand.py cmdRouter.csv - put command on a device, device must exist in my_testbed.yaml file

my_testbed.yaml file must exist in current working directory

cmdRouter.csv file must exist in current working directory

Example of cmdRouter.csv:

command/rustphrbtqfb-1.txt,rustphrbtqfb-1

command/rustphrbtqfb-2.txt,rustphrbtqfb-2

genie's People

Contributors

linhht avatar

Watchers

James Cloos avatar  avatar

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.