remove unused code

This commit is contained in:
Anthony Xu 2014-04-09 14:01:03 -07:00
parent c94eb0b946
commit cbb31675a0
1 changed files with 0 additions and 17 deletions

View File

@ -1442,22 +1442,6 @@ def createISOVHD(session, args):
session.xenapi.VBD.destroy(vbd)
return vdi_uuid
@echo
def routerProxy(session, args):
sargs = args['args']
cmd = sargs.split(' ')
cmd.insert(0, "/opt/cloud/bin/router_proxy.sh")
cmd.insert(0, "/bin/bash")
try:
txt = util.pread2(cmd)
if txt is None or len(txt) == 0 :
txt = 'success'
except:
util.SMlog("routerProxy command " + sargs + " failed " )
txt = ''
return txt
@echo
def getDomRVersion(session, args):
sargs = args['args']
@ -1489,5 +1473,4 @@ if __name__ == "__main__":
"bumpUpPriority":bumpUpPriority, "getDomRVersion":getDomRVersion,
"kill_copy_process":kill_copy_process,
"createISOVHD":createISOVHD,
"routerProxy":routerProxy,
"setDNATRule":setDNATRule})