LGTM, thanks.

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

> This patch adds a single alias for the secondary_ip property of the
> node.
>
> Signed-off-by: Hrvoje Ribicic <[email protected]>
> ---
>  lib/rapi/rlib2.py | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/lib/rapi/rlib2.py b/lib/rapi/rlib2.py
> index 72217ac..1794c62 100644
> --- a/lib/rapi/rlib2.py
> +++ b/lib/rapi/rlib2.py
> @@ -419,6 +419,9 @@ class R_2_nodes_name(baserlib.OpcodeResource):
>
>    """
>    GET_OPCODE = opcodes.OpNodeQuery
> +  GET_ALIASES = {
> +    "sip": "secondary_ip",
> +    }
>
>    def GET(self):
>      """Send information about a node.
> --
> 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