Search in sources :

Example 71 with VNXeBase

use of com.emc.storageos.vnxe.models.VNXeBase in project coprhd-controller by CoprHD.

the class NasServerListRequestTest method getTest.

@Test
public void getTest() {
    NfsServerListRequest req = new NfsServerListRequest(_client);
    List<VNXeNfsServer> list = req.get();
    for (VNXeNfsServer nfsServer : list) {
        String id = nfsServer.getId();
        System.out.println(id);
        List<VNXeBase> fileInterfaces = nfsServer.getFileInterfaces();
        System.out.println(fileInterfaces.size());
        for (VNXeBase finterface : fileInterfaces) {
            System.out.println(finterface.getId());
        }
    }
}
Also used : VNXeBase(com.emc.storageos.vnxe.models.VNXeBase) VNXeNfsServer(com.emc.storageos.vnxe.models.VNXeNfsServer) Test(org.junit.Test)

Aggregations

VNXeBase (com.emc.storageos.vnxe.models.VNXeBase)71 ArrayList (java.util.ArrayList)39 URI (java.net.URI)17 HashMap (java.util.HashMap)14 LunGroupModifyParam (com.emc.storageos.vnxe.models.LunGroupModifyParam)13 URIQueryResultList (com.emc.storageos.db.client.constraint.URIQueryResultList)12 VNXeHostInitiator (com.emc.storageos.vnxe.models.VNXeHostInitiator)11 HashSet (java.util.HashSet)11 List (java.util.List)11 StoragePort (com.emc.storageos.db.client.model.StoragePort)9 VNXeException (com.emc.storageos.vnxe.VNXeException)9 VNXeCommandJob (com.emc.storageos.vnxe.models.VNXeCommandJob)9 ConsistencyGroupRequests (com.emc.storageos.vnxe.requests.ConsistencyGroupRequests)9 LunGroupRequests (com.emc.storageos.vnxe.requests.LunGroupRequests)9 VNXeApiClient (com.emc.storageos.vnxe.VNXeApiClient)8 BlockHostAccess (com.emc.storageos.vnxe.models.BlockHostAccess)8 LunParam (com.emc.storageos.vnxe.models.LunParam)8 ModifyFileSystemParam (com.emc.storageos.vnxe.models.ModifyFileSystemParam)8 Initiator (com.emc.storageos.db.client.model.Initiator)7 VNXeHost (com.emc.storageos.vnxe.models.VNXeHost)7