hscloud/dc/arista-proxy
Serge Bazanski b6504238e7 *: add gomod placeholders for generated files
Change-Id: I8a4824ff31590185cd45fd43cc065bb8e2fa7bb2
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1580
Reviewed-by: q3k <q3k@hackerspace.pl>
2023-09-01 16:50:48 +00:00
..
proto *: add gomod placeholders for generated files 2023-09-01 16:50:48 +00:00
BUILD.bazel dc/arista-proxy: fix by using github.com/q3k/cursedjson 2019-09-26 18:32:39 +02:00
main.go dc/arista-proxy: fix by using github.com/q3k/cursedjson 2019-09-26 18:32:39 +02:00
README.md *: docs pass 2021-03-06 22:21:28 +00:00
service.go dc/arista-proxy: fix by using github.com/q3k/cursedjson 2019-09-26 18:32:39 +02:00

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.