'Return data about VM diagnostics using the common API.'

def get_instance_diagnostics(self, instance):

    vm_ref = self._get_vm_opaque_ref(instance)
    return vm_utils.compile_instance_diagnostics(self._session, instance, vm_ref)
