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

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


  public void execute() throws ResourceUnavailableException,
      InsufficientCapacityException, ServerApiException,
      ConcurrentOperationException, ResourceAllocationException {
      try {
        netappMgr.destroyVolumeOnFiler(ipAddr, aggrName, volumeName);
        DeleteVolumeOnFilerCmdResponse response = new DeleteVolumeOnFilerCmdResponse();
        response.setResponseName(getCommandName());
        this.setResponseObject(response);
      } catch (InvalidParameterValueException e) {
        throw new ServerApiException(ApiErrorCode.PARAM_ERROR, e.toString());
      } catch (ResourceInUseException e) {
        throw new ServerApiException(ApiErrorCode.RESOURCE_IN_USE_ERROR, e.toString());
View Full Code Here


    @Override
    public void execute() throws ResourceUnavailableException, InsufficientCapacityException, ServerApiException, ConcurrentOperationException,
        ResourceAllocationException {
        try {
            netappMgr.destroyVolumeOnFiler(ipAddr, aggrName, volumeName);
            DeleteVolumeOnFilerCmdResponse response = new DeleteVolumeOnFilerCmdResponse();
            response.setResponseName(getCommandName());
            this.setResponseObject(response);
        } catch (InvalidParameterValueException e) {
            throw new ServerApiException(ApiErrorCode.PARAM_ERROR, e.toString());
        } catch (ResourceInUseException e) {
            throw new ServerApiException(ApiErrorCode.RESOURCE_IN_USE_ERROR, e.toString());
View Full Code Here

      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());
      } catch (ResourceInUseException e) {
        throw new ServerApiException(BaseCmd.RESOURCE_IN_USE_ERROR, e.toString());
View Full Code Here

TOP

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

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.