-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from gh-ca/lian_data_731
创建vmfs,主机集群列表展示速度较慢问题
- Loading branch information
Showing
6 changed files
with
210 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 78 additions & 0 deletions
78
dmestore-service/src/main/java/com/huawei/dmestore/model/EsxiInstanceTree.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
package com.huawei.dmestore.model; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class EsxiInstanceTree { | ||
|
||
private List<String> hostIds = new ArrayList<>(); | ||
private List<String> hostIdsOnCluster = new ArrayList<>(); | ||
private List<String> clusterIds = new ArrayList<>(); | ||
private List<String> hostIdsIndependence = new ArrayList<>(); | ||
//集群信息 | ||
private List<ClusterTree> clusters = new ArrayList<>(); | ||
//主机信息 | ||
private List<ClusterTree> hosts = new ArrayList<>(); | ||
public EsxiInstanceTree() { | ||
} | ||
|
||
public List<String> getHostIds() { | ||
return hostIds; | ||
} | ||
|
||
public void setHostIds(List<String> hostIds) { | ||
this.hostIds = hostIds; | ||
} | ||
|
||
public List<String> getHostIdsOnCluster() { | ||
return hostIdsOnCluster; | ||
} | ||
|
||
public void setHostIdsOnCluster(List<String> hostIdsOnCluster) { | ||
this.hostIdsOnCluster = hostIdsOnCluster; | ||
} | ||
|
||
public List<String> getClusterIds() { | ||
return clusterIds; | ||
} | ||
|
||
public void setClusterIds(List<String> clusterIds) { | ||
this.clusterIds = clusterIds; | ||
} | ||
|
||
public List<String> getHostIdsIndependence() { | ||
return hostIdsIndependence; | ||
} | ||
|
||
public void setHostIdsIndependence(List<String> hostIdsIndependence) { | ||
this.hostIdsIndependence = hostIdsIndependence; | ||
} | ||
|
||
public List<ClusterTree> getClusters() { | ||
return clusters; | ||
} | ||
|
||
public void setClusters(List<ClusterTree> clusters) { | ||
this.clusters = clusters; | ||
} | ||
|
||
public List<ClusterTree> getHosts() { | ||
return hosts; | ||
} | ||
|
||
public void setHosts(List<ClusterTree> hosts) { | ||
this.hosts = hosts; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "EsxiInstanceTree{" + | ||
"hostIds=" + hostIds + | ||
", hostIdsOnCluster=" + hostIdsOnCluster + | ||
", clusterIds=" + clusterIds + | ||
", hostIdsIndependence=" + hostIdsIndependence + | ||
", clusters=" + clusters + | ||
", hosts=" + hosts + | ||
'}'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters