Unit 3 of 3
NETCONF, YANG, and Code Review
15 min
+150 points
Learning objectives
When you finish this unit, you will be able to:
- Interpret the results of a RESTCONF or NETCONF query.
- Interpret basic YANG models.
- Interpret a unified diff.
- Describe the principles and benefits of a code review process.
- Interpret sequence diagram that includes API calls.
NETCONF, YANG, and review practices
RESTCONF and NETCONF queries
Interpret query results returned from device or controller data stores—understand structure, filters, and returned configuration or operational data.
YANG models
Read basic YANG module structure: containers, lists, leaf nodes, and data types that define configurable parameters.
Unified diff
A unified diff shows line-by-line changes between file versions—essential for code review and version control.
Code review
Code review improves quality, catches defects early, and shares knowledge across the team.
Sequence diagrams
Sequence diagrams show the order of API calls and interactions between components in a workflow.
Exam focus: interpret NETCONF/YANG output, diffs, and diagrams to understand automation behavior.