073e559dc5
With Babel, wired meshing cannot run on the same logical interface as non-mesh traffic, so using VXLAN is mandatory.
10 lines
441 B
Lua
10 lines
441 B
Lua
need_string_match(in_domain({'node_prefix6'}), '^[%x:]+/64$')
|
|
need_string_match(in_domain({'node_client_prefix6'}), '^[%x:]+/64$')
|
|
|
|
need_string_match(in_domain({'next_node', 'ip6'}), '^[%x:]+$', false)
|
|
need_string_match(in_domain({'next_node', 'ip4'}), '^%d+.%d+.%d+.%d+$', false)
|
|
|
|
need_string_match(in_domain({'next_node', 'mac'}), '^%x[02468aAcCeE]:%x%x:%x%x:%x%x:%x%x:%x%x$', false)
|
|
|
|
need_value(in_domain({'mesh', 'vxlan'}), true, false)
|