add api to get multiple hosts for each partition

RB=330658