GithubHelp home page GithubHelp logo

aristanetworks / pyopenconfig Goto Github PK

View Code? Open in Web Editor NEW
6.0 14.0 3.0 51 KB

Python implementation of the gRPC service for interacting with network devices based on OpenConfig models (DEPRECATED)

License: Apache License 2.0

Python 74.32% Shell 25.68%

pyopenconfig's Introduction

Build Status

DEPRECATED

Please refer to gnmi/proto for the generated Python code to access the gNMI service.

If you're looking for a command-line tool to access gNMI check out gnmi.

pyopenconfig

Python client and library for the OpenConfig gRPC interface.

The version of the gRPC proto definition being uses is tracked in pyopenconfig/reference_version.

Installation

pip install git+git://github.com/aristanetworks/pyopenconfig.git

Usage

usage: openconfig_client.py [-h] [--host HOST] [--port PORT]
                            [--get GET | --subscribe SUBSCRIBE]

optional arguments:
  -h, --help            show this help message and exit
  --host HOST           OpenConfig server host
  --port PORT           OpenConfig server port
  --username USERNAME   username
  --password PASSWORD   password
  --get GET             OpenConfig path to perform a single-shot get (default:
                        None)
  --subscribe SUBSCRIBE
                        OpenConfig path to subscribe to (default: /)

Sample usage

openconfig_client.py --host arista --port 6042 --get /vlans/vlan/42

pyopenconfig's People

Contributors

7ac avatar jfrabaute avatar aaronbee avatar

Stargazers

Siva avatar Mircea Ulinic avatar Ruben Tripiana avatar Darren Bono avatar Alex avatar Steve Shaw avatar

Watchers

Benoit Sigoure avatar  avatar Shashank Hegde avatar Andre Pech avatar James Cloos avatar byrl avatar Ryan T avatar Philip DiLeo avatar John Corbin avatar Jere Julian avatar EOS+ CS Jenkins avatar  avatar Jochem Beekman avatar  avatar

Forkers

jfrabaute

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.