'Update the metadata published to the instance.'

@wrap_exception()
@wrap_instance_fault
def change_instance_metadata(self, context, diff, instance):

    LOG.debug('Changing    instance    metadata    according    to    %r', diff, instance=instance)
    self.driver.change_instance_metadata(context, instance, diff)
