'Calls network_api to remove existing fixed_ip from instance
by injecting the altered network info and resetting
instance networking.'

@wrap_exception()
@wrap_instance_fault
def remove_fixed_ip_from_instance(self, context, address, instance):

    self._notify_about_instance_usage(context, instance, 'delete_ip.start')
    network_info = self.network_api.remove_fixed_ip_from_instance(context, instance, address)
    self._inject_network_info(context, instance, network_info)
    self.reset_network(context, instance)
    instance.updated_at = timeutils.utcnow()
    instance.save()
    self._notify_about_instance_usage(context, instance, 'delete_ip.end', network_info=network_info)
