blob: 202d11f056f0ef9f0108c535af670ef79ae55dab [file] [log] [blame]
sonu gupta1bb37b82016-11-11 16:51:18 +05301module food {
2
3 yang-version 1;
4
5 namespace "ydt.food";
6
7 prefix "foodType";
8
9 organization "ON-LAB";
10
11 description "This module defines for food.";
12
13 revision "2016-06-24" {
14 description "Initial revision.";
15 }
16
17 container food {
18 choice snack {
19 case sportsarena {
20
21 leaf pretzel {
22 type empty;
23 }
24 leaf beer {
25 type empty;
26 }
27 }
28 case latenight {
29 leaf chocolate {
30 type enumeration {
31 enum dark;
32 enum milk;
33 enum first-available;
34 }
35 }
36 }
37 }
38 }
39}