Package com.vmware.bdd.placement

Examples of com.vmware.bdd.placement.PlacementPlanner


*/
public class TestDiskPlacement {

   @Test
   public void testPlaceUnSeparableDisks() throws Exception {
      PlacementPlanner placementPlanner = new PlacementPlanner();

      List<DiskSpec> diskSpecs = new ArrayList<DiskSpec>();
      DiskSpec diskSpec = new DiskSpec();
      diskSpec.setName("diskSpec");
      diskSpec.setSize(40);
View Full Code Here


      Assert.assertEquals(placedDisks.get(0).getSize(), 40);
   }

   @Test
   public void testEvenSpliter() throws Exception {
      PlacementPlanner placementPlanner = new PlacementPlanner();

      DiskSpec diskSpec = new DiskSpec();
      diskSpec.setName("diskSpec");
      diskSpec.setSize(50);
View Full Code Here

            "datastore1:5G, datastore2:10G, datastore3:12G, datastore4:12G, datastore5:11G, ");
   }

   @Test
   public void testAggregateSpliter() throws Exception {
      PlacementPlanner placementPlanner = new PlacementPlanner();

      DiskSpec diskSpec = new DiskSpec();
      diskSpec.setName("diskSpec");
      diskSpec.setSize(70);
View Full Code Here

   }

   @Test
   public void testEvenSpliterWithMinimumSpace() throws Exception {
      PlacementPlanner placementPlanner = new PlacementPlanner();

      DiskSpec diskSpec = new DiskSpec();
      diskSpec.setName("diskSpec");
      diskSpec.setSize(10);
View Full Code Here

TOP

Related Classes of com.vmware.bdd.placement.PlacementPlanner

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.