Whamcloud - gitweb
LU-10151 lnet: report better config error with lnetctl 20/29820/2
authorSonia <sonia.sharma@intel.com>
Fri, 27 Oct 2017 10:14:29 +0000 (03:14 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 9 Nov 2017 20:07:06 +0000 (20:07 +0000)
commitdcaed70d42002fb5e3ab9753780f0e494e2a1c20
tree46acba4fa8a33500e4931d2debe900a53e11ee0d
parent37e4bcaad4b4cd1f539c257f7424850e51d685c1
LU-10151 lnet: report better config error with lnetctl

Configuring net or route currently reports generic
message on error. Adding specific error message for
the missing parameters.

With importing config from yaml file, specific
error messages help in finding the exact error.

Change-Id: I7d9bdeb2280f4548897d9958aab7d451b981e8bd
Signed-off-by: Sonia Sharma <sonia.sharma@intel.com>
Test-Parameters: trivial
Reviewed-on: https://review.whamcloud.com/29820
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Doug Oucharek <dougso@me.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/utils/lnetconfig/liblnetconfig.c