Re: [core] progressing ietf-core-yang-cbor and ietf-core-sid

Andy Bierman <andy@yumaworks.com> Thu, 16 January 2020 00:54 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A89B120807 for <core@ietfa.amsl.com>; Wed, 15 Jan 2020 16:54:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 SmHfwWH3IiFu for <core@ietfa.amsl.com>; Wed, 15 Jan 2020 16:54:05 -0800 (PST)
Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 915AA1207FB for <core@ietf.org>; Wed, 15 Jan 2020 16:54:04 -0800 (PST)
Received: by mail-lj1-x236.google.com with SMTP id y6so20699379lji.0 for <core@ietf.org>; Wed, 15 Jan 2020 16:54:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=u7EGxUcmwNCN+7s3zNJR29IHFpL8TNCtepLn+Rgg31Q=; b=g0Hrims27/xsbtzm/obYZxklyMfECpOjj7BOcMOs46y/gykI/+GHJxIt+3rGSykXQK akmj349G17IE2Z+mRt+FrDKfvU4wf1KXyNTGxz7uA7okqunBEMHJjmrzPOnTWguZB3Fj 8xOafJnzUt/OAhNN1qqZqj0LL6MUxARbHaiDTPe36rDvBF7t/EzdMte7Qu3fNe1fYN6+ 87pSuyrgqW/tpKNByHbie915IYu/zGTewXiSnzmFERP++iSfMoVxwHKBK0B0868Ti4MI /ZDa0AKkkcJiZjCYOE9Ya61Jjga4ALjklCmV50PM2P/hxoRA/rD4TG+1J1tym3c9AvZf L7rQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=u7EGxUcmwNCN+7s3zNJR29IHFpL8TNCtepLn+Rgg31Q=; b=ZaLCfYR0d3jMve1VQoO40tnlkEtZlDLgDZkaay9sTLefcHEGzZtKoI0GI3zARzKNIN kxZ1+08AKfaD19Jv5oBiLesa9jgzLbSNP+COZb9J7ap4NYtC/nbO55EJqDLBzMO/oydc cr+ltj3JsRjyyFGG6gzYqVOLxDmL3nqRXGCavAhvcuN8FmXoOOWemFyzMRJSpWIq9Lgs Q6fYoNcgNeB3LZF4lWTJlaBCDg6QbagIFSiGv4ITDwep6RID7oTWgRQhY5V+Rdp0UJ+D QmhbCi6nE1uNagFZzr56ZN5K4S790CpJNmbKV6LhojQWvTIP6D+X7Nv/lWf0KFS3sSah x3zw==
X-Gm-Message-State: APjAAAUy+KGjoDfLLAb+R42e4sr/ezNyOmDiQG7wiYOwCF8PY4h66Jty DwatwZObDMCKJcLF1L+zxHR8s9FLSwC28fFeLB992A==
X-Google-Smtp-Source: APXvYqzbsvoAveKGbEvIXGvahW25WUScJLPDhOIIDfBmsmmsjifltTNyIDX/vpcaZx8PlNgxCw60Cf8U4s/3nV9du5o=
X-Received: by 2002:a2e:9143:: with SMTP id q3mr602748ljg.199.1579136042815; Wed, 15 Jan 2020 16:54:02 -0800 (PST)
MIME-Version: 1.0
References: <29380.1565102380@localhost> <BL0PR06MB50428065032ECC2AB3345F619AD70@BL0PR06MB5042.namprd06.prod.outlook.com> <7505.1565633977@localhost> <BL0PR06MB50424C618A704460E4A8F8D99AA90@BL0PR06MB5042.namprd06.prod.outlook.com> <18990.1577231446@localhost> <CAJFkdRyWOfCb4U09rEJ-ZMR3GUuk-rmQ+f3Fs164Mxs8qkeVuw@mail.gmail.com> <22612.1578626081@localhost> <CAJFkdRztFUxdGcdvtTgB=9c-e_BwDAgLTmVPJ+OB8-dgs1sGog@mail.gmail.com> <15754.1578789013@localhost> <CAJFkdRy_3pC37ZxzhTmzqRgWjwDvEFTuhu5Z8+_ktaJgoeOGfg@mail.gmail.com> <6025.1578939111@localhost> <F67A7C80-0955-4836-9B84-66CB52AB6FD9@tzi.org> <26398.1579112884@localhost> <0805B57C-3DCB-4601-976C-2D51CE812312@tzi.org> <14603.1579125396@localhost> <CFF6555D-85EF-42CB-B773-17116F9CC554@tzi.org> <18568.1579133839@localhost>
In-Reply-To: <18568.1579133839@localhost>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 15 Jan 2020 16:53:51 -0800
Message-ID: <CABCOCHRJ6-YUSn=MXGMtJT5tK3m9uR3U1K2xYd2UgW2MYkv6ig@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: Carsten Bormann <cabo@tzi.org>, Core <core@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000e263a5059c3742cf"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/hNvxeRdW_9Yz4eYpTuBQ_LSjevc>
Subject: Re: [core] progressing ietf-core-yang-cbor and ietf-core-sid
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jan 2020 00:54:07 -0000

On Wed, Jan 15, 2020 at 4:17 PM Michael Richardson <mcr+ietf@sandelman.ca>
wrote:

>
> Carsten Bormann <cabo@tzi.org> wrote:
>     >> Yes, if we evolved the design during WG processing, then we could
> well
>     >> have dead SIDs.  We could, at WGLC or IESG approval, edit the SID
> file
>     >> and mark them as useable again.  (If there were no running code, we
>     >> could reset the SID file entirely at that point) The SID file
>     >> maintains the memory of the dead values for only as long as we want
> it
>     >> to.
>
>     > This paragraph is exactly reflecting my nightmares about this.  We
>     > could do a lot of things, if we wanted to.  What are our unambiguous,
>     > not-to-be-missed instructions that make this fool-proof?
>
> We will screw up, but the fools are often brilliant in their ability to get
> around fool-proofing :-)
>
>     > I would expect that we get rid of dead SIDs about as often as we
> revoke
>     > TCP port number assignments, i.e., essentially never.  But this
>     > requires getting around the cognitive dissonance of just having
>     > “wasted” a SID value (*): With very strongly worded instructions, I’d
>     > assume.
>
>     > Grüße, Carsten
>
>     > (*) (Note that there are way more SIDs than there are TCP ports.)
>
> The time when we are most likely to create dead SID values is during the
> development of running code between WG Adoption and WGLC.
> I think it is reasonable thing to decide, with some communication among
> implementers to reset/re-allocate.
>
> Revisions to the YANG which deprecate leafs and therefore create deprecated
> SID values are different: deployed code might still be using them.
> (If we are revising published YANG, then certainly can never reset the SID
> process!)
>


IMO there should be no concept of conformance status for a SID file.
It would be unwise to recover SIDs of obsolete YANG definitions.
It is safer to just burn the wasted range and keep range assignments small.

Do SID files need to be identified by a 3-tuple {module-name,
module-revision, sid-file-revision }

   foo@2020-01-15.1  -> { foo, 2020-01-15, 1 }

If the sid-file-revision is missing then it defaults to '1'.
Hopefully SID files will be correct and updated revisions will not be
needed.

I think a robust CORECONF client needs to know the 3-tuples of all the SID
files used by a server.
It is not enough just to know module@revision-date.  We want to be able to
rely on centralized (common) SID files and not have to retrieve each one
from each server (because they doctored the real SID file or replaced it
with their own).


Andy




> --
> Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
>  -= IPv6 IoT consulting =-
> _______________________________________________
> core mailing list
> core@ietf.org
> https://www.ietf.org/mailman/listinfo/core
>