Re: [netmod] iana-if-type.yang has multiple revisions with the same date

"Rob Wilton (rwilton)" <rwilton@cisco.com> Fri, 04 March 2022 14:53 UTC

Return-Path: <rwilton@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A6BAF3A0B80 for <netmod@ietfa.amsl.com>; Fri, 4 Mar 2022 06:53:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.605
X-Spam-Level:
X-Spam-Status: No, score=-9.605 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=hVUekYUe; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=csIxZlnK
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 mVxBChSs6-Zk for <netmod@ietfa.amsl.com>; Fri, 4 Mar 2022 06:53:14 -0800 (PST)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8262A3A1437 for <netmod@ietf.org>; Fri, 4 Mar 2022 06:53:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=29288; q=dns/txt; s=iport; t=1646405594; x=1647615194; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=x/CQSZWsB/MoMhdcbF4TI9raY1Mk1Qg1aTfL5C16T0c=; b=hVUekYUeFSddVE8ztf+94dYYQXk6MG4nVC9ww0cSrbGD7arYBMoqZJ9N x6aLAFvnoWjEffmAGwYa1POFqW3sE+/u0wNdFbqpVISNnTqdYfRhWHFVB pCO7DU42dsJhRaMT//ITTxtKP/fgreeYT6wn9heLWE2z+2rVeBNgCJlwJ I=;
IronPort-PHdr: A9a23:3gKBURX7WTEZIUhSJhE1y6R8GwrV8K36AWYlg6HPw5pCcaWmqpLlOkGXpfBgl0TAUoiT7fVYw/HXvKbtVS1lg96BvXkOfYYKW0oDjsMbzAAlCdSOXEv8KvOiZicmHcNEAVli+XzzMUVcFMvkIVPIpXjn5j8JERK5Pg1wdYzI
IronPort-Data: A9a23:1FMDFq/RtMDE/SA1a7ZBDrUDTXyTJUtcMsCJ2f8bNWPcYEJGY0x3xjEdC2DTM/aIZmqhc9kja4+ypxlQ65WGm9ZhS1Y4pC5EQiMRo6IpJzg2wmQcns+qw0aqoHtPt63yUfGdapBkJpPgjk31aOK59yEljfjgqofUUYYoBAggHWeIdw954f5Ts7ZRbr9A2bBVMSvU0T/Bi5W31Gue5tJBGjl8B5RvB/9YlK+aVDsw5jTSbB3Q1bPUvyF94Jk3fcldI5ZkK7S4ENJWR86bpF241nnS8xFoAdS/n/OlNEYLWbXVewOJjxK6WYD73UME/XN0g/19badDAatUo23hc9RZ0spMsYC3Ty8iP7bHn6IWVBww/yRWYvYdqOeceyHn2SCU5wicG5f2+N1oAV0zOoEw++trDydJ7/NwAC8JcwifgOSeyqi8Q+Vmj8IvacfsJp4a/HZ6wlnxBPAqULjSXqDD+thC3yx2jcdLdcsyzeJxhSFHdh/MZVhEPU0aTcx4l+azjX65eDpdwG95bJEfuwD7pDGdGpC0WDYNRuG3eA==
IronPort-HdrOrdr: A9a23:+d9AjqnDGk9IU6By/fpmAtED7nPpDfOaimdD5ihNYBxZY6Wkfp+V/cjzhCWbtN9OYh4dcIi7Sda9qXO1z+8T3WBjB8bdYOCGghrmEGgG1+vfKlLbalbDH4JmpMJdmu1FeaHN5DtB/IjHCWuDYqwdKbC8mcjC74qzvhQdLz2CKZsQkjuRYTzrdHGeMTM2fabRY6Dsn/avyQDQHUg/X4CePD0oTuLDr9rEmNbNehgdHSMq7wGIkHeB9KP6OwLw5GZebxp/hZMZtUTVmQ3w4auu99uhzAXH6mPV55NK3PP819p4AtCWgMR9EESttu/oXvUjZ1SxhkFxnAid0idvrDAKmWZmAy1H0QKSQohym2qq5+Cv6kd215ao8y7ovZKqm72IeNt9MbsYuWqcGSGpsXbJe7pHofl2NiuixulqJAKFkyLn69fSURZ20kKyvHo5iOYWy2dSSI0EddZq3MYiFW5uYd899RjBmcsa+ShVfbbhzecTdUnfY2HSv2FpztDpVnMvHg2eSkxHvsCOyTBZkH1w0kNdnaUk7zs93YN4T4MB6/XPM6xumr0LRsgKbbhlDONERcesEGTCTR/FLWrXK1X6E6MMPW7LtvfMkfgIzfDvfIZNwIo5mZzHXl8dvWkue1j2AcnLx5FP+gClehT1Yd0s8LAp23FUgMyIeFOwC1zwdLkHqbrVn8ki
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BKAAAZHvlh/51dJa1QChwBAQEBAQEHAQESAQEEBAEBggYHAQELAYEgMS4oB3daNzGESYNHA4RZYIUOgwIDmySBLoElA1QLAQEBDQEBKgEMCgQBAYRARQIXg0gCJTQJDgECBAEBARIBAQUBAQECAQYEgQkThWgNhkIBAQEBAwEBEBEKEwEBLAsBDwIBCBEEAQEhBwMCAgIlCxQJCAIEAQ0FCBqCBF+CDlcDLgEOoikBgToCih96gTGBAYIIAQEGBASBOgODUBiCNwMGgToBgw2EHAEBhwcnHIFJRIEVQ4JnPoJjAQEBgTIVGisJgmI3gi6Rcy4GAQEsNgQoKQIgJhUgBUVDB5Y3iU4/jTOSYQqDRosBlHoVg3KkFYcwjxoggieKSJkzAgQCBAUCDgEBBoFhPIFZcBU7gmlRGQ+OIAwWg0+FFIVKdAI2AgYLAQEDCY1MAQE
X-IronPort-AV: E=Sophos;i="5.88,333,1635206400"; d="scan'208,217";a="733803210"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rcdn-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 04 Mar 2022 14:53:13 +0000
Received: from mail.cisco.com (xbe-aln-005.cisco.com [173.36.7.20]) by rcdn-core-6.cisco.com (8.15.2/8.15.2) with ESMTPS id 224ErCGL007179 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=OK); Fri, 4 Mar 2022 14:53:13 GMT
Received: from xfe-aln-005.cisco.com (173.37.135.125) by xbe-aln-005.cisco.com (173.36.7.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Fri, 4 Mar 2022 08:53:12 -0600
Received: from xfe-rcd-002.cisco.com (173.37.227.250) by xfe-aln-005.cisco.com (173.37.135.125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Fri, 4 Mar 2022 08:53:12 -0600
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (72.163.14.9) by xfe-rcd-002.cisco.com (173.37.227.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14 via Frontend Transport; Fri, 4 Mar 2022 08:53:12 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lv8T9FowbVa+zKiIqBITcLVNAZ33cIYBnhE7zyuJ6TRE8q22EZLKnoW4iUQ4+YijlZet/iqcnJCeuS8g69xHPi7qW8xFYSmy49IDHslh6Ganq701Srfam1DP24DKjj7LlQq/sho98AZxTMYLkiB+aaIZB3Lu4by8YphkFbyeo8sKn1ampYg1gb/EONeSxsvr52ip0eG7xUl699SwNdc4bGWfFjZt/yQ8gbZoqaJJVIGKBoHUFbyY1DPCnP4bzNYVNcaMbx94O88MphoIUQGSFVxobi1Z5YOczPkC7XvWddsKesfIwblv6YZ/2A2U1pf10frVOx1fS/ftXzJQzE602g==
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=x/CQSZWsB/MoMhdcbF4TI9raY1Mk1Qg1aTfL5C16T0c=; b=JR+582lqX0rpIV9anjjlbqTKYZ1G/qljxOy3LsJJ7um6fBrVBIhIKKBnyh4KJtJld7bT4TiDV2lNRpieHt8ULg1h4A2dWDuyMVtDbsJ/oLPwMX/Ku3jfk0sZR4+KUJ3KcqQ4s4l1ZXr3zvW8RCeCaUW0xFARhj8QpMNyCPjwkSh8GFhJatXLXtNiuR1mIn9lZBjOfE/FPmpwT4ydS5T3ApF63uhdWGj8X1YKQ9oDm/eZAsJr/fPze9XlnviSQqEpHg8OwKqVpnZqKJTXROf3GT0Nv/b1UvO38zaq56ZyvrcPh81nC2CBU3cV9dw84CVKqS0uWkcDJUH5XcVMe1k8GA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x/CQSZWsB/MoMhdcbF4TI9raY1Mk1Qg1aTfL5C16T0c=; b=csIxZlnKGD/r2pDBLP0h2ejOKeo2FWlIU+eFhLl8L8N08SSy6Y0jC/EJANYTUDfCZ6qDKGSjJjKib/Be9xcEtj1RFz3tlg/ruuAi+5p+nNmbVHk9r95NQO4CBGZBQ0YbEwHV9AXLyFZm+vqj1wGgdAzVyvSQMwJybBHNpLLuy+U=
Received: from BY5PR11MB4196.namprd11.prod.outlook.com (2603:10b6:a03:1ce::13) by SN6PR11MB2558.namprd11.prod.outlook.com (2603:10b6:805:5d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Fri, 4 Mar 2022 14:53:04 +0000
Received: from BY5PR11MB4196.namprd11.prod.outlook.com ([fe80::98bf:c4ea:a0fe:42f3]) by BY5PR11MB4196.namprd11.prod.outlook.com ([fe80::98bf:c4ea:a0fe:42f3%7]) with mapi id 15.20.5038.014; Fri, 4 Mar 2022 14:53:04 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Andy Bierman <andy@yumaworks.com>, William Lupton <wlupton@broadband-forum.org>
CC: NetMod WG <netmod@ietf.org>
Thread-Topic: [netmod] iana-if-type.yang has multiple revisions with the same date
Thread-Index: AQHYLWt8yhTYbgXzzkKJmSZlAuVUW6yqnC0AgASzvCA=
Date: Fri, 04 Mar 2022 14:53:04 +0000
Message-ID: <BY5PR11MB4196F53BF5619B1492995A93B5059@BY5PR11MB4196.namprd11.prod.outlook.com>
References: <CAEe_xxiTdvGscUqhuC=Kuh70C-=MRnA8GgjupC2vBfkK6_p+kw@mail.gmail.com> <CABCOCHR+yKwL7kkV2_Teha-Vnc8AJ9Q8QhZyjYwjaj286=vR_g@mail.gmail.com>
In-Reply-To: <CABCOCHR+yKwL7kkV2_Teha-Vnc8AJ9Q8QhZyjYwjaj286=vR_g@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=cisco.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 2672fe9b-a966-4018-ae05-08d9fdeeb018
x-ms-traffictypediagnostic: SN6PR11MB2558:EE_
x-microsoft-antispam-prvs: <SN6PR11MB2558FE679869A06C8D84637BB5059@SN6PR11MB2558.namprd11.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: IUNtLleX3K6lG8lDceEQ1YEhjTYExxIlll9WTTLOklRkjCTAtv34OHqqw4YUpP6gQBuTcc/UKXqR0wbRPw+6MYQMSr5xgYNL1MNuxLpecI3r+2XYP6ICkhV69PtIQmk7bVxPHgwgKCWqFmO04/TlDSW1Z3/Yu2lDWB9j6g6qV3dBqAdmHLZWr25z2hNZyq3K6xtrXIpDtzB45VtELoEZX9FOTF1SMiHaDgAmhdYrJRff9oSA1ZsB6iwwjEreg6nQNUXcN7HPFWdn4PvpBnxKiD/WIHrQhyGr1rfESim2tJ81uX796mMOWDdk8nQMGtUxW3MvmUz3zDz9am2Gturvbkgwzti/mmu4fyD1TyJRh2wTEB7WWG7EeOiROgYhYcAkEwYZtL9LnRq3yop0N5KU7Ya/9Nc1yW3vBr+5x0kDjCwVYgmvp1IZOdHfZczYtZf9IFVC2wJZvxvCgc4W+ZZB5qELdl8ATPZ4bm4Zb7vBAc+e7OpR7PSe0tBPE3RkzlJmPlym4NFrmJvdgsoaAuA5NOknzA6xUVV917iGq+h8u0EGUcKCeZNZuOhZIF71npjDq0C+LZwltJZY6fnNc8eJ5sVNLgkWgqm3/FgzOxtJeyYkR4eK88sYqZfI9XtTHg+N/A3L5/+GEiAkGwfyTkc2qrHXyO6BCPjz1c/toWOYdtbioP06J6qcVpgc+KA8lE3vj6t8ZcmjzzSpDcErZygXlsknO2i5cZGo0tgIUdmUTwYxagAxCeC0p4Gp3Os8PyyA/GxhBN4+88TJNqeqCQPoHMx1bB35azZXsp842HysknjA+sJUROYCv1NowtbL9yJLab3LngdALgLDU5GuTR4Y7g==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4196.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(122000001)(21615005)(83380400001)(38100700002)(52536014)(508600001)(966005)(64756008)(8936002)(9326002)(66946007)(76116006)(8676002)(66556008)(66476007)(316002)(66446008)(4326008)(71200400001)(5660300002)(40265005)(6506007)(33656002)(110136005)(186003)(7696005)(26005)(2906002)(38070700005)(53546011)(55016003)(86362001)(166002)(9686003); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: zmGCJf9tk+ZCOmDjOhcKHuy8cm4ve7zoNYg1l8NnmCPS0EOXE5gw2c2Frjupct7LjG6GEzS2sNeQrVdSDXq1zhrxeOYLPIiXPeL8lG5Sx7wU3GC0MFkcWP0nauxdoRjTzwLUrIdOS4Uzn0xY742Aeawbb4jluR+0UOGdZicGKW+nstP12jlm5dplsFDz5R4yfJdqgzdpUQmlEdaKdy+6r7fVVuSh88uK6j81L4N/4DeRU6XbqpO/D+9OY3Ln5CY7iiyTFSBbrGK+yuyu/qb2CadzzXbexkqcVJR+pKYK3c4jII+EeTkzeRPJDWi7Hno7AdGpvw+wCiyr63ZzE74aUGOBh43xN8kEKSvTPKdI9Al7pzk1fGXscceorzyZ0onC4ZK+1RDBBcPvqKo76z9ZEjJnJSuoNjSykm6T8yg0pllMinohCFrssp1veMQKDj5O6inp9WccQyW8VacHRG4ja44rLfOYErzl1LW5TDWw5O4HLx+xafiO9rqidkiHO1+sTb88oMAA8NDQok6N4TkM4T4nE3gA2fqQVxRbpigKx2SX3gepFqesUuZUcVFaFEWIjfA6I8U2XUXqz7cTuG9l6LLY0vvZXnGjRpM4HkKYwW9c7ZDhqa6WS94RmTN5v0gXC00idMKdxgZc7Z4IsOC4uZmjKszkn819hbfoK5iEqpipe3+RwkkAR6z1t3cGD1+Y2xer5epa7UMri9W25QLuzaVPb9GkEAY9y52reT+CDWWR8AhtfV3MZxKbyKkOGnVY/Rw6pEbOBuLadvGJnzu4nORMx76dil/83TvCm2wdkC65cEY5AGcRXUo6ff2jZS/WRCRCYwK/o9b6+zhE5fdkYUR1wYNzU6pXhfeuTmip7MEM1u+NTJMDOqWTua9XtNq3pFtH0wKvEg1x581UUtDJ7VM8PJ9zTtacrwxQJV7T3419kEjYLkmTLvVWLAq5BEbCTUrQoxbmsGzXsidhdY+H7C9+FzeX4BFZdtf8KD6ZgYotEg+Ch5rtd4esG/9U1B6KxDmln2ji0Rf7/p/+osYfd+2gElGqGcKKDsHzEC/0Qh1ee7wBZZ+gzkaW9QitSNkBUoDEgBQqUypk8FFLA0EINIohT8+MqWrzjZ+dyt05iVvfREAQTzgVEXdviyNcqMgvQgAn23U2Fo6jc/iFOGV4xzqFjm8dFLO0ejxq6jQx8iV8APLA6TcvM7v1lb0eVt5Ln3L2qOcliX96o5dSh9ym7km16XkOkR5XYYo5PuGNan85f3sX/3tyjf7fhcu7I6aaWjNthnMYkElBS67j0iU9bkneip6aEk06TzS93EFH37TMCEmwOFErynNs/Jdz/KbHJ7EzmmI6IrsAuaKEMclTxLAq2rKgVkAn0Xu7kd2nvNixmJHgZd7qiWH3RdGVH5o7WQo5hjqhEw4QmO6bF84wn/hq8113XEAfw1+jCtqDwRmIlWEDzg5m0wDNvj8lJ3oq5ABFACp5yGsA6kWxUJsScTJNEsxr5SAX6tY5FyEo0OISBDOc0gOFcFnVMPgX7PKwv3cbxAO5FgVxL1p/uY8Rz6O5Yj/bhyp9QVp0y1WfODSK0im/vpPU9Q6dQUbJ1GhOWiFEBaMnjey8zewfNkfYKw==
Content-Type: multipart/alternative; boundary="_000_BY5PR11MB4196F53BF5619B1492995A93B5059BY5PR11MB4196namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB4196.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 2672fe9b-a966-4018-ae05-08d9fdeeb018
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2022 14:53:04.7149 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: nQ2CKPYRLgTivKhwB2m1Ya1+d9MpoMmvHGENT99v8LLx1B+i/hqbkl61O/Es6gGYTR6vjvtAz8Q7DfCH47FPyA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2558
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.20, xbe-aln-005.cisco.com
X-Outbound-Node: rcdn-core-6.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/dxClefF_Gy0uIBy4owHKml5P5xg>
Subject: Re: [netmod] iana-if-type.yang has multiple revisions with the same date
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Mar 2022 14:53:20 -0000

Hi Andy,

On this specific point:

Note that with multiple release trains and the new SERMVER, it is likely
that multiple [name, date, label] tuples resolve to the same [name, date] pair,
making the uniqueness problem even worse.

The module versioning draft explicitly disallows this.  Even when using revision-labels/Semver there is a requirement that they are separate revision modules with unique revision dates.

Specifically, it contains this text:

   In addition, this document uses the following terminology:

   o  YANG module revision: An instance of a YANG module, uniquely
      identified with a revision date, with no implied ordering or
      backwards compatibility between different revisions of the same
      module.


   This document clarifies [RFC7950] and [RFC6020] to explicitly allow

   non-linear development of YANG module and submodule revisions, so

   that they MAY have multiple revisions that directly derive from the

   same parent revision.  As per [RFC7950] and [RFC6020], YANG module

   and submodule revisions continue to be uniquely identified by their

   revision date, and hence all revisions of a given module or submodule

   MUST have unique revision dates.

And for revision labels:


      Revision labels MUST be unique amongst all revisions of a

      module or submodule.

Regards,
Rob
// As an author/contributor.



From: netmod <netmod-bounces@ietf.org> On Behalf Of Andy Bierman
Sent: 01 March 2022 14:49
To: William Lupton <wlupton@broadband-forum.org>
Cc: NetMod WG <netmod@ietf.org>
Subject: Re: [netmod] iana-if-type.yang has multiple revisions with the same date



On Tue, Mar 1, 2022 at 4:54 AM William Lupton <wlupton@broadband-forum.org<mailto:wlupton@broadband-forum.org>> wrote:
All,

Sorry if (as is quite likely) this is a duplicate.

I noticed from https://yangcatalog.org/private-page/BBFYANGPageCompilation.html that there's a (long-standing?) problem in iana-if-type.yang<https://www.iana.org/assignments/yang-parameters/iana-if-type@2021-06-21.yang>: it has multiple revision statements with the same date:

  revision 2018-06-28 {
    description
      "Registered ifType 294.";
  }

  revision 2018-06-28 {
    description
      "Registered ifType 293.";
  }
This has presumably happened as a result of an automated update script that doesn't check for this case (*)? From a quick scan, I didn't see anything in RFC 7950 banning duplicate revision dates, but RFC 8407 section 4.8 says "If the module contents have changed, then the revision date of that new module version MUST be updated to a date later than that of the previous version" and of course yangdump-pro is checking this.

I think that this should be fixed. What's the best way to achieve this?

I think this issue should be resolved as well.
The YANG library identifies each module by a [name, date] tuple.
The <get-schema> operation uses this tuple to identify a specific revision to retrieve.
The import-by-revision mechanism uses this tuple to identify a specific revision to import.

If this [name, date] tuple is not unique, then it cannot be mapped to a single module revision.

Note that with multiple release trains and the new SERMVER, it is likely
that multiple [name, date, label] tuples resolve to the same [name, date] pair,
making the uniqueness problem even worse.

This is quite significant if a client reads the YANG library from a server
and decides it already has the module cached (based on the [name, date] tuple,
as defined in the standard.  Then it will not use the <get-schema> operation
to retrieve the module from the server.

YANG artifacts and SID files also rely on this [name, date] tuple uniqueness.

Even with the new versioning drafts, it is impossible for the client to know
"Do you mean the REAL module foo, version xxxx-xx-xx, or your private version?"


Thanks,
William

 Andy


(*) In the rare event that multiple changes are made in the same day, perhaps the second change should be (strictly wrongly) assigned to the following day. In theory this could cause revision dates to run far into the future but in practice I don't think this will happen :).
_______________________________________________
netmod mailing list
netmod@ietf.org<mailto:netmod@ietf.org>
https://www.ietf.org/mailman/listinfo/netmod