Jian Li | 49109b5 | 2019-01-22 00:17:28 +0900 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "required": [ |
| 4 | "nodes" |
| 5 | ], |
| 6 | "properties": { |
| 7 | "nodes": { |
| 8 | "type": "array", |
| 9 | "items": { |
| 10 | "type": "object", |
| 11 | "required": [ |
Jian Li | 58b3398 | 2020-07-01 19:07:02 +0900 | [diff] [blame] | 12 | "clusterName", |
Jian Li | 49109b5 | 2019-01-22 00:17:28 +0900 | [diff] [blame] | 13 | "hostname", |
| 14 | "type", |
| 15 | "managementIp", |
| 16 | "dataIp", |
Jian Li | f16e885 | 2019-01-22 22:55:31 +0900 | [diff] [blame] | 17 | "integrationBridge" |
Jian Li | 49109b5 | 2019-01-22 00:17:28 +0900 | [diff] [blame] | 18 | ], |
| 19 | "properties": { |
Jian Li | 58b3398 | 2020-07-01 19:07:02 +0900 | [diff] [blame] | 20 | "clusterName": { |
| 21 | "type": "string", |
| 22 | "example": "kubernetes" |
| 23 | }, |
Jian Li | 49109b5 | 2019-01-22 00:17:28 +0900 | [diff] [blame] | 24 | "hostname": { |
| 25 | "type": "string", |
| 26 | "example": "host1" |
| 27 | }, |
| 28 | "type": { |
| 29 | "type": "string", |
| 30 | "example": "GATEWAY" |
| 31 | }, |
| 32 | "managementIp": { |
| 33 | "type": "string", |
| 34 | "example": "10.10.10.1" |
| 35 | }, |
| 36 | "dataIp": { |
| 37 | "type": "string", |
| 38 | "example": "20.20.20.2" |
| 39 | }, |
| 40 | "integrationBridge": { |
| 41 | "type": "string", |
| 42 | "example": "of:0000000000000001" |
| 43 | } |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | } |
| 48 | } |