blob: 8550eb44c93ecd7ceaaf8f60febda096887d06e5 [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": {
Claudine Chiu1decd532016-04-19 18:30:01 +000013 "type": "int64",
14 "description": "Network identifier",
15 "example": 3
Claudine Chiuf6bf8d52016-04-08 01:31:54 +000016 },
17 "src": {
18 "type": "object",
19 "title": "src",
20 "required": [
21 "port",
22 "device"
23 ],
24 "properties": {
25 "port": {
Claudine Chiu1decd532016-04-19 18:30:01 +000026 "type": "int64",
27 "example": 3
Claudine Chiuf6bf8d52016-04-08 01:31:54 +000028 },
29 "device": {
30 "type": "string",
31 "example": "of:0000000000000002"
32 }
33 }
34 },
35 "dst": {
36 "type": "object",
37 "title": "dst",
38 "required": [
39 "port",
40 "device"
41 ],
42 "properties": {
43 "port": {
Claudine Chiu1decd532016-04-19 18:30:01 +000044 "type": "int64",
45 "example": 2
Claudine Chiuf6bf8d52016-04-08 01:31:54 +000046 },
47 "device": {
48 "type": "string",
49 "example": "of:0000000000000003"
50 }
51 }
52 },
53 "type": {
54 "type": "string",
55 "example": "DIRECT"
56 },
57 "state": {
58 "type": "string",
59 "example": "ACTIVE"
Claudine Chiuf6bf8d52016-04-08 01:31:54 +000060 }
61 }
62}