Whamcloud - gitweb
LU-4939 utils: allow configuration through yaml files 46/31846/13
authorBen Evans <bevans@cray.com>
Wed, 21 Mar 2018 20:57:18 +0000 (16:57 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 Nov 2018 07:17:34 +0000 (07:17 +0000)
commit8961f2d8e263c831ebebc47081d8e8ac61ffbcd9
tree650a95ff738e35cabf9049ec0cb2a1d9b967152b
parentcefb39dc8a096009dcd48a5187da52a7c900d986
LU-4939 utils: allow configuration through yaml files

add -F option to lctl set_param
file must be in yaml format.  Will accept either set_param
or conf_param formats and issue the appropriate commands

Reorganize set_param and conf_param infrastructures to allow
for shared code.

rename jt_lcfg_mgsparam to jt_lcfg_confparam
rename jt_lcfg_mgsparam2 to jt_lcfg_setparam_perm

Add test_806 to test reconfigure after writeconf

Test-Parameters: trivial testlist=conf-sanity
Signed-off-by: Ben Evans <bevans@cray.com>
Change-Id: I8c36ea9be162112e75412fbd990a4f21e108d000
Reviewed-on: https://review.whamcloud.com/31846
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alexey Lyashkov <c17817@cray.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lctl.8
lustre/tests/conf-sanity.sh
lustre/utils/Makefile.am
lustre/utils/lctl.c
lustre/utils/lustre_cfg.c
lustre/utils/obdctl.h