blob: e8cb1943f5c1362afcf38eb74bd81c9b025d911f [file] [log] [blame]
{
"type": "object",
"title": "vpls",
"required": [
"vpls"
],
"properties": {
"vpls": {
"type": "array",
"xml": {
"name": "vpls",
"wrapped": true
},
"items": {
"type": "object",
"title": "vpls",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"example": "VPLS1"
},
"encapsulation": {
"type": "string",
"example": "VLAN"
},
"interfaces": {
"type": "array",
"xml": {
"name": "interfaces",
"wrapped": true
},
"items": {
"type": "object",
"title": "interfaces",
"required": [
"name",
"connect point",
"ips",
"mac",
"vlan"
],
"properties": {
"name": {
"type": "string",
"example": "h1"
},
"connect point": {
"type": "string",
"example": "of:0000000000000001/1"
},
"ips": {
"type": "array",
"example": ["10.0.1.1/24"]
},
"mac": {
"type": "string",
"example": "00:04:00:00:00:02"
},
"vlan": {
"type": "string",
"example": "100"
}
}
}
}
}
}
}
}
}