public String addStepForRemoveVPlexCG(Workflow workflow,String stepId,String waitFor,StorageSystem vplexSystem,URI cgURI,String cgName,String clusterName,Boolean setInactive,Workflow.Method rollbackMethod){
  URI vplexSystemURI=vplexSystem.getId();
  Workflow.Method vplexExecuteMethod=new Workflow.Method(DELETE_CG_METHOD_NAME,vplexSystemURI,cgURI,cgName,clusterName,setInactive);
  String step=workflow.createStep(DELETE_CG_STEP,String.format("Deleting Consistency Group %s on VPLEX system %s",cgName,vplexSystemURI.toString()),waitFor,vplexSystemURI,vplexSystem.getSystemType(),getClass(),vplexExecuteMethod,rollbackMethod,stepId);
  log.info("Created step for delete CG {} on VPLEX {}",clusterName + ":" + cgName,vplexSystemURI);
  return step;
}

public String addStepForRemoveVPlexCG ( Workflow workflow , String stepId , String waitFor , StorageSystem vplexSystem , URI cgURI , String cgName , String clusterName , Boolean setInactive , Workflow . Method rollbackMethod ) { URI vplexSystemURI = vplexSystem . getId ( ) ; Workflow . Method vplexExecuteMethod = new Workflow . Method ( DELETE_CG_METHOD_NAME , vplexSystemURI , cgURI , cgName , clusterName , setInactive ) ; String step = workflow . createStep ( DELETE_CG_STEP , String . format ( "Deleting Consistency Group %s on VPLEX system %s" , cgName , vplexSystemURI . toString ( ) ) , waitFor , vplexSystemURI , vplexSystem . getSystemType ( ) , getClass ( ) , vplexExecuteMethod , rollbackMethod , stepId ) ; log . info ( "Created step for delete CG {} on VPLEX {}" , clusterName + ":" + cgName , vplexSystemURI ) ; return step ; }
add step method for removing a vplex consistency group .
