diff --git a/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/qos-class.json b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/qos-class.json new file mode 100644 index 000000000..47edc1aac --- /dev/null +++ b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/qos-class.json @@ -0,0 +1,122 @@ +{ + "uuid": 2, + "globals": { + "wireless-multimedia": { + "profile": "rfc8325" + } + }, + "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" + }, + "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" + } + }, + "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 + }, + "quality-of-service": { + "select-ports": [ "WAN" ], + "bandwidth_up": 1000, + "bandwidth_down": 1000, + "bulk-detection": { + "dscp": "CS1", + "packets-per-second": 500 + }, + "services": [ "zoom", "hbo", "netflix" ] + }, + "airtime-fairness": { + "voice-weight": 4, + "packet-threshold": 100, + "bulk-threshold": 50, + "priority-threshold": 30, + "weight-normal": 256, + "weight-priority": 384, + "weight-bulk": 128 + } + } +}