Support slaves in generate_redis_topology.js