blob: 58347957f11b4ce68a6a4137e0daf63f6405c8a6 [file] [log] [blame]
module Test {
yang-version 1;
namespace http://huawei.com;
prefix Ant;
container food {
choice snack {
case sports-arena {
leaf pretzel {
type string;
}
leaf beer {
type string;
}
}
case late-night {
leaf chocolate {
type string;
}
}
}
container dinner {
leaf cheese {
type string;
}
}
choice snack2 {
case sports-arena {
leaf pretzel {
type string;
}
leaf beer {
type string;
}
}
case late-night {
leaf chocolate {
type string;
}
}
}
}
}