File tree Expand file tree Collapse file tree
scripts/vm/hypervisor/xenserver/xcposs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1442,22 +1442,6 @@ def createISOVHD(session, args):
14421442 session .xenapi .VBD .destroy (vbd )
14431443 return vdi_uuid
14441444
1445- @echo
1446- def routerProxy (session , args ):
1447- sargs = args ['args' ]
1448- cmd = sargs .split (' ' )
1449- cmd .insert (0 , "/opt/cloud/bin/router_proxy.sh" )
1450- cmd .insert (0 , "/bin/bash" )
1451- try :
1452- txt = util .pread2 (cmd )
1453- if txt is None or len (txt ) == 0 :
1454- txt = 'success'
1455- except :
1456- util .SMlog ("routerProxy command " + sargs + " failed " )
1457- txt = ''
1458-
1459- return txt
1460-
14611445@echo
14621446def getDomRVersion (session , args ):
14631447 sargs = args ['args' ]
@@ -1489,5 +1473,4 @@ if __name__ == "__main__":
14891473 "bumpUpPriority" :bumpUpPriority , "getDomRVersion" :getDomRVersion ,
14901474 "kill_copy_process" :kill_copy_process ,
14911475 "createISOVHD" :createISOVHD ,
1492- "routerProxy" :routerProxy ,
14931476 "setDNATRule" :setDNATRule })
You can’t perform that action at this time.
0 commit comments