Network Automation Foundation
10% of the examWhat this topic covers
Work with OpenConfig, IETF, and native YANG models, and use YANG Suite or pyang to build JSON and XML payloads. Interpret RFC8340 module trees and relate YANG list keys to RESTCONF resources.
What does a YANG list key do in a RESTCONF URI?
The key identifies one entry in the list, so a RESTCONF resource URI for a specific interface must include the key value. In JSON, the payload follows the module's data hierarchy and includes the required key leaf. An interface named GigabitEthernet1 appears in the URI and again as the name leaf in the body.