From f4d63b908878c5e34a6a2d57156836601f4d0f63 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 25 Jul 2019 15:45:31 -0400 Subject: [PATCH] Remove vm_dump API function --- client-api/api_lib/pvcapi.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/client-api/api_lib/pvcapi.py b/client-api/api_lib/pvcapi.py index ae2b4c0d..acd1bc59 100755 --- a/client-api/api_lib/pvcapi.py +++ b/client-api/api_lib/pvcapi.py @@ -219,20 +219,6 @@ def vm_remove(name): } return flask.jsonify(output), retcode -def vm_dump(name): - """ - Dump a VM Libvirt XML configuration. - """ - zk_conn = pvc_common.startZKConnection(config['coordinators']) - retflag, retdata = pvc_vm.dump_vm(zk_conn, name) - if retflag: - retcode = 200 - else: - retcode = 510 - - pvc_common.stopZKConnection(zk_conn) - return retdata, retcode - def vm_start(name): """ Start a VM in the PVC cluster.