blob: f5b50f541cc3fa5c2f8be1d9e685066ae245d72b [file] [log] [blame]
Jian Lid86fac32016-04-01 16:10:26 -07001{
2 "type": "object",
3 "title": "devices",
4 "required": [
5 "devices"
6 ],
7 "properties": {
8 "devices": {
9 "type": "object",
10 "required": [
11 "name",
12 "value"
13 ],
14 "properties": {
15 "name": {
16 "type": "string"
17 },
18 "value": {
19 "type": "object",
20 "title": "metrics",
21 "required": [
22 "metrics"
23 ],
24 "properties": {
25 "metrics": {
26 "type": "array",
27 "xml": {
28 "name": "metrics",
29 "wrapped": true
30 },
31 "items": {
32 "type": "object",
33 "title": "metrics",
34 "required": [
35 "inboundPacket",
36 "outboundPacket",
37 "flowModPacket",
38 "flowRemovedPacket",
39 "requestPacket",
40 "replyPacket"
41 ],
42 "properties": {
43 "inboundPacket": {
44 "type": "object",
45 "required": [
46 "time",
47 "latest",
48 "average"
49 ],
50 "properties": {
51 "time": {
52 "type": "integer",
53 "format": "int64"
54 },
55 "latest": {
56 "type": "integer",
57 "format": "int64"
58 },
59 "average": {
60 "type": "integer",
61 "format": "int64"
62 }
63 }
64 },
65 "outboundPacket": {
66 "type": "object",
67 "required": [
68 "time",
69 "latest",
70 "average"
71 ],
72 "properties": {
73 "time": {
74 "type": "integer",
75 "format": "int64"
76 },
77 "latest": {
78 "type": "integer",
79 "format": "int64"
80 },
81 "average": {
82 "type": "integer",
83 "format": "int64"
84 }
85 }
86 },
87 "flowModPacket": {
88 "type": "object",
89 "required": [
90 "time",
91 "latest",
92 "average"
93 ],
94 "properties": {
95 "time": {
96 "type": "integer",
97 "format": "int64"
98 },
99 "latest": {
100 "type": "integer",
101 "format": "int64"
102 },
103 "average": {
104 "type": "integer",
105 "format": "int64"
106 }
107 }
108 },
109 "flowRemovedPacket": {
110 "type": "object",
111 "required": [
112 "time",
113 "latest",
114 "average"
115 ],
116 "properties": {
117 "time": {
118 "type": "integer",
119 "format": "int64"
120 },
121 "latest": {
122 "type": "integer",
123 "format": "int64"
124 },
125 "average": {
126 "type": "integer",
127 "format": "int64"
128 }
129 }
130 },
131 "requestPacket": {
132 "type": "object",
133 "required": [
134 "time",
135 "latest",
136 "average"
137 ],
138 "properties": {
139 "time": {
140 "type": "integer",
141 "format": "int64"
142 },
143 "latest": {
144 "type": "integer",
145 "format": "int64"
146 },
147 "average": {
148 "type": "integer",
149 "format": "int64"
150 }
151 }
152 },
153 "replyPacket": {
154 "type": "object",
155 "required": [
156 "time",
157 "latest",
158 "average"
159 ],
160 "properties": {
161 "time": {
162 "type": "integer",
163 "format": "int64"
164 },
165 "latest": {
166 "type": "integer",
167 "format": "int64"
168 },
169 "average": {
170 "type": "integer",
171 "format": "int64"
172 }
173 }
174 }
175 }
176 }
177 }
178 }
179 }
180 }
181 }
182 }
183}