Whamcloud - gitweb
LU-10453 lnet: support gni net configuration 29/30829/5
authorAmir Shehata <amir.shehata@intel.com>
Thu, 11 Jan 2018 00:38:33 +0000 (16:38 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 25 Jan 2018 04:46:27 +0000 (04:46 +0000)
commita29eb587b605ce9344363a6f7f167e711db0bb22
treea78b565a334ce400c5bad0e9abf6c9026eee4f27
parent487cb7382571e090739455167ce0d7ff6d17c57f
LU-10453 lnet: support gni net configuration

GNI interfaces don't have IP addresses so when configuring GNI
interfaces there is no point of trying to query the ip. There is
also only one GNI interface, therefore the net configuration
command shouldn't enforce an interface name.

This patch also adds more descriptive error commands. It also allows
deleting an entire network without having to specify an interface.

Test-Parameters: trivial
Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: I549647675fe5530db7d86272a7dc79892117847d
Reviewed-on: https://review.whamcloud.com/30829
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/utils/lnetconfig/liblnetconfig.c