Re: [netmod] [Netconf] LC on YANG Library (bis)

Kent Watsen <kwatsen@juniper.net> Thu, 15 February 2018 15:51 UTC

Return-Path: <kwatsen@juniper.net>
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 8DE54126BF0; Thu, 15 Feb 2018 07:51:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 ZcMSuQguwPbE; Thu, 15 Feb 2018 07:51:26 -0800 (PST)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 46A41124C27; Thu, 15 Feb 2018 07:51:26 -0800 (PST)
Received: from pps.filterd (m0108163.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1FFoCYN017687; Thu, 15 Feb 2018 07:51:20 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=JJZbX3dKuun6b6vQhrAOjXkYsA2jiu0xl4gTfkTRW3Q=; b=Ey8/0MwZbHmQeaY9eMYv8jv+kGuM3auYhoUd+wOLCgI716fy8yaiKnOSqR0CgrELUvEQ f8qdpP7QxPGlnq7O6SHz+HWtUZleuAlaZSy6TmY+U7paYOPxMcHIt0LIF+AVk8JVcSKa 8/9wbqViSGk6PzKWsE+hyz3cZem02vz4GPHxUzylL0ocCJ5hfxnKkMuUalinjeIdtRfh Pw0U2ui1ldWzhjGS+AozX5lxjegTb6LIMusTFOtqyVtzZfWg14K2f274FxeHUbxLLYN4 JBOsJS0kfLOfzCQcQfmQJoftnOQ/act6TxT+cC/PPh7xynUqQzWQdK4eWmZUzzrueA7Q TQ==
Received: from nam01-by2-obe.outbound.protection.outlook.com (mail-by2nam01lp0184.outbound.protection.outlook.com [216.32.181.184]) by mx0b-00273201.pphosted.com with ESMTP id 2g5d2b00bx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 15 Feb 2018 07:51:20 -0800
Received: from BN6PR05MB3473.namprd05.prod.outlook.com (10.174.232.37) by BN6PR05MB2884.namprd05.prod.outlook.com (10.168.255.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.527.6; Thu, 15 Feb 2018 15:51:17 +0000
Received: from BN6PR05MB3473.namprd05.prod.outlook.com ([10.174.232.37]) by BN6PR05MB3473.namprd05.prod.outlook.com ([10.174.232.37]) with mapi id 15.20.0527.006; Thu, 15 Feb 2018 15:51:17 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Alexander Clemm <alexander.clemm@huawei.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: NETCONF WG <netconf@ietf.org>, NETMOD WG <netmod@ietf.org>
Thread-Topic: [Netconf] [netmod] LC on YANG Library (bis)
Thread-Index: AQHTpQOkNnE56QWOok2Cl9au3Xfg+6OiwAqAgAKLvoA=
Date: Thu, 15 Feb 2018 15:51:17 +0000
Message-ID: <C3087D63-0C35-4828-8A04-CD2505CCE821@juniper.net>
References: <F10CE657-FC6B-491B-A8DF-0CFEE98B863C@gmail.com> <644DA50AFA8C314EA9BDDAC83BD38A2E0EAE81CB@sjceml521-mbs.china.huawei.com> <20180213194821.cwbwwmy7bqhvkfsd@elstar.local> <644DA50AFA8C314EA9BDDAC83BD38A2E0EAE8224@sjceml521-mbs.china.huawei.com>
In-Reply-To: <644DA50AFA8C314EA9BDDAC83BD38A2E0EAE8224@sjceml521-mbs.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
x-originating-ip: [66.129.241.13]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BN6PR05MB2884; 6:+UoItJoCMbEmNlOXI54/StwhwXoMw29HSe8KoK7bz0LYmQqzbYUrmlfQSd0Ofqnld85i6CckBmggJwjl0SJvibf2Sl+6whC0rSxfznzSfdfEde38VyIaeigYJeyfM9JpTRBexV0Mi1ZBEuvMFX4M8tIoX21dyA1MHIJdeyCxqD31yQ/gtMxQqjiLkF2ndQxJ2nBZTLYfJ8UASH4avGSZIeBod7IiOWBqq9KzFEGImRL3XHHJGm0tjMRH/3CKqBGoXdjGyGEaOVv1KchyFQ084fJ9u/sD6+BbBCKY+yU3viA/8Sna2KgnOiosI6E1MEgdP/OPJ/FysCl2cGrKuuqrNmH+mglGRFUEZiUPCDdk9iKnN5k5XD4v15shXiPqOfWO; 5:CBT1s1hbOwDwhp51O/VYV6yRULxaGh6K1C8IfxlHyjjRJLcodYJggMB/2medB6RSXkOs5BEwH1wfoJFg2hXaXSNqIOUtckdRQrwgRUNEIcd/G0Qr2bKUGSfQKOsniI9SIRKFs+aPOzmAUrzaP7tUXpWO6yWKpn5wy09D7K4fVGY=; 24:cooEBxIlvwS5/CZnHYE6spJoR/A5jrvfLaydxw3a7HqpxiUkQpRYknbExjulvlqEUq+lZLBYA6IO506YSp4PUT7SJgCs72C2tBTMybiGVBA=; 7:8ZpTrXBCMagNbmDV8yzfong69x5FAEbgDbajq0nolqFbWbE2dyZk/6C4Nz+bAA7ZbkhHAsON1T18SG/DgJe98ws0RJwXKaUXgbs0ea401QPZGbX01sok1Gt07TtgF+V3XrnfjqT6JHSBs3Q2wuQ1s8qYxzvqCnpzud6pzgIvd37raz3U7C9VZ512PdPvnLAvflpCfjjNpWlEeOzSjISHKf73XiOfs2YypnsulBW6bsi0aRRdSUyEEXQH4/7w2EId
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 5dc21368-e3cb-42de-59b7-08d5748bf387
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:BN6PR05MB2884;
x-ms-traffictypediagnostic: BN6PR05MB2884:
x-microsoft-antispam-prvs: <BN6PR05MB28848188CEED98C20119B9F3A5F40@BN6PR05MB2884.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(10436049006162)(50582790962513)(85827821059158);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001026)(6040501)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231101)(944501161)(6055026)(6041288)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:BN6PR05MB2884; BCL:0; PCL:0; RULEID:; SRVR:BN6PR05MB2884;
x-forefront-prvs: 058441C12A
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(366004)(39380400002)(346002)(376002)(39860400002)(189003)(199004)(13464003)(2906002)(6116002)(2900100001)(105586002)(966005)(6246003)(8676002)(316002)(478600001)(2950100002)(3846002)(81166006)(81156014)(14454004)(5660300001)(8936002)(102836004)(6506007)(54906003)(36756003)(25786009)(53546011)(4326008)(76176011)(106356001)(53936002)(305945005)(3280700002)(6306002)(6512007)(6436002)(6486002)(58126008)(110136005)(99286004)(7736002)(93886005)(83506002)(86362001)(26005)(575784001)(97736004)(68736007)(186003)(3660700001)(82746002)(229853002)(77096007)(83716003)(33656002)(66066001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN6PR05MB2884; H:BN6PR05MB3473.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: JhlcEkJRSKxfbc/wJGKoYrpYrZqeIEjijWk/WdlxZfVxwXPNq8NBU62sFPKby57pczjDAV6RnyP9GoEp1S1SSQ==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <BDD83748C52C1444987369D48AC74B8F@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: 5dc21368-e3cb-42de-59b7-08d5748bf387
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Feb 2018 15:51:17.7490 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR05MB2884
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2018-02-15_06:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802150194
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/f1nenC1U2lgrGQ31XnaGfdKMK4M>
Subject: Re: [netmod] [Netconf] LC on YANG Library (bis)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 15 Feb 2018 15:51:30 -0000

Alex,

What you want makes sense to me.  How about putting it into an I-D that augments the yang library bis?  It doesn't have to be in this document, right?

Kent

===== original message =====

Well, we need a general solution for that.  YANG-push is just one use case.  There are other cases where there will be "metadata" (that does not pertain to instance data)  and capabilities that clients want to discover.  YANG library (in itself providing "metadata" about what a server supports and is capable of) is an excellent place to maintain this information.  It also provides the opportunity to be systemic about it, as opposed to requiring everyone to define their own little custom extensions.  
--- Alex

> -----Original Message-----
> From: Juergen Schoenwaelder [mailto:j.schoenwaelder@jacobs-university.de]
> Sent: Tuesday, February 13, 2018 11:48 AM
> To: Alexander Clemm <alexander.clemm@huawei.com>
> Cc: Mahesh Jethanandani <mjethanandani@gmail.com>; NETCONF WG
> <netconf@ietf.org>; NETMOD WG <netmod@ietf.org>
> Subject: Re: [netmod] [Netconf] LC on YANG Library (bis)
> 
> Alexander,
> 
> I disagree. This YANG Library is mandatory for all implementations; what you talk
> about seems to concern only implementations that support YANG push. Hence,
> this is an extension that should go in its own module.
> 
> /js
> 
> On Tue, Feb 13, 2018 at 07:38:31PM +0000, Alexander Clemm wrote:
> > Hi,
> >
> > I have taken a look at this document.
> >
> > My main comment is that one aspect that is missing, that I believe should be
> added, concerns the inclusion of certain metadata about the modules.
> Specifically, in the context of YANG-Push we had a discussion about being able to
> mark nodes that are notifiable on change.  This is just one particular use case of a
> more general issue; in YANG-Push after much debate the conclusion was for now
> to simply make implementors aware of this issue and advise that a solution to
> this must be provided, with the clear understanding that eventually a standard
> solution should be defined.
> >
> > Since the goal of YANG-Library is to allow clients to find out what is actually
> supported on a given server, this is the right place to keep this information.  One
> possible way to address this would be, for a given module, to maintain a list of
> "meta-info", with a key "meta-tag", and a list with references to the nodes to
> which the metadata applies.  In the case of notifiable-on-change, you would have
> a list with one entry "notifiable-on-change", and then the list with the node
> definitions to which this tag applies.
> >
> > Editorial nit:
> > 2nd paragraph Introduction: informaton --> information
> >
> > Thanks
> > --- Alex
> >
> > From: Netconf [mailto:netconf-bounces@ietf.org] On Behalf Of Mahesh
> > Jethanandani
> > Sent: Thursday, February 01, 2018 11:00 AM
> > To: NETCONF WG <netconf@ietf.org>
> > Cc: NETMOD WG <netmod@ietf.org>
> > Subject: [Netconf] LC on YANG Library (bis)
> >
> > WG,
> >
> > The authors of rfc7895bis have indicated that they believe the document is
> ready for LC[1].
> >
> > This starts a two week LC on the draft<https://urldefense.proofpoint.com/v2/url?u=https-3A__tools.ietf.org_html_draft-2Dietf-2D&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=oALb7LKrUkKDsJ06VIM3Anx_iD05BkmxjaM0TZF1heA&s=NaY8R9DBhInZQAxL35_KjFzeYHfyTOVJLnMHAKGeKF0&e=
> netconf-rfc7895bis-04>. The LC will end on February 15.
> >
> > Please send your comments on this thread. Reviews of the document, and
> statement of support are particularly helpful to the authors. If you have concerns
> about the document, please state those too.
> >
> > Authors please indicate if you are aware of any IPR on the document.
> >
> > Thanks.
> >
> > [1]
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mail-2Darchive_web_netconf_current_msg13980.html&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=oALb7LKrUkKDsJ06VIM3Anx_iD05BkmxjaM0TZF1heA&s=Qm6U9CIpDHS0jqUnGGZl8X05qeA_VvMyyuOtwDHBf1M&e=
> >
> > Mahesh & Kent
> >
> 
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netmod&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=oALb7LKrUkKDsJ06VIM3Anx_iD05BkmxjaM0TZF1heA&s=GPdqlio_2laQl93jobGXgXOs-WpouxE1W4MeGxvh558&e=
> 
> 
> --
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.jacobs-2Duniversity.de_&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=oALb7LKrUkKDsJ06VIM3Anx_iD05BkmxjaM0TZF1heA&s=z9V8kyto9EgyGp3JswA2QbJBSQd3eczfciztcC1gNt4&e=>

_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ietf.org_mailman_listinfo_netconf&d=DwICAg&c=HAkYuh63rsuhr6Scbfh0UjBXeMK-ndb3voDTXcWzoCI&r=9zkP0xnJUvZGJ9EPoOH7Yhqn2gsBYaGTvjISlaJdcZo&m=oALb7LKrUkKDsJ06VIM3Anx_iD05BkmxjaM0TZF1heA&s=j9edlpIGbuEeS7yMrV4iRWY7vvq0c2FqIemuHf17LLU&e=