blob: 5573359026abfebf78f6cc970ad0d7c3e0443191 [file] [log] [blame]
andrea5056b512015-11-18 10:25:28 -08001{
2 "type": "object",
3 "title": "device",
4 "required": [
5 "id",
6 "type",
7 "available",
8 "role",
9 "mfr",
10 "hw",
11 "sw",
12 "serial",
kalagesa42019542017-03-14 18:00:47 +053013 "driver",
andrea5056b512015-11-18 10:25:28 -080014 "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 },
kalagesa42019542017-03-14 18:00:47 +053050 "driver": {
51 "type": "string",
52 "example": "ovs"
53 },
andrea5056b512015-11-18 10:25:28 -080054 "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 },
kalagesa42019542017-03-14 18:00:47 +053075 "driver": {
76 "type": "string",
77 "example": "ovs"
78 },
andrea5056b512015-11-18 10:25:28 -080079 "channelId": {
80 "type": "string",
81 "example": "10.128.12.4:34689"
82 }
83 }
84 }
85 }
86}