Examples of CreateVolumeCmdResponse


Examples of org.apache.cloudstack.storage.datastore.util.ElastistorUtil.CreateVolumeCmdResponse

            CreateTsmCmdResponse tsmCmdResponse = ElastistorUtil.createElastistorTsm(storagePoolName, storageIp, capacityBytes, capacityIops);

            String uuid = tsmCmdResponse.getTsm().getUuid();
            parameters.setUuid(uuid);

            CreateVolumeCmdResponse volumeCmdResponse = ElastistorUtil.createElastistorVolume(storagePoolName, tsmCmdResponse, capacityBytes, capacityIops, protocoltype ,mountpoint);

            if(protocoltype.contentEquals("iscsi")){
              String accesspath = "/"+volumeCmdResponse.getFileSystem().getIqn()+"/0";
              parameters.setPath(accesspath);
            }
        s_logger.info("creation of elastistor volume complete");

            return parameters;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.