[PATCH 4/5] Replace HostAPI get_ip() method with InterfaceAPI method in phase 2 tests