Revision 7cbf74f0

b/lib/client/gnt_group.py
138 138
    ToStderr("Please give at least one of the parameters.")
139 139
    return 1
140 140

  
141
  op = opcodes.OpSetGroupParams(group_name=args[0], # pylint: disable-msg=W0142
141
  op = opcodes.OpGroupSetParams(group_name=args[0], # pylint: disable-msg=W0142
142 142
                                **all_changes)
143 143
  result = SubmitOrSend(op, opts)
144 144

  
b/lib/cmdlib.py
10182 10182
    return self.gq.OldStyleQuery(self)
10183 10183

  
10184 10184

  
10185
class LUSetGroupParams(LogicalUnit):
10185
class LUGroupSetParams(LogicalUnit):
10186 10186
  """Modifies the parameters of a node group.
10187 10187

  
10188 10188
  """
b/lib/opcodes.py
1047 1047
    ]
1048 1048

  
1049 1049

  
1050
class OpSetGroupParams(OpCode):
1050
class OpGroupSetParams(OpCode):
1051 1051
  """Change the parameters of a node group."""
1052 1052
  OP_ID = "OP_GROUP_SET_PARAMS"
1053 1053
  OP_DSC_FIELD = "group_name"
b/lib/rapi/rlib2.py
623 623
def _ParseModifyGroupRequest(name, data):
624 624
  """Parses a request for modifying a node group.
625 625

  
626
  @rtype: L{opcodes.OpSetGroupParams}
626
  @rtype: L{opcodes.OpGroupSetParams}
627 627
  @return: Group modify opcode
628 628

  
629 629
  """
630 630
  alloc_policy = baserlib.CheckParameter(data, "alloc_policy", default=None)
631
  return opcodes.OpSetGroupParams(group_name=name, alloc_policy=alloc_policy)
631
  return opcodes.OpGroupSetParams(group_name=name, alloc_policy=alloc_policy)
632 632

  
633 633

  
634 634
class R_2_groups_name_modify(baserlib.R_Generic):

Also available in: Unified diff