Displaying 1 result from an estimated 1 matches for "get_single_vm".
Did you mean:
0get_single_vm
2007 Jun 07
0
[PATCH] Remove unimplemented xm migrate --resource option
...opts.opt(''resource'', short=''r'', val=''MBIT'',
- fn=set_int, default=0,
- use="Set level of resource usage for migration.")
-
def help():
return str(gopts)
@@ -65,11 +61,9 @@ def main(argv):
vm_ref = get_single_vm(dom)
other_config = {
"port": opts.vals.port,
- "resource": opts.vals.resource
}
server.xenapi.VM.migrate(vm_ref, dst, bool(opts.vals.live),
other_config)
else:
server.xend...