Commit 3fd0d720 authored by Hrvoje Ribicic's avatar Hrvoje Ribicic
Browse files

Add renaming of group custom ndparams, ipolicy, diskparams



This patch adds the ability to set the group-specific parameters in the
same way they are described when returned by the info command - with
the "custom_" prefix.
Signed-off-by: default avatarHrvoje Ribicic <riba@google.com>
Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
parent f351ad77
......@@ -847,6 +847,11 @@ class R_2_groups_name_modify(baserlib.OpcodeResource):
"""
PUT_OPCODE = opcodes.OpGroupSetParams
PUT_RENAME = {
"custom_ndparams": "ndparams",
"custom_ipolicy": "ipolicy",
"custom_diskparams": "diskparams",
}
def GetPutOpInput(self):
"""Changes some parameters of node group.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment