QuestionQ5

NETCONF/XML API

Which protocol serves as the underlying protocol used by Junos PyEZ for establishing connections to devices?

  • A JET
  • B Junos REST API
  • C XML API
  • D NETCONF
Explanation

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.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!