]> git.proxmox.com Git - mirror_iproute2.git/commit
bridge: add support for isolated option
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 3 Jul 2018 12:42:42 +0000 (15:42 +0300)
committerDavid Ahern <dsahern@gmail.com>
Fri, 6 Jul 2018 14:58:41 +0000 (07:58 -0700)
commit05001bcfab5aad746763bca044cc1396bfc0676e
tree1fd6d9f3e276d876b30032f09a266b3f3e59231d
parentf2bfb31befa3fe24b7c3f7754cd1294b436aa0e6
bridge: add support for isolated option

This patch adds support for the new isolated port option which, if set,
would allow the isolated ports to communicate only with non-isolated
ports and the bridge device. The option can be set via the bridge or ip
link type bridge_slave commands, e.g.:
$ ip link set dev eth0 type bridge_slave isolated on
$ bridge link set dev eth0 isolated on

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
bridge/link.c
ip/iplink_bridge_slave.c
man/man8/bridge.8
man/man8/ip-link.8.in