mirror of https://github.com/apache/cloudstack.git
remove unused XS plugins
This commit is contained in:
parent
2e45020700
commit
fbe205b9dd
|
|
@ -71,17 +71,6 @@ def setup_iscsi(session, args):
|
|||
return txt
|
||||
|
||||
|
||||
@echo
|
||||
def getgateway(session, args):
|
||||
mgmt_ip = args['mgmtIP']
|
||||
try:
|
||||
cmd = ["bash", "/opt/cloud/bin/network_info.sh", "-g", mgmt_ip]
|
||||
txt = util.pread2(cmd)
|
||||
except:
|
||||
txt = ''
|
||||
|
||||
return txt
|
||||
|
||||
@echo
|
||||
def preparemigration(session, args):
|
||||
uuid = args['uuid']
|
||||
|
|
@ -1487,7 +1476,7 @@ def network_rules(session, args):
|
|||
|
||||
if __name__ == "__main__":
|
||||
XenAPIPlugin.dispatch({"pingtest": pingtest, "setup_iscsi":setup_iscsi,
|
||||
"getgateway": getgateway, "preparemigration": preparemigration,
|
||||
"preparemigration": preparemigration,
|
||||
"setIptables": setIptables, "pingdomr": pingdomr, "pingxenserver": pingxenserver,
|
||||
"createFile": createFile, "deleteFile": deleteFile,
|
||||
"network_rules":network_rules,
|
||||
|
|
|
|||
|
|
@ -42,15 +42,6 @@ def echo(fn):
|
|||
return res
|
||||
return wrapped
|
||||
|
||||
@echo
|
||||
def gethostvmstats(session, args):
|
||||
collect_host_stats = args['collectHostStats']
|
||||
consolidation_function = args['consolidationFunction']
|
||||
interval = args['interval']
|
||||
start_time = args['startTime']
|
||||
result = hostvmstats.get_stats(session, collect_host_stats, consolidation_function, interval, start_time)
|
||||
return result
|
||||
|
||||
@echo
|
||||
def setup_iscsi(session, args):
|
||||
uuid=args['uuid']
|
||||
|
|
@ -61,18 +52,6 @@ def setup_iscsi(session, args):
|
|||
txt = ''
|
||||
return '> DONE <'
|
||||
|
||||
|
||||
@echo
|
||||
def getgateway(session, args):
|
||||
mgmt_ip = args['mgmtIP']
|
||||
try:
|
||||
cmd = ["bash", "/opt/cloud/bin/network_info.sh", "-g", mgmt_ip]
|
||||
txt = util.pread2(cmd)
|
||||
except:
|
||||
txt = ''
|
||||
|
||||
return txt
|
||||
|
||||
@echo
|
||||
def preparemigration(session, args):
|
||||
uuid = args['uuid']
|
||||
|
|
@ -1457,8 +1436,8 @@ def getDomRVersion(session, args):
|
|||
return txt
|
||||
|
||||
if __name__ == "__main__":
|
||||
XenAPIPlugin.dispatch({"pingtest": pingtest, "setup_iscsi":setup_iscsi, "gethostvmstats": gethostvmstats,
|
||||
"getgateway": getgateway, "preparemigration": preparemigration,
|
||||
XenAPIPlugin.dispatch({"pingtest": pingtest, "setup_iscsi":setup_iscsi,
|
||||
"preparemigration": preparemigration,
|
||||
"setIptables": setIptables, "pingdomr": pingdomr, "pingxenserver": pingxenserver,
|
||||
"ipassoc": ipassoc, "savePassword": savePassword,
|
||||
"saveDhcpEntry": saveDhcpEntry, "setFirewallRule": setFirewallRule,
|
||||
|
|
|
|||
Loading…
Reference in New Issue