blob: 752e6eb099f38067724c44b4730250bb03221bc8 [file] [log] [blame]
Andreas Pantelopoulosff691b72018-03-12 16:30:20 -07001{
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 Pantelopoulos811bbae2018-03-15 16:56:09 -070059 "example": "1577",
Andreas Pantelopoulosff691b72018-03-12 16:30:20 -070060 "description": "Pseudowire label."
61 }
62 }
63 }
64 }
65 }
66}