andrea | 5056b51 | 2015-11-18 10:25:28 -0800 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "title": "device", |
| 4 | "required": [ |
| 5 | "id", |
| 6 | "type", |
| 7 | "available", |
| 8 | "role", |
| 9 | "mfr", |
| 10 | "hw", |
| 11 | "sw", |
| 12 | "serial", |
kalagesa | 4201954 | 2017-03-14 18:00:47 +0530 | [diff] [blame] | 13 | "driver", |
andrea | 5056b51 | 2015-11-18 10:25:28 -0800 | [diff] [blame] | 14 | "chassisId", |
| 15 | "annotations" |
| 16 | ], |
| 17 | "properties": { |
| 18 | "id": { |
| 19 | "type": "string", |
| 20 | "example": "of:0000000000000001" |
| 21 | }, |
| 22 | "type": { |
| 23 | "type": "string", |
| 24 | "example": "SWITCH" |
| 25 | }, |
| 26 | "available": { |
| 27 | "type": "boolean", |
| 28 | "example": true |
| 29 | }, |
| 30 | "role": { |
| 31 | "type": "string", |
| 32 | "example": "of:0000000000000001" |
| 33 | }, |
| 34 | "mfr": { |
| 35 | "type": "string", |
| 36 | "example": "Nicira, Inc." |
| 37 | }, |
| 38 | "hw": { |
| 39 | "type": "string", |
| 40 | "example": "Open vSwitch" |
| 41 | }, |
| 42 | "sw": { |
| 43 | "type": "string", |
| 44 | "example": "2.3.1" |
| 45 | }, |
| 46 | "serial": { |
| 47 | "type": "string", |
| 48 | "example": "123" |
| 49 | }, |
kalagesa | 4201954 | 2017-03-14 18:00:47 +0530 | [diff] [blame] | 50 | "driver": { |
| 51 | "type": "string", |
| 52 | "example": "ovs" |
| 53 | }, |
andrea | 5056b51 | 2015-11-18 10:25:28 -0800 | [diff] [blame] | 54 | "chassisId": { |
| 55 | "type": "string", |
| 56 | "example": "1" |
| 57 | }, |
| 58 | "annotations": { |
| 59 | "type": "object", |
| 60 | "title": "annotations", |
| 61 | "required": [ |
| 62 | "managementAddress", |
| 63 | "protocol", |
| 64 | "channelId" |
| 65 | ], |
| 66 | "properties": { |
| 67 | "managementAddress": { |
| 68 | "type": "string", |
| 69 | "example": "123" |
| 70 | }, |
| 71 | "protocol": { |
| 72 | "type": "string", |
| 73 | "example": "OF_13" |
| 74 | }, |
kalagesa | 4201954 | 2017-03-14 18:00:47 +0530 | [diff] [blame] | 75 | "driver": { |
| 76 | "type": "string", |
| 77 | "example": "ovs" |
| 78 | }, |
andrea | 5056b51 | 2015-11-18 10:25:28 -0800 | [diff] [blame] | 79 | "channelId": { |
| 80 | "type": "string", |
| 81 | "example": "10.128.12.4:34689" |
| 82 | } |
| 83 | } |
| 84 | } |
| 85 | } |
| 86 | } |