This repository has been archived by the owner on Nov 29, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathbgphost.json
executable file
·57 lines (57 loc) · 1.86 KB
/
bgphost.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"name": "contivModel",
"objects": [{
"name": "Bgp",
"version": "v1",
"type": "object",
"key": ["hostname"],
"cfgProperties": {
"hostname": {
"type": "string",
"title": "host name",
"length": 256,
"format": "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\\\-]*[a-zA-Z0-9])\\\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\\\-]*[A-Za-z0-9])$"
},
"routerip": {
"type": "string",
"title": "Bgp router intf ip",
"format": "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})(\\\\-(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9]))?/(3[0-1]|2[0-9]|1[0-9]|[1-9])$"
},
"as": {
"type": "string",
"title": "AS id",
"length": 64
},
"neighbor-as": {
"type": "string",
"title": "AS id",
"length": 64
},
"neighbor": {
"type": "string",
"title": "Bgp neighbor",
"length": 15,
"format": "^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(\\\\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})?$"
}
},
"operProperties": {
"numRoutes": {
"type": "int",
"title": "number of routes"
},
"neighborStatus": {
"type": "string",
"title": "neighbor status"
},
"adminStatus": {
"type": "string",
"title": "admin status"
},
"routes": {
"type": "array",
"items": "string",
"title": "routes"
}
}
}]
}