leaf desc {
type string;
}
+
+ leaf short-leaf {
+ type uint16;
+ }
+
+ leaf biginteger-leaf {
+ type uint64;
+ }
+
+ leaf bigdecimal-leaf {
+ type decimal64 {
+ fraction-digits 2;
+ }
+ }
+
+ leaf boolean-leaf {
+ type boolean;
+ }
+
+ leaf byte-leaf {
+ type uint8;
+ }
+
+ list unkeyed-list {
+ leaf name {
+ type string;
+ }
+ }
+
+ choice outer-choice {
+ case one {
+ leaf one {
+ type string;
+ }
+ }
+ case two-three {
+ leaf two {
+ type string;
+ }
+ leaf three {
+ type string;
+ }
+ }
+ }
+
+ list ordered-list {
+ key ordered-list-leaf;
+ ordered-by user;
+
+ leaf ordered-list-leaf {
+ type string;
+ }
+ }
+
list outer-list {
key id;
leaf id {
type uint16;
}
- choice outer-choice {
- case one {
- leaf one {
- type string;
- }
- }
- case two-three {
- leaf two {
- type string;
- }
- leaf three {
- type string;
- }
- }
- }
- list inner-list {
+
+ list inner-list {
key name;
leaf name {
type string;
leaf value {
type string;
}
+
+ container inner-container {
+ }
}
}
type uint8;
}
+ leaf-list binary_leaf_list {
+ type binary;
+ }
+
leaf pointer {
type leafref {
path "/network-topology/topology/node/termination-point/tp-id";
type binary;
}
+ anyxml any {
+ }
+ leaf empty-leaf {
+ type empty;
+ }
}
}