blob: e931e2be73703b4c45ba6e29836f428a29c7d385 [file] [log] [blame]
Jian Lif65d72e2018-02-13 13:01:06 +09001{
Jian Li33361632018-02-23 18:14:54 +09002 "type": "object",
3 "required": [
4 "nodes"
5 ],
6 "properties": {
7 "nodes": {
8 "type": "array",
9 "items": {
10 "type": "object",
11 "required": [
12 "hostname",
13 "type",
14 "managementIp",
15 "dataIp",
16 "uplinkPort",
17 "integrationBridge",
18 "vlanPort"
19 ],
20 "properties": {
21 "hostname": {
22 "type": "string",
23 "example": "host1"
24 },
25 "type": {
26 "type": "string",
27 "example": "GATEWAY"
28 },
29 "managementIp": {
30 "type": "string",
31 "example": "10.10.10.1"
32 },
33 "dataIp": {
34 "type": "string",
35 "example": "20.20.20.2"
36 },
37 "uplinkPort": {
38 "type": "string",
39 "example": "2"
40 },
41 "integrationBridge": {
42 "type": "string",
43 "example": "of:0000000000000001"
44 },
45 "vlanPort": {
46 "type": "string",
47 "example": "1"
48 }
49 }
Jian Lif65d72e2018-02-13 13:01:06 +090050 }
51 }
52 }
53}