[netmod] More references was re: References Re: RFC 6991

tom petch <ietfc@btconnect.com> Tue, 11 January 2022 15:20 UTC

Return-Path: <ietfc@btconnect.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 1F1DD3A14CB for <netmod@ietfa.amsl.com>; Tue, 11 Jan 2022 07:20:20 -0800 (PST)
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 zp88M7nkARpu for <netmod@ietfa.amsl.com>; Tue, 11 Jan 2022 07:20:15 -0800 (PST)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2132.outbound.protection.outlook.com [40.107.21.132]) (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 417A53A14CE for <netmod@ietf.org>; Tue, 11 Jan 2022 07:20:14 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OVfTXWoIxs1Mf4Mxs4xGptPol1poDzNchBpuXf/2lY6lA8ZpSlthf/h+NV4gcAZ1IxcP8pe40n9ACl4vDrgp2lI/4Pr3J0mU5Cz6INoGzXkYoiRHPilSwbIRxdmH3Cop0PGbTufxcrf2P6uO3mva/oCtSNotBaK8HSTp/3lEVVD2a6N6C3lUZ3yR02BN7Nkdi2sus8KZyyIs9DoW5kvpVMCwRdwbz70X4eOHhKlLD5tde9SHi2jD2gvIHvhA1CjmAosYFJv9UdFFF9Bxl5N4QW9eza9HmuegjbRwvhmLD7Dlg0CkN5VjdNCFKbiGWrSV2RB4kw/HOvY+fi21rU3r1Q==
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=B2goO1/g4Oizr5yyIK1YQIkTi5FvEj69eaWpWyVl+ow=; b=JO9uX7GXsnfPek3+9jIRiMrAHBqfGucZc+ZPwrQ4zFTZbj+7QMrTm/ybaVMamo9w7ZmH3BmSRfx3dH08vxwcUT1YMuqvj3zmyV9+GiL8UeudEcwYXGGttSMLd1G2fbYQas2HscZbTAGM1ssg3STCoFF9b49KMuHKSaL7lFotgI/aMnygR5cWBgq+xDjlkcRN3SSiz97OAEXuvXh/umAC+J6V7/pk13TMLPuCd1l6LOnIlKY3hUCZ5I41P/5ift20/g/OUH9UdTwW40+l6jJcFXPUKfVp3T555VtSyPbHPRU2JsDS0Ga4HtOMYiHoBeZ74zNVmkUaDKLtHfq0l3YcQQ==
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=B2goO1/g4Oizr5yyIK1YQIkTi5FvEj69eaWpWyVl+ow=; b=lfJkLrO9jB3uXSbnLros5uPHdtzIwi7LZuy1PPGJ3sTKBOJ8/WsSJQ6m6YFW3f/leyyJKfGGOZ3F1ychSwLk26qWdWgysy1rl7nZ1uQSNa2e/UXWQ2pwSKycCHxy0j4Y8Hg1DmRsAe7SyAS5wr2JIAhovNV7QPuc7sDjomDNG/g=
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com (2603:10a6:20b:134::11) by VI1PR07MB4622.eurprd07.prod.outlook.com (2603:10a6:803:75::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.9; Tue, 11 Jan 2022 15:20:10 +0000
Received: from AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::719a:2b70:b9fd:d912]) by AM7PR07MB6248.eurprd07.prod.outlook.com ([fe80::719a:2b70:b9fd:d912%8]) with mapi id 15.20.4888.009; Tue, 11 Jan 2022 15:20:10 +0000
From: tom petch <ietfc@btconnect.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: More references was re: [netmod] References Re: RFC 6991
Thread-Index: AQHYBhuf2DuGZmpAiUSm9m+IRaEQm6xd6NUL
Date: Tue, 11 Jan 2022 15:20:10 +0000
Message-ID: <AM7PR07MB62485ABB57FF4D55FB13C160A0519@AM7PR07MB6248.eurprd07.prod.outlook.com>
References: <0A8D10A6-8C07-4795-AD03-18FD6A3FFEAD@tzi.org> <20220103212536.vbractoyqueyq4yg@anna> <CC81DD58-0283-48F5-83F5-2DA6C37F5400@tzi.org> <20220104001508.qakjeuquq3ebkyy4@anna> <AM7PR07MB624818B50C07C58CFC9893B5A0509@AM7PR07MB6248.eurprd07.prod.outlook.com>
In-Reply-To: <AM7PR07MB624818B50C07C58CFC9893B5A0509@AM7PR07MB6248.eurprd07.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
suggested_attachment_session_id: d8af3c24-0c5d-cf71-6c8b-7f9cb610d91b
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 274f16ae-4372-48e6-9a75-08d9d515dbc4
x-ms-traffictypediagnostic: VI1PR07MB4622:EE_
x-microsoft-antispam-prvs: <VI1PR07MB4622C4AE65DF3595C9EB5CA1A0519@VI1PR07MB4622.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: xFoA4PnwxHE78wsFjr0NdBxdwgQ+5r1FZxmhwIAYNBV9Y9ULbrXUk7RtQmbeHYSyfVUb+ICN/rk9IfK/NzWFuh44qbNSQJHJwO65OOV9FEu6sm1gYL0mmhPhpc5dOBOpYW2CDtutPICZp+a9RXNBTb6g56oAFNiOxfQ0IKtf/MBSysL6mshJS73KS7SWAZvg4rsYOAGO+9ZQsnQjK5f8kB4g5QbA3zZaiMq9Fdq0XuYuySJJG6TBGxzTM6QoNu2CDItj8RFLLiHrXKhj88wWCfjIuzZpNhm6Q/Qh3PYfUJdK5jOGIfBdqJrImyL0EPyohpwwbL4+r2hGWYsXqcdx4cvHkkVoxwxglF4u3x1df+Z4t85FUAfMvxdrTMm0VD+nbwFJIRViiylQEbwy/h78V5GcC6NPAdLF9KfT4TgecnRnNTmRjNb3jKw4hlKDeUjPHACnsXAXfswUInIESyvpABJluEHsXia0rvk0cwMQbjtCm6WaUYByK5AMg83fmbdbZDuGNFwCmjmHxG4Fd1FPI4Xy14emNAvAqshP0U6OC6ILhbBqj2ZlDr4lUf4b+920nTkj0rKu/v4G56FY3j8MlkSRT+vqCt2aSUVkuQspdp3tu4/yUx/2lpHelS9a9oc3Haizsk8h3qnj5VvXOG2bYcfd2w5H7RGpFirjQ6YBmdwsqD5MwIaJ7qi6iSvbznxT1LQddoXxfTZA/tbdvtbonuLkKBzQW2QZWFGv1PPNcN1XNnEtiv8NF5IorIkC8cIB8A3J0h1HADIOzYSjq0eXpJ/Ib25kyLaH5QW+e89v9iadBMytmxQFhwr5ded0ZMxuJ9+InVS0443fBjpmCF3tl72xc4X9z1iDOMCinA1IpHGd2lOQCbhi7g+FB2zStS2Q
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB6248.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(82960400001)(66574015)(316002)(86362001)(966005)(76116006)(91956017)(38070700005)(71200400001)(55016003)(38100700002)(122000001)(508600001)(6916009)(2906002)(33656002)(5660300002)(186003)(7696005)(40140700001)(6506007)(53546011)(66946007)(66476007)(4326008)(9686003)(66556008)(64756008)(66446008)(8676002)(8936002)(16799955002)(52536014)(83380400001)(26005)(20210929001); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: PvzVMQqI6fJdiqHXQSHH+rj2mDsJO5YeYcn2c+Hja54lkdqKhE//SXtuYtQWvP/HNWCiVc+r0bLuDZTefSnWFmsZczpZzwRZAMQ3tRAOrmQEvqroZYrwm1EEKdO/fw5EA1bTy413CMHkyjDbMNm0o+r1lvNFbIdYRfJAvtJII11/w9HyCMYnHf7DQRwenFj99SDJzAIAW/HQLvNeVga4UmlAOlsqpN7L1XthVhousUvvjn8q8ldBfkCDxQfwbqCMo0aRIXBGeNMhDcY5OiMa/1G6M9HV9O0TEVnwk6XkB63ah55vRW3qWK+5iftGjB7TkB0BK/w+QZL+CxfgaLLi9p8FYAHtHExvIoiJT9Jzj6JZw2iEBY15PwOKKc5dCmHocAwyObMj8RklUXeRqnWXI/K28rS9bODKxNEEflPYwG2S5XE2ltjcoqqYVD4GSshpTYzDioTiLjKdNgb5liKyn+BOk6Vyzf+rw8RXewO8Vq5hwbZL8Zg3xS8rK6H1b+bIidWeD1sm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pAAak/gpEGnIlGQtffr5/NwC2QUs3kH3DuQ==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AM7PR07MB6248.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 274f16ae-4372-48e6-9a75-08d9d515dbc4
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jan 2022 15:20:10.1667 (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: Yj6Lx77O+a1WJ/Oqjp1W7bQOGE361ly9kZF8Btlm+lqJLMRAIf0vEkP07NNYDG7IO91ipyZtYlT3VAnopaVOnw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB4622
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/kF4MyA4sWlN-_LdiqEkbN7JH2So>
Subject: [netmod] More references was re: References Re: RFC 6991
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: Tue, 11 Jan 2022 15:20:20 -0000

In reviewing YANG modules recently I have kept an eye on the typedef defined therein to see if any seem worthy of more general use by including them in rfc6991-bis.  There are plenty of them but none of the ones I menton below stand out as obvious candidates for inclusion.

dhc-dhcpv6-yang has a more sophisticated variant of duid than RFC6991

interface-ref is quite widely used, with a definition in RFC8343

vlan-id has generated some discussion and what I now expect to see is an import from the IEEE dot1q-types as in detnet-yang.  It might be useful to point users to ther IEEE module but that may be one for a RFC8284-bis

Likewise there are several flavours of  node identifiers arising out of the work in TEAS and CCAMP as in the modules teas-te and teas-types but again, more for a 8294-bis

vtnid and vpnid I see cropping up but ditto.

detnet-yang has several but they seem parochial apart from such as MPLS operations; ditto again

'area' as in LSR protocols would seem a candidate but the format is different for the two protocols so it would probably be a mistake to have a 'common' definition since there isn't one!

the I2NSF I-D have several typedef and they tend to relate to the upper layers and so are closer to RFC6991.
i2nsf-consumer-facing -interface has its own flavour of time
i2nsf-nsf-facing-dm defines day, month and time
i2nsf-nsf-monitoring has login role, severity, log-action

admin-status occurs in more than one place.

Tom Petch

From: netmod <netmod-bounces@ietf.org> on behalf of tom petch <ietfc@btconnect.com>
Sent: 10 January 2022 12:14
Subject: [netmod] References Re:   RFC 6991

From: netmod <netmod-bounces@ietf.org> on behalf of Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de>
Sent: 04 January 2022 00:15
Subject: Re: [netmod]  RFC 6991 and ২০২২-০১-০৩T২১:৪০:০০

Jürgen

Looking at the references in rfc6991-bis I see two that might be updated

-RFC793 is being obsoleted by 793bis and is with the IESG and so not likely to cause a delay

-IEEE 802 is now 802-2014

while RFC7950 changed the rules for an identifier from those in RFC6020.

Tom Petch









On Tue, Jan 04, 2022 at 12:03:17AM +0100, Carsten Bormann wrote:
> Hi Jürgen,
>
> On 2022-01-03, at 22:25, Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de> wrote:
> >
> > On Mon, Jan 03, 2022 at 10:05:15PM +0100, Carsten Bormann wrote:
> >> Does my little example of the approximate current time (২০২২-০১-০৩T২১:৪০:০০) match RFC 6991 date-and-time?
> >>
> >> I think it does, but I’m also pretty sure that wasn’t intended.
> >> There are a few more cases of \d in RFC 6991, where the equivalent definitely wouldn’t work.
> >>
> >
> > The example may pass the pattern but it likely does not statisfy the
> > additional requirements spelled out in the description statement.
>
> I understand that, but there are two observations:
>
> (1) as noted, the pattern is too permissive (unnecessarily so, as \d can simply be replaced with [0-9] to match Section 5.6 of RFC 3339).

There are always discussions about how strict pattern should be. If
you look at draft-ietf-netmod-rfc6991-bis-08, you will see that
changes were already proposed to tighten the pattern to exclude some
invalid numbers - at the expense of readability, the usual trade-off.

That said, perhaps it is a good idea to replace the remaining uses of
\d in ietf-yang-types where we really mean [0-9] to clearly exclude
any other characters representing digits.

> (2) but you cannot ignore the pattern, as it also is more restrictive than the description indicates (it requires capital T and, if present, capital Z — see the note in Section 5.6 on how such a restriction of the case-insensitive RFC 3339 format is allowed, but then the assertion "The profile is defined by the date-time production in Section 5.6 of RFC 3339.” in the YANG description statement is, err, not the whole story).

Yes, both, the pattern statement(s) and the description statement are
relevant. I have no direct access to ISO 8601 so I can't check what it
actually says about t and z. Wikipedia gives this little bit of
information:

  In ISO 8601:2004 it was permitted to omit the "T" character by
  mutual agreement as in "200704051430", but this provision was
  removed in ISO 8601-1:2019. Separating date and time parts with
  other characters such as space is not allowed in ISO 8601, but
  allowed in its profile RFC 3339.

  [https://en.wikipedia.org/w/index.php?title=ISO_8601&oldid=1062916554]

If we would have allowed t and z for YANG's date-and-time, then we may
have created another incompatibility with the XSD dateTime definition,
which I think only allows T and Z. Given that we are in 2022, it may
be reasonably safe to assume that systems can create or process the
two capital letters T and Z. ;-)

/js

--
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>

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