add datacenterid in StartupStorageCommand for xenserver

This commit is contained in:
anthony 2011-02-14 11:31:40 -08:00
parent a6b478e092
commit 242d5f369f
1 changed files with 1 additions and 0 deletions

View File

@ -3432,6 +3432,7 @@ public abstract class CitrixResourceBase implements ServerResource {
StartupStorageCommand cmd = new StartupStorageCommand();
cmd.setPoolInfo(pInfo);
cmd.setGuid(_host.uuid);
cmd.setDataCenter(Long.toString(_dcId));
cmd.setResourceType(Storage.StorageResourceType.STORAGE_POOL);
return cmd;
} catch (XenAPIException e) {