def METHOD_NAME(con_dat, repl, node_name):
    node_rec = node_data.loc[node_data.KNAM == node_name, "RECNO"]
    assert len(node_rec) == 1
    node_rec = node_rec.iloc[0]
    stid = con_dat.STANETID_connections
    hh_pipes.loc[hh_pipes.CLIENTID == stid, ["ANFNAM", "CLIENTTYP", "CLIENTID", "CLIENTNO"]] = \
        node_name, 1, "NODE " + node_name, node_rec
    hh_pipes.loc[hh_pipes.CLIENT2ID == stid,
                 ["ENDNAM", "CLIENT2TYP", "CLIENT2ID", "CLIENT2NO"]] = \
        node_name, 1, "NODE " + node_name, node_rec
    repl[stid] = {"type": "node", "id": node_name, "no": node_rec}