Whamcloud - gitweb
LU-9120 lnet: set health value from user space 63/32863/14
authorAmir Shehata <ashehata@whamcloud.com>
Tue, 24 Jul 2018 00:11:07 +0000 (17:11 -0700)
committerAmir Shehata <ashehata@whamcloud.com>
Fri, 17 Aug 2018 20:19:44 +0000 (20:19 +0000)
commitc0ad398fd71610c42b7ed06f8d2ca722daa01391
tree9b5be00bc9e6bb2ee24e258d37d1635a6378ffbf
parentf64abb795a893d8208688350220c69e808d0af69
LU-9120 lnet: set health value from user space

Add commands to lnetctl to set the health value.

for local NIs:
 lnetctl net set --nid <nid> --health <value>

for peer NIs:
 lnetctl peer set --nid <nid> --health <value>

Test-Parameters: forbuildonly
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I06e1238df54c94bcfecadd84fbaa30cc1ce4dd68
Reviewed-on: https://review.whamcloud.com/32863
Tested-by: Jenkins
Reviewed-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
lnet/lnet/api-ni.c
lnet/lnet/peer.c
lnet/utils/lnetconfig/liblnetconfig.c
lnet/utils/lnetconfig/liblnetconfig.h
lnet/utils/lnetctl.c