Change log¶
Version 1.0.2 [2022-12-02]¶
Bugfixes¶
- Fixed parsing of wifi interface without ifname
- Fixed parsing of wifi with encryption set to none
- Fixed parsing wifi interface boolean typecasting
- Fixed a backward compatibility issue with bridges not being prefixed with “br-” on OpenWrt >= 21
Version 1.0.1 [2022-05-11]¶
Bugfixes¶
- Fixed modem-manager configuration for OpenWrt 21
- Fixed WiFi interface configuration for OpenWrt 21
Version 1.0.0 [2022-04-20]¶
Features¶
- Added support for the new DSA bridge syntax to the OpenWrt backend
- Added support for Wireguard and Wireguard/VXLAN
- Added support for Wireguard interfaces in OpenWrt backend
- Added support for VXLAN interfaces in OpenWrt backend
- Added
auth_nocacheproprety to theOpenVpnbackend - Added support for OpenVPN tls-auth option, the OpenVPN backend will automatically create a file for the key present in “tls_auth” field and update the value of the “tls-auth” parameter
- Added
prototo remote setting of theOpenVpnbackend - Added support for IEEE 802.11w configurations to the
OpenWrtbackend - Added support for Wifi6 / IEEE 802.11ax to the
OpenWrtbackend - Added support for basic IEEE 802.11r options to the
OpenWrtbackend - Added support for WPA3 to the
OpenWrtbackend - Added support for EAP-PEAP as
authmethod in WPA2 enterprise wifi client configuration ofOpenWrtbackend - Removed option of 2.4GHz radio for 802.11ac from the
OpenWrtbackend
Changes¶
Backward incompatible changes¶
- By default, the
OpenWrtbackend now generates bridge syntax in the new DSA compatible format, to override this,dsa=Falsemust be passed during the initialization of the backend
Dependencies¶
- Dropped support for Python 3.6
- Added support for Python 3.8 and 3.9
- Upgraded Jinja to 3.0
- Upgraded jsonschema to 3.2.x
- Upgraded to openwisp-utils 1.0.x and reformatted code with latest version of the black formatter
Other changes¶
- Simplified bridging of wifi interfaces in the OpenWrt backend: users can now simply add a wifi interface to a bridge and forget about having to update also the attached networks of the OpenWrt configuration
Bugfixes¶
- Ensured values are always deep copied when using
merge_config, without this change the different schemas remain interwined and a dynamic change to one part which is reused by other schemas will affect different backends inadvertently - The file
pathis not allowed to be an empty string anymore - Ignored duplicate list elements when merging templates: detect identical elements present in both lists to avoid adding the duplicate to the result; this is needed because some templates may share one or multiple common files and these do not not have to be duplicated
- Fixed typo in EAP TTLS protocol
enum_titleofOpenWrtbackend: it was showing EAP-PEAP even though TTLS was set - Fixed madwifi driver for legacy systems
- Fixed comp-lzo option for legacy OpenVPN in OpenWisp1 backend
- Fixed UCI format backward compatibility with OpenWISP 1 This fix is needed to allow workarounds in the code of OpenWISP-Firmware to keep working also with OpenWISP 2
Version 0.9.1 [2021-02-15]¶
- [fix] Removed
mtu_discfromauto_clientmethod because it causes issues on most OpenWRT systems - [fix] Avoided maxLength on PIN property to allow configuration variables
- [change] Add missing TLS ciphers to OpenVPN
Version 0.9.0 [2020-11-18]¶
- [change] Potentially backward incompatible: added support for dialup interfaces (ppp, pppoe, pppoa, 3g, qmi, ncm, wwan, pptp, 6in4, aiccu or l2tp) to openwrt backend. This change is backward incompatible if the same type of configuration was achieved using a workaround, in these cases the configuration will have to be upgraded to use the new format.
- [feature] Added support for modem manager interfaces
Version 0.8.2 [2020-08-17]¶
- [fix] Fixed bug in OpenWRT backend validation for ip_rules/src
Version 0.8.1 [2020-05-28]¶
- Fixed bug that prevented overriding the contents of a file present in a template and caused the file to be duplicated instead of overwritten
- Fixed bug affecting backward conversion of switch VLAN on OpenWRT
Version 0.8.0 [2020-04-03]¶
- Changed default file mode for certificate files generated with
from
0644to0600
Version 0.7.0 [2020-01-14]¶
- Dropped support for python 2.7
- Updated github buttons in documentation which were causing an unintended redirect
- Updated the jsonschema library to version 3.x
Version 0.6.4 [2019-12-09]¶
Version 0.6.3 [2018-07-09]¶
- #106 [extensions] Query backends from installed packages (thanks to @EdoPut)
- #109 [doc] Added reference to plugin interface (thanks to @EdoPut)
- #99 [cli] print traceback fully if the verbose flag is passed (thanks to @EdoPut)
- #108 [openvpn] Added more options to the OpenVPN backend (thanks to @okraits)
Version 0.6.2 [2017-08-29]¶
Version 0.6.1 [2017-07-05]¶
- 5ddc201: [general] Avoid default mutable arguments
- dde3c9b:
[openvpn] Added explicit
list_identifiersattribute - 8c26cd6: [docs] Updated outdated OpenWRT rendering examples
- 5f8483e: [openwrt] Fixed repeated bridge gateway case
- #84 [exceptions] Improved validation errors (thanks to @EdoPut)
- #85 [openwrt] Added “vid” option in “switch”
- #86 [openwrt] Added support for “ip6gw” option
- #70 [feature] Backward conversion
- #87 [openwrt] Removed automatic timezone
Version 0.6.0 [2017-06-01]¶
- #70 [general] Preliminary work for backward conversion, more info in the OpenWISP Mailing List
- #58:
[openwrt] Dropped obsolete code in
OpenVpnconverter - #59: [openwrt] Improved multiple ip address output
Version 0.5.6 [2017-05-24]¶
Version 0.5.5.post1 [2017-04-18]¶
Version 0.5.4 [2017-02-14]¶
- 6f712d1:
[utils] Implemented identifiers as parameters in
utils.merge_list - fcae96c:
[openwrt] Added
config_valueidentifier inutils.merge_list - eaa04de:
[docs] Improved “All the other settings”
section in
OpenWrtbackend - #60 [openvpn] Fixed
resolv_retrybug; minor backward incompatible change: handled in django-netjsonconfig with a migration - f25e77e:
[openvpn] Added
topologyattribute to schema - c4aa07a: [openvpn] Allow to omit seconds in status attribute
Version 0.5.3 [2017-01-17]¶
Version 0.5.1 [2016-09-22]¶
Version 0.5.0 [2016-09-19]¶
Version 0.4.5 [2016-09-05]¶
- #53: [docs] avoid ambiguity on dashes in context
- #52: [schema] added countries list as
enumfor radios (thanks to @zachantre)
Version 0.4.2 [2016-04-11]¶
Version 0.4.1 [2016-04-04]¶
- b903c6f: [schema] corrected wrong ipv4 minLength and maxLength
- de98ae6: [schema] fixed interface minLength attribute
- 4679282: [schema] added regexp pattern for interface mac address (can be empty)
- 067b471: [schema] switched order between MTU and MAC address properties
- 26b62dd: [schema] added pattern for wireless BSSID attribute
- 11da509: [openwrt] added regexp pattern to
maclistelements - b061ee4: [openwrt] fixed empty output bug if addresses is empty list
- 7f74209: [openwrt] removed support for
chanbwfor typesath5kandath9k(backward incompatible change) - #46: [schema] introduced different profiles for radio settings
- 6ab9d5b [openwrt] added support for “Automatic Channel Selection”
- #48: [openwrt] improved support for config lists
- 9f93776: [openwrt] simplified definition of custom interface “proto” options
- a5f63f0: [openwrt] allow to override general dns and dns_search settings
- 1b58f97: [schema] added
stp(spanning tree protocol) property on bridge interfaces - bfbf23d: [openwrt] added
igmp_snoopingproperty on bridge interfaces - 269c7bf: [openwrt] added
isolateproperty on wireless access points - 2cbc242: [openwrt] fixed
autostartwhenFalse - 85bd7dc: [openwrt] fixed mac address override on interfaces
- 45159e8: [openwrt] allow overriding
htmodeoption - b218f7d: [schema] added
enum_titlesinencryptionprotocols - ef8c296: [schema] validate general hostname format
- 2f23cfd: [schema] validate interface ipv4 address format
- 612959e: [openwrt] validate ntp server hostname format
- f1116f0: [schema] validate
dns_searchhostname format #42 - 372d634 [openwrt] do not set dns to dhcp interfaces
Version 0.4.0 [2016-03-22]¶
- #40: [openwrt] added support for ULA prefix
- #44: [schema] added
noneto encryption choices - #45: [schema] improved address definition
- #43: [openwrt] improved static routes
- #41: [schema] added
wdsproperty & removedwdsmode - #36: [schema] added specific settings for 802.11s (mesh) mode
- 3f6d2c6: [schema] removed NetJSON
typefrom schema - 04c6058: [openwrt] made file
modeproperty required (backward incompatible change) - 00e784e: [openwrt] added default switch settings
- dd708cb: [openwrt] added NTP default settings
- f4148e4: [schema] removed
txqueuelenfrom interface definition - 574a48d: [schema] added
titleandtypetobridge_members - c6276f2: [schema] MTU title and minimum value
- d8ab0e0: [schema] added
minLengthto interface name - 67a0916: [schema] added
minLengthto radio name - 258892e: [schema] added possible
ciphers - 2751fe3: [schema] improved definition of wireless interface fields
- 478ef16: [openwrt] added
wmmproperty for wireless access points - b9a14f3: [schema] added
minLengthandmaxLengthto interfacemacproperty - 526c2d1: [schema] added
minLengthand maxLength to wirelessbssidproperty - c8c95d6: [schema] improved ordering and titles of wireless properties
- a226e90: [openwrt] ignore advanced wifi options if zero
- e008ef6: [openwrt] added
macfilterto wireless access points - c70ab76: [openwrt] fixed empty dns and dns-search bug
- 778615a: [openwrt] increased network
maxLength
Version 0.3.7 [2016-02-19]¶
Version 0.3.6 [2016-02-17]¶
- fixed
flake8andisortwarnings - added
flake8andisortchecks to travis build - 6ec5ce8: minor regexp optimization for generate method
- #39: added configuration variables feature
- a3486d2:
the shell utility can now use environment variables in
configandtemplates, read relevant docs
Version 0.3.5 [2016-02-10]¶
- 18ecf28:
removed
hardwareandoperating_systemsections - 75c259d: reordered schema sections
- 010ca98: file contents can now be only strings (backward incompatible change)
- e2bb3b2:
added non-standard
propertyOrderattributes to schemas to facilitate UI ordering - #37:
[schema] radio
tx_powernot required anymore - #38: [openwrt schema] hardened file mode contraints
- c2cc3fc: [schema] added minlength and maxlength to hostname
Version 0.3.3 [2015-12-18]¶
Version 0.3.2 [2015-12-11]¶
- #31 added files in
renderoutput - #32
generatenow returns an in-memory file object - badf292 updated command line utility script and examples
- #33 added
writemethod - 5ff7360 [cli] positional
configparam is now--configor-c - 28de4a5 [cli] marked required arguments:
--config,--backendand--method - f55cc4a [cli] added
--argoption to pass arguments to methods
Version 0.3.1 [2015-12-02]¶
Version 0.3 [2015-11-30]¶
- #18 added
OpenWispbackend - 66ee96 added file permission feature
- #19 added sphinx documentation (published at netjsonconfig.openwisp.org)
- 30348e hardened ntp server option schema for
OpenWrtbackend - c31375 added madwifi to the allowed drivers in schema
OpenWrtbackend - #30 updated schema according to latest NetJSON spec
Version 0.2 [2015-11-23]¶
- #20 added support for array of lines in files
- #21 date is now correctly set in tar.gz files
- 82cc5e configuration archive is now compatible with
sysupgrade -r - #22 improved and simplified bridging
- #23 do not ignore interfaces with no addresses
- #24 restricted schema for interface names
- #25 added support for logical interface names
- #26
merge_dictnow returns a copy of all the elements - d22d59 restricted SSID to 32 characters
- #27 improved wireless definition
- #28 removed “enabled” in favour of “disabled”
Version 0.1 [2015-10-20]¶
- Added
OpenWrtBackend - Added command line utility
netjsonconfig - Added multiple templating feature
- Added file inclusion feature