jingan | 8396f22 | 2017-03-20 23:00:25 -0700 | [diff] [blame^] | 1 | module 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 | } |
| 12 | leaf Customs-supervisor { |
| 13 | type string; |
| 14 | description "name of the customs-supervisor."; |
| 15 | } |
| 16 | |
| 17 | leaf Merchandiser-supervisor { |
| 18 | type string; |
| 19 | description "name of merchandiser-supervisor"; |
| 20 | } |
| 21 | |
| 22 | list Material-supervisor { |
| 23 | key "name"; |
| 24 | leaf name { |
| 25 | type string; |
| 26 | description "name of logistics-supervisor"; |
| 27 | } |
| 28 | |
| 29 | leaf departmentId { |
| 30 | type string; |
| 31 | description "name of department"; |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | container Purchasing-supervisor { |
| 36 | leaf purchasing-specialist { |
| 37 | type string; |
| 38 | description "name of the purchasing-specialist person"; |
| 39 | } |
| 40 | |
| 41 | leaf-list support { |
| 42 | type string; |
| 43 | description "name of the support person"; |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | leaf-list Warehouse-supervisor { |
| 48 | type string; |
| 49 | description "name of the warehouse-supervisor's"; |
| 50 | } |
| 51 | |
| 52 | leaf Trading-supervisor { |
| 53 | type string; |
| 54 | description "name of the trading-supervisor"; |
| 55 | } |
| 56 | |
| 57 | leaf-list Employee-id { |
| 58 | type string; |
| 59 | description "list of the employee id"; |
| 60 | } |
| 61 | } |
| 62 | } |
| 63 | } |