From 2b3cc2a5cf91caedc8015e662c44c4fa901d036e Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 9 Nov 2021 15:36:11 +0100 Subject: [PATCH] ucentral: add a dual-stack example config Signed-off-by: John Crispin --- .../etc/ucentral/examples/dual-stack.json | 107 ++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/dual-stack.json diff --git a/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/dual-stack.json b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/dual-stack.json new file mode 100644 index 000000000..adf198f2b --- /dev/null +++ b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/dual-stack.json @@ -0,0 +1,107 @@ +{ + "uuid": 2, + "radios": [ + { + "band": "2G", + "country": "CA", + "channel-mode": "HE", + "channel-width": 80, + "channel": 32 + } + ], + + "interfaces": [ + { + "name": "WAN", + "role": "upstream", + "services": [ "lldp" ], + "ethernet": [ + { + "select-ports": [ + "WAN*" + ] + } + ], + "ipv4": { + "addressing": "dynamic" + }, + "ipv6": { + "addressing": "dynamic" + }, + "ssids": [ + { + "name": "OpenWifi", + "wifi-bands": [ + "2G" + ], + "bss-mode": "ap", + "encryption": { + "proto": "psk2", + "key": "OpenWifi", + "ieee80211w": "optional" + } + } + ] + }, + { + "name": "LAN", + "role": "downstream", + "services": [ "ssh", "lldp" ], + "ethernet": [ + { + "select-ports": [ + "LAN*" + ] + } + ], + "ipv4": { + "addressing": "static", + "subnet": "192.168.1.1/24", + "dhcp": { + "lease-first": 10, + "lease-count": 100, + "lease-time": "6h" + } + }, + "ipv6": { + "addressing": "static", + "dhcpv6": { + "mode": "hybrid" + } + }, + "ssids": [ + { + "name": "OpenWifi", + "wifi-bands": [ + "2G" + ], + "bss-mode": "ap", + "encryption": { + "proto": "psk2", + "key": "OpenWifi", + "ieee80211w": "optional" + } + } + ] + + } + ], + "metrics": { + "statistics": { + "interval": 120, + "types": [ "ssids", "lldp", "clients" ] + }, + "health": { + "interval": 120 + } + }, + "services": { + "lldp": { + "describe": "uCentral", + "location": "universe" + }, + "ssh": { + "port": 22 + } + } +}