1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Fixing minor bugs in VMWare VMM driver

git-svn-id: http://svn.opennebula.org/one/trunk@511 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Constantino Vázquez Blanco 2009-05-07 08:17:33 +00:00
parent 38cf7b15d7
commit c4b5043446
3 changed files with 10 additions and 5 deletions

View File

@ -403,7 +403,7 @@ public class DeployVM
}
argsWithHost[args.length] = "--url";
argsWithHost[arguments.length + 1 ] = "https://" + hostName + ":443/sdk";
argsWithHost[args.length + 1 ] = "https://" + hostName + ":443/sdk";
@ -438,7 +438,7 @@ public class DeployVM
}
argsWithHost[args.length] = "--url";
argsWithHost[arguments.length + 1 ] = "https://" + hostName + ":443/sdk";
argsWithHost[args.length + 1 ] = "https://" + hostName + ":443/sdk";
cb = AppUtil.initialize("DeployVM", null, argsWithHost);

View File

@ -70,6 +70,11 @@ class OneVmmVmware extends Thread
while (!fin)
{
action = null;
vid_str = null;
hostName = null;
fileName = null;
// Read a line a parse it
try
{
@ -293,7 +298,7 @@ class OneVmmVmware extends Thread
if (action.equals("SAVE"))
{
if (str_split.length < 4)
if (str_split.length < 5)
{
System.out.println("FAILURE Wrong number of arguments for SAVE action. Number args = [" +
str_split.length + "].");
@ -456,7 +461,7 @@ class OneVmmVmware extends Thread
{
if (str_split.length < 4)
{
System.out.println("FAILURE Wrong number of arguments for MIGTRATE " +
System.out.println("FAILURE Wrong number of arguments for MIGRATE " +
"action. Number args = [" + str_split.length + "].");
synchronized (System.err)
{

View File

@ -264,7 +264,7 @@ public class OperationsOverVM
}
argsWithHost[args.length] = "--url";
argsWithHost[arguments.length + 1 ] = "https://" + hostName + ":443/sdk";
argsWithHost[args.length + 1 ] = "https://" + hostName + ":443/sdk";
cb = AppUtil.initialize("DeployVM", null, argsWithHost);