blob: 66fbcea9d93cde946e0b46db333c0b1bf1700ffc [file] [log] [blame]
Andrea Campanella40bccdb2018-03-09 17:53:25 -08001{
2 "type": "object",
3 "title": "routes",
4 "required": [
5 "routes"
6 ],
7 "properties": {
8 "routes": {
9 "type": "array",
10 "xml": {
11 "name": "routes",
12 "wrapped": true
13 },
14 "items": {
15 "type": "object",
16 "title": "route",
17 "required": [
18 "prefix",
19 "nextHop"
20 ],
21 "properties": {
22 "prefix": {
23 "type": "string",
24 "example": "10.1.1.0/24",
25 "description": "Route prefix"
26 },
27 "nextHop": {
28 "type": "string",
29 "example": "1.1.1.1",
30 "description": "Next hop IP address"
31 }
32 }
33 }
34 }
35 }
36}