tree: c0fbcde45b8196b5e09fea6ba51ef1683fb0fee1 [path history] [tgz]
  1. proto/
  2. BUILD.bazel
  3. main.go
  4. README.md
  5. service.go
dc/arista-proxy/README.md

Old Shitty Arista eAPI/Capi <-> gRPC proxy

Our Arista 7148S does not support gRPC/OpenConfig, so we have to make our own damn gRPC proxy.

The schema is supposed to be 1:1 mapped to the JSON-RPC EAPI. This is just a dumb proxy.

Building

$ bazel build //dc/arista-proxy

Flags

  -arista_api string
    	Arista remote endpoint (default "http://admin:password@1.2.3.4:80/command-api")

For standard flags (eg. listen, logs, ...) run with -help.