mirror of https://github.com/apache/cloudstack.git
remove unused code
This commit is contained in:
parent
c94eb0b946
commit
cbb31675a0
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Reference in New Issue