#vm_ip method to retrieve VM ip