def _get_qos_queue(self, context, id):
        try:
            query = self._model_query(context, QosQueue)
            qos_queue = query.filter(QosQueue.id == id).one()
        except exc.NoResultFound:
            raise ext_qos.QosQueueNotFound(id=id)
        return qos_queue