Package com.cloud.server.api.response.netapp

Examples of com.cloud.server.api.response.netapp.ListVolumePoolsCmdResponse


      try {
        List<PoolVO> poolList = netappMgr.listPools();
        ListResponse<ListVolumePoolsCmdResponse> listResponse = new ListResponse<ListVolumePoolsCmdResponse>();
        List<ListVolumePoolsCmdResponse> responses = new ArrayList<ListVolumePoolsCmdResponse>();
        for (PoolVO pool : poolList) {
          ListVolumePoolsCmdResponse response = new ListVolumePoolsCmdResponse();
          response.setId(pool.getId());
          response.setName(pool.getName());
          response.setAlgorithm(pool.getAlgorithm());
          response.setObjectName("pool");
          responses.add(response);
        }
        listResponse.setResponses(responses);
        listResponse.setResponseName(getCommandName());
        this.setResponseObject(listResponse);
View Full Code Here


        try {
            List<PoolVO> poolList = netappMgr.listPools();
            ListResponse<ListVolumePoolsCmdResponse> listResponse = new ListResponse<ListVolumePoolsCmdResponse>();
            List<ListVolumePoolsCmdResponse> responses = new ArrayList<ListVolumePoolsCmdResponse>();
            for (PoolVO pool : poolList) {
                ListVolumePoolsCmdResponse response = new ListVolumePoolsCmdResponse();
                response.setId(pool.getId());
                response.setName(pool.getName());
                response.setAlgorithm(pool.getAlgorithm());
                response.setObjectName("pool");
                responses.add(response);
            }
            listResponse.setResponses(responses);
            listResponse.setResponseName(getCommandName());
            this.setResponseObject(listResponse);
View Full Code Here

      try {
        List<PoolVO> poolList = netappMgr.listPools();
        ListResponse<ListVolumePoolsCmdResponse> listResponse = new ListResponse<ListVolumePoolsCmdResponse>();
        List<ListVolumePoolsCmdResponse> responses = new ArrayList<ListVolumePoolsCmdResponse>();
        for (PoolVO pool : poolList) {
          ListVolumePoolsCmdResponse response = new ListVolumePoolsCmdResponse();
          response.setId(pool.getId());
          response.setName(pool.getName());
          response.setAlgorithm(pool.getAlgorithm());
          response.setObjectName("pool");
          responses.add(response);
        }
        listResponse.setResponses(responses);
        listResponse.setResponseName(getCommandName());
        this.setResponseObject(listResponse);
View Full Code Here

TOP

Related Classes of com.cloud.server.api.response.netapp.ListVolumePoolsCmdResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.