Pablo Iranzo Gómez has uploaded a new change for review.

Change subject: Change paths for RHEV-M 3.0
......................................................................

Change paths for RHEV-M 3.0

Change-Id: I07eb1024bd99359de50e0817cc57789eb1ba948a
Signed-off-by: Pablo <[email protected]>
---
M contrib/forceVMstart/forceVMstart.py
1 file changed, 8 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/77/9477/1

diff --git a/contrib/forceVMstart/forceVMstart.py 
b/contrib/forceVMstart/forceVMstart.py
index 98cf2a2..de25b99 100644
--- a/contrib/forceVMstart/forceVMstart.py
+++ b/contrib/forceVMstart/forceVMstart.py
@@ -7,9 +7,11 @@
 # (at your option) any later version.
 #
 # Require Packages: python-iniparse
+#
 # Original script by: Douglas Landgraf ([email protected])
 # Modifications by: Vladik Romanovsky ([email protected])
-
+# Modifications for RHEV 3.0 by: Pablo Iranzo Gomez ([email protected])
+#
 
 import getopt
 import sys
@@ -46,7 +48,7 @@
 VDSM_PORT = "54321"
 
 #DEBUG MODE
-DEBUG = "False" # True or False
+DEBUG = "True" # True or False
 
 #########################################################################
 
@@ -217,8 +219,8 @@
        # Description: get the vmId from the vmName used as argument         #
        ######################################################################
        def getVmId(self, vmName):
-               path = "/rhev/data-center/%s/vms" % (self.spUUID)
-
+               path = "/rhev/data-center/%s/mastersd/master/vms" % 
(self.spUUID)
+               
                # First verify which domainID contain de XML files
                 try:
                         dirList = os.listdir(path)
@@ -278,8 +280,8 @@
                # Path to XML files
                # example default path:
                # /rhev/data-center/1a516f64-f091-4785-9278-362037513408/vms
-               path = "/rhev/data-center/%s/vms" % (self.spUUID)
-
+               path = "/rhev/data-center/%s/mastersd/master/vms" % 
(self.spUUID)
+               
                # First verify which domainID contain de XML files
                try:
                        dirList = os.listdir(path)


--
To view, visit http://gerrit.ovirt.org/9477
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I07eb1024bd99359de50e0817cc57789eb1ba948a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Pablo Iranzo Gómez <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to