blob: 6f79e494083200eec8771a505309d688c653f559 [file] [log] [blame]
Claudine Chiuf6bf8d52016-04-08 01:31:54 +00001{
2 "type": "object",
3 "title": "vlink",
4 "required": [
5 "networkId",
6 "src",
7 "dst",
8 "type",
9 "state"
10 ],
11 "properties": {
12 "networkId": {
13 "type": "String",
14 "example": "Network identifier"
15 },
16 "src": {
17 "type": "object",
18 "title": "src",
19 "required": [
20 "port",
21 "device"
22 ],
23 "properties": {
24 "port": {
25 "type": "string",
26 "example": "3"
27 },
28 "device": {
29 "type": "string",
30 "example": "of:0000000000000002"
31 }
32 }
33 },
34 "dst": {
35 "type": "object",
36 "title": "dst",
37 "required": [
38 "port",
39 "device"
40 ],
41 "properties": {
42 "port": {
43 "type": "string",
44 "example": "2"
45 },
46 "device": {
47 "type": "string",
48 "example": "of:0000000000000003"
49 }
50 }
51 },
52 "type": {
53 "type": "string",
54 "example": "DIRECT"
55 },
56 "state": {
57 "type": "string",
58 "example": "ACTIVE"
Claudine Chiuf6bf8d52016-04-08 01:31:54 +000059 }
60 }
61}