Change-Id: I03a929d4f7e1b32092250daa1ff7f2bdc6451dcd
Issue-ID: AAI-334
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
private String cloudExtraInfo;
private String cloudExtraInfo;
+ private String status;
+
private ArrayList<VimAuthInfo> vimAuthInfos;
public String getCloudOwner() {
private ArrayList<VimAuthInfo> vimAuthInfos;
public String getCloudOwner() {
this.vimAuthInfos = vimAuthInfos;
}
this.vimAuthInfos = vimAuthInfos;
}
+ public String getStatus() {
+ return status;
+ }
+
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
cloudRegion.setCloudExtraInfo(vimRegisterInfo.getCloudExtraInfo());
esrSystemInfoObj = vimAuthInfo2EsrSystemInfoObj(vimRegisterInfo.getVimAuthInfos());
cloudRegion.setCloudExtraInfo(vimRegisterInfo.getCloudExtraInfo());
esrSystemInfoObj = vimAuthInfo2EsrSystemInfoObj(vimRegisterInfo.getVimAuthInfos());
+ esrSystemInfoObj.setSystemStatus(vimRegisterInfo.getStatus());
esrSystemInfoList = ExtsysUtil.getEsrSystemInfoListFromAuthInfo(esrSystemInfoObj);
cloudRegion.setEsrSystemInfoList(esrSystemInfoList);
return cloudRegion;
esrSystemInfoList = ExtsysUtil.getEsrSystemInfoListFromAuthInfo(esrSystemInfoObj);
cloudRegion.setEsrSystemInfoList(esrSystemInfoList);
return cloudRegion;
esrSystemInfoObj.setSslInsecure(vimAuthInfo.getSslInsecure());
esrSystemInfoObj.setEsrSystemInfoId(ExtsysUtil.generateId());
esrSystemInfoObj.setSystemType(SystemType.VIM.toString());
esrSystemInfoObj.setSslInsecure(vimAuthInfo.getSslInsecure());
esrSystemInfoObj.setEsrSystemInfoId(ExtsysUtil.generateId());
esrSystemInfoObj.setSystemType(SystemType.VIM.toString());
- esrSystemInfoObj.setSystemStatus(SystemStatus.normal.toString());
+// esrSystemInfoObj.setSystemStatus(SystemStatus.normal.toString());
return esrSystemInfoObj;
}
return esrSystemInfoObj;
}
vimRegisterInfo.setComplexName(cloudRegion.getComplexName());
vimRegisterInfo.setCloudRegionVersion(cloudRegion.getCloudRegionVersion());
vimRegisterInfo.setOwnerDefinedType(cloudRegion.getOwnerDefinedType());
vimRegisterInfo.setComplexName(cloudRegion.getComplexName());
vimRegisterInfo.setCloudRegionVersion(cloudRegion.getCloudRegionVersion());
vimRegisterInfo.setOwnerDefinedType(cloudRegion.getOwnerDefinedType());
+ vimRegisterInfo.setStatus(cloudRegion.getEsrSystemInfoList().getEsrSystemInfo().get(0).getSystemStatus());
return vimRegisterInfo;
}
}
return vimRegisterInfo;
}
}