Jian Li | f65d72e | 2018-02-13 13:01:06 +0900 | [diff] [blame] | 1 | { |
2 | "type": "array", | ||||
3 | "items": { | ||||
4 | "type": "object", | ||||
5 | "required": [ | ||||
6 | "hostname", | ||||
7 | "type", | ||||
8 | "managementIp", | ||||
9 | "dataIp", | ||||
10 | "uplinkPort", | ||||
11 | "integrationBridge", | ||||
12 | "vlanPort" | ||||
13 | ], | ||||
14 | "properties": { | ||||
15 | "hostname": { | ||||
16 | "type": "string", | ||||
17 | "example": "host1" | ||||
18 | }, | ||||
19 | "type": { | ||||
20 | "type": "string", | ||||
21 | "example": "GATEWAY" | ||||
22 | }, | ||||
23 | "managementIp": { | ||||
24 | "type": "string", | ||||
25 | "example": "10.10.10.1" | ||||
26 | }, | ||||
27 | "dataIp": { | ||||
28 | "type": "string", | ||||
29 | "example": "20.20.20.2" | ||||
30 | }, | ||||
31 | "uplinkPort": { | ||||
32 | "type": "string", | ||||
33 | "example": "2" | ||||
34 | }, | ||||
35 | "integrationBridge": { | ||||
36 | "type": "string", | ||||
37 | "example": "of:0000000000000001" | ||||
38 | }, | ||||
39 | "vlanPort": { | ||||
40 | "type": "string", | ||||
41 | "example": "1" | ||||
42 | } | ||||
43 | } | ||||
44 | } | ||||
45 | } |