DuplicateLeafInHierarchy.yang 524 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 module Test { yang-version 1; namespace http://huawei.com; prefix Ant; container food { choice snack { case sports-arena { leaf pretzel { type empty; } } case late-night { choice lunch { case late { leaf pretzel { type empty; } } } } } } }