Re: I-D Action: draft-ietf-rtgwg-yang-rib-extend-04.txt

tom petch <ietfa@btconnect.com> Wed, 07 April 2021 11:31 UTC

Return-Path: <ietfa@btconnect.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 B7D723A1882 for <rtgwg@ietfa.amsl.com>; Wed, 7 Apr 2021 04:31:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.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 IEk9mbNITjap for <rtgwg@ietfa.amsl.com>; Wed, 7 Apr 2021 04:31:13 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80129.outbound.protection.outlook.com [40.107.8.129]) (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 EF42C3A1885 for <rtgwg@ietf.org>; Wed, 7 Apr 2021 04:31:12 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eZK+vmq98UVN3+I4D6moCGWiuo5CGcsAKPLMvgNsWUEvfmwBYrP8NOxM/zY+Q9qErfA45CJM53fGDm7sq7u8OaYp/GhQ8Plcl4xm9EYt09nVAoxyzOTZf/HcfPLl830vHacRatX3Vi/LXYrfXvluYf5nIXEew1SbKdhYAhZQTp8393DkQ5iSqmsW0t4fVJGmjPQedTW5m9S7GtL35ngn/wgTjSby6GJlRNrIOuIH37JYEnVo7mDw69o9U7K4/1FRQ7iFBdHtxaJLXKCtk3uQjSnAgVVZ5uFLQVPnu2DqzKp8++LMujVdgxLEsT2V3vlxHjEUcc+rg1Pi4jEwSicu8g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UwS5JRCVOh03d9PKQR+TGKbaOeKCGxpwl50EEqZMcCM=; b=RQDtCv6vFYbdeFU5CPgM9pemEXlHW/NGnuklZJegYIycf6SqSWexOc5FgL+XJIxJqxygO7B+E3O73naH3K5G5A6psG6oWmCbruKnkrjyO2ZcBS5FUSCcQbtGjX0KtUMQk4BnK0nYnomsaEzWe8NYG5ku9Yx4FqAZCfDLfw13AihPePBbGOybuI9672DL4WHEboeeh84NgNXzJXwhCN7PNoL3yKEJXj3kp4n9JcfxVHZS+Mcs4YOBLIwEEQmS8lu4uG0EHM6WdnQ+c7B3XczibQz7lUb/MgHzD6BvSuvDpHVzRAF2qZiirIUhuNsbJeE/beas3KZIMWi5yQz+e7NS5A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UwS5JRCVOh03d9PKQR+TGKbaOeKCGxpwl50EEqZMcCM=; b=Q5Mnjn0JZK7/rrZ9WYxv+n8QeWSOAFYtGVkm0b0ayS3EX5budHXsNsd+iIfFJgAW6n9xSnxvbKZoEYrY1XiuUNZ+P9CzmZv9kIfAcjEtrtXSyBhPcYxPVivQMKkAGvKelLoY61jAwGmq+OB+q/r7rK8ssibFESiMCq1sAzHTzUM=
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com (2603:10a6:10:73::23) by DB7PR07MB4108.eurprd07.prod.outlook.com (2603:10a6:5:a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.8; Wed, 7 Apr 2021 11:31:09 +0000
Received: from DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::e5d9:cd75:1ebc:a236]) by DB7PR07MB5546.eurprd07.prod.outlook.com ([fe80::e5d9:cd75:1ebc:a236%4]) with mapi id 15.20.4020.015; Wed, 7 Apr 2021 11:31:09 +0000
From: tom petch <ietfa@btconnect.com>
To: Yingzhen Qu <yingzhen.ietf@gmail.com>
CC: routing WG <rtgwg@ietf.org>
Subject: Re: I-D Action: draft-ietf-rtgwg-yang-rib-extend-04.txt
Thread-Topic: I-D Action: draft-ietf-rtgwg-yang-rib-extend-04.txt
Thread-Index: AQHXIctnRNU2jt+kcUSsPNeBS/j5Z6qo+znC
Date: Wed, 07 Apr 2021 11:31:09 +0000
Message-ID: <DB7PR07MB554647EE60B0FD4F2212F03CA2759@DB7PR07MB5546.eurprd07.prod.outlook.com>
References: <5EFA1204.2080803@btconnect.com>, <1C36697B-ECA9-4052-8B4F-F6170B65B7F9@gmail.com>
In-Reply-To: <1C36697B-ECA9-4052-8B4F-F6170B65B7F9@gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=btconnect.com;
x-originating-ip: [86.146.121.140]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2aac13cf-4563-4cbe-ef85-08d8f9b8a45c
x-ms-traffictypediagnostic: DB7PR07MB4108:
x-microsoft-antispam-prvs: <DB7PR07MB41083ED660B8CD7AAE1637A9A2759@DB7PR07MB4108.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:5797;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: LP0xPq2FcfghZS7tQvfHB3JbM6nJYgiAqkrvY8lKs1iYKMSkP4TyrggdJJebf3K2/jThWwk+KoCDHGb1ZjcOGYKE8utx9tFOWZ9nT4q+2AeCsrXmtrWgfAoehz469FeJXxQjr1Ldk4pwCb/vJg8u158nzcPjcZuP3IOgVk7EN21t/2h14c0tvgKySDY9Rfr0MYv0loWnH0aBaeBHjnRWXPqY9xoaB2DV6kbYNZXNpaT/eNEo7bZ265ir5DzBs570p2CItACZ+DqXx8giLqM4Y69lXOJWKm8vKqdwNOTx35ong8JE0ww6v1gbGJL3HZsXLpJtTzNfZ3rSrLhHYVgG9Ao3/o2DYajju2lf3jk7YwOv87LcUmbWoQzQbVg6A+s84z4Ih6FGEfboastQTtEIcZeRYXhgXo7sJl4kRlKfBJdn3K/EnFAU/w81T87DGIIyk+OMriI1+zCEDR1qdLGu+6pKL+dNpLmYeF8SE2HQjbx1qsnIhiKqXsio9ol0LiIdFwIZnWbpxWLp/26htv02ZnquUXNqyarJW6GCrinzh3ZwLdWoySZey3JeT1LarhvhkhT7e85blPfP3oQWOOhVfq/dUOSmBGnLP1w+2x2ubtIcpUmYKvFwidy50EVguXAFiRZ3E9U+nb9HpsPxqlZTJLVht2SJtg2DT0yyAMtaU9wNtdTKH6WjxfFZYHNZiN8kJJCP/myYERQVeAz5v9uh8TdOs31TwrpZpexEYLZloSU=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR07MB5546.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(136003)(346002)(396003)(376002)(39860400002)(9686003)(6916009)(91956017)(66556008)(76116006)(8676002)(86362001)(55016002)(8936002)(2906002)(66476007)(64756008)(66446008)(66946007)(316002)(71200400001)(5660300002)(38100700001)(26005)(186003)(66574015)(45080400002)(83380400001)(7696005)(478600001)(52536014)(966005)(53546011)(6506007)(33656002)(4326008); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: Kp91ycDeuIatCQWSoJGboo+fwoAGo5nHmpwmTrcmDNBCGcEbin/C6OFISJwAHHoSmz570zg1gshfERXaOVXnAfuE5XvPeEAAsYcbXq0tPtPBIMLJxihUni3upQXUuhM02gzldgk6lKnRqpI49gBwNcIIS8zO421xTo4X3UXMk9yk6PKSh5xywdUuzbm1NmF1S8HkNVZY5oCm380Fp60bASe1ZJEVcbg0c7BNXDs14vs9evOU7su4t2uWG7ZNL9jmrCh8tXqirbKwxuZGn7BEKD68gSOjAMW1nkMgIyua4CUf0pG//QYlNL0x1c81kEVsbOcc5LP4yHnulWsLT2oy1bZ7u8lHytM3+IQASBrr6JCZQq74IduhWvXDLlpWOCkztER8JL2dIWi9aHSrdPhYMyboMxXVkSTGVcefT6QfnZ56lnzCGsJsHBGOC4NXd4AMewIKUlzJZhJqyrC3Zopwo8tSHCyIFFO4tyGW2k0NT61X2XRnSDOxM5A5ZTq+fi2rYhiTeyVjdJkHTY/rlfO09nFaqjntt36g8z+HoElAobiZnrcgsP5YQgVt/hx7qEKGrtDnIof3BWwqq7NiGhxepdlWGqU6iLCL8GF855P3buzQM6JYAgoQxE3vCQlW7rCmdKyGNIRpnwck3/Fu+P5fc+TIFaSuQsAW668eBbY6sZYel5TqVKlyqyGSWwt8DtxH5DpNzlZ2xYo9cQJ4xgw0cO8Jx5YkrZ253SLkwsdNPzI=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5546.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2aac13cf-4563-4cbe-ef85-08d8f9b8a45c
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2021 11:31:09.8588 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: g0Ny2nHaqtUaWg3/r6SVBnHgIsKU79WWD6hZbsA/rvhyewFHgmZzOiHs6OkC2th4/H7Ladoa2Wzm4Rq0kGVETg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB4108
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtgwg/2cLsMcUPlau0GjQHI_V72LySRJI>
X-BeenThere: rtgwg@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 07 Apr 2021 11:31:18 -0000

From: Yingzhen Qu <yingzhen.ietf@gmail.com>
Sent: 25 March 2021 23:05
To: tom petch

Hi Tom,

Thank you for the review and comments, really appreciate. Sorry for the delay of response.

We’ve addressed your comments in the latest version, but forgot to reply to this email. We’d like to get this draft ready for WG LC, so please let us know if you have more comments.

<tp>
Returning after a break, I see different things!

RIB is a contentious term which is why it gets defined  in RFC8349 and you rightly reference it in 2.1 but for me this makes Introduction para. 2 wrong, confusing. I think you should remove that paragraph entirely or if you want to mention RIB then reference RFC8349.

Likewise route and path are contentious and need using carefully; see below

RIB needs a preceding article which you have added in some places but not all.  I think that it mostly should be 'the RIB'

3.1 RIB tags
um no, route tags

4
augment with a long path can be hard to decipher,  Here and in the YANG module a comment line before it makes it much easier e.g.

/*augment static IPv4 unicast next hop list*/
Other WG do this and I find it helpful.  Yes the YANG description says much the same thing but that comes after the augment which is too late.

active route 
I think needs a definition

total-route-memory
lacks units Gbyte?

grouping attributes
 applicable to all paths
routes I think as that is what the descriptions say

Tom Petch

Thanks,
Yingzhen

> On Jun 29, 2020, at 9:08 AM, t petch <ietfa@btconnect.com> wrote:
>
> I think that this I-D needs a few tweaks.
>
> 'RIB'  'a RIB '' the RIB' all appear and I like consistency; since boxes
> can have multiple RIBs, I suspect 'a RIB' is best.
>
> 'route' v 'path' - RFC8349 consciously decided that path did not mean
> much and so the term does not appear; here 'path' seems to used without
> a clear differentation from 'route'
>
> s.3.2 'Ipv4'
>
> s3.3 'operational state'
> should this be an NMDA datastore?
>
> s.5
> 'import' statements need 'reference' clauses, all of them
>
>          Datastore Architecture (NDMA) as described in RFC 8242.
> perhaps 8342
>
>           leaf total-active-routes {
> what is an active route? what criterion can be applied to pick them out
> of a RIB?
>
>             "The tag is a 32-bit opaque value associate ...
> /associate/associated/
>
> Not sure but
> OLD
>             "The application-specific tag is an additional tag that
>              can be used applications that require semantics and/or
>              policy different from that of the tag. For example,
>              the tag is usually automatically advertised in OSPF
>              AS-External Link State Advertisements (LSAs) while this
>              application-specific tag is not advertised implicitly.";
> NEW
>             "The application tag is an additional tag that
>              can be used by applications that require semantics and/or
>              policy different from that of the tag. For example,
>              the tag is usually advertised in OSPF
>              AS-External Link State Advertisements (LSAs) while this
>              application tag is not advertised";
> 'implicitly' does not make sense to me and the juxtaposition of 'tag'
> and 'application tag' may confuse and using 'tag' in so many other
> places may confuse more; time for a typedef? (tag also appears already
> in RFC8349 but not, sadly, in RFC8294)
>
> MULTI seems to have lost an I
>
> OSPF. ECMP could do with references
>
>
> s.7
> "      name: ietf-acl namespace: urn:ietf:params:xml:ns:yang:ietf-rib-
>        extension prefix: ietf-rib-ext reference: RFC XXXX "
>
> oh dear
>
> Appendix B should use documentation addresses not 10.  192.1.
>
> The IESG have been known to reject examples that do not include some
> IPv6
>
> Tom Petch
>
>> ----- Original Message -----
>> From: <internet-drafts@ietf.org>
>> To: <i-d-announce@ietf.org>
>> Cc: <rtgwg@ietf.org>
>> Sent: Thursday, June 25, 2020 11:12 PM
>> Subject: I-D Action: draft-ietf-rtgwg-yang-rib-extend-04.txt
>>
>>
>>> 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           : RIB YANG Data Model
>>>         Authors         : Acee Lindem
>>>                           Yingzhen Qu
>>>         Filename        : draft-ietf-rtgwg-yang-rib-extend-04.txt
>>>         Pages           : 22
>>>         Date            : 2020-06-25
>>>
>>> Abstract:
>>>    The Routing Information Base (RIB) is a list of routes and their
>>>    corresponding administrative data and operational state.
>>>
>>>    RFC 8349 defines the basic building blocks for RIB, and this model
>>>    augments it to support multiple next-hops (aka, paths) for each
>> route
>>>    as well as additional attributes.
>>>
>>>
>>> The IETF datatracker status page for this draft is:
>>> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-ietf-rtgwg-yang-rib-extend%2F&amp;data=02%7C01%7Cyingzhen.qu%40futurewei.com%7Ca45d1006ab5f472f2ea508d81c46d0b5%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637290437767295887&amp;sdata=T3%2BMwjOJoWg4etTems7m%2FDZS83txUza7BUnnMKp1GWc%3D&amp;reserved=0
>>>
>>> There are also htmlized versions available at:
>>> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftools.ietf.org%2Fhtml%2Fdraft-ietf-rtgwg-yang-rib-extend-04&amp;data=02%7C01%7Cyingzhen.qu%40futurewei.com%7Ca45d1006ab5f472f2ea508d81c46d0b5%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637290437767295887&amp;sdata=DSeJQizkNOW4EtedOp5rlgpLX%2FfNu1FMmCTRdP2nDj0%3D&amp;reserved=0
>>>
>> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-rtgwg-yang-rib-extend-0&amp;data=02%7C01%7Cyingzhen.qu%40futurewei.com%7Ca45d1006ab5f472f2ea508d81c46d0b5%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637290437767295887&amp;sdata=B7bKkS%2By8nI8wUtdVbVxnow1DExp7t23fLisKZuzbjs%3D&amp;reserved=0
>> 4
>>>
>>> A diff from the previous version is available at:
>>> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Frfcdiff%3Furl2%3Ddraft-ietf-rtgwg-yang-rib-extend-04&amp;data=02%7C01%7Cyingzhen.qu%40futurewei.com%7Ca45d1006ab5f472f2ea508d81c46d0b5%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637290437767295887&amp;sdata=YH0y0nObOvIqm2Fq3F3Nylu0E6yN6awmOXJk4FARTAs%3D&amp;reserved=0
>>>
>>>
>>> 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:
>>> https://nam11.safelinks.protection.outlook.com/?url=ftp%3A%2F%2Fftp.ietf.org%2Finternet-drafts%2F&amp;data=02%7C01%7Cyingzhen.qu%40futurewei.com%7Ca45d1006ab5f472f2ea508d81c46d0b5%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637290437767295887&amp;sdata=fFX2a60GDIdTaGDqL1ajT7th6um5EdGtTjUqZoQiJPk%3D&amp;reserved=0
>>>
>>>
>>> _______________________________________________
>>> I-D-Announce mailing list
>>> I-D-Announce@ietf.org
>>> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fi-d-announce&amp;data=02%7C01%7Cyingzhen.qu%40futurewei.com%7Ca45d1006ab5f472f2ea508d81c46d0b5%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637290437767295887&amp;sdata=PQj%2BvpGuhu52qgVaEUrTB99mPoC4kJ6tatl7xL4OiP0%3D&amp;reserved=0
>>> Internet-Draft directories: https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ietf.org%2Fshadow.html&amp;data=02%7C01%7Cyingzhen.qu%40futurewei.com%7Ca45d1006ab5f472f2ea508d81c46d0b5%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637290437767295887&amp;sdata=uP51%2BFhmIvplhQ9LO8cEhMm5o1uAmHPvmQDEoKty9wk%3D&amp;reserved=0
>>> or https://nam11.safelinks.protection.outlook.com/?url=ftp%3A%2F%2Fftp.ietf.org%2Fietf%2F1shadow-sites.txt&amp;data=02%7C01%7Cyingzhen.qu%40futurewei.com%7Ca45d1006ab5f472f2ea508d81c46d0b5%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637290437767295887&amp;sdata=k56QAmN7ER%2BzVdSFXPtcVCW0C7lIB4hRvrIdTk9o1bY%3D&amp;reserved=0
>>> .
>>>
>>>
>
> _______________________________________________
> rtgwg mailing list
> rtgwg@ietf.org
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Frtgwg&amp;data=02%7C01%7Cyingzhen.qu%40futurewei.com%7Ca45d1006ab5f472f2ea508d81c46d0b5%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C1%7C637290437767295887&amp;sdata=8XOOsqngl%2FpA3jOwSSdHFpCfvXwUb%2BESv7EK4%2ByG7dA%3D&amp;reserved=0