void upgradeWithNewHardwareLayout(String hardwareLayoutPath) throws Exception {
    HelixBootstrapUpgradeUtil.bootstrapOrUpgrade(hardwareLayoutPath, partitionLayoutPath, zkLayoutPath, clusterName,
        "all", maxPartitionsInOneResource, false, false, helixAdminFactory, false,
        ClusterMapConfig.DEFAULT_STATE_MODEL_DEF, BootstrapCluster, DataNodeConfigSourceType.INSTANCE_CONFIG, false,
        maxInstancesInOneResourceForFullAuto);
    triggerInstanceConfigChangeNotification();
  }
Upgrade based on the hardwareLayout.
@param hardwareLayoutPath the new hardware layout.
@throws Exception
ambry-clustermap/src/test/java/com/github/ambry/clustermap/MockHelixCluster.java