Revision 2e5c33db lib/watcher/__init__.py
b/lib/watcher/__init__.py | ||
---|---|---|
638 | 638 |
opcodes.OpQuery(what=constants.QR_INSTANCE, |
639 | 639 |
fields=["name", "status", "admin_state", "snodes", |
640 | 640 |
"pnode.group.uuid", "snodes.group.uuid"], |
641 |
filter=[qlang.OP_EQUAL, "pnode.group.uuid", uuid], |
|
641 |
qfilter=[qlang.OP_EQUAL, "pnode.group.uuid", uuid],
|
|
642 | 642 |
use_locking=True), |
643 | 643 |
|
644 | 644 |
# Get all nodes in group |
645 | 645 |
opcodes.OpQuery(what=constants.QR_NODE, |
646 | 646 |
fields=["name", "bootid", "offline"], |
647 |
filter=[qlang.OP_EQUAL, "group.uuid", uuid], |
|
647 |
qfilter=[qlang.OP_EQUAL, "group.uuid", uuid],
|
|
648 | 648 |
use_locking=True), |
649 | 649 |
] |
650 | 650 |
|
Also available in: Unified diff