Charles Chan | c7b3c45 | 2018-06-19 20:31:57 -0700 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "title": "xconnect-creation", |
| 4 | "required": [ |
| 5 | "deviceId", |
| 6 | "vlanId", |
stevenchiu30801 | 60d3da5 | 2019-10-11 05:26:47 +0800 | [diff] [blame] | 7 | "endpoints" |
Charles Chan | c7b3c45 | 2018-06-19 20:31:57 -0700 | [diff] [blame] | 8 | ], |
| 9 | "properties": { |
| 10 | "deviceId": { |
| 11 | "type": "string", |
| 12 | "example": "of:0000000000000201", |
| 13 | "description": "Device ID" |
| 14 | }, |
| 15 | "vlanId": { |
| 16 | "type": "string", |
| 17 | "example": "94", |
| 18 | "description": "VLAN ID" |
| 19 | }, |
stevenchiu30801 | 60d3da5 | 2019-10-11 05:26:47 +0800 | [diff] [blame] | 20 | "endpoints": { |
Charles Chan | c7b3c45 | 2018-06-19 20:31:57 -0700 | [diff] [blame] | 21 | "type": "array", |
| 22 | "items": { |
| 23 | "type": "int8", |
| 24 | "description": "Port number" |
| 25 | }, |
| 26 | "example": [1, 2] |
| 27 | } |
| 28 | } |
stevenchiu30801 | 60d3da5 | 2019-10-11 05:26:47 +0800 | [diff] [blame] | 29 | } |