cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthon...@apache.org
Subject git commit: updated refs/heads/master to cbb3167
Date Wed, 09 Apr 2014 21:01:17 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master c94eb0b94 -> cbb31675a


remove unused code


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/cbb31675
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/cbb31675
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/cbb31675

Branch: refs/heads/master
Commit: cbb31675a019514126f94d57f660ca45f020b8a9
Parents: c94eb0b
Author: Anthony Xu <anthony.xu@citrix.com>
Authored: Wed Apr 9 14:01:03 2014 -0700
Committer: Anthony Xu <anthony.xu@citrix.com>
Committed: Wed Apr 9 14:01:03 2014 -0700

----------------------------------------------------------------------
 scripts/vm/hypervisor/xenserver/xcposs/vmops | 17 -----------------
 1 file changed, 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cbb31675/scripts/vm/hypervisor/xenserver/xcposs/vmops
----------------------------------------------------------------------
diff --git a/scripts/vm/hypervisor/xenserver/xcposs/vmops b/scripts/vm/hypervisor/xenserver/xcposs/vmops
index 17f9c43..1792a46 100644
--- a/scripts/vm/hypervisor/xenserver/xcposs/vmops
+++ b/scripts/vm/hypervisor/xenserver/xcposs/vmops
@@ -1443,22 +1443,6 @@ def createISOVHD(session, args):
     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']
     cmd = sargs.split(' ')
@@ -1489,5 +1473,4 @@ if __name__ == "__main__":
                             "bumpUpPriority":bumpUpPriority, "getDomRVersion":getDomRVersion,
                             "kill_copy_process":kill_copy_process,
                             "createISOVHD":createISOVHD,
-                            "routerProxy":routerProxy,
                             "setDNATRule":setDNATRule})


Mime
View raw message