blob: 29123a82d34a1ceea07d3bfbed06c862ee439ef2 [file] [log] [blame]
Shankara-Huaweid5823ab2016-11-22 10:14:52 +05301module ych-purchasingsupervisor {
2
3 yang-version 1;
4
5 namespace "ych.purchasing-supervisor";
6
7 prefix "purchasing";
8
9 organization "ON-LAB";
10
11 description "This module defines for purchasing-supervisor.";
12
13 revision "2016-05-24" {
14 description "Initial revision.";
15 }
16
17 container ych-purchasing-supervisor {
18 leaf ych-purchasing-specialist {
19 type string;
20 description "name of the purchasing-specialist person";
21 }
22
23 leaf ych-purchasing-support {
24 type string;
25 description "name of the support person";
26 }
Sean Condonfe6ceba2017-02-26 16:40:03 +000027
28 leaf ych-purchasing-options {
29 type bits {
30 bit "option0";
31 bit "option1";
32 bit "option2";
33 bit "option3";
34 }
35 description
36 "A bit mask that may have 0, 1, many or all options present";
37 }
38
39 container ych-is-manager {
40 presence "If node is present denotes that supervisor is a manager";
41 }
Shankara-Huaweid5823ab2016-11-22 10:14:52 +053042 }
43}