Re: [core] progressing ietf-core-yang-cbor and ietf-core-sid
Ivaylo Petrov <ivaylo@ackl.io> Tue, 21 January 2020 10:48 UTC
Return-Path: <ivaylo@ackl.io>
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 4E6821200FE for <core@ietfa.amsl.com>; Tue, 21 Jan 2020 02:48:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=ackl-io.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 L4889RdrCmAF for <core@ietfa.amsl.com>; Tue, 21 Jan 2020 02:48:01 -0800 (PST)
Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 105AE120091 for <core@ietf.org>; Tue, 21 Jan 2020 02:48:00 -0800 (PST)
Received: by mail-wr1-x429.google.com with SMTP id t2so2640981wrr.1 for <core@ietf.org>; Tue, 21 Jan 2020 02:48:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ackl-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qHLHuE77cUDEhC0hh4dGxD58uk5uqS13J5X4RlL5fGo=; b=uLZFfyytCU909tq86L5tyeaZQd/ZAabBQRLvuTo8mWYBR7nXNX3OmBqnzz+My2F2jG XxsspLcygqpJVLHEx9G0TVdoPTzsHQVaV8ky9aDXhPIWSnolgjpyVcoOl7s+hlDbGism rHSZXHpkWg0XNHwmJVMBYiyV2s9U9qyyQ1Taq59HJWYdI5YGK11+FoKP/Ih3RcOqukoI gj+0GxzsIwnmbFDETx9SbPSOQCdW98wWGow1NMld8tY5B6itQKTuUSwQhEFOJqAq8eN3 12Ge5IPyhgtOzPzs3srrbkVyU/7N71RvIvMs1Haegh0lyhIUDoBHIxN31pnDpd/C9s/Z xUWw==
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=qHLHuE77cUDEhC0hh4dGxD58uk5uqS13J5X4RlL5fGo=; b=C+z501k12O5vttsd3QWOPnFpSPjVN1j3wUDxrrqlI2uf7QVqUOkPFWAdUE0AnEXYL/ 7K5CJiunlhQ0O7OscAaUBGJgFhmF1ktSm5D7wYV5tEYwvwn1BXeolEMByJ4S5p+SUziT buWlv/qaCBhXBXUfAulhFcLzA94Ts/G0qC6JVNzuER9/vr+NIPhoAAgthbk/lTT3ID7D jTDhFXDL//k2ld6Epm1p3CHyCP3N1KA1IENG+9MkstVnbsMHpOlw6GrdhVuQoceqfONr QGehwpdP8fAXvkggq7H6W1KT6yU+mq44awRf9U9FCLyf6VBstWF9ME920kLllPgSGFUK 8o2A==
X-Gm-Message-State: APjAAAUOOHGVRDJaY/qzJR4zF4/3JOavGILirgllS5+6ShNePKzNWDKL CdnYgeg3rS3eG3S7dSX1yVGC/Bg+JCf5oLYHwfJEOvnHHL/x7A==
X-Google-Smtp-Source: APXvYqzDBjXpBnR2giImK8awBCqeGBPCG24lwyHZEiWSFcYIGLUXt76Wwt49pvpV/8clOcnEhFXBvLfiJnOyamlPBAE=
X-Received: by 2002:adf:fe43:: with SMTP id m3mr4696762wrs.213.1579603679149; Tue, 21 Jan 2020 02:47:59 -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> <CABCOCHRJ6-YUSn=MXGMtJT5tK3m9uR3U1K2xYd2UgW2MYkv6ig@mail.gmail.com> <CAJFkdRy8tDbYnnyr-mCer-Bip6s7pcXyGQPmo+nO8zRavSTm1w@mail.gmail.com> <CABCOCHSp6HxyNunVNyQhoScXW0Wvehrqh57Hebh7ES=DT57OBg@mail.gmail.com> <16867.1579217682@localhost>
In-Reply-To: <16867.1579217682@localhost>
From: Ivaylo Petrov <ivaylo@ackl.io>
Date: Tue, 21 Jan 2020 11:47:32 +0100
Message-ID: <CAJFkdRw5ZC1XWidad6RbZLn1U1BDGd3ahUxUSxc-aB-+33SQfw@mail.gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: Core <core@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/esC4utlV1NiydVMMgxqd6OIbYH0>
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: Tue, 21 Jan 2020 10:48:06 -0000
Hello Michael, See my answers below On Fri, Jan 17, 2020 at 12:34 AM Michael Richardson <mcr+ietf@sandelman.ca> wrote: > > > {Trying to answer several emails in this thread at once.} > > Ivaylo wrote: > >> Thank you very much for the discussion. It brings a lot of interesting > >> perspectives on the problem how to make sure SIDs are most usable for > >> people and make it difficult to make mistakes. > >> > >> I believe there are a few important points that need to be agreed upon > >> before we accept how to fix anything. Here are my assumptions: > > "Petrov's Three Laws of SID allocation": > [in the spirit of: https://en.wikipedia.org/wiki/Three_Laws_of_Robotics] > > >> 1. we don't want to waste too much SIDs while creating SID modules > > I would have preferred if you hadn't made this the first point. It was unordered list, I just wanted to be able to refer to the different points. I should have made that clear. > > > >> 2. we want SIDs to be as stable as possible > >> 3. we don't want to unpleasantly surprise people with the way SIDs > >> need to be used as compared to only using YANG modules. > > andy> YANG module development has proven to be a messy process. > andy> It is the exception, not the rule, that a module stays stable from draft-00 > andy> to RFC. > > So, again, I advocate that at WGLC, that the WG consider if they wish to > remove and/or renumber any SID values that have been allocated since WG Adoption. > (Of course, we might being doing a BIS document, so there is history before) Sounds good to me. > > I see Carsten's point about the sid-file-revision could lead to people being > attached to particular lineages. I don't think that is as likely; but I'm > not going to die on this hill. It's JSON, we could add it later if we needed > it, but it would be better to specify what it is. I am happy with an integer > that increments. I think that the SID writer should probably insert it's > name, revision, the date it ran, who ran it, the phase of the moon, and the > current cost of a .org domain, into the file if it changes anything. The cost of .org domain could indeed be useful :) While I can surely agree that we should allow name, tool version and date to be inserted, I don't think this information should be mandatory. For some YANG modules it might be fine for people to write by hand the .sid files (although I don't think this is ever a good idea). > > >> My question is what happens currently with an implementation that uses > >> a version of YANG module that has been present inside a draft, but > >> have differences with the version in the final RFC that is published > >> from the draft? > > andy> The implementor is on their own, just like now for YANG, > andy> and just like MIB modules for 30+ years. Vendors know that > andy> implementing a work-in-progress is dangerous. WGs should know > andy> that publishing an RFC with zero implementation experience for the > andy> technology in the draft is going to produce an inferior result. > > I think that you intended to identify a tussle here, but maybe it was rather subtle? > > On the one hand: work-in-progress can be dangerous to implement. > On the other hand: having no implementation feedback produces inferior > results. > > The discussion we are having here is how to enhance the stability of the spec > in order to reduce cost/risk of early implementations, while at the same time > allowing the WG to regret (and reverse) early decisions. > > I think that the flow I have suggested works: allocate at adoption time, > remove dead-wood at WGLC, and make renumbering a WGLC consideration. > > andy> Only the RFC versions of MIB or YANG modules is ever recorded by IANA. > andy> The work-in-progress versions are extracted from drafts. > andy> The YangModels github repo stores these modules. > > Andy, should sid files be included in <CODE BEGINS> then along with YANG > modules? We don't say anything about that, I think. I hadn't thought about this. I agree with that. > > -- > ] Never tell me the odds! | ipv6 mesh networks [ > ] Michael Richardson, Sandelman Software Works | IoT architect [ > ] mcr@sandelman.ca http://www.sandelman.ca/ | ruby on rails [ > > > -- > 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 -- Best regards, Ivaylo
- [core] progressing ietf-core-yang-cbor and ietf-c… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Peter van der Stok
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Rob Wilton (rwilton)
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Rob Wilton (rwilton)
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Rob Wilton (rwilton)
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Carsten Bormann
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Andy Bierman
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov
- Re: [core] progressing ietf-core-yang-cbor and ie… Michael Richardson
- Re: [core] progressing ietf-core-yang-cbor and ie… Ivaylo Petrov