virttest: Add get_correspond_ip() to virttest.utils_net.py

This function may used by other scripts.

Signed-off-by: Feng Yang <fyang@redhat.com>
Merge pull request #1414 from FengYang/get_correspond_ip

virttest: Add get_correspond_ip() to virttest.utils_net.py