LGTM, thanks.
On Wed, Mar 26, 2014 at 2:25 PM, Hrvoje Ribicic <[email protected]> wrote: > This patch adds aliases for two cluster parameters. > > Signed-off-by: Hrvoje Ribicic <[email protected]> > --- > lib/rapi/rlib2.py | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/lib/rapi/rlib2.py b/lib/rapi/rlib2.py > index a310572..72217ac 100644 > --- a/lib/rapi/rlib2.py > +++ b/lib/rapi/rlib2.py > @@ -220,6 +220,10 @@ class R_2_info(baserlib.OpcodeResource): > > """ > GET_OPCODE = opcodes.OpClusterQuery > + GET_ALIASES = { > + "volume_group_name": "vg_name", > + "drbd_usermode_helper": "drbd_helper", > + } > > def GET(self): > """Returns cluster information. > -- > 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
