Re: [RTG-DIR] Routing directorate QA review of draft-ietf-i2rs-rib-info-model

Ravi Singh <ravis@juniper.net> Tue, 17 May 2016 16:55 UTC

Return-Path: <ravis@juniper.net>
X-Original-To: rtg-dir@ietfa.amsl.com
Delivered-To: rtg-dir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 56D1712DBB2 for <rtg-dir@ietfa.amsl.com>; Tue, 17 May 2016 09:55:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=junipernetworks.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 ZMplDBWbgmDk for <rtg-dir@ietfa.amsl.com>; Tue, 17 May 2016 09:55:01 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0754.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::754]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 90E9212DBB0 for <rtg-dir@ietf.org>; Tue, 17 May 2016 09:55:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junipernetworks.onmicrosoft.com; s=selector1-juniper-net; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=7LLhSli407I9rHa+EQqnEkNSXjXAr6peA5I39eSYewM=; b=GUr2aib0BetPFag1rkVJUiza/9riHt7XcxrA6EUFWVYfZzIL9S3Y6vrwtLtmGWPWioQZjEg4t2fHfaqYWJ+yNMEBHfWqAjQqgyMqo5modMWYnI8e3f92MC+ouq7VL0tSY/xisvF/xHfagT4+sHsDXfIzls1gPKdmKmcNwhFGhno=
Received: from CY1PR05MB2521.namprd05.prod.outlook.com (10.167.10.136) by CY1PR05MB2523.namprd05.prod.outlook.com (10.167.10.138) with Microsoft SMTP Server (TLS) id 15.1.497.12; Tue, 17 May 2016 16:54:41 +0000
Received: from CY1PR05MB2521.namprd05.prod.outlook.com ([10.167.10.136]) by CY1PR05MB2521.namprd05.prod.outlook.com ([10.167.10.136]) with mapi id 15.01.0497.019; Tue, 17 May 2016 16:54:41 +0000
From: Ravi Singh <ravis@juniper.net>
To: "rtg-dir@ietf.org" <rtg-dir@ietf.org>
Thread-Topic: RE: Routing directorate QA review of draft-ietf-i2rs-rib-info-model
Thread-Index: AdGwXE/cjuqe7xG3Q8G/QzkJ5sJXpQ==
Date: Tue, 17 May 2016 16:54:41 +0000
Message-ID: <CY1PR05MB2521CF777B19613C0FFE74B7AB480@CY1PR05MB2521.namprd05.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=juniper.net;
x-originating-ip: [66.129.239.15]
x-ms-office365-filtering-correlation-id: c6f72950-ddd1-4ac7-18a2-08d37e73f0dd
x-microsoft-exchange-diagnostics: 1; CY1PR05MB2523; 5:KcimzbmiIF5m2bfUEKbttv9YM/aXLN1zu90l+cAscU5YzEme7JCfhh+N9WfyEOlHNnHP1Nr+87hqvQsLHiKVzSMWhmsne2KeYN0qMLjb5TlGMOoNCR7pDE1kcyOceXMo+fcsi8McED6bZMPMN7mjVA==; 24:uKT5Qyk1sgwAxMRSjFs/stAwT+khgBgtjNfkR3Rpn78W7m0wYeQGB6n6kNPUAgG39C+kfiPizjtdCeYyShRg96DQijB2dyjoXnV3Si4dCRU=; 7:AZ287BBRDbHvttz7mKdQoq2wZxBaCtvGXckV6wqJZcTbdSb3nldk68vtqI5VuJoonHtDG9sRqz8iupXQnOTOeQa2/7Op1SbJP7JckSziHPCnxdSKXQ/zJmML/DeZ/5STIWLXTy9kEHk2bTEWFGMxh310T8yy8ch9D1da673auNp5RLBpxg+TfsIEC6NE5m4d
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR05MB2523;
x-microsoft-antispam-prvs: <CY1PR05MB2523958F8D49D7E84687EE42AB480@CY1PR05MB2523.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:CY1PR05MB2523; BCL:0; PCL:0; RULEID:; SRVR:CY1PR05MB2523;
x-forefront-prvs: 0945B0CC72
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(54356999)(4326007)(99286002)(9686002)(2501003)(50986999)(5640700001)(5004730100002)(16236675004)(86362001)(9326002)(5630700001)(66066001)(11100500001)(10400500002)(5003600100002)(189998001)(92566002)(110136002)(74316001)(87936001)(8936002)(8676002)(586003)(2906002)(230783001)(81166006)(2900100001)(19300405004)(77096005)(15975445007)(790700001)(6116002)(19617315012)(102836003)(3846002)(19625215002)(122556002)(3660700001)(33656002)(68736007)(3280700002)(76576001)(5002640100001)(2351001)(19580395003)(5008740100001)(1220700001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR05MB2523; H:CY1PR05MB2521.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en;
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_CY1PR05MB2521CF777B19613C0FFE74B7AB480CY1PR05MB2521namp_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 May 2016 16:54:41.5325 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR05MB2523
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-dir/wyFs_efDdmxzr6Of6Z6aFvsEEHI>
Cc: 'Jonathan Hardwick' <Jonathan.Hardwick@metaswitch.com>, "Zhangxian (Xian)" <zhang.xian@huawei.com>, Susan Hares <shares@ndzh.com>, 'Jon Hudson' <jon.hudson@gmail.com>
Subject: Re: [RTG-DIR] Routing directorate QA review of draft-ietf-i2rs-rib-info-model
X-BeenThere: rtg-dir@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Routing Area Directorate <rtg-dir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-dir/>
List-Post: <mailto:rtg-dir@ietf.org>
List-Help: <mailto:rtg-dir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-dir>, <mailto:rtg-dir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 May 2016 16:55:04 -0000

Hi

I had been designated the RTG-DIR QA-reviewer for https://tools.ietf.org/html/draft-ietf-i2rs-rib-info-model-08



I reviewed this doc.

Overall, the doc is clear and does a decent job of creating a RIB model.

However, I have a minor concern with the tone of the doc at certain places.

The document, at places, reads like a requirements doc specifying what an implementation of the RIB "SHOULD"/MUST do.

I am not sure if that is correct form for an informational draft documenting a specific RIB model.

Examples of such instances would be:
A.      Section 8
B.      Section 9
C.      Wherever in the doc a "SHOULD" or "MUST" shows up stating desirability of certain behavior of an external entity accessing the RIB.



An aspect that has not been touched-upon in the document, that however might be worthy of consideration is about how this RIB model accommodates an external input about traffic-statistics-monitoring desired for the various constructs.

Specific comments on the various sections in the text:
1.       Introduction:
a.       First 2 paras: some typos and sentences with redundant words.

2.       2.1:
a.       "type" is somewhat ambiguous. Suggest reword "type" as "address-family"

3.       2.2:
a.       Some sentences could be made shorter/broken-up to improve readability of this section.
b.      Interface_list and router-id: For a functioning routing-instance, can't think of a routing-instance without either of those defined. So, either the optionality aspect needs to be changed to "required" or specify how a routing-instance would work with either missing.
c.       Interface-list: per-interface parameters could also be listed (since the interface-list is called out in a RIB model): address, families, MTU, extensibility-consideration-for-other-interface-attributes

4.       2.3:
a.       ROUTE_PREFERENCE: The text is mixing-up route-preference with "route-metric". Administrative-distance (the route metric) is the IGP cost of a route.

Both route_preference and route-metric would be attributes of the route.
b.      An additional attribute that should be included is "installing protocol". That would require defining a list of protocols that may install a route.

5.       2.4:
a.       Second paragraph could use rewording to enhance clarity. Specifically:
                                       i.            Need to mention about "(appearing to be) directly connected IP" to distinguish between:
1.       Nexthops that don't need to be resolved (by other RIB events) to be installable
2.       Nexthops that need to be resolved (by other RIB events/properties) to be installable:
a.       Those that are currently resolved
b.      Those that are currently not-resolved
b.      Next-hop property should also include IP of (appearing to be) locally-connected device for which to ARP

6.       2.4.1:
a.       Last paragraph: "preceded by" would be more accurate than "followed by"

7.       2.4.3:
a.       Under "tunnel encap": The following text

"

An optional

      egress interface can be chained to the tunnel encap to indicate

      which interface to send the packet out on.  The egress interface

      is useful when the network device contains Ethernet interfaces and

      one needs to perform address resolution for the IP packet."

appears a bit incorrect.

If one wishes to do resolution for the tunnel-remote-dst then specifying an interface serves no purpose. Either that address does not need resolution and this specified interface is a p2p interface or there is a need for resolution (without needing to specify an interface-name). Can't be both.


8.       Sections 4 & 5 can be merged. What is the point of having a separate section 5 when it is not really saying anything new beyond what text exists in section 4.


9.       Section 6:
a.       Not repeating remarks made about specific attributes (listed above) for each item in the BNF. Eg. Route-metric/preference related remark made above about 2.3.


b.      In-label is not logically a nexthop attribute. It is infact a route. This should be fixed.

  <mpls-label-operation> ::= (<MPLS_PUSH> <MPLS_LABEL> [<S_BIT>]

                                          [<TOS_VALUE>] [<TTL_VALUE>]) |

                             (<MPLS_SWAP> <IN_LABEL> <OUT_LABEL>

                                         [<TTL_ACTION>])
c.       VXLAN headers needs to have a way to specify src/dst MAC in inner header, since it is possible to use VXLAN as a general-purpose encapsulation without L2-learning semantics.


10.   Section 6 describes the RIB grammar. The nexthop grammar is a part of that. However, some of that sub-grammar appears under section 7.


11.   Section 7 "Using the RIB grammar" starts out by explaining how the complex nexthops maybe used. However, it ends up being a listing of the nexthop sub-grammar which should really have been listed in section 6 along with the RIB grammar.

I'd suggest either take the entirety of the next-hop grammar listing to the section 6, or break section 7 so that the next-hop grammar is listed in section 7 & the "using the rib" grammar is a purely text only description of Rib/NH grammar maybe used.


12.   Syntax for <nexthop-replicate>  needs to be reconciled beween section 7.2.3 and section 6 where

there is an syntax mismatch,

Doesn't section 6 need to say:

<nexthop-replicate> ::= <NEXTHOP_REPLICATE> <nexthop> <nexthop> ...



Regards

Ravi