This does not change any behaviour. It's just a preparatory step to make things more clear in the following commits.
6 lines
312 B
Lua
6 lines
312 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(in_site_or_domain({'mesh', 'batman_adv', 'gw_sel_class'}), false)
|
|
need_one_of(in_site_or_domain({'mesh', 'batman_adv', 'routing_algo'}), {'BATMAN_IV', 'BATMAN_V'})
|