use private ip as defined in get_nodes

Change-Id: I1d09c78fbaf3914b4c89134154dbb948fed23e82