mirror of
https://github.com/Telecominfraproject/olg-ucentral-schema.git
synced 2026-03-20 03:39:23 +00:00
133 lines
3.4 KiB
JSON
133 lines
3.4 KiB
JSON
{
|
|
"high-availability": {
|
|
"vrrp": {
|
|
"groups": [
|
|
{
|
|
"interface": "br-lan",
|
|
"name": "vrrp-br-lan",
|
|
"preempt": true,
|
|
"priority": 30,
|
|
"virtual-addresses": [
|
|
"10.28.3.254/24"
|
|
],
|
|
"vrid": 30
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"interfaces": [
|
|
{
|
|
"ipv4": {
|
|
"addressing": "dhcp"
|
|
},
|
|
"mtu": 1500,
|
|
"name": "eth2",
|
|
"role": "upstream",
|
|
"type": "ethernet"
|
|
},
|
|
{
|
|
"bridge": {
|
|
"members": [
|
|
"eth0",
|
|
"eth1",
|
|
"eth4",
|
|
"eth5"
|
|
],
|
|
"stp": false
|
|
},
|
|
"ipv4": {
|
|
"address": [
|
|
"10.28.3.30/24"
|
|
],
|
|
"addressing": "static"
|
|
},
|
|
"mtu": 1500,
|
|
"name": "br-lan",
|
|
"role": "downstream",
|
|
"type": "bridge"
|
|
}
|
|
],
|
|
"load-balancing": {
|
|
"wan-lb": {
|
|
"interfaces": [
|
|
{
|
|
"failure-count": 1,
|
|
"health-check": {
|
|
"target": "dhcp"
|
|
},
|
|
"name": "eth2",
|
|
"success-count": 1
|
|
},
|
|
{
|
|
"failure-count": 1,
|
|
"health-check": {
|
|
"target": "dhcp"
|
|
},
|
|
"name": "eth3",
|
|
"success-count": 1
|
|
}
|
|
],
|
|
"rules": [
|
|
{
|
|
"id": 10,
|
|
"inbound-interface": "br-lan",
|
|
"wan-interfaces": [
|
|
{
|
|
"name": "eth2",
|
|
"weight": 2
|
|
},
|
|
{
|
|
"name": "eth3",
|
|
"weight": 1
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"metrics": {
|
|
"health": {
|
|
"interval": 60
|
|
},
|
|
"statistics": {
|
|
"interval": 300,
|
|
"types": []
|
|
}
|
|
},
|
|
"services": {
|
|
"dhcp-server": {
|
|
"networks": [
|
|
{
|
|
"name": "dhcp-0",
|
|
"subnets": [
|
|
{
|
|
"default-router": "10.28.3.30",
|
|
"dns-servers": [
|
|
"10.28.3.30"
|
|
],
|
|
"lease-time": 86400,
|
|
"ranges": [
|
|
{
|
|
"start": "10.28.3.100",
|
|
"stop": "10.28.3.200"
|
|
}
|
|
],
|
|
"subnet": "10.28.3.0/24"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"system": {
|
|
"syslog": {
|
|
"local": [
|
|
{
|
|
"facility": "daemon",
|
|
"severity": "info"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"uuid": 1773122755
|
|
} |