Question 540
During a technical peer-review of network behavior in the area of yang hierarchy and data modeling, engineers report: A team confuses a data schema with the protocol used to transport config edits. Select the action most specific to this finding.
Explanation
Correct Answer
Treat YANG as the model and NETCONF/RESTCONF as protocols. YANG defines data structure while management protocols transport requests and responses.
Incorrect Answers
Inspect container, list, leaf and data-type definitions in its YANG module is designed for this other requirement: An API consumer must know which nested nodes and types an interface resource supports. YANG statements express hierarchy and permitted values.
Reject or correct the value to satisfy the leaf type is not the precise answer here. It addresses: A YANG leaf is specified as uint16 but a client sends a negative integer.
This alternative, Represent the entries as a keyed YANG list, fits: A model defines multiple interface entries distinguished by name. YANG lists contain repeated entries indexed by one or more keys.