Search in sources :

Example 1 with ComputeImageServerInfo

use of models.datatable.ComputeImageServersDataTable.ComputeImageServerInfo in project coprhd-controller by CoprHD.

the class ComputeSystems method computeImageServersJson.

public static void computeImageServersJson() {
    List<ComputeImageServerInfo> results = Lists.newArrayList();
    List<ComputeImageServerRestRep> computeImageServers = ComputeImageServerUtils.getComputeImageServers();
    for (ComputeImageServerRestRep computeImageServerRR : computeImageServers) {
        ComputeImageServerInfo computeImageServer = new ComputeImageServerInfo(computeImageServerRR);
        results.add(computeImageServer);
    }
    renderJSON(DataTablesSupport.createJSON(results, params));
}
Also used : ComputeImageServerInfo(models.datatable.ComputeImageServersDataTable.ComputeImageServerInfo) ComputeImageServerRestRep(com.emc.storageos.model.compute.ComputeImageServerRestRep)

Aggregations

ComputeImageServerRestRep (com.emc.storageos.model.compute.ComputeImageServerRestRep)1 ComputeImageServerInfo (models.datatable.ComputeImageServersDataTable.ComputeImageServerInfo)1