New in version 2019.2.0.
Proxy module for managing Arista switches via the eAPI using the pyeapi library.
codeauthor: | Mircea Ulinic <ping@mirceaulinic.net> |
---|---|
maturity: | new |
depends: | pyeapi |
platform: | unix |
Note
To understand how to correctly enable the eAPI on your switch, please check https://eos.arista.com/arista-eapi-101/.
The pyeapi
Proxy module requires pyeapi to be installed: pip install pyeapi
.
The pyeapi
proxy configuration requires the following parameters in order to connect to the network device:
https
socket
, http_local
, http
, and https
.localhost
admin
80
for http
, or 443
for https
).All the arguments may be optional, depending on your setup.
proxy: proxytype: pyeapi host: router1.example.com username: example password: example
Calls an arbitrary pyeapi method.
Return the connection object.
Open the connection to the Arista switch over the eAPI.
Connection finished initializing?
Connection open successfully?
Closes connection with the device.
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/proxy/all/salt.proxy.arista_pyeapi.html