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