Package com.vmware.bdd.service.job.software

Examples of com.vmware.bdd.service.job.software.ISoftwareManagementTask


      SoftwareManager softManager =
            softwareManagerCollector
                  .getSoftwareManagerByClusterName(clusterName);
      SyncHostsUtils.SyncHosts(clusterSpec, hostnames, softManager);

      ISoftwareManagementTask task = null;
      if (!Constants.IRONFAN.equals(softManager.getName())) {
         task =
               createExternalTask(targetName, clusterName);
      } else {
         task = createThriftCommandTask(targetName);
      }

      try {
         Map<String, Object> ret = task.call();

         if (!(Boolean) ret.get("succeed")) {
            String errorMessage = (String) ret.get("errorMessage");
            throw BddException.UPGRADE(null, errorMessage);
         }
View Full Code Here


      String specFilePath = null;
      File specFile =
            clusterManager.writeClusterSpecFile(targetName, workDir, true);
      specFilePath = specFile.getAbsolutePath();

      ISoftwareManagementTask task =
            createCommandTask(targetName, specFilePath);
      return task;
   }
View Full Code Here

TOP

Related Classes of com.vmware.bdd.service.job.software.ISoftwareManagementTask

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.