The Arista Pyeapi library
The Python client for the eAPI and Pyeapi (http://pyeapi.readthedocs.io/en/master/index.html) libraries is a native Python library wrapper around eAPI. It provides a set of bindings to configure Arista EOS nodes. Why do we need pyeapi when we already have eAPI? Since we have used Python to demonstrate eAPI, keep in mind that the only requirement of eAPI is a JSON-RPC capable client. Thus, it is compatible with most programming languages. Personally, I think of eAPI as a common denominator among all different languages. When I first started out in the field, Perl was the dominant language for scripting and network automation. There are still many enterprises that rely on Perl scripts as their primary automation tool. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access