1f7ed28b76
In multidomain setups, VXLAN is enabled by default, but can be disabled in domain configs using the mesh/vxlan option. In single domain setups, the mesh/vxlan option is mandatory. The UCI option for legacy mode is removed. Fixes #1364
6 lines
281 B
Lua
6 lines
281 B
Lua
-- mesh/vxlan is required in single domain setups (this_domain() is nil)
|
|
need_boolean(in_domain({'mesh', 'vxlan'}), not this_domain())
|
|
|
|
need_number({'mesh', 'batman_adv', 'gw_sel_class'}, false)
|
|
need_one_of({'mesh', 'batman_adv', 'routing_algo'}, {'BATMAN_IV', 'BATMAN_V'}, false)
|