Automation and Artificial Intelligence

Which YANG node represents a single value, such as an interface description?

Show the answer

Correct answerB. Leaf

AWhy not this: A container organizes child nodes rather than directly holding a scalar value.

BWhy this is right: A leaf holds one value of a defined data type.

CWhy not this: A list represents multiple entries, each of which can contain child nodes.

DWhy not this: A leaf-list holds multiple values of the same data type.

A leaf represents a single value with a defined data type. A leaf-list represents a collection of values rather than one scalar value.