def generate_env_variables(client_port=6000, node_port=7000, total_nodes=3):
    """Generate and return environment variable for all nodes.
    """
    client_ports = [client_port + i for i in range(total_nodes)]
    node_ports = [node_port + i for i in range(total_nodes)]
    node_ips = ['127.0.0.1:{}'.format(node_ports[i]) for i in range(total_nodes)]
    # + 1 to start node name from 1
    node_names = ['edht-{}'.format(i+1) for i in range(total_nodes)]
    return {'client_ports': client_ports, 'node_ports': node_ports,
            'node_ips': node_ips, 'node_names': node_names,
            'replication': "3", 'node_timeout_ms': "10000"}