Pcornel
Technology Comparisons

RESTCONF vs NETCONF

Compare two YANG-model-driven management protocols.

DimensionRESTCONFNETCONFWhat it means in practice
Transport/API styleHTTP methods/URIs and JSON/XML representations.RPC operations over secure transport, commonly SSH.Both depend on models/capabilities.
OperationsGET, PUT/PATCH, POST/DELETE where supported.get, get-config, edit-config and datastore operations.Transaction/datastore semantics differ.
TroubleshootingHTTP auth/status/path/content type.SSH subsystem, capabilities, XML/RPC errors.Model/path validation is central to both.
TransportHTTPS (TCP 443).SSH (TCP 830).Firewalls and proxies often allow HTTPS more easily.
EncodingJSON or XML.XML only.Both use the same YANG models on the device.
TransactionsPer-request; no candidate datastore lock workflow.Supports candidate datastore, lock, validate and commit.Use NETCONF when you need multi-step changes committed together.

← All comparisons

Confirmation

Confirm action

Continue?