1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
module modmerge { namespace "urn:yanglint:modmerge"; prefix mm; container mmc { leaf en { type enumeration { enum zero; enum one; } } leaf lm { type int16; must "../en != 'zero'"; } leaf lf { type string; } } }