Whamcloud - gitweb
LU-10124 lnet: Correctly add peer MR value while importing 55/32255/3
authorSonia Sharma <sonia.sharma@intel.com>
Thu, 1 Feb 2018 23:40:03 +0000 (15:40 -0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 2 Mar 2019 01:30:40 +0000 (01:30 +0000)
commit8103e94c1bd3000bc25da0d05f0ef3cafa1f91fd
tree3cc058a3dc40303e6b140f28628d7725c43a77ca
parent4b239e9138aa69eb996ee47b31f075c085efa1e5
LU-10124 lnet: Correctly add peer MR value while importing

while adding peer using lnetctl import, the MR value of the
peer is not correctly imported.

Checks for MR value other than True/False in
handle_yaml_config_peer() -
1. No value provided - Use default as True
2. Value other than True/False - Error out

Change-Id: I02a21e35086f1c6f29081b464dd1a63aba692cbc
Test-Parameters: trivial
Signed-off-by: Sonia Sharma <sonia.sharma@intel.com>
Reviewed-on: https://review.whamcloud.com/32255
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/utils/lnetconfig/liblnetconfig.c