blob: e3e3fa6e86feb7f5c70e85a7117055fe83cb0043 [file] [log] [blame]
jingan8396f222017-03-20 23:00:25 -07001module demo1 {
2 yang-version 1;
3 namespace "namespace1";
4 prefix "demo1";
5 revision "2013-07-15";
6 container device {
7 list device {
8 key deviceid;
9 leaf deviceid {
10 type string;
11 }
Vidyashree Rama68dcfa52017-06-09 13:30:46 +053012 leaf Customs-supervisor {
janani b99fccd72017-07-13 19:14:44 +053013 type empty;
Vidyashree Rama68dcfa52017-06-09 13:30:46 +053014 description "name of the customs-supervisor.";
15 }
jingan8396f222017-03-20 23:00:25 -070016
Vidyashree Rama68dcfa52017-06-09 13:30:46 +053017 leaf Merchandiser-supervisor {
18 type string;
19 description "name of merchandiser-supervisor";
20 }
jingan8396f222017-03-20 23:00:25 -070021
Vidyashree Rama68dcfa52017-06-09 13:30:46 +053022 list Material-supervisor {
23 key "name";
24 leaf name {
25 type string;
26 description "name of logistics-supervisor";
27 }
jingan8396f222017-03-20 23:00:25 -070028
Vidyashree Rama68dcfa52017-06-09 13:30:46 +053029 leaf departmentId {
30 type string;
31 description "name of department";
32 }
33 }
jingan8396f222017-03-20 23:00:25 -070034
Vidyashree Rama68dcfa52017-06-09 13:30:46 +053035 container Purchasing-supervisor {
36 leaf purchasing-specialist {
37 type string;
38 description "name of the purchasing-specialist person";
39 }
jingan8396f222017-03-20 23:00:25 -070040
Vidyashree Rama68dcfa52017-06-09 13:30:46 +053041 leaf-list support {
42 type string;
43 description "name of the support person";
44 }
45 }
jingan8396f222017-03-20 23:00:25 -070046
Vidyashree Rama68dcfa52017-06-09 13:30:46 +053047 leaf-list Warehouse-supervisor {
48 type string;
49 description "name of the warehouse-supervisor's";
50 }
jingan8396f222017-03-20 23:00:25 -070051
Vidyashree Rama68dcfa52017-06-09 13:30:46 +053052 leaf Trading-supervisor {
53 type string;
54 description "name of the trading-supervisor";
55 }
jingan8396f222017-03-20 23:00:25 -070056
Vidyashree Rama68dcfa52017-06-09 13:30:46 +053057 leaf-list Employee-id {
58 type string;
59 description "list of the employee id";
60 }
61 container cont7 {
62 leaf leaf8 {
63 type string;
64 }
65 }
66 }
67 }
68
69 list list1 {
70 key leaf1;
71 leaf leaf1 {
72 type string;
jingan8396f222017-03-20 23:00:25 -070073 }
74 }
75}