[PATCH] InterfaceAPI: Add default IP address index to get_ip and get_prefix methods