blob: e8cb1943f5c1362afcf38eb74bd81c9b025d911f [file] [log] [blame]
DScano55a01032020-04-09 20:01:50 +02001{
2 "type": "object",
3 "title": "vpls",
4 "required": [
5 "vpls"
6 ],
7 "properties": {
8 "vpls": {
9 "type": "array",
10 "xml": {
11 "name": "vpls",
12 "wrapped": true
13 },
14 "items": {
15 "type": "object",
16 "title": "vpls",
17 "required": [
DScanoaf46bac2020-05-19 18:28:12 +020018 "name"
DScano55a01032020-04-09 20:01:50 +020019 ],
20 "properties": {
21 "name": {
22 "type": "string",
23 "example": "VPLS1"
24 },
25 "encapsulation": {
26 "type": "string",
27 "example": "VLAN"
28 },
29 "interfaces": {
30 "type": "array",
31 "xml": {
32 "name": "interfaces",
33 "wrapped": true
34 },
35 "items": {
36 "type": "object",
37 "title": "interfaces",
38 "required": [
39 "name",
40 "connect point",
41 "ips",
42 "mac",
43 "vlan"
44 ],
45 "properties": {
46 "name": {
47 "type": "string",
48 "example": "h1"
49 },
50 "connect point": {
51 "type": "string",
52 "example": "of:0000000000000001/1"
53 },
54 "ips": {
55 "type": "array",
56 "example": ["10.0.1.1/24"]
57 },
58 "mac": {
59 "type": "string",
60 "example": "00:04:00:00:00:02"
61 },
62 "vlan": {
63 "type": "string",
64 "example": "100"
65 }
66 }
67 }
68 }
69 }
70 }
71 }
72 }
73}
74