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.
Community Discussion