RE: I-D Action: draft-ietf-rtgwg-yang-vrrp-05.txt

Xufeng Liu <Xufeng_Liu@jabil.com> Tue, 17 October 2017 13:57 UTC

Return-Path: <Xufeng_Liu@jabil.com>
X-Original-To: rtgwg@ietfa.amsl.com
Delivered-To: rtgwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5FBD6127517; Tue, 17 Oct 2017 06:57:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jabil.onmicrosoft.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 6ENOPSOr-mUp; Tue, 17 Oct 2017 06:57:16 -0700 (PDT)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0093.outbound.protection.outlook.com [104.47.36.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 792B4132153; Tue, 17 Oct 2017 06:57:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jabil.onmicrosoft.com; s=selector1-jabil-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=VQNUHapxN+vYoDwgZtSXmW2MtHUxcHgn8VY4joWbaoI=; b=1uOgoDvsdVgzAMenneWDQmk46yMYXcZmhUrr2jkEiKvGesuYMW2eKSs1UkR69QpUIVeHHfzc3/2SHjrvCzB79cNHhxh50EKES1LJ2mRElSW8YNYq4GoFZLgsBvkhhdxcTMq0M14uHtiSPU+7bCPbGZsYq8GiYHvUI8hocdQiq+s=
Received: from BN3PR0201MB0867.namprd02.prod.outlook.com (10.160.154.13) by BN3PR0201MB0865.namprd02.prod.outlook.com (10.160.154.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Tue, 17 Oct 2017 13:57:09 +0000
Received: from BN3PR0201MB0867.namprd02.prod.outlook.com ([10.160.154.13]) by BN3PR0201MB0867.namprd02.prod.outlook.com ([10.160.154.13]) with mapi id 15.20.0077.022; Tue, 17 Oct 2017 13:57:09 +0000
From: Xufeng Liu <Xufeng_Liu@jabil.com>
To: Robert Wilton <rwilton@cisco.com>, "draft-ietf-rtgwg-yang-vrrp@ietf.org" <draft-ietf-rtgwg-yang-vrrp@ietf.org>, "rtgwg@ietf.org" <rtgwg@ietf.org>
Subject: RE: I-D Action: draft-ietf-rtgwg-yang-vrrp-05.txt
Thread-Topic: I-D Action: draft-ietf-rtgwg-yang-vrrp-05.txt
Thread-Index: AQHTRn0z5FVhoaKJc0+/qA1ifNR10KLnMS4A
Date: Tue, 17 Oct 2017 13:57:09 +0000
Message-ID: <BN3PR0201MB0867B911A5BA12EEE0CADECAF14C0@BN3PR0201MB0867.namprd02.prod.outlook.com>
References: <150678074289.3430.13577948437978115990@ietfa.amsl.com> <f7e2450b-865f-6121-81ac-01e70f2ae049@cisco.com>
In-Reply-To: <f7e2450b-865f-6121-81ac-01e70f2ae049@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5Lmh0bWwiIHA9ImM6XHVzZXJzXHhsaXVcYXBwZGF0YVxyb2FtaW5nXDA5ZDg0OWI2LT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c/iorc++k64COh/MUEnWcxn/vU0Q4adUkAXDycrLsHhJTysir92nAdtUrHume091IMSBWSS5RNZc2Z6mBTaWMXlJl+fXYSZVeVXUjVlwO1DZa+kllMfL87u5JriW8hMgY2zzO7yqDqHN3tB9/6sQXhBgPvEqtGjqfGxD8gzAxJuj6jlfFHoDQ4bxU=
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: be109d05-dd2e-46a8-2406-08d51566f5c1
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:BN3PR0201MB0865;
x-ms-traffictypediagnostic: BN3PR0201MB0865:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Xufeng_Liu@jabil.com;
x-exchange-antispam-report-test: UriScan:(120809045254105)(95692535739014)(21748063052155);
x-microsoft-antispam-prvs: <BN3PR0201MB0865209AD45DBF23A0FCB4F9F14C0@BN3PR0201MB0865.namprd02.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0201MB0865; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0201MB0865;
x-forefront-prvs: 04631F8F77
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(376002)(346002)(377454003)(51444003)(189002)(24454002)(199003)(377424004)(316002)(80792005)(97736004)(6116002)(110136005)(14454004)(606006)(7736002)(4326008)(74316002)(54896002)(54356999)(790700001)(6306002)(9686003)(76176999)(2501003)(101416001)(8936002)(7696004)(25786009)(236005)(55016002)(53936002)(99286003)(102836003)(8676002)(5660300001)(9326002)(6246003)(81166006)(53546010)(39060400002)(81156014)(2900100001)(229853002)(66066001)(3280700002)(2906002)(230783001)(77096006)(3846002)(6506006)(2201001)(6436002)(68736007)(2950100002)(33656002)(3660700001)(54906003)(72206003)(478600001)(106356001)(50986999)(966005)(86362001)(189998001)(105586002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0201MB0865; H:BN3PR0201MB0867.namprd02.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: jabil.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_BN3PR0201MB0867B911A5BA12EEE0CADECAF14C0BN3PR0201MB0867_"
MIME-Version: 1.0
X-OriginatorOrg: jabil.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2017 13:57:09.5466 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bc876b21-f134-4c12-a265-8ed26b7f0f3b
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0201MB0865
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/HuuhpaZ2vN4JfQhKWs0mVo4gdLw>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Routing Area Working Group <rtgwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtgwg/>
List-Post: <mailto:rtgwg@ietf.org>
List-Help: <mailto:rtgwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtgwg>, <mailto:rtgwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Oct 2017 13:57:20 -0000

Hi Rob,

Thanks for examining this and providing the comments.

From: Robert Wilton [mailto:rwilton@cisco.com]
Sent: Monday, October 16, 2017 8:49 AM
To: draft-ietf-rtgwg-yang-vrrp@ietf.org; rtgwg@ietf.org
Cc: Benoit Claise (bclaise) <bclaise@cisco.com>; Alia Atlas <akatlas@gmail.com>
Subject: Re: I-D Action: draft-ietf-rtgwg-yang-vrrp-05.txt


Hi draft-ietf-rtgwg-yang-vrrp draft authors,

I have a couple of comments on the latest revision of this draft:

1) The top level "vrrp container" has the right name, but can be "config false" since it doesn't hold any configuration today.  This is noting that RFC 7950 allows the "vrrp container" to become "config true" as a backwards compatible change in future if required.

[Xufeng] However, making the container “config false” would prevent vendor augmentations from adding nodes that are “config true”.

2) I've also noticed that this draft defined two separate versions of the VRRP YANG module.  The second version in the appendix is for pre-NMDA implementations:

   <CODE BEGINS> file "ietf-vrrp@2017-09-25.yang"<mailto:ietf-vrrp@2017-09-25.yang>
   module ietf-vrrp {
     yang-version 1.1;
     namespace "urn:ietf:params:xml:ns:yang:ietf-vrrp";
     prefix "vrrp";

And
   <CODE BEGINS> file "ietf-vrrp@2017-09-22.yang"<mailto:ietf-vrrp@2017-09-22.yang>
   module ietf-vrrp {
     yang-version 1.1;
     namespace "urn:ietf:params:xml:ns:yang:ietf-vrrp";
     prefix "vrrp";
Generically, I don't think that it is a good idea to define two versions of the same YANG module in one draft.

[Xufeng] This is to address Alia’s comment about “that there is an implementation. That implies that the existing model should be in the appendix.”
I think that such a case has not been thoroughly discussed. In the NMDA Guidelines, this case falls into category  (b).(“either an existing model or ...

”). The goal here is to provide a model that does not break the existing implementation, and can work with previous version of ietf-interfaces in RFC7223. For such a purpose, none of the following suggestions works too well.


If a backwards compatible NMDA version of a module is required, then an extra "-state" module should be put in the appendix instead (e.g. ietf-vrrp-state@2017-09-25.yang<mailto:ietf-vrrp-state@2017-09-25.yang>).  This "-state" module could be used in conjunction with ietf-vrrp@2017-09-25.yang<mailto:ietf-vrrp@2017-09-25.yang> until NMDA implementations are available.
[Xufeng] There is no such a parent root “-state” module in either RFC7223 or RFC7223bis, so we cannot create such a module cleanly, following the conventions in the guideline. If we did, such a module would break the current implementations.

Alternatively, if you must define an existing pre NMDA version of the VRRP module then it should definitely be given a different module name, e.g. ietf-vrrp-split-tree@2017-09-25.yang<mailto:ietf-vrrp-split-tree@2017-09-25.yang>.  But I believe that this would be an inferior solution since, compared to a separate "-state" module, it will make it harder for clients to migrate to the NMDA modules in future.
[Xufeng] Why is the different name necessary. The name “ietf-vrrp-split-tree” has some issues: 1) breaks the currently implementation; 2) the naming is arbitrary, without any conventional rules; 3) brings more confusions.
Why can’t we use the same name? with one older version and one newer version, just like ietf-interfaces with two versions (one in RFC7223 and RFC7223bis). The older version reflects the older (current) implementation working with RFC7223 without NMDA. When the vendor moves to NMDA and RFC7223bis, the newer version will be used.

Finally, having actually read at the main VRRP module, then on the assumption that VRRP is always configured before it is used, then the "NMDA version" may well be sufficient to use on both existing NETCONF implementations and NMDA compatible NETCONF implementations.  The only thing that you can't see when using the NMDA version of the module on a "pre NMDA" implementation is the applied VRRP configuration.  Whether this is important enough to not define the extra "-state" module is unclear, but my instinct would be that it is better to just leave it out.
[Xufeng] The “applied configuration” is a feature that could be useful, but not something that the VRRP model has to have. If it were not for being close to the existing implementations, we’d use only the NMDA model. The “pre NMDA” implementation uses ietf-interfaces in RFC7223, which has the -state branch. A matching VRRP model would be more consistent and convenient for such implementations. If we had only the NMDA model, we’d force the implementation to update to the NMDA VRRP model (and better with RFC7223bis). The older version of the non-NMDA model would not require the implementation to change immediately.
It is all about the existing implementations. We can have several levels of convenience for the implementations. If it is ok to require them to upgrade now, we can drop the non-NMDA version.
Thanks,
- Xufeng

Thanks,
Rob

On 30/09/2017 15:12, internet-drafts@ietf.org<mailto:internet-drafts@ietf.org> wrote:



A New Internet-Draft is available from the on-line Internet-Drafts directories.

This draft is a work item of the Routing Area Working Group WG of the IETF.



        Title           : A YANG Data Model for Virtual Router Redundancy Protocol (VRRP)

        Authors         : Xufeng Liu

                          Athanasios Kyparlis

                          Ravi Parikh

                          Acee Lindem

                          Mingui Zhang

 Filename        : draft-ietf-rtgwg-yang-vrrp-05.txt

 Pages           : 68

 Date            : 2017-09-30



Abstract:

   This document describes a data model for Virtual Router Redundancy

   Protocol (VRRP).  Both version 2 and version 3 of VRRP are covered.





The IETF datatracker status page for this draft is:

https://datatracker.ietf.org/doc/draft-ietf-rtgwg-yang-vrrp/



There are also htmlized versions available at:

https://tools.ietf.org/html/draft-ietf-rtgwg-yang-vrrp-05

https://datatracker.ietf.org/doc/html/draft-ietf-rtgwg-yang-vrrp-05



A diff from the previous version is available at:

https://www.ietf.org/rfcdiff?url2=draft-ietf-rtgwg-yang-vrrp-05





Please note that it may take a couple of minutes from the time of submission

until the htmlized version and diff are available at tools.ietf.org.



Internet-Drafts are also available by anonymous FTP at:

ftp://ftp.ietf.org/internet-drafts/



_______________________________________________

rtgwg mailing list

rtgwg@ietf.org<mailto:rtgwg@ietf.org>

https://www.ietf.org/mailman/listinfo/rtgwg