Revision abd66bf8 lib/opcodes.py
b/lib/opcodes.py | ||
---|---|---|
109 | 109 |
_PGroupNodeParams = ("ndparams", None, ht.TMaybeDict, |
110 | 110 |
"Default node parameters for group") |
111 | 111 |
|
112 |
_PQueryWhat = ("what", ht.NoDefault, ht.TElemOf(constants.QR_OP_QUERY),
|
|
112 |
_PQueryWhat = ("what", ht.NoDefault, ht.TElemOf(constants.QR_VIA_OP),
|
|
113 | 113 |
"Resource(s) to query for") |
114 | 114 |
|
115 | 115 |
_PIpCheckDoc = "Whether to ensure instance's IP address is inactive" |
... | ... | |
641 | 641 |
class OpQuery(OpCode): |
642 | 642 |
"""Query for resources/items. |
643 | 643 |
|
644 |
@ivar what: Resources to query for, must be one of L{constants.QR_OP_QUERY}
|
|
644 |
@ivar what: Resources to query for, must be one of L{constants.QR_VIA_OP}
|
|
645 | 645 |
@ivar fields: List of fields to retrieve |
646 | 646 |
@ivar filter: Query filter |
647 | 647 |
|
... | ... | |
659 | 659 |
class OpQueryFields(OpCode): |
660 | 660 |
"""Query for available resource/item fields. |
661 | 661 |
|
662 |
@ivar what: Resources to query for, must be one of L{constants.QR_OP_QUERY}
|
|
662 |
@ivar what: Resources to query for, must be one of L{constants.QR_VIA_OP}
|
|
663 | 663 |
@ivar fields: List of fields to retrieve |
664 | 664 |
|
665 | 665 |
""" |
Also available in: Unified diff