blob: a04bdd850e19878ff59de9bd7db45d9a2b9b35b2 [file] [log] [blame]
Jian Lic132c112016-01-28 20:27:34 -08001{
2 "type": "object",
Jian Liba6b1172016-02-01 22:40:42 -08003 "title": "networks",
Jian Lic132c112016-01-28 20:27:34 -08004 "required": [
Jian Liba6b1172016-02-01 22:40:42 -08005 "networks"
Jian Lic132c112016-01-28 20:27:34 -08006 ],
7 "properties": {
Jian Liba6b1172016-02-01 22:40:42 -08008 "networks": {
9 "type": "array",
10 "xml": {
11 "name": "networks",
12 "wrapped": true
13 },
14 "items": {
15 "type": "object",
16 "title": "networks",
17 "required": [
18 "resourceName",
19 "incomingBytes",
20 "outgoingBytes",
21 "incomingPackets",
22 "outgoingPackets"
23 ],
24 "properties": {
25 "resourceName": {
26 "type": "string",
27 "example": "eth0"
28 },
29 "incomingBytes": {
30 "type": "integer",
31 "format": "int64",
32 "example": "1024"
33 },
34 "outgoingBytes": {
35 "type": "integer",
36 "format": "int64",
37 "example": "1024"
38 },
39 "incomingPackets": {
40 "type": "integer",
41 "format": "int64",
42 "example": "1000"
43 },
44 "outgoingPackets": {
45 "type": "integer",
46 "format": "int64",
47 "example": "2000"
48 }
49 }
50 }
Jian Lic132c112016-01-28 20:27:34 -080051 }
52 }
53}