Whamcloud - gitweb
LU-6099 lnet: correct YAML output 04/13304/2
authorAmir Shehata <amir.shehata@intel.com>
Fri, 9 Jan 2015 00:53:06 +0000 (16:53 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 12 Jan 2015 18:46:02 +0000 (18:46 +0000)
commit53cc2a1fe6befcd51826a9b42e8dff9cc33ee8a3
tree194612be05a1cbb11892bf607362d2880a8e493d
parent2d3d4525b1ac6697b5df207400801c4399d20378
LU-6099 lnet: correct YAML output

Currently when dumping out network configuration the parameter
CPT describes which cpu partitions the network is configured on.
The current output looks like:
CPT = [0,1,...]
however the library used to parse YAML doesn't accept the use of
'[', so now I enclose it in double quotes:
CPT = "[0,1,...]"

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Change-Id: Ib15b2bc7db9463875ee0414ef614d71a42039fbb
Reviewed-on: http://review.whamcloud.com/13304
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lnet/utils/lnetconfig/liblnetconfig.c