2018-08-27 20:00:46 +00: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.
|
|
|
|
|
2021-03-06 22:16:17 +00:00
|
|
|
Building
|
|
|
|
--------
|
2018-08-27 20:04:35 +00:00
|
|
|
|
2021-03-06 22:16:17 +00:00
|
|
|
$ bazel build //dc/arista-proxy
|
2018-08-27 20:02:21 +00:00
|
|
|
|
|
|
|
Flags
|
|
|
|
-----
|
|
|
|
|
|
|
|
-arista_api string
|
|
|
|
Arista remote endpoint (default "http://admin:password@1.2.3.4:80/command-api")
|
2021-03-06 22:16:17 +00:00
|
|
|
|
|
|
|
For standard flags (eg. listen, logs, ...) run with -help.
|