Whamcloud - gitweb
LU-10124 lnet: Correctly add peer MR value while importing 38/31138/8
authorSonia Sharma <sonia.sharma@intel.com>
Thu, 1 Feb 2018 23:40:03 +0000 (15:40 -0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 21 Sep 2018 03:30:03 +0000 (03:30 +0000)
commit99494a28e6afde7c59e7f03045e63028ece1064d
tree791b02bd0024d960842b8173c1c38a2787777e75
parent0a83d948f37bec7fca6e9aa30f59f26354273b23
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/31138
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/utils/lnetconfig/liblnetconfig.c