REST vs NETCONF vs RESTCONF APIs

REST API

REST API use HTTP verbs (GET ,DELETE, PATCH, POST, and PUT methods)
REST API support data encoding XML or JSON
REST API use HTTP/HTTPS for communication
REST API use data model YANG, XSD, JSD, or custom modeling language
REST API tools : cURL , Requests python library , Postman (API client)

NETCONF API

NETCONF API use rpc messages & operations (his own commands)
NETCONF API support data encoding XML
NETCONF API use SSH/TLS for communication
NETCONF API use data model YANG or XSD
NETCONF API tools : ncclient Python tool and SSH from CLI
NETCONF is protocol

RESTCONF API

RESTCONF API use use HTTP verbs (GET ,DELETE, PATCH, POST, and PUT methods)
RESTCONF API support data encoding XML or JSON
RESTCONF API use HTTP/HTTPS for communication
RESTCONF API use data model YANG
RESTCONF API tools: cURL , Requests python libabry , Postman (API cleint)
RESTCONF is portocol

 

Comparison between RESTCONF commands and NETCONF commands (Operations)

YASSER

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s