Leaf-List Node

A leaf-list is a set of leaf nodes with exactly one value of a particular type per leaf.

The following takes a leaf-list node named domain-search as an example. The node is a set of leaf nodes of the character string type. YANG example:

leaf-list domain-search {
 type string;
 description "List of domain names to search";
}

NETCONF XML example (containing three leaf nodes):

<domain-search>high.example.com</domain-search>
<domain-search>low.example.com</domain-search>
<domain-search>everywhere.example.com</domain-search>
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >