LGTM, thanks.

On Wed, Mar 26, 2014 at 2:25 PM, Hrvoje Ribicic <[email protected]> wrote:

> 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: Hrvoje Ribicic <[email protected]>
> ---
>  lib/rapi/rlib2.py | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/lib/rapi/rlib2.py b/lib/rapi/rlib2.py
> index 1794c62..1580bea 100644
> --- a/lib/rapi/rlib2.py
> +++ b/lib/rapi/rlib2.py
> @@ -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.
> --
> 1.9.1.423.g4596e3a
>
>


-- 
Thomas Thrainer | Software Engineer | [email protected] |

Google Germany GmbH
Dienerstr. 12
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores

Reply via email to