forked from hswaw/hscloud
Serge Bazanski
b6504238e7
Change-Id: I8a4824ff31590185cd45fd43cc065bb8e2fa7bb2 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1580 Reviewed-by: q3k <q3k@hackerspace.pl> |
||
---|---|---|
.. | ||
proto | ||
BUILD.bazel | ||
main.go | ||
README.md | ||
service.go |
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.