mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 01:52:51 +00:00
ucentral-schema: add example vlan config for switches
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"uuid": 2,
|
||||
|
||||
"ethernet": [
|
||||
{
|
||||
"select-ports": [
|
||||
"WAN1"
|
||||
],
|
||||
"speed": 100,
|
||||
"duplex": "half"
|
||||
},
|
||||
{
|
||||
"select-ports": [
|
||||
"WAN2"
|
||||
],
|
||||
"speed": 1000,
|
||||
"duplex": "full"
|
||||
},
|
||||
{
|
||||
"select-ports": [
|
||||
"WAN3"
|
||||
],
|
||||
"speed": 100,
|
||||
"duplex": "half"
|
||||
}
|
||||
],
|
||||
|
||||
"interfaces": [
|
||||
{
|
||||
"name": "WAN100",
|
||||
"role": "upstream",
|
||||
"services": [ "lldp", "ssh" ],
|
||||
"ethernet": [
|
||||
{
|
||||
"select-ports": [
|
||||
"WAN1", "WAN2", "WAN3"
|
||||
],
|
||||
"vlan-tag": "un-tagged"
|
||||
}, {
|
||||
"select-ports": [
|
||||
"WAN7", "WAN8"
|
||||
]
|
||||
}
|
||||
],
|
||||
"vlan": {
|
||||
"id": 100
|
||||
},
|
||||
"ipv4": {
|
||||
"addressing": "dynamic"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "WAN200",
|
||||
"role": "upstream",
|
||||
"services": [ "lldp", "ssh" ],
|
||||
"ethernet": [
|
||||
{
|
||||
"select-ports": [
|
||||
"WAN4", "WAN5", "WAN6"
|
||||
],
|
||||
"vlan-tag": "un-tagged"
|
||||
}, {
|
||||
"select-ports": [
|
||||
"WAN7", "WAN8"
|
||||
]
|
||||
}
|
||||
],
|
||||
"vlan": {
|
||||
"id": 101
|
||||
},
|
||||
"ipv4": {
|
||||
"addressing": "dynamic"
|
||||
}
|
||||
}
|
||||
],
|
||||
"metrics": {
|
||||
"statistics": {
|
||||
"interval": 120,
|
||||
"types": [ "ssids", "lldp", "clients" ]
|
||||
},
|
||||
"health": {
|
||||
"interval": 120
|
||||
}
|
||||
},
|
||||
"services": {
|
||||
"lldp": {
|
||||
"describe": "uCentral",
|
||||
"location": "universe"
|
||||
},
|
||||
"ssh": {
|
||||
"port": 22
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user