blob: daa50199de31419c22cf4ff3310a189e8bbe22b7 [file] [log] [blame]
Claudine Chiu1decd532016-04-19 18:30:01 +00001{
2 "type": "object",
3 "title": "VirtualPorts",
4 "required": [
5 "ports"
6 ],
7 "properties": {
8 "ports": {
9 "type": "array",
10 "xml": {
11 "name": "ports",
12 "wrapped": true
13 },
14 "items": {
15 "type": "object",
16 "title": "vport",
17 "required": [
18 "networkId",
19 "deviceId",
20 "portNum",
21 "physDeviceId",
22 "physPortNum"
23 ],
24 "properties": {
25 "networkId": {
26 "type": "int64",
27 "description": "Network identifier",
28 "example": 3
29 },
30 "deviceId": {
31 "type": "String",
32 "description": "Virtual device identifier",
33 "example": "of:0000000000000042"
34 },
35 "portNum": {
36 "type": "int64",
37 "description": "Virtual device port number",
38 "example": 34
39 },
40 "physDeviceId": {
41 "type": "String",
42 "description": "Physical device identifier",
43 "example": "of:0000000000000003"
44 },
45 "physPortNum": {
46 "type": "int64",
47 "description": "Physical device port number",
48 "example": 2
49 }
50 }
51 }
52 }
53 }
54}