rsahot036 | 848a7c6 | 2018-10-15 17:46:14 -0400 | [diff] [blame^] | 1 | { |
| 2 | "type": "object", |
| 3 | "title": "packet-processors", |
| 4 | "required": [ |
| 5 | "packet-processors" |
| 6 | ], |
| 7 | "properties": { |
| 8 | "packet-processors": { |
| 9 | "type": "array", |
| 10 | "xml": { |
| 11 | "name": "packet-processors", |
| 12 | "wrapped": true |
| 13 | }, |
| 14 | "items": { |
| 15 | "type": "object", |
| 16 | "title": "packet-processors", |
| 17 | "required": [ |
| 18 | "priority", |
| 19 | "class", |
| 20 | "packets", |
| 21 | "avgNanos" |
| 22 | ], |
| 23 | "properties": { |
| 24 | "priority": { |
| 25 | "type": "string", |
| 26 | "example": "advisor(0)" |
| 27 | }, |
| 28 | "class": { |
| 29 | "type": "string", |
| 30 | "example": "org.onosproject.provider.host.impl.HostLocationProvider$InternalHostProvider" |
| 31 | }, |
| 32 | "packets": { |
| 33 | "type": "integer", |
| 34 | "example": 568376 |
| 35 | }, |
| 36 | "avgNanos": { |
| 37 | "type": "integer", |
| 38 | "example": 5683 |
| 39 | } |
| 40 | } |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | } |