DScano | 55a0103 | 2020-04-09 20:01:50 +0200 | [diff] [blame] | 1 | { |
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": [ | ||||
18 | "name", | ||||
19 | "encapsulation" | ||||
20 | ], | ||||
21 | "properties": { | ||||
22 | "name": { | ||||
23 | "type": "string", | ||||
24 | "example": "VPLS1" | ||||
25 | }, | ||||
26 | "encapsulation": { | ||||
27 | "type": "string", | ||||
28 | "example": "VLAN" | ||||
29 | }, | ||||
30 | "interfaces": { | ||||
31 | "type": "array", | ||||
32 | "xml": { | ||||
33 | "name": "interfaces", | ||||
34 | "wrapped": true | ||||
35 | }, | ||||
36 | "items": { | ||||
37 | "type": "object", | ||||
38 | "title": "interfaces", | ||||
39 | "required": [ | ||||
40 | "name", | ||||
41 | "connect point", | ||||
42 | "ips", | ||||
43 | "mac", | ||||
44 | "vlan" | ||||
45 | ], | ||||
46 | "properties": { | ||||
47 | "name": { | ||||
48 | "type": "string", | ||||
49 | "example": "h1" | ||||
50 | }, | ||||
51 | "connect point": { | ||||
52 | "type": "string", | ||||
53 | "example": "of:0000000000000001/1" | ||||
54 | }, | ||||
55 | "ips": { | ||||
56 | "type": "array", | ||||
57 | "example": ["10.0.1.1/24"] | ||||
58 | }, | ||||
59 | "mac": { | ||||
60 | "type": "string", | ||||
61 | "example": "00:04:00:00:00:02" | ||||
62 | }, | ||||
63 | "vlan": { | ||||
64 | "type": "string", | ||||
65 | "example": "100" | ||||
66 | } | ||||
67 | } | ||||
68 | } | ||||
69 | } | ||||
70 | } | ||||
71 | } | ||||
72 | } | ||||
73 | } | ||||
74 | } | ||||
75 |