Complete node API client functions

This commit is contained in:
2019-12-26 17:52:57 -05:00
parent 28a0ce772b
commit e0c7397703
2 changed files with 37 additions and 3 deletions

View File

@ -187,12 +187,11 @@ def node_list(limit):
List all nodes in the cluster; optionally only match names matching regex LIMIT.
"""
zk_conn = pvc_common.startZKConnection(zk_host)
retcode, retdata = pvc_node.get_list(zk_conn, limit)
retcode, retdata = pvc_node.node_list(config, limit)
if retcode:
pvc_node.format_list(retdata)
retdata = ''
cleanup(retcode, retdata, zk_conn)
cleanup(retcode, retdata)
###############################################################################
# pvc vm