LGTM, thanks.
On Wed, Mar 26, 2014 at 2:25 PM, Hrvoje Ribicic <[email protected]> wrote: > Much like the groups before, this patch allows custom_* params to be > submitted under the same name they can be retrieved as in the info > call. > > 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 1580bea..2e92c05 100644 > --- a/lib/rapi/rlib2.py > +++ b/lib/rapi/rlib2.py > @@ -1365,6 +1365,11 @@ class > R_2_instances_name_modify(baserlib.OpcodeResource): > > """ > PUT_OPCODE = opcodes.OpInstanceSetParams > + PUT_RENAME = { > + "custom_beparams": "beparams", > + "custom_hvparams": "hvparams", > + "custom_nicparams": "nicparams", > + } > > def GetPutOpInput(self): > """Changes parameters of an instance. > -- > 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
