blob: b2f6fab26b076d2c46ad6e810876bbc9b4a86f02 [file] [log] [blame]
Khen Nursimuluaaac7ee2016-12-11 22:03:52 -05001
2module ietf-common {
3
4
5 namespace "urn:opencord:params:xml:ns:voltha:ietf-common";
6 prefix common;
7
8
9 organization "CORD";
10 contact
11 " Any name";
12
13 description
14 "";
15
16 revision "2016-11-15" {
17 description "Initial revision.";
18 reference "reference";
19 }
20
21 typedef LogLevel {
22 type enumeration {
23 enum DEBUG {
24 description "";
25 }
26 enum INFO {
27 description "";
28 }
29 enum WARNING {
30 description "";
31 }
32 enum ERROR {
33 description "";
34 }
35 enum CRITICAL {
36 description "";
37 }
38 }
39 description
40 "Logging verbosity level";
41 }
42 typedef AdminState {
43 type enumeration {
44 enum AS_UNKNOWN {
45 description "";
46 }
47 enum AS_PREPROVISIONED {
48 description "";
49 }
50 enum AS_ENABLED {
51 description "";
52 }
53 enum AS_DISABLED {
54 description "";
55 }
56 }
57 description
58 "Administrative State";
59 }
60 typedef OperStatus {
61 type enumeration {
62 enum OS_UNKNOWN {
63 description "";
64 }
65 enum OS_DISCOVERED {
66 description "";
67 }
68 enum OS_ACTIVATING {
69 description "";
70 }
71 enum OS_TESTING {
72 description "";
73 }
74 enum OS_ACTIVE {
75 description "";
76 }
77 enum OS_FAILED {
78 description "";
79 }
80 }
81 description
82 "Operational Status";
83 }
84 typedef ConnectStatus {
85 type enumeration {
86 enum CS_UNKNOWN {
87 description "";
88 }
89 enum CS_UNREACHABLE {
90 description "";
91 }
92 enum CS_REACHABLE {
93 description "";
94 }
95 }
96 description
97 "Connectivity Status";
98 }
99
100 grouping ID {
101 description
102 "Convey a resource identifier";
103 leaf id {
104 type string;
105 description
106 "";
107 }
108
109 }
110
111}