boolean enableSis(String schedule){
  String volumePath="/vol/" + name;
  NaElement elem=new NaElement("sis-enable");
  elem.addNewChild("path",volumePath);
  try {
    server.invokeElem(elem);
  }
 catch (  Exception e) {
    log.error("Failed to enable SIS on volume: " + name,e);
    return false;
  }
  if (schedule == null || schedule.isEmpty()) {
    schedule="auto";
  }
  elem=new NaElement("sis-set-config");
  elem.addNewChild("path",volumePath);
  elem.addNewChild("schedule",schedule);
  try {
    server.invokeElem(elem);
  }
 catch (  Exception e) {
    String msg="Failed to set SIS schedule on volume: " + name;
    log.error(msg,e);
    throw new NetAppException(msg,e);
  }
  return true;
}

boolean enableSis ( String schedule ) { String volumePath = "/vol/" + name ; NaElement elem = new NaElement ( "sis-enable" ) ; elem . addNewChild ( "path" , volumePath ) ; try { server . invokeElem ( elem ) ; } catch ( Exception e ) { log . error ( "Failed to enable SIS on volume: " + name , e ) ; return false ; } if ( schedule == null || schedule . isEmpty ( ) ) { schedule = "auto" ; } elem = new NaElement ( "sis-set-config" ) ; elem . addNewChild ( "path" , volumePath ) ; elem . addNewChild ( "schedule" , schedule ) ; try { server . invokeElem ( elem ) ; } catch ( Exception e ) { String msg = "Failed to set SIS schedule on volume: " + name ; log . error ( msg , e ) ; throw new NetAppException ( msg , e ) ; } return true ; }
enables sis and sets the schedule . schedule format is ontap schedule format .
