Which protocol serves as the underlying protocol used by Junos PyEZ for establishing connections to devices?
Junos PyEZ is built on top of NETCONF, using it as the underlying session/transport protocol (typically NETCONF over SSH) to communicate with Junos devices. The PyEZ library uses the ncclient Python module to establish NETCONF sessions and exchange RPCs with the device, while PyEZ provides a simplified, Pythonic abstraction layer over these NETCONF operations. This is documented in Juniper's official Junos PyEZ Developer Guide, which states that Junos PyEZ connects to devices using a NETCONF session over SSH.
Community Discussion