Re: [netmod] New proposal: Yang Schema annotation

Vinod Kumar <vinods.kumar@gmail.com> Wed, 25 January 2017 15:02 UTC

Return-Path: <vinods.kumar@gmail.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D6B7C129978 for <netmod@ietfa.amsl.com>; Wed, 25 Jan 2017 07:02:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0Jm_XYinYIuk for <netmod@ietfa.amsl.com>; Wed, 25 Jan 2017 07:02:57 -0800 (PST)
Received: from mail-yb0-x236.google.com (mail-yb0-x236.google.com [IPv6:2607:f8b0:4002:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 28E34129985 for <netmod@ietf.org>; Wed, 25 Jan 2017 07:02:57 -0800 (PST)
Received: by mail-yb0-x236.google.com with SMTP id f67so8854447ybc.2 for <netmod@ietf.org>; Wed, 25 Jan 2017 07:02:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=haE3mMNGPTZWWI1amlezUwRMLcPAtes6102ZYkQrczk=; b=FDCzP7a6QpRfueX16z3nOpGlXoq8Rq16uZokClynV/wky4kVHQGL34OVGQS9091c99 vFD8mqnfm+85IeMtC+JqvO3GIFKnlmeMKsOoTRft/v4ndAZjF3D4IMhVF81JjSKj4kQy +zc+Sk0IcvIyPwFXmiGhm70lAgX4OA1WL21hWJtDjX94AJj0aAzA+A2RN9UBPSiw2y5T eJ05JzUjpjdu1fyKYI7YOUzWsVMdwadYP7edpqqI6PELqPzFNQNn+cQKnhsPGfScRagg GuMt5LemviWursQnyYjZ1gqjl3HikGLDLXeGTTfpN/dnfTZ2ebnqKUQQ8m/3ScYN0EZn Z+rA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=haE3mMNGPTZWWI1amlezUwRMLcPAtes6102ZYkQrczk=; b=KQ4duLvdSXVGbppxPQRi/2JiLc1UPCm2mkvhgcsbbHtN5JwCXW694xWXR0poLFfTJi 2JYg90AQEA9Qxch+7tq5+YqxYp4zJztZIAeaApqM2ksJmmEgn6/ODED/wKyqjXzNGaeW 0/P0kudlVw0KXxvA4mKoSxG+JdM4WdytMWme6twTKEebKAnSqA73Ttwh6enKhkQ5LdQx EHCvCogUNPrjLRrgYx5WN140SHLnb64+Oi2w9SKGYpQn3bQEoRNRC9vQI25RiMqzrubd N191LYfuZhNO4OoVpS9DOeeo0cJoaAFhMNBOqEwDmGlEWg5lZV/22PNjCk7u1gAc35cu MeAA==
X-Gm-Message-State: AIkVDXI3gxOQFvmVUolroVnalstDBZvDJ7WImIfXZlj6mJ+TbRkDb5lpqxX/3PK3foR7SVvgB7K0/sLHccMpFQ==
X-Received: by 10.129.178.197 with SMTP id q188mr30544775ywh.34.1485356576271; Wed, 25 Jan 2017 07:02:56 -0800 (PST)
MIME-Version: 1.0
Received: by 10.37.50.67 with HTTP; Wed, 25 Jan 2017 07:02:55 -0800 (PST)
In-Reply-To: <0df38f7a-7127-7a6f-3974-15ffbdc9b542@ericsson.com>
References: <0df38f7a-7127-7a6f-3974-15ffbdc9b542@ericsson.com>
From: Vinod Kumar <vinods.kumar@gmail.com>
Date: Wed, 25 Jan 2017 20:32:55 +0530
Message-ID: <CAJtQF==VScP7CGkwFJTUO46Vwjo=A9sXmFXzT7U4s0VizfwSsQ@mail.gmail.com>
To: Balazs Lengyel <balazs.lengyel@ericsson.com>
Content-Type: multipart/alternative; boundary="94eb2c13d50a17fcf30546ec87f4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/cLi-XFJmSp1GfH5O4KEI66FQnk4>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] New proposal: Yang Schema annotation
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 Jan 2017 15:02:59 -0000

Hi Balazs,
    Yes we do agree, that there is a need to associate additional
information with the data modeled objects, based on the use cases the kind
of information required and interpretation would vary.
     So we had defined a generic extension for annotations, as per the
below draft (which will be refreshed shortly) .
https://tools.ietf.org/html/draft-agv-netmod-yang-compiler-metadata-01
     We feel that we could have a unified generic extension, which can be
used to annotate the schema objects.
      Kindly let us know your opinion in this regard.

Thanks and Regards,
Vinod Kumar S.

On Wed, Jan 25, 2017 at 2:21 PM, Balazs Lengyel <balazs.lengyel@ericsson.com
> wrote:

> Hello,
>
> As a result of work coming from the Yangpush effort I just posted a draft
> https://tools.ietf.org/html/draft-lengyel-netmod-schema-annotation-00
>
> This proposes a way to extend YANG modules with extra properties for
> specific schema nodes without modifying the text of the original YANG
> module. We have a strong need for this in Yangpush, but it would be
> useful/needed outside Yangpush as well.
>
> Please review, comment!
>
> regards Balazs
>
> --
> Balazs Lengyel                       Ericsson Hungary Ltd.
> Senior Specialist
> Mobile: +36-70-330-7909              email: Balazs.Lengyel@ericsson.com
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>