Automation and Artificial Intelligence
A model author needs the same set of address-related nodes in several parts of a YANG model. Which construct defines the reusable set?
Show the answer
Correct answerD. A grouping
AWhy not this: A typedef defines a reusable data type rather than a reusable set of schema nodes.
BWhy not this: A deviation describes how an implementation differs from a model rather than defining reusable nodes.
CWhy not this: An augment adds schema nodes at a specified location rather than defining a reusable set.
DWhy this is right: A grouping defines reusable schema nodes that a uses statement can incorporate elsewhere.
A grouping defines reusable schema nodes that can be incorporated with a uses statement. A typedef defines a reusable data type, not a set of nodes.