Package com.intel.mountwilson.datamodel

Examples of com.intel.mountwilson.datamodel.VmmHostDataVo


 
  public ModelAndView getHostOSForVMM(HttpServletRequest req,HttpServletResponse res) {
    log.info("WLMDataController.getHostOSForVMM >>");
    ModelAndView responseView = new ModelAndView(new JSONView());
    List<VmmHostDataVo> list = new ArrayList<VmmHostDataVo>();
    VmmHostDataVo dataVo =null;
    List<String> VmmNames =  getVMMNameList(WLMPConfig.getConfiguration().getString("mtwilson.wlmp.openSourceHypervisors"));
   
    try {
                                                        List<OSDataVO> osList = osClientService.getAllOS(getWhitelistService(req));
                                                        for (OSDataVO osDataVO : osList) {
                                                                dataVo = new VmmHostDataVo();
                                                                dataVo.setHostOS(osDataVO.getOsName());
                                                                dataVo.setHostVersion(osDataVO.getOsVersion());
                                                                dataVo.setVmmNames(VmmNames);
                                                                dataVo.setAttestationType("PCR");
                                                                list.add(dataVo);
                                                        }
                                                       
    } catch (WLMPortalException e) {
      log.error("Error While getting Host OS Data for VMM. Root cause "+e.getStackTrace());
View Full Code Here

TOP

Related Classes of com.intel.mountwilson.datamodel.VmmHostDataVo

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.