

def instance_info_cache_update_at_top(self, ctxt, instance_info_cache):
    "Broadcast up that an instance's info_cache has changed."
    version = '1.35'
    instance = objects.Instance(uuid=instance_info_cache.instance_uuid, info_cache=instance_info_cache)
    if (not self.client.can_send_version('1.35')):
        instance = objects_base.obj_to_primitive(instance)
        version = '1.34'
    cctxt = self.client.prepare(version=version)
    cctxt.cast(ctxt, 'instance_update_at_top', instance=instance)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/cells/rpcapi.py CellsAPI.instance_info_cache_update_at_top/original