Whamcloud - gitweb
LU-11299 lnet: net aliveness 10/34510/22
authorAmir Shehata <ashehata@whamcloud.com>
Sat, 23 Mar 2019 01:01:51 +0000 (18:01 -0700)
committerAmir Shehata <ashehata@whamcloud.com>
Fri, 7 Jun 2019 18:21:39 +0000 (18:21 +0000)
commit1d80e9debf992a41b2caf285964fa7af4b1c1246
tree0b7d9e5f4bf5fa2e6c752b8ac4de0f93f905d449
parent0fa02a7d81e77ad482022d5543cf433af1bf34c6
LU-11299 lnet: net aliveness

If a router is discovered on any interface on the network, then
update the network last alive time and the NI's status to UP.
If a router isn't discovered on any interface on a network,
then change the status of all the interfaces on that network to down.

Test-Parameters: forbuildonly
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I1d67eb4b3284ccb8306ad4c877a2fcbdf4958d8c
Reviewed-on: https://review.whamcloud.com/34510
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
Tested-by: Jenkins
lnet/include/lnet/lib-types.h
lnet/lnet/config.c
lnet/lnet/lib-move.c
lnet/lnet/router.c
lnet/lnet/router_proc.c