RE: AD review of draft-ietf-rtgwg-yang-rip-04

Xufeng Liu <Xufeng_Liu@jabil.com> Fri, 22 September 2017 12:49 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 5C7021342C5; Fri, 22 Sep 2017 05:49:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.921
X-Spam-Level:
X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] 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 I8makCQx037w; Fri, 22 Sep 2017 05:49:48 -0700 (PDT)
Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0098.outbound.protection.outlook.com [104.47.40.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1BE65132031; Fri, 22 Sep 2017 05:49:48 -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=PsYqhD/zyBm4oY9u0gQYg3PuWuUovecEWpGr6BISyPg=; b=VnXBGSYRqAd6rzRXOrXIAy6ApOHFJH3Txl3bPlgvKf9zokUjiMk4SxtLB9KQ+qqFFNSLyT16/zinZGhBitQPqB1VybsCqEp6lI3dNyE32KjvtBQdi80CkebV+FQlSom/1962liV8LTBQ7/QKy8PSFktouazcnntph4lH5MHEXwQ=
Received: from BN3PR0201MB0867.namprd02.prod.outlook.com (10.160.154.13) by BN3PR0201MB0866.namprd02.prod.outlook.com (10.160.154.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Fri, 22 Sep 2017 12:49:46 +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.0056.018; Fri, 22 Sep 2017 12:49:46 +0000
From: Xufeng Liu <Xufeng_Liu@jabil.com>
To: Jeff Tantsura <jefftant.ietf@gmail.com>, Robert Wilton <rwilton@cisco.com>, Alia Atlas <akatlas@gmail.com>, "rtgwg@ietf.org" <rtgwg@ietf.org>, "draft-ietf-rtgwg-yang-rip@ietf.org" <draft-ietf-rtgwg-yang-rip@ietf.org>
Subject: RE: AD review of draft-ietf-rtgwg-yang-rip-04
Thread-Topic: AD review of draft-ietf-rtgwg-yang-rip-04
Thread-Index: AQHTMjW0FuOrI2nhe066Q59ttR2kuKK/cGAAgACVywCAANa30A==
Date: Fri, 22 Sep 2017 12:49:45 +0000
Message-ID: <BN3PR0201MB0867C21FA4745F9A3E36B67FF1670@BN3PR0201MB0867.namprd02.prod.outlook.com>
References: <CAG4d1rfam+mm3uL3-txN90JCzf8MQrxs4xa-ebdJ1tNbsMbEKw@mail.gmail.com> <44576705-c9e8-371b-d157-78322b929c11@cisco.com> <51FE60D1-95DF-45D0-876E-F7EF2C60F635@gmail.com>
In-Reply-To: <51FE60D1-95DF-45D0-876E-F7EF2C60F635@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-dg-ref: PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNceGxpdVxhcHBkYXRhXHJvYW1pbmdcMDlkODQ5YjYtMzJkMy00YTQwLTg1ZWUtNmI4NGJhMjllMzViXG1zZ3NcbXNnLTgyZDM4YjRkLTlmOTQtMTFlNy05YzI5LTE4NWUwZmUzYzQ1Y1xhbWUtdGVzdFw4MmQzOGI0Zi05Zjk0LTExZTctOWMyOS0xODVlMGZlM2M0NWNib2R5LnR4dCIgc3o9IjQ1MTIiIHQ9IjEzMTUwNTU4MTg2NzI0NzY4MCIgaD0ib1NYUG04YnZDanhtck1JWXBXL1pmTmdISTZJPSIgaWQ9IiIgYmw9IjAiIGJvPSIxIi8+PC9tZXRhPg==
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Xufeng_Liu@jabil.com;
x-originating-ip: [72.209.195.86]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BN3PR0201MB0866; 6:lo406c99LuuYqEGtJfLWFsuIQl86TKetuzb8lLgIPo5P4KCZaZlRrrktIAEPIDeubGWdHVa1y14Nq11t2jjuZF/OuR/Y3Krup1tNeVXBWYRvEMBzTKT3xmYXKjvJ/IuJJ/kS2hzZHzUNGKdn5AFuiN2KPhsNI/aBLQNozGEY/p9p0XjBhzxYy2Pnp5tVxWu0QTfdnXlVumvead54jl/LfcJ3E1pZOsTbPm6x2lxyFyxyMrIxyVCfQZ+w607vNLm1guv2WzTXW7cDsfodKpuGEdYKSa1fFOd3GOynBV1tP8dIHmCNm/wcr4Bq0So0yjAUiUCrQpJ9mBNTCQmznlamvA==; 5:9KpIHSoKFQYKHlVMpxxobOUyg+jvamGqJpIxSkiuNdpC6KJcYIGO8YQEWrgMSFmvYGNcHDVew+BCYl0n99B0suskAKH8fj1qZKL/hWS1i9KOTthwmR2PA+yLcEAeEIRR6mX2uBv78Y1JgGc1PRKhvQ==; 24:QcHxOJANNoc9a9wvFfA8RUKKyPCoe6c2Rje1LVk+t0lXx68DW9QdLkJ7N/VGkcAwd4bzTLpGF8LolqgJB4FwDKInujhAx1pP9YIeVzXxHhA=; 7:YWl5z1AeTmH39rxqugL3qm7KVGhNUl2H1ixhdP2PsduTYyiQW5lRfAmrWIYlO6eilNAcSMCvG5bPArZjm4HXVDpFWZuOYdJcT1sFvYiTkmyxBYry+/bECVCDpcf3QO2xOW4+tvX5bGWhDWNbjDhJopU+nURW0gkSHZ6AW6NmmKqasY6ySD1zoFxZ2oLyqwJMomi9BL6/SBgWYNAClrz+YPGUFsf7S/AeUMuoA0XPaqI=
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: bab75072-94c3-46f8-c986-08d501b86744
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BN3PR0201MB0866;
x-ms-traffictypediagnostic: BN3PR0201MB0866:
x-exchange-antispam-report-test: UriScan:(95692535739014);
x-microsoft-antispam-prvs: <BN3PR0201MB08668C3368CE8463075FBE38F1670@BN3PR0201MB0866.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)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123555025)(20161123558100)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN3PR0201MB0866; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN3PR0201MB0866;
x-forefront-prvs: 0438F90F17
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(376002)(346002)(199003)(13464003)(24454002)(377454003)(377424004)(189002)(50986999)(76176999)(54356999)(8936002)(2950100002)(39060400002)(110136005)(66066001)(14454004)(25786009)(5890100001)(3846002)(6116002)(33656002)(2501003)(9686003)(97736004)(77096006)(3280700002)(102836003)(80792005)(68736007)(316002)(230783001)(55016002)(99286003)(6306002)(101416001)(6246003)(53936002)(2906002)(6506006)(6436002)(3660700001)(229853002)(106356001)(478600001)(189998001)(7696004)(8676002)(105586002)(72206003)(966005)(2900100001)(2201001)(74316002)(86362001)(305945005)(7736002)(53546010)(81166006)(5660300001)(81156014); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0201MB0866; H:BN3PR0201MB0867.namprd02.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: jabil.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: jabil.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2017 12:49:45.8933 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bc876b21-f134-4c12-a265-8ed26b7f0f3b
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0201MB0866
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/hl3oEnkeW2-1ZsuES9huKOhFoIQ>
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: Fri, 22 Sep 2017 12:49:50 -0000

Thanks to Alia for the review the comments.
Thanks to Rob for putting the model through the conversion tool, and providing the suggestions.

We will update the model soon.

Regards,
- Xufeng

> -----Original Message-----
> From: Jeff Tantsura [mailto:jefftant.ietf@gmail.com]
> Sent: Thursday, September 21, 2017 7:57 PM
> To: Robert Wilton <rwilton@cisco.com>; Alia Atlas <akatlas@gmail.com>;
> rtgwg@ietf.org; draft-ietf-rtgwg-yang-rip@ietf.org
> Subject: Re: AD review of draft-ietf-rtgwg-yang-rip-04
> 
> Thanks Rob!
> 
> Dear authors,
> please publish the updated draft ASAP.
> 
> Thanks!
> Jeff
> -----Original Message-----
> From: rtgwg <rtgwg-bounces@ietf.org> on behalf of Robert Wilton
> <rwilton@cisco.com>
> Date: Thursday, September 21, 2017 at 08:01
> To: Alia Atlas <akatlas@gmail.com>, "rtgwg@ietf.org" <rtgwg@ietf.org>,
> <draft-ietf-rtgwg-yang-rip@ietf.org>
> Subject: Re: AD review of draft-ietf-rtgwg-yang-rip-04
> 
>     So the conversion tool has worked OK on the RIP model as well, but I
>     spotted a few areas where manual conversion is required (because the
>     types/structure between config and state differ):
> 
>     So along with the revision date, and a few FIX ME comments, the
>     following few places also need to be manually tweaked/fixed:
> 
>     rwilton@rwilton-lnx:~/ietf-models-to-combined/draft_modules$ pyang -f
>     tree --ietf ietf-rip-nmda@2017-09-21.yang >
>     ietf-rip-nmda@2017-09-21.tree.txt
>     ietf-rip-nmda@2017-09-21.yang:1: warning: unexpected modulename
>     "ietf-rip" in ietf-rip-nmda@2017-09-21.yang, should be ietf-rip-nmda
>     ietf-rip-nmda@2017-09-21.yang:1: warning: unexpected latest revision
>     "2017-06-05" in ietf-rip-nmda@2017-09-21.yang, should be 2017-09-21
>     ietf-rip-nmda@2017-09-21.yang:740: error: unexpected keyword "type"
>     <- Means that config and state type differ.
> 
>     ietf-rip-nmda@2017-09-21.yang:761: error: unexpected keyword "type"
>     <- Means that config and state type differ.
> 
>     ietf-rip-nmda@2017-09-21.yang:818: error: there is already a child node
>     to "interface" at ietf-rip-nmda@2017-09-21.yang:636 with the name
>     "originate-default-route" defined at ietf-rip-nmda@2017-09-21.yang:731
>     (at ietf-rip-nmda@2017-09-21.yang:141)
>     <- Trying to merge an "originate-default-route" leaf from the state tree
>     with the "originate-default-route" container in the equivalent config tree.
> 
>     RIB YANG model converted to NMDA structure attached.
> 
>     Thanks,
>     Rob
> 
> 
>     On 20/09/2017 18:27, Alia Atlas wrote:
>     > As is customary, I have done my AD review of
>     > draft-ietf-rtgwg-yang-rip-04. First, I would like to thank the
>     > authors, Xufeng, Prateek, and Vikram, as well as the WG for their work
>     > on this document.
>     >
>     > My one major issue is that this does not conform to the NMDA
>     > guidelines - where augmenting -state models is not preferred.  It is
>     > quite acceptable to have that in an appendix, if there are
>     > implementations. I do see the shepherd's write-up indicates a partial
>     > implementation exists.
>     > There is some tooling to help convert a model to conform to NMDA; I've
>     > cc'd Rob Wilton, who was working on that.
>     >
>     > I also have some questions.
>     >
>     > 1) For the prefix-set-ref, I don't see any information about what the
>     > string should contain.
>     >
>     > 2) For the route-policy-ref, I don't see any information about what
>     > the string should contain.
>     >
>     > Nits:
>     > a) p.26:"choice auth-type-selection {
>     >                  description
>     >                    "Specify the authentication scheme.
>     >                     The use of the key-chain reference here is
>     >                     designed to align with other proposed protocol
>     >                     models.";"
>     >    Since the key-chain model is approved for RFC publication, the
>     > description can be updated.
>     >
>     > Once the model conforms to the NMDA guidelines, I will be happy to
>     > advance this draft to IETF Last Call.
>     >
>     > Thanks,
>     > Alia
> 
>     _______________________________________________
>     rtgwg mailing list
>     rtgwg@ietf.org
>     https://www.ietf.org/mailman/listinfo/rtgwg
> 
>