private void prepareVolumeData() throws Exception {
  log.info("Preparing Volumes for FullCopyVolumeReplicaStateMigration");
  for (int i=0; i < INSTANCES_TO_CREATE; i++) {
    Volume cloneVol=new Volume();
    URI cloneURI=URIUtil.createId(Volume.class);
    URI sourceURI=URIUtil.createId(Volume.class);
    cloneVol.setId(cloneURI);
    cloneVol.setAssociatedSourceVolume(sourceURI);
    _dbClient.createObject(cloneVol);
    cloneURIs.add(cloneURI);
  }
}

private void prepareVolumeData ( ) throws Exception { log . info ( "Preparing Volumes for FullCopyVolumeReplicaStateMigration" ) ; for ( int i = 0 ; i < INSTANCES_TO_CREATE ; i ++ ) { Volume cloneVol = new Volume ( ) ; URI cloneURI = URIUtil . createId ( Volume . class ) ; URI sourceURI = URIUtil . createId ( Volume . class ) ; cloneVol . setId ( cloneURI ) ; cloneVol . setAssociatedSourceVolume ( sourceURI ) ; _dbClient . createObject ( cloneVol ) ; cloneURIs . add ( cloneURI ) ; } }
prepares the data for rp volume tests .
