Revision 8ed55bfd
b/lib/client/gnt_node.py | ||
---|---|---|
527 | 527 |
""" |
528 | 528 |
selected_fields = ParseFields(opts.output, _LIST_VOL_DEF_FIELDS) |
529 | 529 |
|
530 |
op = opcodes.OpQueryNodeVolumes(nodes=args, output_fields=selected_fields)
|
|
530 |
op = opcodes.OpNodeQueryvols(nodes=args, output_fields=selected_fields)
|
|
531 | 531 |
output = SubmitOpCode(op, opts=opts) |
532 | 532 |
|
533 | 533 |
if not opts.no_headers: |
b/lib/cmdlib.py | ||
---|---|---|
3616 | 3616 |
return self.nq.OldStyleQuery(self) |
3617 | 3617 |
|
3618 | 3618 |
|
3619 |
class LUQueryNodeVolumes(NoHooksLU):
|
|
3619 |
class LUNodeQueryvols(NoHooksLU):
|
|
3620 | 3620 |
"""Logical unit for getting volumes on node(s). |
3621 | 3621 |
|
3622 | 3622 |
""" |
b/lib/opcodes.py | ||
---|---|---|
648 | 648 |
] |
649 | 649 |
|
650 | 650 |
|
651 |
class OpQueryNodeVolumes(OpCode):
|
|
651 |
class OpNodeQueryvols(OpCode):
|
|
652 | 652 |
"""Get list of volumes on node.""" |
653 | 653 |
OP_ID = "OP_NODE_QUERYVOLS" |
654 | 654 |
OP_PARAMS = [ |
Also available in: Unified diff