}
leaf leaf-with-length {
- type data:my-string-type {
- length "7..max";
- }
+ type data:my-string-type {
+ length "7..max";
+ }
}
leaf test-int-leaf {
}
leaf union-leaf {
- type data:my-union-ext;
+ type data:my-union-ext;
}
deviation /data:system/data:user {
}
leaf nested-union-leaf {
- type data:nested-union1;
+ type data:nested-union1;
}
leaf custom-union-leaf {
leaf ds0ChannelNumber {
type string;
}
+ leaf interface-id {
+ type leafref {
+ path "/if:interfaces/if:interface/if:name";
+ }
+ }
+ leaf-list higher-layer-if {
+ type leafref {
+ path "/if:interfaces/if:interface/if:higher-layer-if";
+ }
+ }
}
}