vz.conf: allow list of interfaces in NEIGHBOUR_DEVS
Historically, allowed values for NEIGHBOUR_DEVS were either "detect"
or any other value, in the last case "all devices" are assumed.
It's time to change it. From now on, NEIGHBOUR_DEVS can be one of:
* all (or empty string, or unset) -- old behavior (all devices are used
* detect -- same as before, devices to use for ARP are detected
* list:* -- devices are explicitly listed (as in "list:eth1 eth2")
Man page vz.conf(5) is modified accordingly. While at it, NEIGHBOUR_DEVS
documentation is expanded.
Currently, any value other than described above leads to a printed warning
and "all" is assumed. This warning will later be changed to an error.
Based on suggestion and a patch from Dmitry V. Levin <ldv@altlinux.org>
https://bugzilla.openvz.org/1289
https://bugzilla.openvz.org/3192
Cc: Dmitry V. Levin <ldv@altlinux.org>
Reported-by: Alexander Prinsier <openvz@aphexer.mailhaven.com>
Reported-by: Avi Brender <abrender@elitehosts.com>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2 files changed