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);
}
Aggregations