diff --git a/feeds/ucentral/ucentral-schema/Makefile b/feeds/ucentral/ucentral-schema/Makefile index 7b95a91df..606d818c0 100644 --- a/feeds/ucentral/ucentral-schema/Makefile +++ b/feeds/ucentral/ucentral-schema/Makefile @@ -4,10 +4,10 @@ PKG_NAME:=ucentral-schema PKG_RELEASE:=1 PKG_SOURCE_URL=https://github.com/Telecominfraproject/wlan-ucentral-schema.git -PKG_MIRROR_HASH:=4893535deee9027a3a1c2a3c041264314fa631175b3517b8ec38c989869786c4 +PKG_MIRROR_HASH:=d48abe7a8d2ac63fae47b3bf06f8ad99ed80009988b861f0d8087f7b9f14bd23 PKG_SOURCE_PROTO:=git PKG_SOURCE_DATE:=2022-05-29 -PKG_SOURCE_VERSION:=2b884b3781c1315cc4dad934316d5eec7972c524 +PKG_SOURCE_VERSION:=7615f040157e55ac4702ba59183e47a6f5b2bf6b PKG_MAINTAINER:=John Crispin PKG_LICENSE:=BSD-3-Clause diff --git a/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/block-rfc1918.json b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/block-rfc1918.json new file mode 100644 index 000000000..f71db2dbb --- /dev/null +++ b/feeds/ucentral/ucentral-schema/files/etc/ucentral/examples/block-rfc1918.json @@ -0,0 +1,75 @@ +{ + "uuid": 2, + "radios": [ + { + "band": "2G", + "country": "CA", + "channel-mode": "HE", + "channel-width": 20, + "channel": 1 + } + ], + + "interfaces": [ + { + "name": "WAN", + "role": "upstream", + "ethernet": [ + { + "select-ports": [ + "WAN*" + ] + } + ], + "ipv4": { + "addressing": "dynamic" + } + }, + { + "name": "LAN", + "role": "downstream", + "services": [ "ssh" ], + "ethernet": [ + { + "select-ports": [ + "LAN*" + ] + } + ], + "ipv4": { + "addressing": "static", + "subnet": "192.168.1.1/24", + "dhcp": { + "lease-first": 10, + "lease-count": 100, + "lease-time": "6h" + }, + "disallow-upstream-subnet": [ + "192.168.0.0/16", + "127.16.0.0/12", + "10.0.0.0/8" + ] + }, + "ssids": [ + { + "name": "OpenWifi", + "wifi-bands": [ + "2G" + ], + "bss-mode": "ap", + "encryption": { + "proto": "psk2", + "key": "OpenWifi", + "ieee80211w": "optional" + } + } + ] + + } + ], + "services": { + "ssh": { + "port": 22 + } + } +}