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/4.4 to 87f6c6f
Date Wed, 09 Apr 2014 21:05:44 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.4 9f44909e6 -> 87f6c6f88


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/87f6c6f8
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/87f6c6f8
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/87f6c6f8

Branch: refs/heads/4.4
Commit: 87f6c6f88a5e2e8e5cc4b9fd45e6329d2111354b
Parents: 9f44909
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:03:01 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/87f6c6f8/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