blob: 87a776ca1e52b58683670be33658c62004955ad4 [file] [log] [blame]
Charles Chan8d316332018-06-19 20:31:57 -07001{
2 "type": "object",
3 "title": "xconnect-creation",
4 "required": [
5 "deviceId",
6 "vlanId",
stevenchiu308015408c0e2019-10-11 05:26:47 +08007 "endpoints"
Charles Chan8d316332018-06-19 20:31:57 -07008 ],
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 },
stevenchiu308015408c0e2019-10-11 05:26:47 +080020 "endpoints": {
Charles Chan8d316332018-06-19 20:31:57 -070021 "type": "array",
22 "items": {
23 "type": "int8",
24 "description": "Port number"
25 },
26 "example": [1, 2]
27 }
28 }
stevenchiu308015408c0e2019-10-11 05:26:47 +080029}