Whamcloud - gitweb
LU-10973 lnet: dump cyaml to buffer 82/38082/5
authorAmir Shehata <ashehata@whamcloud.com>
Sat, 14 Dec 2019 23:20:03 +0000 (15:20 -0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 7 May 2020 17:34:14 +0000 (17:34 +0000)
commit563441973881781a08c3b2c72accc49232b97e70
tree0ef1184e0ad0cb2d314513b2c6638da29dd5dd2c
parent43ebfad490a02613ada66c9ac79e80d1d9feaac5
LU-10973 lnet: dump cyaml to buffer

Add a new API to dump cyaml to a buffer which gets returned to the
user. The user is then responsible for freeing the buffer.

This is a new API required by the LUTF in order to interface
with python more readily.

Test-Parameters: trivial
Signed-off-by: Amir Shehata <ashehata@whamcloud.com>
Change-Id: I6068670f26b617d7a8366bd248dd80ca8cf15e5e
Reviewed-on: https://review.whamcloud.com/38082
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/utils/lnetconfig/cyaml.c
lnet/utils/lnetconfig/cyaml.h