[yang-doctors] Changing entries in IANA registries that modify enumerations (rfc5575bis)

"Rob Wilton (rwilton)" <rwilton@cisco.com> Fri, 15 May 2020 10:44 UTC

Return-Path: <rwilton@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EDA673A08D1 for <yang-doctors@ietfa.amsl.com>; Fri, 15 May 2020 03:44:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level:
X-Spam-Status: No, score=-9.598 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, 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=U7G/Hf3X; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=BK7d5m+W
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 o5xjhY_TqvPa for <yang-doctors@ietfa.amsl.com>; Fri, 15 May 2020 03:44:53 -0700 (PDT)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BEA4F3A08C9 for <yang-doctors@ietf.org>; Fri, 15 May 2020 03:44:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2521; q=dns/txt; s=iport; t=1589539493; x=1590749093; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=AAXlvw+2R3c5/ZRRWgLel8SZhRGQ70UJCGfB1imZt5E=; b=U7G/Hf3XAbHG8gqzb/4E/6aKiWWgV50gZtfT2saT9PTRDAPR5JpL14UA 2I/acWX1HBfDD3yijnUQ2FzoLIe7OCnA07lUxq+QtL0KEH8BDATgGgiaO sx4QKlHAj+keswrH1emAZnEJUg2lesZIvLrCsHIixkxjZOCuODLX5PpiB w=;
IronPort-PHdr: 9a23:0bNxRxG4P7vSVIVIiK4foJ1GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e401QWbXIjH5bRDkeWF+6zjWGlV55GHvThCdZFXTBYKhI0QmBBoG8+KD0D3bZuIJyw3FchPThlpqne8N0UGGcviaRvVuHLhpTIXEw/0YAxyIOm9E4XOjsOxgua1/ZCbYwhBiDenJ71oKxDjpgTKvc5Qioxneas=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CBCQBJcr5e/5hdJa1mgQmDG1EHb1gvLAqHYQOle4JSA1QLAQEBDAEBJQgCBAEBhEQCghYkOBMCAwEBCwEBBQEBAQIBBQRthVYMhXMBAxMoBgEBNwEEDQE+QiYBBA4NGoMFgksDDiABAwumGgKBOYhhdIE0gwEBAQWFNBiCDgMGgTiCY4lfGoFBP4ERQ4IfhTyDRYItkR+hbAqCTgSYW4JdmnOSF5tvAgQCBAUCDgEBBYFpIimBLXAVgyRQGA2QURKDT4UUhUJ0AjUCBggBAQMJfI0nAYEPAQE
X-IronPort-AV: E=Sophos;i="5.73,395,1583193600"; d="scan'208";a="495524864"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 15 May 2020 10:44:50 +0000
Received: from XCH-ALN-003.cisco.com (xch-aln-003.cisco.com [173.36.7.13]) by rcdn-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id 04FAiosq016025 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 15 May 2020 10:44:50 GMT
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by XCH-ALN-003.cisco.com (173.36.7.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 15 May 2020 05:44:50 -0500
Received: from xhs-rtp-002.cisco.com (64.101.210.229) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 15 May 2020 06:44:49 -0400
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (64.101.32.56) by xhs-rtp-002.cisco.com (64.101.210.229) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Fri, 15 May 2020 06:44:49 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hLMeIjXufOLAUlUxcqRz7AxTKBCYZx3il0sOTQSkiOfuOzGWTp6eMF8AmnVN81qAzQ6dNn64Nui/Ys6eJjlxK3pYWEtkUqrv/e+j/0veZV2xrGSEMnf31OdXrpA8phQQDYELvPM+E04KdXPmhPX5iMcp/Rh106/KKqikLTY7uZwVMoYqWZYR4EOO5C6Ae4oyS10fWmdt9/szkDTZ1TYaFJsn1U3UrSKdQsFvfF8YSBh6cDx3FQ7vKu9HjJrSM27nxmtxwHor6nU92XYTgEX2uQbTF2jAbrMhR1QDY8FcuW05fe3Tco9X+5kh83J5r43cT7rZex7U1SQJ500h9wWyig==
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=ZMheFOacLuRNwup1L9aepnGEOVUw9ByrGsiwYP9QhG8=; b=iZxzYp0JG2YoPHyDWuoUG2vbj3nj7j9q21E6GEk/Pp33ANprfP2qLZv6g4VoQ9zmLbvyjB1BxU9R7T7lT57xOFrdBrNoRGC2nyhB4CR2RtCwRoAA21O51egAu3g5aLw2lj6nqZWruqOBgId4BAVBHXNfxT3qOd4RG5YIC1eRuJ2zytej1iiESFu6vh4R1UemdvzLaFC61s3RW6ooMkUUeew3IoHmvdpbD6lOaByS/dCdcN1vB8FUDX9ZoEJZUoIcqoaHsQQfbbZ6PnjSzKH0EcsH0zlyTf8Hza+g4tqebE2LGRhUVFCu5M4dCF6e+AYO2SzJfd6ImBe5i5A8cAF56Q==
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=ZMheFOacLuRNwup1L9aepnGEOVUw9ByrGsiwYP9QhG8=; b=BK7d5m+W57eJFXe0BSdXvkChBBW0hExzY+A3V0VoKasaQ0J0kKQUysbKy8XSlsl9LJSUaOUIaJ0dKJI9IwYyvvEfri7mMiJODOPCxshXMGrFTQ/4jxULlaiijqwITH7yAZ6NFIrPA6rl5qeFHJV1Lyi8dkVUlbSstzEV2490Ur0=
Received: from MN2PR11MB4366.namprd11.prod.outlook.com (2603:10b6:208:190::17) by MN2PR11MB3999.namprd11.prod.outlook.com (2603:10b6:208:154::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.24; Fri, 15 May 2020 10:44:48 +0000
Received: from MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::3:2164:a8e2:33b3]) by MN2PR11MB4366.namprd11.prod.outlook.com ([fe80::3:2164:a8e2:33b3%5]) with mapi id 15.20.2979.033; Fri, 15 May 2020 10:44:47 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: YANG Doctors <yang-doctors@ietf.org>
CC: Alvaro Retana <aretana.ietf@gmail.com>
Thread-Topic: Changing entries in IANA registries that modify enumerations (rfc5575bis)
Thread-Index: AdYqpZrpTILcGQ1rTVmgfiOgjbxoEw==
Date: Fri, 15 May 2020 10:44:47 +0000
Message-ID: <MN2PR11MB43667D407C3F4020D4FAAB77B5BD0@MN2PR11MB4366.namprd11.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=cisco.com;
x-originating-ip: [82.15.79.32]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e6e1fe58-4dbe-4707-52e8-08d7f8bcfd0b
x-ms-traffictypediagnostic: MN2PR11MB3999:
x-microsoft-antispam-prvs: <MN2PR11MB3999483E0A73A6B8616DED6DB5BD0@MN2PR11MB3999.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 04041A2886
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Lvmz+wO5zfBLLZasksW6nWQbFYgIvCyj4Y7s6iSNfzJ3luBnbesxnd8scNlRZTjpTC/dQlYitTCJIsSqnYwbxNrEsyRw61us9IFPhIMM2/xRM/te53zGQnKVlAPPsWhEGIeXEF4hSaSCXpw3/EU1cLjAe11UVjnYaHg5nuvZgIBVUQQ+MpFd6Ouz1EF+7BGGAs2ez2ewo7pZ1/mRcTuvxTT7bn1ZfMWxgwd/ElirauMi5AQT1esLJLv0eAqjjazgu8dQMuoz7WY532Yoag4Oth6zqdFOz+gZLrsfu7+woIv3uX2dHulllObcfpxmuBCumlZct5zloJ9CiBp3/kXpe+uEDkSYn2Z9WQ6ygyksbRh4a4NE30inbVXZF1w/8FeS/X57E48XQfbC6w2REB6PQ4WEe4PnxRvO1KKylulfuHPaiEr5zf6Au86IRv2KunX+aHqxgkMx3AZTHFS67UrWoHw9HEsx1yVfPZ0u6fg4FlMDrQ3O2U37j/fd3sdIOhL3VXAi3VWzwEclUg/DvGIr1w==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4366.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(136003)(366004)(376002)(396003)(346002)(2906002)(6916009)(71200400001)(4326008)(5660300002)(316002)(8936002)(8676002)(66446008)(6506007)(76116006)(33656002)(7696005)(26005)(55016002)(86362001)(64756008)(478600001)(66476007)(186003)(66946007)(66556008)(9686003)(52536014); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: KjricIBrBkV9+TElpqMFjrxsNwucvJTP3LHmHfxm9aj8yMOr7xO/oi8tisbP9XXXKVr7Vuch9zdIYn6rR9WEjAlgwz6LgHHICPBwnu51Lsfi0Fl5PNUyAznf0Dk4J4bl1pnCv28iFVKFjXD1CH5Y8xnhpRcv847dcGY3Cruy9QVYvkfff32vlxN3oKB6puUgwzr3L+VklzFYm4eD9//019HrHQ65YvjD9MizsftVTpTBeIx9mfcYwcqlWNuIqSQ8igyMYphPmiKx88w72Eot/IYMgPtUiufoe2tqbnEL24ISjhFWVhGLdYP1FjpLIYvAYBXLwf0SixHkGxm4cM5thsVL5rqFnPBBbMWlK8tkiK2hntd70IvyLKlovugAXXaYIxDUaRT00/tt3QUBuer8okwimeVLMozIirB2D9SEi1tqRbeqaV1YUoq8rtMATCCXYTT49/+0Q8W1i23yPzvXI/y5x6yI0mPBu0uYT20De7w=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: e6e1fe58-4dbe-4707-52e8-08d7f8bcfd0b
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2020 10:44:47.4725 (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: tlIyZ+Ofhg8xKhCvtTr9mMrFFZIoFLGLY9z3e3Wyke0YwANK2Rwe1SZGIJHJda07BOI00Wg/9Iw2a+GnmhOqLg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3999
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.13, xch-aln-003.cisco.com
X-Outbound-Node: rcdn-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/Ld8Y1KGWnawWXSx4YxRTEKdhp-w>
Subject: [yang-doctors] Changing entries in IANA registries that modify enumerations (rfc5575bis)
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 May 2020 10:44:58 -0000

Hi,

draft-ietf-idr-rfc5575bis.txt is changing the IANA definitions of two SAFIs:

> rfc5575bis is only generalizing the description of the SAFIs:
> 
> OLD>
> 133   IPv4 dissemination of flow specification rules
> 134 	VPNv4 dissemination of flow specification rules
> 
> NEW>
> 133   Dissemination of Flow Specification rules
> 134   L3VPN Dissemination of Flow Specification rules

I.e. they were originally defined as being IPv4 specific but are been generalized to cover IPv6 as well (which I understand is how they are already used/deployed).


However, there is also an IANA YANG model defined using these entries (https://www.iana.org/assignments/iana-routing-types/iana-routing-types.xhtml), from RFC 8924.

Currently in iana-routing-types@2020-05-12.yang, they are defined as:

      enum ipv4-flow-spec-safi {
        value 133;
        description
          "IPv4 Flow Specification SAFI.";
      }

      enum vpnv4-flow-spec-safi {
        value 134;
        description
          "IPv4 VPN Flow Specification SAFI.";
      }


The proposal was to update these descriptions (which seems to do no harm):

>       enum ipv4-flow-spec-safi {
>              value 133;
>              description
>                "Dissemination of Flow Specification rules SAFI.";
>            }
>       enum vpnv4-flow-spec-safi {
>              value 134;
>              description
>                "L3VPN Dissemination of Flow Specification rules SAFI";
>            }


But that leaves the enumerations with dubious names, and ideally the names would be fixed as well, e.g. to something like:

>       enum ip-flow-spec-safi {
>              value 133;
>              description
>                "Dissemination of Flow Specification rules SAFI.";
>            }
>       enum vpn-flow-spec-safi {
>              value 134;
>              description
>                "L3VPN Dissemination of Flow Specification rules SAFI";
>            }

Clearly this is a violation of the RFC 7950 YANG update rules.

The "deprecate the old and add a new entry" approach doesn't seem to work (given that the enum value is bound to the IANA SAFI defined value).

However, it still feels to me that the right thing here is to allow the non-backwards-compatible change to fix the enumeration names (with an appropriate warning in the revision history).

I would appreciate hearing the input/views of the YANG doctors on this.

Regards,
Rob