Fully remove dump endpoing; data is now in output
This commit is contained in:
parent
8071fb87d7
commit
1d944f5627
|
@ -274,14 +274,6 @@ def api_vm_root(vm):
|
|||
else:
|
||||
return pvcapi.vm_undefine(vm)
|
||||
|
||||
#@api.route('/api/v1/vm/<vm>/dump', methods=['GET'])
|
||||
#@authenticator
|
||||
#def api_vm_dump(vm):
|
||||
# """
|
||||
# Dump the Libvirt XML configuration of a virtual machine named VM.
|
||||
# """
|
||||
# return pvcapi.vm_dump(vm)
|
||||
|
||||
@api.route('/api/v1/vm/<vm>/state', methods=['GET', 'POST'])
|
||||
@authenticator
|
||||
def api_vm_state(vm):
|
||||
|
|
Loading…
Reference in New Issue