DevNet Associate DEVASC 200-901 Official Certification Guide by Adrian Iliesiu (z-lib.org)

(andrew) #1

where usernames and passwords are Base64 encoded
and transmitted from the client to the server via an
Authentication header. Figure 12-4 shows the
RESTCONF protocol stack.


Figure 12-4 RESTCONF Protocol Stack


REST APIs typically implement CRUD (create, retrieve,
update, and delete) operations, leveraging HTTP
methods. RESTCONF maps the NETCONF operations
into HTTP methods as shown in Table 12-4.


Table 12-4 RESTCONF HTTP Methods and Their
Corresponding NETCONF Operations

RESTCONFNETCONF

GET <get>, <get-config>

POST <edit-config> (operation=“create”)

PUT <edit-config> (operation=“create/replace”)

PATCH <edit-config> (operation=“merge”)

DELETE <edit-config> (operation=“delete”)

The available RESTCONF methods and their
corresponding NETCONF operations are as follows:

Free download pdf