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.