use of com.emc.storageos.ceph.CephClientFactory in project coprhd-controller by CoprHD.
the class CephUtils method ensureConnectToCeph.
private static void ensureConnectToCeph(StorageProvider storageProvider) throws Exception {
CephClientFactory factory = new CephClientFactory();
CephClient cephClient = factory.getClient(storageProvider.getIPAddress(), storageProvider.getUserName(), storageProvider.getPassword());
cephClient.close();
}
Aggregations