QuestionQ42

NETCONF/XML API

Which two statements regarding NETCONF layers are correct?

Choose two
  • A NETCONF layers use the messages layer to receive RPCs from a remote NETCONF server.
  • B NETCONF layers use the messages layer to send RPCs to a remote NETCONF server.
  • C NETCONF layers use the operations layer to receive RPCs from a remote NETCONF server.
  • D NETCONF layers use the operations layer to send RPCs to a remote NETCONF server.
Explanation

Per the NETCONF protocol architecture (RFC 6241), the messages layer provides a simple, transport-independent framing mechanism for encoding remote procedure calls and notifications, using the <rpc> element to send a request to a NETCONF server and the <rpc-reply> element for what is received back; both the sending and receiving of RPCs to/from a remote NETCONF peer therefore occur at the messages layer. The operations layer, by contrast, only defines the semantics/parameters of the base protocol operations that get invoked as RPC methods -- it does not itself perform the send/receive framing of the RPC exchange.

Learn more

Community Discussion

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