From e070c66326754865f23106b8c571a0aebf3f2395 Mon Sep 17 00:00:00 2001 From: Adeodato Simo <dato@google.com> Date: Wed, 5 Jan 2011 12:01:43 +0000 Subject: [PATCH] constants.py: define QR_GROUP resource Signed-off-by: Adeodato Simo <dato@google.com> Reviewed-by: Michael Hanselmann <hansmi@google.com> --- lib/constants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/constants.py b/lib/constants.py index 1a3ccd61f..22193691e 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -952,9 +952,10 @@ JQT_ALL = frozenset([ QR_INSTANCE = "instance" QR_NODE = "node" QR_LOCK = "lock" +QR_GROUP = "group" #: List of resources which can be queried using L{opcodes.OpQuery} -QR_OP_QUERY = frozenset([QR_INSTANCE, QR_NODE]) +QR_OP_QUERY = frozenset([QR_INSTANCE, QR_NODE, QR_GROUP]) #: List of resources which can be queried using LUXI QR_OP_LUXI = QR_OP_QUERY.union([ -- GitLab