Code Monkey home page Code Monkey logo

cisco_prime's Introduction

##Collection of scripts that utilize the Cisco Prime Infrastructure APIs.

  • download-configs.py - Used to download configurations that are stored within Prime Infrastucture 3.x+.

###download-configs.py ####Instructions Rename config.json.example to config.json and edit the fields to meet your deployment.

The username and password fields are optional CLI arguments. The username and passwords can also be presented in the config.json file. CLI arguments override the config file, but in order to be prompted for a username or password the corresponding field needs to be removed from the config file.

The config files will be saved as hostname.txt in the working directory of the script.

The username and password must have NBI Read access for sanitized configs and NBI Write access for unsanitized configs. See https://developer.cisco.com/site/prime-infrastructure/documents/api-reference/rest-api-v3-0/ for more information

Usage: download-configs.py [Options]
       -h or --help:  This help screen
       -u or --username: specifies a username to use (optional)
       -p or --password: Specifies the password to use (optional)
       -c or --config: Specifies an alternate config file (defaults to config.json)
       -d or --device: Specify hostname of single device to download config file for
       -f or --file: Specify a file which contains one or more hostnames to download a config file for

cisco_prime's People

Contributors

bandrel avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.