Skip to content

Commit fd9bfb3

Browse files
author
Daan Hoogland
committed
remove code in comments
1 parent c444bdd commit fd9bfb3

File tree

3 files changed

+0
-32
lines changed

3 files changed

+0
-32
lines changed

scripts/vm/hypervisor/ovm3/cloudstack.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,6 @@ def get_services(self, version=None):
6767
'get_module_version': getModuleVersion,
6868
'get_ovs_version': ovmVersion,
6969
'ping': ping,
70-
# 'patch': ovmCsPatch,
71-
# 'ovs_agent_set_ssl': ovsAgentSetSsl,
72-
# 'ovs_agent_set_port': ovsAgentSetPort,
73-
# 'ovs_restart_agent': ovsRestartAgent,
7470
}
7571

7672
def getName(self):

scripts/vm/hypervisor/xenserver/xcposs/NFSSR.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -175,20 +175,6 @@ def create(self, sr_uuid, size):
175175
pass
176176
raise exn
177177

178-
#newpath = os.path.join(self.path, sr_uuid)
179-
#if util.ioretry(lambda: util.pathexists(newpath)):
180-
# if len(util.ioretry(lambda: util.listdir(newpath))) != 0:
181-
# self.detach(sr_uuid)
182-
# raise xs_errors.XenError('SRExists')
183-
#else:
184-
# try:
185-
# util.ioretry(lambda: util.makedirs(newpath))
186-
# except util.CommandException, inst:
187-
# if inst.code != errno.EEXIST:
188-
# self.detach(sr_uuid)
189-
# raise xs_errors.XenError('NFSCreate',
190-
# opterr='remote directory creation error is %d'
191-
# % inst.code)
192178
self.detach(sr_uuid)
193179

194180
def delete(self, sr_uuid):

scripts/vm/hypervisor/xenserver/xenserver56fp1/NFSSR.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -176,20 +176,6 @@ def create(self, sr_uuid, size):
176176
pass
177177
raise exn
178178

179-
#newpath = os.path.join(self.path, sr_uuid)
180-
#if util.ioretry(lambda: util.pathexists(newpath)):
181-
# if len(util.ioretry(lambda: util.listdir(newpath))) != 0:
182-
# self.detach(sr_uuid)
183-
# raise xs_errors.XenError('SRExists')
184-
#else:
185-
# try:
186-
# util.ioretry(lambda: util.makedirs(newpath))
187-
# except util.CommandException, inst:
188-
# if inst.code != errno.EEXIST:
189-
# self.detach(sr_uuid)
190-
# raise xs_errors.XenError('NFSCreate',
191-
# opterr='remote directory creation error is %d'
192-
# % inst.code)
193179
self.detach(sr_uuid)
194180

195181
def delete(self, sr_uuid):

0 commit comments

Comments
 (0)