{ | |
"type": "object", | |
"title": "pseudowire-creation", | |
"required": [ | |
"pwId", | |
"cP1", | |
"cP2", | |
"cP1InnerTag", | |
"cP1OuterTag", | |
"cP2InnerTag", | |
"cP2OuterTag", | |
"mode", | |
"sdTag", | |
"pwLabel" | |
], | |
"properties": { | |
"pwId": { | |
"type": "string", | |
"example": "42", | |
"description": "Id of pseudowire to create." | |
}, | |
"cP1": { | |
"type": "string", | |
"example": "of:0000000000000227/25", | |
"description": "Pseudowire connection point 1." | |
}, | |
"cP2": { | |
"type": "string", | |
"example": "of:0000000000000226/25", | |
"description": "Pseudowire connection point 2." | |
}, | |
"cP1InnerTag": { | |
"type": "string", | |
"example": "101", | |
"description": "Inner vlan for pseudowire connection point 1." | |
}, | |
"cP1OuterTag": { | |
"type": "string", | |
"example": "", | |
"description": "Outer vlan for pseudowire connection point 1." | |
}, | |
"cP2InnerTag": { | |
"type": "string", | |
"example": "101", | |
"description": "Inner vlan for pseudowire connection point 2." | |
}, | |
"cP2OuterTag": { | |
"type": "string", | |
"example": "", | |
"description": "Outer vlan for pseudowire connection point 2." | |
}, | |
"mode": { | |
"type": "string", | |
"example": "RAW", | |
"description": "Working mode of pseudowire." | |
}, | |
"sDTag": { | |
"type": "string", | |
"example": "", | |
"description": "Service delimiting tag of the pseudowire" | |
}, | |
"pwLabel": { | |
"type": "256", | |
"example": "1577", | |
"description": "Pseudowire label." | |
} | |
} | |
} |