Re: [i2rs] Yangdoctors early review of draft-ietf-i2rs-rib-data-model-09

Amit Dass <amit.dass@ericsson.com> Thu, 18 January 2018 09:58 UTC

Return-Path: <amit.dass@ericsson.com>
X-Original-To: i2rs@ietfa.amsl.com
Delivered-To: i2rs@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B097C1200C5; Thu, 18 Jan 2018 01:58:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-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=ericsson.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 w4FPGOVUsKPv; Thu, 18 Jan 2018 01:58:42 -0800 (PST)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (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 977BF12EB20; Thu, 18 Jan 2018 01:58:41 -0800 (PST)
X-AuditID: c1b4fb25-473ff7000000341b-c9-5a606fcf2550
Received: from ESESSHC018.ericsson.se (Unknown_Domain [153.88.183.72]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 47.DB.13339.FCF606A5; Thu, 18 Jan 2018 10:58:39 +0100 (CET)
Received: from EUR02-VE1-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.72) with Microsoft SMTP Server (TLS) id 14.3.352.0; Thu, 18 Jan 2018 10:58:38 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.onmicrosoft.com; s=selector1-ericsson-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=gj9a64SAcIOWwzSaIPb3L8UWhHjs0qlvC+qmAMKM8sQ=; b=KCJRWaTxc2PpqFnZGIdYiGo3XkY2AqG8hNkS73m03Zw2eATWg4bQ3O38ZRzX7xZDh0OOIKc5/MBnwWv0Hgkgmiy7hSe/nHTBeFWUc09kqjIA/R8LTyaFfkhct/iIus5afVv+863gdpKmME1nqBjojD+HdiXqBcJC+jq2MO7DXRM=
Received: from HE1PR0702MB3580.eurprd07.prod.outlook.com (52.133.6.15) by HE1PR0702MB3707.eurprd07.prod.outlook.com (52.133.6.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.9; Thu, 18 Jan 2018 09:58:38 +0000
Received: from HE1PR0702MB3580.eurprd07.prod.outlook.com ([fe80::40cf:6d37:eed9:864d]) by HE1PR0702MB3580.eurprd07.prod.outlook.com ([fe80::40cf:6d37:eed9:864d%13]) with mapi id 15.20.0428.014; Thu, 18 Jan 2018 09:58:38 +0000
From: Amit Dass <amit.dass@ericsson.com>
To: Susan Hares <shares@ndzh.com>, 'Ebben Aries' <exa@juniper.net>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
CC: "i2rs@ietf.org" <i2rs@ietf.org>, "draft-ietf-i2rs-rib-data-model.all@ietf.org" <draft-ietf-i2rs-rib-data-model.all@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>
Thread-Topic: Yangdoctors early review of draft-ietf-i2rs-rib-data-model-09
Thread-Index: AQHTkDcKZ8fIlvBx70ukLYUj3ljGR6N5YyEAgAABQ4CAAABJ4A==
Date: Thu, 18 Jan 2018 09:58:37 +0000
Message-ID: <HE1PR0702MB358050A9745D827C522AB23993E80@HE1PR0702MB3580.eurprd07.prod.outlook.com>
References: <151626438402.10775.7250014155413667607@ietfa.amsl.com> <HE1PR0702MB35806D6985E0A7754F840EE193E80@HE1PR0702MB3580.eurprd07.prod.outlook.com> <009801d39042$6a4b08e0$3ee11aa0$@ndzh.com>
In-Reply-To: <009801d39042$6a4b08e0$3ee11aa0$@ndzh.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [192.176.1.92]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HE1PR0702MB3707; 7:RRzNroEAMkZRlCLMILfPlNx82F+L9bcKRHDTwlkg6yxkB/srJfNdG2xgWZ1OmVpMDJVY7EfmPDoBuDGiUhA7CQc/5S9RViG64AC+E1kWvpjkJPWJI8TJGRpelDiir7dIDTZa4uEjv7vK+j8LEOXYgQYaI0FZV6HZ44XddDB/XdpSijj45xT9SzV2Vxmp4b8yO3YDB7o3T37HyxaELVAavrrOLt4PdFre0XSC+JuPBYwmxAHBXWfsF9SkeVkCbxNm
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: b98f47b0-c121-4c1e-6ceb-08d55e5a0bc0
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534125)(4602075)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020); SRVR:HE1PR0702MB3707;
x-ms-traffictypediagnostic: HE1PR0702MB3707:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=amit.dass@ericsson.com;
x-microsoft-antispam-prvs: <HE1PR0702MB3707BAB0DF54E52E80B8F35E93E80@HE1PR0702MB3707.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(192374486261705)(138986009662008);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040492)(2401047)(8121501046)(5005006)(3231046)(2400059)(944501161)(93006095)(93001095)(10201501046)(3002001)(6041279)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:HE1PR0702MB3707; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:HE1PR0702MB3707;
x-forefront-prvs: 05568D1FF7
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(396003)(376002)(366004)(39380400002)(13464003)(199004)(189003)(3660700001)(966005)(5250100002)(2501003)(5660300001)(14454004)(2950100002)(33656002)(66066001)(8676002)(68736007)(316002)(81166006)(106356001)(8936002)(97736004)(2906002)(26005)(81156014)(53546011)(55016002)(7736002)(3280700002)(110136005)(53936002)(7696005)(305945005)(86362001)(8666007)(229853002)(1941001)(230783001)(99286004)(6436002)(25786009)(6116002)(3846002)(59450400001)(9686003)(54906003)(6506007)(6246003)(102836004)(105586002)(4326008)(76176011)(74316002)(478600001)(2900100001)(6306002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0702MB3707; H:HE1PR0702MB3580.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-microsoft-antispam-message-info: 08hpFR9rG9sDJLBxLf9QqcFdrIb2K7LEy/3Q4HPvFTzF3kSL8dJJ2+kAY/+q0UTvDDKA5gqrb5PEuhvD/USfrQ==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: b98f47b0-c121-4c1e-6ceb-08d55e5a0bc0
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2018 09:58:37.9083 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3707
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0iTYRTHefa+215lgyfzcnAaNhIrmmatGlFR9mUmRkIfUqQ288VJ08k7 HWpCOoXKTBTM6QpNWnmpeWNTm1JqhJq31GoZUabm8hZKkWh22XwN+vY753/Oef7n8FCERwXX l0pMTqWZZKVazHMny8+1yiXDGkXM3sKXEtlkbSNHNvvQSsrqy5ZI2UxTJSlbX5gjZYW2TnSc JzeZVjlyu/41X3573s49Q8S4H4mn1Yk6mgk5pnBXXf8ygVI6D6b/0Y+gbFRwIB+5UYClkPej k8hH7pQHfoag3vKKZINeBFUWM3IFJL5JQM21GR6rGDgwvmLgsoEDQb/+DuEaxsM7wVxtJV3s idOgZSyX7yoicDWCpYGaDWErPgU5j8s2iyJgYtnOZTkMFlfb+S4mcSCU3KjaGCrECnhg/M5n X+tB0DVqcgoU5YYPwXObv6sGYW9YefGI42IC+8C76UoOux0GU8cwwbIXzE795rIcAOujkzyW /WG08sbGnoBbONA4WMRnhWCwFi8iliPhaX8LyRaNIWgdMG5O2gMjxU94rItoaJjs5bvMAdZA xbeTLMZCdlEU29pGwJzp46Y5P8gZKSaLUIjxP99GZwuBd0GDbTO93XmKT3zjxim2QF/5NHkX kXXIS0tr45IS9u0PppnEi1qtJjk4mU5tRs5f02X5GdiGxhZOdCNMIbFAuHZaEePBVeq0GUnd CChC7Cn8GuFMCeOVGZk0o7nApKlpbTcSUaTYR9gXLozxwAnKVPoSTafQzD+VQ7n5ZiPBkCCL bjIXOZjmppKpoPqwy/OiHsxdlr73FUXH1vCH4kbLHKp0v0zDWp6U26/zb3Lc+3D11njdedGb lMpeS9jhgKPloQk2NaFX/JKWdunaC97KmfuGWhQ5pgqUbBvMsJrPfnbQ4VUz4Vm5koYFu19t h72hNOiKIMo7b8eymNSqlKG7CUar/AsPP2gxMQMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/HOt1nhvI0jBrbR_mZnbSfwZHj7w>
Subject: Re: [i2rs] Yangdoctors early review of draft-ietf-i2rs-rib-data-model-09
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Interface to The Internet Routing System \(IRS\)" <i2rs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2rs>, <mailto:i2rs-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2rs/>
List-Post: <mailto:i2rs@ietf.org>
List-Help: <mailto:i2rs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2rs>, <mailto:i2rs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jan 2018 09:58:45 -0000

Hi Sue,

I expect to have some free time during this week.  Should be able to send the update by Monday next week.

Best regards,
Amit

-----Original Message-----
From: Susan Hares [mailto:shares@ndzh.com] 
Sent: Thursday, January 18, 2018 10:55 AM
To: Amit Dass <amit.dass@ericsson.com>; 'Ebben Aries' <exa@juniper.net>; yang-doctors@ietf.org
Cc: i2rs@ietf.org; draft-ietf-i2rs-rib-data-model.all@ietf.org; ietf@ietf.org
Subject: RE: Yangdoctors early review of draft-ietf-i2rs-rib-data-model-09

Amit:

Do you think you and your co-authors can do this within a few days.   I would like to forward the publication request. 

Also, please remember to look at the latest Revised datastore draft and yang tree module drafts. 

Sue Hares 

-----Original Message-----
From: Amit Dass [mailto:amit.dass@ericsson.com] 
Sent: Thursday, January 18, 2018 4:53 AM
To: Ebben Aries; yang-doctors@ietf.org
Cc: i2rs@ietf.org; draft-ietf-i2rs-rib-data-model.all@ietf.org; ietf@ietf.org
Subject: RE: Yangdoctors early review of draft-ietf-i2rs-rib-data-model-09

Thanks Ebben for reviewing the draft. I will update the same based on below comments and feedback.


Best regards,
Amit

-----Original Message-----
From: Ebben Aries [mailto:exa@juniper.net] 
Sent: Thursday, January 18, 2018 9:33 AM
To: yang-doctors@ietf.org
Cc: i2rs@ietf.org; draft-ietf-i2rs-rib-data-model.all@ietf.org; ietf@ietf.org
Subject: Yangdoctors early review of draft-ietf-i2rs-rib-data-model-09

Reviewer: Ebben Aries
Review result: On the Right Track

1 module in this draft:
- ietf-i2rs-rib@2017-12-05.yang

No YANG validation errors or warnings (from pyang 1.7.3 and yanglint 0.14.59)

0 examples are provided in this draft (section 3.12 of
draft-ietf-netmod-rfc6087bis-15)

Module ietf-i2rs-rib@2017-12-05.yang:
- yang-version statement missing - should be 1.1
- prefix 'iir' is recommended for this module, would 'rib' suffice better?
- import "ietf-inet-types" should reference RFC 6991 per (not as a comment)
  https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-15#section-4.7
- import "ietf-interfaces" should reference RFC 7223 per
  https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-15#section-4.7
- import "ietf-yang-types" should reference RFC 6991 per
  https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-15#section-4.7
- Since this module imports "ietf-interfaces", a normative references must be
  added per
  https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-15#section-3.9
- prefix "if" in the import "ietf-interfaces" can remove quotes to remain
  consistent with other imports
- Remove WG Chairs from contact information per
  https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-15#appendix-C
- Module description must contain most recent copyright notice per
  https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-15#appendix-C
- Module description should contain note to RFC Ed. and placeholder reference
  to RFC when assigned
  https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-15#appendix-C
- Add placeholder reference and note to RFC Ed. for RFC when assigned
  https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-15#appendix-C
- Security Considerations should be updated to reflect new template at
  https://trac.ietf.org/trac/ops/wiki/yang-security-guidelines
- Section 1.2 should be replaced with reference to
  draft-ietf-netmod-yang-tree-diagrams-02 rather (as-is in other i2rs YANG
  drafts in progress) per
  https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-15#section-2.5.1
- This module contains '12' features.  While it is understood the purpose of
  these features in the module, take precaution as to complexity for clients
  if they need to understand >= quantity of features per module in use on a
  network-element.
- A few comments exist that are either unecessary or redundant.  Encode the
  comment intent rather in description fields if need be.
- Per NMDA, which datastores are targeted for the module?  Will all RPC
  operations be acting upon the dynamic/ephemeral datastore?  It is not clear
  to me if the intention is to be persistent or ephemeral

General comments/Nits:
- references to 'def' could be expanded out to 'definition'
- references to 'decap' could be expanded out to 'decapsulation' for
  readability (across definitions and descriptions)
- Follow consistent capitalization of 'RIB' throughout document text.  Mixed
  use of 'Rib' and 'rib' exists (Outside of YANG node lowercase definitions).
- Is it necessary to prefix all nodes under the nexthop container with
  "nexthop-"?
- Section 2.5 - route-add RPC - text mentions it is required that the nh-add
  RPC be called as a pre-requisite however if the nh already exists and the
  nexthop-id is known, this should not be necessary.  In addition, the text
  reads 'or return' which should rather be a result of querying the
  appropriate node in the data tree.
- In 'IANA Considerations' - s/This document requests to register/This
  document registers/