Claudine Chiu | f6bf8d5 | 2016-04-08 01:31:54 +0000 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "title": "vlink", |
| 4 | "required": [ |
| 5 | "networkId", |
| 6 | "src", |
| 7 | "dst", |
| 8 | "type", |
| 9 | "state" |
| 10 | ], |
| 11 | "properties": { |
| 12 | "networkId": { |
Claudine Chiu | 1decd53 | 2016-04-19 18:30:01 +0000 | [diff] [blame] | 13 | "type": "int64", |
| 14 | "description": "Network identifier", |
| 15 | "example": 3 |
Claudine Chiu | f6bf8d5 | 2016-04-08 01:31:54 +0000 | [diff] [blame] | 16 | }, |
| 17 | "src": { |
| 18 | "type": "object", |
| 19 | "title": "src", |
| 20 | "required": [ |
| 21 | "port", |
| 22 | "device" |
| 23 | ], |
| 24 | "properties": { |
| 25 | "port": { |
Claudine Chiu | 1decd53 | 2016-04-19 18:30:01 +0000 | [diff] [blame] | 26 | "type": "int64", |
| 27 | "example": 3 |
Claudine Chiu | f6bf8d5 | 2016-04-08 01:31:54 +0000 | [diff] [blame] | 28 | }, |
| 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 Chiu | 1decd53 | 2016-04-19 18:30:01 +0000 | [diff] [blame] | 44 | "type": "int64", |
| 45 | "example": 2 |
Claudine Chiu | f6bf8d5 | 2016-04-08 01:31:54 +0000 | [diff] [blame] | 46 | }, |
| 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 Chiu | f6bf8d5 | 2016-04-08 01:31:54 +0000 | [diff] [blame] | 60 | } |
| 61 | } |
| 62 | } |