Examples of NetappManager


Examples of com.cloud.netapp.NetappManager

  @Override
  public void execute() throws ResourceUnavailableException,
      InsufficientCapacityException, ServerApiException,
      ConcurrentOperationException, ResourceAllocationException {
    ComponentLocator locator = ComponentLocator.getLocator(ManagementService.Name);
      NetappManager netappMgr = locator.getManager(NetappManager.class);
      try {
        netappMgr.destroyVolumeOnFiler(ipAddr, aggrName, volumeName);
        DeleteVolumeOnFilerCmdResponse response = new DeleteVolumeOnFilerCmdResponse();
        response.setResponseName(getCommandName());
        this.setResponseObject(response);
      } catch (InvalidParameterValueException e) {
        throw new ServerApiException(BaseCmd.PARAM_ERROR, e.toString());
View Full Code Here

Examples of com.cloud.netapp.NetappManager

  @Override
  public void execute() throws ResourceUnavailableException,
      InsufficientCapacityException, ServerApiException,
      ConcurrentOperationException, ResourceAllocationException {
    ComponentLocator locator = ComponentLocator.getLocator(ManagementService.Name);
      NetappManager netappMgr = locator.getManager(NetappManager.class);
     
      try {
        CreateLunCmdResponse response = new CreateLunCmdResponse();
        String returnVals[] = null;
        returnVals = netappMgr.createLunOnFiler(getPoolName(), getLunSize());
        response.setPath(returnVals[0]);
        response.setIqn(returnVals[1]);
        response.setIpAddress(returnVals[2]);
        response.setObjectName("lun");
        response.setResponseName(getCommandName());
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.