static ClusterMapConfig getClusterMapConfig(String clusterName, String dcName, String zkLayoutPath) {
    Properties props = new Properties();
    props.setProperty("clustermap.host.name", "localhost");
    props.setProperty("clustermap.cluster.name", clusterName);
    props.setProperty("clustermap.datacenter.name", dcName);
    if (zkLayoutPath != null) {
      try {
        props.setProperty("clustermap.dcs.zk.connect.strings", Utils.readStringFromFile(zkLayoutPath));
      } catch (IOException e) {
        throw new RuntimeException("Could not read zk layout file", e);
      }
    }
    return new ClusterMapConfig(new VerifiableProperties(props));
  }
Exposed for test use.
@param clusterName cluster name to use in the config
@param dcName datacenter name to use in the config
@param zkLayoutPath if non-null, read ZK connection configs from the file at this path.
@return the {@link ClusterMapConfig}
ambry-clustermap/src/main/java/com/github/ambry/clustermap/HelixBootstrapUpgradeUtil.java