blob: 20575c26431d97604f9d6351844ed1c70a17e585 [file] [log] [blame]
andrea1ce2bc82015-11-18 16:58:10 -08001{
2 "type": "object",
3 "title": "device-table-statistics",
4 "required": [
5 "table-statistics"
6 ],
7 "properties": {
8 "device-table-statistics": {
9 "type": "array",
10 "required": [
11 "device-table-statistics"
12 ],
13 "xml": {
14 "name": "table-statistics",
15 "wrapped": true
16 },
17 "items": {
18 "type": "object",
19 "title": "table-statistics",
20 "required": [
21 "device-table-statistics"
22 ],
23 "properties": {
24 "deviceId": {
25 "type": "string",
26 "example": "of:0000000000000001"
27 },
28 "table-statistics": {
29 "type": "array",
30 "xml": {
31 "name": "table",
32 "wrapped": true
33 },
34 "items": {
35 "type": "object",
36 "title": "table-statistics",
37 "required": [
38 "tableId",
39 "deviceId",
40 "activeEntries",
41 "packetsLookedUp",
42 "packetsMathced"
43 ],
44 "properties": {
45 "tableId": {
46 "type": "integer",
47 "format": "int64",
48 "example": 0
49 },
50 "deviceId": {
51 "type": "string",
52 "example": "of:0000000000000001"
53 },
54 "activeEntries": {
55 "type": "integer",
56 "format": "int64",
57 "example": 3
58 },
59 "packetsLookedUp": {
60 "type": "integer",
61 "format": "int64",
62 "example": 458530
63 },
64 "packetsMathced": {
65 "type": "integer",
66 "format": "int64",
67 "example": 458501
68 }
69 }
70 }
71 }
72 }
73 }
74 }
75 }
76}