Search in sources :

Example 1 with VirtualNasServerDataTable

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

the class StorageSystems method virtualNasServers.

public static void virtualNasServers(String id) {
    addReferenceData();
    StorageSystemRestRep storageSystem = StorageSystemUtils.getStorageSystem(id);
    VirtualNasServerDataTable dataTable;
    if (isTenantAdmin() || isProjectAdmin()) {
        dataTable = new VirtualNasServerDataTable();
    } else {
        dataTable = new VirtualNasForNonProjectAdminDataTable();
    }
    renderArgs.put("storageId", id);
    renderArgs.put("expectedGeoVersion", VCenterUtils.checkCompatibleVDCVersion(EXPECTED_GEO_VERSION_FOR_VNAS_SUPPORT));
    render("@listVirtualNasServers", storageSystem, dataTable);
}
Also used : StorageSystemRestRep(com.emc.storageos.model.systems.StorageSystemRestRep) VirtualNasServerDataTable(models.datatable.VirtualNasServerDataTable)

Aggregations

StorageSystemRestRep (com.emc.storageos.model.systems.StorageSystemRestRep)1 VirtualNasServerDataTable (models.datatable.VirtualNasServerDataTable)1