Re: [Rift] I-D Action: draft-ietf-rift-yang-09.txt

tom petch <ietfa@btconnect.com> Wed, 20 September 2023 10:34 UTC

Return-Path: <ietfa@btconnect.com>
X-Original-To: rift@ietfa.amsl.com
Delivered-To: rift@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 69819C14CF0D for <rift@ietfa.amsl.com>; Wed, 20 Sep 2023 03:34:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 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_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f0Oa-A0HvdFp for <rift@ietfa.amsl.com>; Wed, 20 Sep 2023 03:34:16 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2133.outbound.protection.outlook.com [40.107.21.133]) (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 25C5AC14F748 for <rift@ietf.org>; Wed, 20 Sep 2023 03:34:15 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RwS/DyHVd365as0yOvRKS/iB8Wm0SL2SAwfHPO+Qt4K16H7AXF5K+ACUy3YAy5StBEWgoU8WsMEqyUSUROxalMFKVtOredcR5qOJG2sX3qTlCMAmCYnPvm3HY2UZvb4YWmBXCftwtwiCmStmVjnoJl42zgTj0dk9rBDXnfzlPkvSlltMy5fxeYd6CDS2eN1TnPm7BWccVo1DBCw9urFsUs0gEbCxHRiLCwUMd6dpG4mSAxVSViWixKwclgBUeiIlRMfNDAooX2eGPrtLR08IvJJXWb0U/dYQInsy6dfDfWePmeex9+f5vPaaDKk/muuVbCkhN+I8Lmix9VJOrt9+hw==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JOPuPTVAGAtsn2W13iafRcf5t9bx2ESrYtiNPXJHJuE=; b=CU2W/MpobT+cwCWFt9vILx/Lp/CoumH2suAKGZHSEGFj5qnuQSK4lCrefhpyyhKdPUzEFK6UJely7+W4ys9ah7qHAFs4Qj0ObnoPWhQyO0BI3/8sBwOszA9jK9s7QZiVVWXTHxGKi266Wvegsh6l1LCXH7axDKWBKMQfilSs/x0Dx7rpCcrn4L7YUl2b1kN/9qt6Iqh8sAY9AyDmz9+MkHcjvzcvwn9mNUNAnKWt8kNS5oV+9+8rbNLgL4y6HzJPxVg0OkgvldnGAcJmas/nWdy2+5smeADOP0+7pM63/R6GCwOVqKvHxY1I35M5Oe1R2aT1qK0uYuW4shMGwc2+Ug==
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=JOPuPTVAGAtsn2W13iafRcf5t9bx2ESrYtiNPXJHJuE=; b=LJeO+QkcHS+K0VRDMuvAX24ecJbDwRZCbNhYpr/U8Zg5f+qex1ILAOnnFcCdQg1YqCfpXootPAm4JWd1g06EVrtyWLFPFWf3oD20PhPaVQFPZ5GH82IHqzL/6xOXRGrzaOuQAchKjIUhfVKFs/LBz8XHf/k6znMHBgQOb2bwatE=
Received: from AM6PR07MB5544.eurprd07.prod.outlook.com (2603:10a6:20b:8a::30) by PAVPR07MB9383.eurprd07.prod.outlook.com (2603:10a6:102:31a::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.26; Wed, 20 Sep 2023 10:34:12 +0000
Received: from AM6PR07MB5544.eurprd07.prod.outlook.com ([fe80::13a2:bdad:725a:1a6d]) by AM6PR07MB5544.eurprd07.prod.outlook.com ([fe80::13a2:bdad:725a:1a6d%4]) with mapi id 15.20.6813.018; Wed, 20 Sep 2023 10:34:12 +0000
From: tom petch <ietfa@btconnect.com>
To: "zhang.zheng@zte.com.cn" <zhang.zheng@zte.com.cn>
CC: "rift@ietf.org" <rift@ietf.org>
Thread-Topic: [Rift] I-D Action: draft-ietf-rift-yang-09.txt
Thread-Index: AQHZ5Egz+KjezaJB5ESHDa9SfZyM1LAVgGzvgAWtSICAAG4XdIAF3owAgAIW6bc=
Date: Wed, 20 Sep 2023 10:34:12 +0000
Message-ID: <AM6PR07MB5544E1E794AEDAA08DC32FD1A2F9A@AM6PR07MB5544.eurprd07.prod.outlook.com>
References: 169415510875.6957.1558048191484877652@ietfa.amsl.com, 202309110837346973457@zte.com.cn, DB7PR07MB5546A16DDCFA3FDA195135C0A2F2A@DB7PR07MB5546.eurprd07.prod.outlook.com, 202309151020038917210@zte.com.cn, DB7PR07MB55462AE2C609784A44EC710CA2F6A@DB7PR07MB5546.eurprd07.prod.outlook.com <202309191031540008220@zte.com.cn>
In-Reply-To: <202309191031540008220@zte.com.cn>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AM6PR07MB5544:EE_|PAVPR07MB9383:EE_
x-ms-office365-filtering-correlation-id: 80d32b98-2e0c-4f9d-f165-08dbb9c521a5
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Q8ULDrMpVt4GASeNDrNh8qguu9ciE1humus/INyi2DbrwGS9LEHP0To3n64xOoWelaDiO2IceWKnQM6UfYacol2jQbpjmWqkIh5FWcZi0gJlaYmJEEIh4/9i60gwmsnOaT0UBnHRhJYmmgfge4uap5FXpS2pBcf4bJuC3iOHT0v68IQ5NY/3nff3llcHO5JuhGD2B0IEpHGbpwWZ6cSt4V40N2TBnxuitaLvuRSNy783S7pLf0symskrxarNkvczcoj84R5p5vTZ0hc/xq2eI4N9bw+1QNFtMT/0x4fhJDMwAx+VZ0TJ/ZvIaql1MXnZMINif26vVsCZtbswkF+Iv6QhccTtaDFe4kYS4MJAkMaDMp6O4kNerYbAY+nI+kes2wrmFZHytZZMVlU3XIUQCCjbCfF7SYRS2IcG2rAcTwV8AIx2M5Dafa8BYxvMLBcU5/jAUzMaCKOpezJQGLAxsxMVprhfoLNSGsCihnJfDmoEJi2FWQpMP/N8uHXXeM0m6GlIl4lbgPbibdlzkG91ajgg21RcinhgVCArOIM1EvS4D2ylj3PzePeCG/xNfraVJTJz2w2M1SFKTlv9+Kqy5RI9Sgahp/01RmCfXl7usqE4VAcmJQ4l7z9U6F+/P2n7Rlfv3myKVS5Il+Soz/T8mg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR07MB5544.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(366004)(376002)(39860400002)(396003)(346002)(451199024)(186009)(1800799009)(478600001)(71200400001)(45080400002)(7696005)(8676002)(4326008)(8936002)(6506007)(55016003)(2906002)(316002)(9686003)(33656002)(41300700001)(38100700002)(26005)(52536014)(122000001)(38070700005)(966005)(91956017)(66946007)(64756008)(86362001)(66476007)(66556008)(66574015)(6916009)(5660300002)(83380400001)(82960400001)(66446008)(76116006); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: CRdWKDiBrO8YBZYjozyHUI1UKfxvKMqxEqGA3LhR3WQ4+NBtOHeng57guymxF7AXvQOcb3L2sqsFEHXRxGyrDMkyeu17h7gl6JHNs54O8sA7b3uct8zQuRPSAn2GzU9jmdE8/56uMdW9daRe3XYuN2hcK6M0pRGPYvcS9KDaoBQHVGMo2H64z+Gv1MNhrtrQ0J15Ai4MlY3nXmc81LMK2qqOrRcvIsWeHUX5B7dCwHiBdrnrcyRYpPbq2v93TSxeWwYHw2AjpHLG9nKfSs9zXQc+U11uH+GBaoHq0eqDBImekm4rGOXglFtdh60+/wR4JNB0G5oQdiFngNIQ8COTYOdzE8xWsUaYZjN3+6qajYLommZ9UpAXJeyF7rCOmnlENgWfMGw7zmn64dVuIcpWeaKssKx0LSAis8WSqx8o2QE1pWGs/cJ4adZhZDRgnwGOsiZw73klOYSRvAvWQj/pqYTQ6doUiyYVblhqkUyxcE1YRp3aZtrwYZTwUZ5lMiRh6xKiA75cfbjy5gQqvhxM+Pb9SCX/K5tjV6LMx3RKLIMj3s2UREfFLJqegTpHw2YIeKg7wcxhbCCctT+SXwIwtMgLbV9r6iH8DQ0+UHDRyNPgYxHnI3UJdAGO0ExFMFqJn8tzwIHykwB4wraVGyAs6pu5msaK/bQMlCNJRqkABMF16QSp/f/SmECPHpKliO05a/iT2JRoVK+WYx8LDtntDq9ILdEnBf0GA20ZCYSiS4OoX2MaLKDrpIzZS+ax6eY7CfQdPGoImBSoW9T2sPUDXZl5ydirM0lDkax4t0kbQjNI+OaZRRqkJSxeLcLscN6ErtQ6nfFDOQ/sr1zvstn7RsGiRSx7MJKOK84AmnX1U1fo/HF2tuMg1sjLuQEfMEENI/b/cCGpmn0+6LRciJFUjpL8tLaOtDQs19A8lfzEScKV4O8C6SnOXtNMjgmFVRj13Ezqzuq6k0f/IG5qmy5eQbEmT3JP/cJ+m9PCWzXrJ+R6NhBmIRq0rRKi7pya22VnlCmTDTiLKRCnpklKkfcTNc1w6hGnzSMaiQX/gcZZqTUSQktnDQl0VP73kVvuBCZwkdgwXZMOqNWvmhUsAfQSnZHcC8IGOVmO86qh58TMIpQzfvBKpHBs0LXkUBp7qlmT64RIG82CZOAPnRRHrkTTa/Gfjj0Q6cAOoUIXJdcyTBVG8TQhjyFKNU62DTH7KrKOnuEpctX4LE4SR7qbghJfizykuB7aCtEvharIZNfi3hi3zTLueLxbW4sSWSuSJDrp7Dcu5B+VWUPKFSvEhEoDilRfESDEbHBNdwxStTKRhDPskU34tab3QUu7BulpvPbKlcyP4lKe70em9wIaierbbUwbhu9cZuOORypFw+W5GiSDOI+F3M+xaawhWpaaroC/R88CjNNmWd4flY3kESqvPqWT4BQRS0pSZvpy+QnLR4CennGWLUdfh/OSPRPkKmtZ4hhCeKNLBQLYiSvG9YZOKLHm88RkRPuKH4T+CfWXtIpQf6/JCdT+QyeDtb5Ruc+UcjZqb8xTpCxeGVoSxpag6gGEiS3w7sp1Sb8BO7RBA88=
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM6PR07MB5544.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 80d32b98-2e0c-4f9d-f165-08dbb9c521a5
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Sep 2023 10:34:12.7238 (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: awvGsZ4fnA+hyX0Hff8SKD8TThxYl4A2/5kAHI11dZh4LtiYGA+P9F2tuPhFGuazOQAKbsjoW/nHgMZbK/Onyw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR07MB9383
Archived-At: <https://mailarchive.ietf.org/arch/msg/rift/kIzdkJMAR-JUJWSk9FLPdz93l1s>
Subject: Re: [Rift] I-D Action: draft-ietf-rift-yang-09.txt
X-BeenThere: rift@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Discussion of Routing in Fat Trees <rift.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rift>, <mailto:rift-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rift/>
List-Post: <mailto:rift@ietf.org>
List-Help: <mailto:rift-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rift>, <mailto:rift-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 20 Sep 2023 10:34:20 -0000

From: zhang.zheng@zte.com.cn <zhang.zheng@zte.com.cn>
Sent: 19 September 2023 03:31

Hi Tom,

Thank you very much for your detailed explanation!

According to your comments, the non-zone is a better solution for now.

Though in the future the meaning ip-address with zone in RFC6991 may be changed, right?

If it is, I'll modify the type to non-zone.

<tp>

I think so.  Reading rift.rift I cannot tell whether the addresses require a zone or not.  'zone' is needed with e.g. data center servers with multiple links where the same link local address can appear on multiple links and the zone is needed to tell them apart.  As I say, I am unclear if this applies with multicast protocols.

As to the IETF defined types, I think it safe to assume that the type identifiers with 'zone' or 'no-zone' in them will not change, it is the ones without such as 'ipv4-address' where there is pressure to change the meaning (for the benefit of those who do not read the specifications:-(

Tom Petch


Best regards,

Sandy


<http://www.zte.com.cn/>


<http://www.zte.com.cn/>

Original
From: tompetch <ietfa@btconnect.com>
To: 张征00007940;
Cc: rift@ietf.org <rift@ietf.org>;
Date: 2023年09月15日 17:27
Subject: Re: [Rift] I-D Action: draft-ietf-rift-yang-09.txt
From: zhang.zheng@zte.com.cn <zhang.zheng@zte.com.cn>
Sent: 15 September 2023 03:20

Hi Tom,

Thank you for your explanation!

Sorry for the late response.  I failed to find the associated discussion you mentioned in the NETMOD mailing list.

According to your point, the non-zone ip-address is more suitable for RIFT YANG.

But I am confused because AFAIK there is no zone in the ip address of OSPF or IS-IS also, but OSPF and IS-IS is still using the ip-address with zone, right?

If OSPF and IS-IS will modify the model?

<tp>
Ther have been many such discussions on the netmod list; one such started  14April2022

Earlier that month there was an extensive discussion about how many authors had used the types as specified in RFC6991 and how many had assumed that they knew what the types were without consulting the RFC; an LSR author was stating that RFC6991 got it wrong and that the definition of the types without -no-zone should be changed to omit the zone which suggests to me that the LSR I-Ds cannot be relied on as an example of best practice.

More generally, I assume that the use of -no-zone type is a conscious decision and that anything else is not (which may be the right decision but we cannot tell).  That said, I think that the inclusion of a zone where the module author did not expect one is unlikely to cause many failures - it may be that the producers of tools and such like cater for this and quietly elide the zone if the value comes with a zone and is being put into a 128-bit field - that is speculation on my part but I do recall when web browsers tested for Microsoft because Microsoft had misunderstood HTML and interpreted some markup differently to anyone else.  Producers of software that customers pay for tend to produce software that works for customers rather than software that fails according to the letter of the RFC.

Some are still agitating to change the meaning in RFC6991-bis which suggests to me that any RFC in error will not be updated soon.

I looked at rift-rift but could not tell if the zone is wanted or not - you will doubtless have a better idea of that than I.  If the zone is not wanted, then specify -no-zone.  I have yet to see anyone suggesting a change of meaning to the -no-zone variants:-)

Tom Petch


Best regards,

Sandy


<http://www.zte.com.cn/>


<http://www.zte.com.cn/>

Original
From: tompetch <ietfa@btconnect.com>
To: 张征00007940;
Cc: rift@ietf.org <rift@ietf.org>;
Date: 2023年09月11日 19:56
Subject: Re: [Rift] I-D Action: draft-ietf-rift-yang-09.txt
From: zhang.zheng@zte.com.cn <zhang.zheng@zte.com.cn>
Sent: 11 September 2023 01:37

Hi Tom,

The RIFT YANG was updated.

Some terminilogies were added according to your comments.

About the zone in ip-address, we think that there is no special consideration in RIFT after the discussion among co-author.

So we'd like to be align with other IGP protocols, such as OSPF and IS-IS.

<tp>

That may be the blind leading the blind:-(

When this topic, of the default YANG type for ip addresses including the zone, surfaced on the NETMOD list recently, there was much discussion and it was apparent that a number of authors of RFC had not read the specification and had  assumed that an IPv6 address was 128 bit and not 128 bit plus an undefined number of zone characters.  A number of such wanted to make a non-backwards compatible change to RFC6991 so that the
typedef ipv6-address
would no longer include the zone and that those who had read the specification and knew what they wanted would have to go back and produce new RFC, the innocent suffering for their wisdom.

So when you see a specification the 'no-zone' in it I think that it is safe to assume that the authors had read the specification and knew what they wanted; but if you see a specification without the 'no-zone' then I think that you cannot draw the inference that is the correct type.

Sometimes you can tell from the protocol specification.  If the address field is defined as 16 octet, then clearly 'no-zone' is intended.  Looking at rift-rift I cannot tell.

Tom Petch

Thank you for your further review and comments.

Best regards,

Sandy


<http://www.zte.com.cn/>


<http://www.zte.com.cn/>

Original
From: internet-drafts@ietf.org <internet-drafts@ietf.org>
To: i-d-announce@ietf.org <i-d-announce@ietf.org>;
Cc: rift@ietf.org <rift@ietf.org>;
Date: 2023年09月08日 14:39
Subject: [Rift] I-D Action: draft-ietf-rift-yang-09.txt
Internet-Draft draft-ietf-rift-yang-09.txt is now available. It is a work item
of the Routing In Fat Trees (RIFT) WG of the IETF.

   Title:   YANG Data Model for Routing in Fat Trees (RIFT)
   Authors: Zheng Zhang
            Yuehua Wei
            Shaowen Ma
            Xufeng Liu
            Bruno Rijsman
   Name:    draft-ietf-rift-yang-09.txt
   Pages:   45
   Dates:   2023-09-07

Abstract:

   This document defines a YANG data model for the configuration and
   management of Routing in Fat Trees (RIFT) Protocol.  The model is
   based on YANG 1.1 as defined in RFC7950 and conforms to the Network
   Management Datastore Architecture (NMDA) as described in RFC8342.

The IETF datatracker status page for this Internet-Draft is:
https://datatracker.ietf.org/doc/draft-ietf-rift-yang/

There is also an HTMLized version available at:
https://datatracker.ietf.org/doc/html/draft-ietf-rift-yang-09

A diff from the previous version is available at:
https://author-tools.ietf.org/iddiff?url2=draft-ietf-rift-yang-09

Internet-Drafts are also available by rsync at:
rsync.ietf.org::internet-drafts


_______________________________________________
RIFT mailing list
RIFT@ietf.org
https://www.ietf.org/mailman/listinfo/rift


_______________________________________________
RIFT mailing list
RIFT@ietf.org
https://www.ietf.org/mailman/listinfo/rift