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