aristanetworks / EosSdk

EOS SDK - write native apps for your Arista switch
https://github.com/aristanetworks/EosSdk/wiki
BSD 3-Clause "New" or "Revised" License
156 stars 40 forks source link

Inter-Switch Communication #22

Closed alexfrt closed 7 years ago

alexfrt commented 7 years ago

Hello,

Is there a recommended way of enabling communication between agents running on different EOS instances (in a different network switch, to be more precise)?

Does EOS provides a protocol/API for that or should I implement on my own?

Thanks.

tsuna commented 7 years ago

Hi, We do not provide any kind of specific facility for cross-switch communication, but you can easily leverage any of the many existing open-source projects such as gRPC or Thrift.

We provide an example on how to interact with an EOS SDK agent running Thrift here: models, server (that you embed in your agent), client. You can do something similar with gRPC, which is the new hotness everybody wants to use these days :)

Hope this helps.