According to the schema any string should be allowed: https://github.com/openwisp/netjsonconfig/blob/871c1263117e5db38ed597ebda24e6c88b123a43/netjsonconfig/backends/openwrt/schema.py#L239-L244
Could you share an example NetJSON configuration that triggers the error you are getting? Federico On Mon, Aug 28, 2017 at 2:51 PM henriqsc <henrique.posu...@gmail.com> wrote: > Hello > > I think the openwrt backend has a small problem related to the validation > of option "src" in the ip_rules dictionary. According to Openwrt > documentation (https://wiki.openwrt.org/doc/uci/firewall) option src is > supposed to be a zone but the backend requires the value to be an octet. > > Am I doing something wrong? > > > Regards. > > -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to openwisp+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.