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

Amit Dass <amit.dass@ericsson.com> Mon, 12 February 2018 13:24 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 6526E127871 for <i2rs@ietfa.amsl.com>; Mon, 12 Feb 2018 05:24:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.32
X-Spam-Level:
X-Spam-Status: No, score=-4.32 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, 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.com header.b=KxqH2QqJ; dkim=pass (1024-bit key) header.d=ericsson.com header.b=Nj32ASmG
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 n0mnekPS0b7B for <i2rs@ietfa.amsl.com>; Mon, 12 Feb 2018 05:23:57 -0800 (PST)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (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 82893127876 for <i2rs@ietf.org>; Mon, 12 Feb 2018 05:23:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1518441833; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cCD648taJTSJN3BiE2Ne2YvJYTJyWo8OdEWyzAsN8Hk=; b=KxqH2QqJrFZUIqbI3FgZsb6Fg+mhO2uYWS29Kh1yMG1h8WWZ3pqp7J2t5qiePfk0 2HNpV5basfk4roMBjEdFFeC/92zLaAKVI7/s32DwGMFd3kZyLDtfrSegJT0YXFJw MnoOCFmeiA1CVvDG6fOaOChUD4Oe8pR+zqEw4N0Pm08=;
X-AuditID: c1b4fb2d-4b1ff70000005540-6e-5a8195698d55
Received: from ESESSHC011.ericsson.se (Unknown_Domain [153.88.183.51]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id F6.2B.21824.965918A5; Mon, 12 Feb 2018 14:23:53 +0100 (CET)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.51) with Microsoft SMTP Server (TLS) id 14.3.352.0; Mon, 12 Feb 2018 14:23:52 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=aVAjdgb0HOBB2JcAUtigAWRtbrE1pykZBZuwepnHGLA=; b=Nj32ASmG86sh31W+vXABedbfruLkIhhEcE798n2U8TnnUZk5kCujMbzLFcSo7+0BkpK3OWb4WMicWC2rxY4GGq3u0g3Y2TaCOGjRZFAix0+Ctx7S9u6JvOg+ah68lIUVa4242M7RFTE4UdbVScf/wLJWjiIefxshwDoeJ6g2kXs=
Received: from HE1PR0702MB3580.eurprd07.prod.outlook.com (52.133.6.15) by HE1PR0702MB3529.eurprd07.prod.outlook.com (52.133.5.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.485.3; Mon, 12 Feb 2018 13:22:59 +0000
Received: from HE1PR0702MB3580.eurprd07.prod.outlook.com ([fe80::609b:3136:af9d:45d2]) by HE1PR0702MB3580.eurprd07.prod.outlook.com ([fe80::609b:3136:af9d:45d2%13]) with mapi id 15.20.0506.013; Mon, 12 Feb 2018 13:22:59 +0000
From: Amit Dass <amit.dass@ericsson.com>
To: Alia Atlas <IMCEAMAILTO-akatlas+40gmail+2Ecom@eurprd07.prod.outlook.com>
CC: Susan Hares <shares@ndzh.com>, "i2rs@ietf.org" <i2rs@ietf.org>, "draft-ietf-i2rs-rib-data-model.all@ietf.org" <draft-ietf-i2rs-rib-data-model.all@ietf.org>
Thread-Topic: Yangdoctors early review of draft-ietf-i2rs-rib-data-model-09
Thread-Index: AQHTkDcKZ8fIlvBx70ukLYUj3ljGR6N5YyEAgAABQ4CAAABJ4IAi5cQAgASFaPA=
Date: Mon, 12 Feb 2018 13:22:58 +0000
Message-ID: <HE1PR0702MB358079A69D1D1092F4DFA5A193F70@HE1PR0702MB3580.eurprd07.prod.outlook.com>
References: <151626438402.10775.7250014155413667607@ietfa.amsl.com> <HE1PR0702MB35806D6985E0A7754F840EE193E80@HE1PR0702MB3580.eurprd07.prod.outlook.com> <009801d39042$6a4b08e0$3ee11aa0$@ndzh.com> <HE1PR0702MB358050A9745D827C522AB23993E80@HE1PR0702MB3580.eurprd07.prod.outlook.com> <CAG4d1rfHGYtB6iNdRS2cp=Q9qrF8trOizndwQqPx6_E8dZ-obw@mail.gmail.com>
In-Reply-To: <CAG4d1rfHGYtB6iNdRS2cp=Q9qrF8trOizndwQqPx6_E8dZ-obw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [144.140.234.253]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HE1PR0702MB3529; 7:hSbcbp925v+XESLk4F5wnsH1oxnH03V6pNoflbCAjRAGftOOVrWvl16DcR4er/Jmcs+18/PTmC51wHMs6c36YMXY/sIaFGd5l+tc2OrQv7eUK9fSqJZ+q+lV4zWo+9RKUw/tklrAwqflM8NNsx7Egf0NXKEw30yR5OAZX0vJPq1CAJA6o43kUPKt2H8onwLGISyX9Zg+zqMzHtpvk/pwQZ+2KmtNUbnPz8AiPbTEEl0E/taokcvWb0rKf6k8S+RE
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 5ee76b21-a97f-444b-68b3-08d5721bbc4e
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7153060)(49563074)(7193020); SRVR:HE1PR0702MB3529;
x-ms-traffictypediagnostic: HE1PR0702MB3529:
x-microsoft-antispam-prvs: <HE1PR0702MB3529D584128553431E159BF393F70@HE1PR0702MB3529.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(37575265505322)(28532068793085)(192374486261705)(138986009662008)(85827821059158)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(102415395)(6040501)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231101)(2400082)(944501161)(6041288)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:HE1PR0702MB3529; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0702MB3529;
x-forefront-prvs: 0581B5AB35
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(396003)(39380400002)(376002)(366004)(39860400002)(13464003)(199004)(189003)(3280700002)(14454004)(8676002)(5660300001)(316002)(478600001)(6306002)(5250100002)(2950100002)(606006)(53936002)(55016002)(81166006)(2473003)(236005)(33656002)(966005)(59450400001)(74316002)(7736002)(97736004)(54896002)(25786009)(6862004)(81156014)(9686003)(93886005)(4326008)(3660700001)(76176011)(54906003)(6506007)(99936001)(8936002)(86362001)(6346003)(26005)(2900100001)(6436002)(66066001)(3846002)(105586002)(229853002)(186003)(106356001)(2906002)(790700001)(6116002)(102836004)(68736007)(7696005)(99286004)(53546011); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0702MB3529; 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)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=amit.dass@ericsson.com;
x-microsoft-antispam-message-info: j5IhQRjAXRUWAoo3uMG8bLOwQ/Q4LC1ylwvHoAJ81DgY1bl27ICjtGzRbiGvZhLOVdASbotqJOT8roAzIRarAQ==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/mixed; boundary="_005_HE1PR0702MB358079A69D1D1092F4DFA5A193F70HE1PR0702MB3580_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 5ee76b21-a97f-444b-68b3-08d5721bbc4e
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Feb 2018 13:22:59.0325 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3529
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA2WSaUwTURSF82amC2DjULYragwFDSgUca0GjUJQlGjAkGAaDTYygUZsoYML /hE0RGVRDKJQKJiAKGUNUBBCjMUFWVMWRYwQFkVZ3BAwakVbXklM+PfNPefc897M8EmhluvM lyviGJVCFi3iWlPZR+s2e8kzE6UbyxvFkpHiSkJSnvWVkhinJqg9ZGBh4U8iMGeyjxNMSK19 I5ho+VlG5b37hHXUVUMjL0ZTZHc+68Y1IgFpxoTJyIoP9BaoyJsnzCyknyBof+CRjKxN/AJB rm6WaxYoepqA2X45Fu4QoL32i4MfPiBINXQuxLm0O5Td11FmtqdDoEb9ijSbSLoAgbbr58Iq O/og6OcGLaYgGPrWx8F8GCYzmxGuWwu91z+ZmM8X0Cfg0ccQXPaegCFjHc88tzIV3Ot0M9sR 7Qg/WksXzkDSTvDmXT6Br2YPw11tXMwOMD46z8HsCr+u91vmq6E7PwWZ9wNdS8ClB5kWQQy6 m58Q5kOgH5/iYVMvguS2IovJExLynlKYldBd1W1pSEVQnbEMB+6T0Nk2ZzGtgsGZJEudhgsd o1peOhKr/zs6ZjmMvdZzzCygbaEl+x2F50p4XFRHqk1vgKQ9oKLBG49d4FbKMA+zOyTlanhL 5/vge8cfy/qd0FM8i9QLX+c5gvy0XmJpIAjSNQNoMTAzMEHiwDME46VZ3P8DdxGtRQ4sw7Kn IzdtFjMq+UmWVSrECiauCpn+Wn3Nb6+HqGRybxOi+Ui0TBB7JVEq5MjOsvGnm5Cbac9IZYkB OVMKpYIR2QuMl02yIEIWf4FRKcNVZ6IZtgmt5FMiJ0HLAYFUSEfK4phTDBPDqBZVgm/lnIBc fAb0XSsznjVvsymYthWvUR/ZMGKbWto5nuavitjxWRLwVp4T9rJ62lh7O6S3vNl1v5/xeGJA 6pBzf0/O3rKtZLPhhs1y98FRqTY8fp0TGXolLH8Otnv6/TVU7ZL4BtfrvhAvrfxyVky1hvnr imMHOjLbZxrOJdVXNTmGHku/mCyi2CiZz3pSxcr+AdsRdKK9AwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/oIvAWdNpmd4lwSAO08JE2IrJUKE>
Subject: [i2rs] FW: 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: Mon, 12 Feb 2018 13:24:05 -0000

Hi Alia,

Apologies for the delay. Needed to redo all again due to the laptop crashed. Updated the draft with the below comments. Couldn’t upload the same due to max 5 author limit kicking in.

Best regards,
Amit

From: Alia Atlas [mailto:akatlas@gmail.com]
Sent: Saturday, February 10, 2018 1:51 AM
To: Amit Dass <amit.dass@ericsson.com>
Cc: Susan Hares <shares@ndzh.com>; i2rs@ietf.org; draft-ietf-i2rs-rib-data-model.all@ietf.org
Subject: Re: Yangdoctors early review of draft-ietf-i2rs-rib-data-model-09

Hi Amit,

It has been three weeks.

Can you please get the update ASAP?  I need to get it reviewed and into IETF Last Call.
As you know, I am closing I2RS at IETF 101 - which means this draft needs to be on the March 8 telechat.
That means it really should be in IETF Last Call by February 16 - and I am traveling all next week
and busy.   I REALLY need it ASAP to review.

Regards,
Alia

On Thu, Jan 18, 2018 at 4:58 AM, Amit Dass <amit.dass@ericsson.com<mailto:amit.dass@ericsson.com>> wrote:
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<mailto:shares@ndzh.com>]
Sent: Thursday, January 18, 2018 10:55 AM
To: Amit Dass <amit.dass@ericsson.com<mailto:amit.dass@ericsson.com>>; 'Ebben Aries' <exa@juniper.net<mailto:exa@juniper.net>>; yang-doctors@ietf.org<mailto:yang-doctors@ietf.org>
Cc: i2rs@ietf.org<mailto:i2rs@ietf.org>; draft-ietf-i2rs-rib-data-model.all@ietf.org<mailto:draft-ietf-i2rs-rib-data-model.all@ietf.org>; ietf@ietf.org<mailto:ietf@ietf.org>
Subject: RE: Yangdoctors early review of draft-ietf-i2rs-rib-data-model-09

Amit:iir

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<mailto:amit.dass@ericsson.com>]
Sent: Thursday, January 18, 2018 4:53 AM
To: Ebben Aries; yang-doctors@ietf.org<mailto:yang-doctors@ietf.org>
Cc: i2rs@ietf.org<mailto:i2rs@ietf.org>; draft-ietf-i2rs-rib-data-model.all@ietf.org<mailto:draft-ietf-i2rs-rib-data-model.all@ietf.org>; ietf@ietf.org<mailto: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<mailto:exa@juniper.net>]
Sent: Thursday, January 18, 2018 9:33 AM
To: yang-doctors@ietf.org<mailto:yang-doctors@ietf.org>
Cc: i2rs@ietf.org<mailto:i2rs@ietf.org>; draft-ietf-i2rs-rib-data-model.all@ietf.org<mailto:draft-ietf-i2rs-rib-data-model.all@ietf.org>; ietf@ietf.org<mailto: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<mailto: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<mailto: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/