def planted_partition_graph(l, k, p_in, p_out, seed=None, directed=False):
    return random_partition_graph([k]*l, p_in, p_out, seed, directed)
Wraps return value of _build_target_replicas_by_tier to include
dataset/ETHPy150Open networkx/networkx/networkx/generators/community.py/planted_partition_graph--crossover with--dataset/ETHPy150Open openstack/swift/swift/common/ring/builder.py/RingBuilder._build_replica_plan