Andreas Pantelopoulos | cd33959 | 2018-02-23 14:18:00 -0800 | [diff] [blame] | 1 | { |
| 2 | "type": "object", |
| 3 | "title": "pseudowire-creation", |
| 4 | "required": [ |
| 5 | "pwId", |
| 6 | "cP1", |
| 7 | "cP2", |
| 8 | "cP1InnerTag", |
| 9 | "cP1OuterTag", |
| 10 | "cP2InnerTag", |
| 11 | "cP2OuterTag", |
| 12 | "mode", |
| 13 | "sdTag", |
| 14 | "pwLabel" |
| 15 | ], |
| 16 | "properties": { |
| 17 | "pwId": { |
| 18 | "type": "string", |
| 19 | "example": "42", |
| 20 | "description": "Id of pseudowire to create." |
| 21 | }, |
| 22 | "cP1": { |
| 23 | "type": "string", |
| 24 | "example": "of:0000000000000227/25", |
| 25 | "description": "Pseudowire connection point 1." |
| 26 | }, |
| 27 | "cP2": { |
| 28 | "type": "string", |
| 29 | "example": "of:0000000000000226/25", |
| 30 | "description": "Pseudowire connection point 2." |
| 31 | }, |
| 32 | "cP1InnerTag": { |
| 33 | "type": "string", |
| 34 | "example": "101", |
| 35 | "description": "Inner vlan for pseudowire connection point 1." |
| 36 | }, |
| 37 | "cP1OuterTag": { |
| 38 | "type": "string", |
| 39 | "example": "", |
| 40 | "description": "Outer vlan for pseudowire connection point 1." |
| 41 | }, |
| 42 | "cP2InnerTag": { |
| 43 | "type": "string", |
| 44 | "example": "101", |
| 45 | "description": "Inner vlan for pseudowire connection point 2." |
| 46 | }, |
| 47 | "cP2OuterTag": { |
| 48 | "type": "string", |
| 49 | "example": "", |
| 50 | "description": "Outer vlan for pseudowire connection point 2." |
| 51 | }, |
| 52 | "mode": { |
| 53 | "type": "string", |
| 54 | "example": "RAW", |
| 55 | "description": "Working mode of pseudowire." |
| 56 | }, |
| 57 | "sDTag": { |
| 58 | "type": "string", |
| 59 | "example": "", |
| 60 | "description": "Service delimiting tag of the pseudowire" |
| 61 | }, |
| 62 | "pwLabel": { |
| 63 | "type": "256", |
Andreas Pantelopoulos | 811bbae | 2018-03-15 16:56:09 -0700 | [diff] [blame] | 64 | "example": "1577", |
Andreas Pantelopoulos | cd33959 | 2018-02-23 14:18:00 -0800 | [diff] [blame] | 65 | "description": "Pseudowire label." |
| 66 | } |
| 67 | } |
| 68 | } |