Re: [yang-doctors] [IANA #1170915] Protocol Action: 'Dissemination of Flow Specification Rules' to Proposed Standard (draft-ietf-idr-rfc5575bis-25.txt)

Martin Björklund <mbj+ietf@4668.se> Sun, 24 May 2020 08:34 UTC

Return-Path: <mbj+ietf@4668.se>
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 C85153A05A4 for <yang-doctors@ietfa.amsl.com>; Sun, 24 May 2020 01:34:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.098
X-Spam-Level:
X-Spam-Status: No, score=-0.098 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, PDS_NAKED_TO_NUMERO=2, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=4668.se header.b=m7VCynqA; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=LpAvG/AC
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 da8rZ-he4IYH for <yang-doctors@ietfa.amsl.com>; Sun, 24 May 2020 01:34:48 -0700 (PDT)
Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6DAD43A053E for <yang-doctors@ietf.org>; Sun, 24 May 2020 01:34:48 -0700 (PDT)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 46B06B85; Sun, 24 May 2020 04:34:47 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 24 May 2020 04:34:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=4668.se; h=date :message-id:to:cc:subject:from:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=fm1; bh= o3KJTVvr8OvsjYxCEYsHATmQ13qVj7ZiZK7zZpN7XWk=; b=m7VCynqAzCqqG1aU wJJ9i58GG6F3VMHiADZZcfkYQNYFnsdOc4CiaWWlatryECa8NRzLJ8v0VyaB/V6T 2xR4+Y8xI7DBuIJIWDEodW9UaN3C+cVtGciVB34ywm9iBA+NukBi7ImrxEYKcIMr NXh7MVQDNuDIpjqJaCwjv3eKqzsHcI982tgXD4TYgahSue6xN0edV4dRrtLAY66H X2wE9U8c/XoXBtvZ0DMpmRYOzqahnUNk0VpKAMclN6SJbSVucojcO3T1L3fUXIde ogQLnCyapaN3qftpnsUNDpWtf7WK8WHx3hD5ZzfC8faiTYrG05ZgbCtVn4mOczEj rATVBg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=o3KJTVvr8OvsjYxCEYsHATmQ13qVj7ZiZK7zZpN7X Wk=; b=LpAvG/ACwPwaCMMKh0OOpjP6CCvLh9xOyty9IWw5W1zMcWEROR5GgKdte pef3arXPsdK/9DM37U/lklbHe1Kt29uXvgxcOYppKsjfYteP7EqYgAdnz5V5Dbdj lyvdOpjjWEnz5JVhHnOf6MRy43rNaOPnqetWMgwW7l/pfcd8YzcdG95R1YML9reg CQTaH+Wq+zccK3ihQWOWSLHEkeXwAZ1axMoHdehutiejdaz5T0rPzVBj47J1nJwX XMGwGcy5xpoWNLtsL0UtCjQkXLZyS2AZZE+KzMGG5wr/I8BNrCEy537nJGbRtr1r gAH8+VZONUxD32i22ncCQPxZfjKuA==
X-ME-Sender: <xms:pjHKXsRFmM0UJkExhXZ7FpTiKWpRcYOOvfFEPeCvQwqzpHQur_6VTw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddukedgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffkffvuffhjghfofggtgfgsehtje ertdertddvnecuhfhrohhmpeforghrthhinhcuuehjnphrkhhluhhnugcuoehmsghjodhi vghtfhesgeeiieekrdhsvgeqnecuggftrfgrthhtvghrnheptdeggfdtuddujeekleevvd eivdevheeigeeffeetfefgfeefkeehffdvfeevfffgnecukfhppeduheekrddujeegrdeg rdeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hmsghjodhivghtfhesgeeiieekrdhsvg
X-ME-Proxy: <xmx:pjHKXpzoKenJ_VelgGkwl0HooCGjvZT6COZGNvPZF4ry79mwAwbQ4g> <xmx:pjHKXp2KBJ1rs2RfL4V5qVGbIU0GsjO0S7rxTDBBwHqsUWEJj95m6Q> <xmx:pjHKXgB_FyP7Iw88rSni1CT0RoSBklefe80BeVtlxgm6yogyhU_iQw> <xmx:pjHKXvcSMAjfgutAiYdZC7Q5bn0cnMPyMNW-zD-nATGZ1pknDVKexQ>
Received: from localhost (unknown [158.174.4.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 00341328005A; Sun, 24 May 2020 04:34:45 -0400 (EDT)
Date: Sun, 24 May 2020 10:34:44 +0200
Message-Id: <20200524.103444.1818621484868163357.id@4668.se>
To: drafts-approval@iana.org
Cc: yang-doctors@ietf.org, aretana.ietf@gmail.com
From: Martin Björklund <mbj+ietf@4668.se>
In-Reply-To: <rt-4.4.3-16486-1590087674-360.1170915-37-0@icann.org>
References: <RT-Ticket-1170915@icann.org> <159006894359.20717.6039514457903492928@ietfa.amsl.com> <rt-4.4.3-16486-1590087674-360.1170915-37-0@icann.org>
X-Mailer: Mew version 6.8 on Emacs 25.2
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/ekp6jKN5cG4zQESaMXecIRRpI5w>
Subject: Re: [yang-doctors] [IANA #1170915] Protocol Action: 'Dissemination of Flow Specification Rules' to Proposed Standard (draft-ietf-idr-rfc5575bis-25.txt)
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: Sun, 24 May 2020 08:34:50 -0000

Hi,

"Amanda Baber via RT" <drafts-approval@iana.org> wrote:
> Hi Alvaro, Rob, YANG Doctors:
> 
> We have a question about updating IANA-maintained YANG modules.
> 
> Newly-approved document draft-ietf-idr-rfc5575bis is making changes to
> an IANA-maintained YANG module. We understand that when we update the
> module, we need to include a reference to this document in the
> revision statement.
> 
> Our normal workflow is to make registry updates with the I-D listed as
> the reference immediately after the IESG approves the document, then
> update those references after the RFC Editor assigns an RFC
> number. Can we update the reference in a revision statement without
> adding an additional revision statement?

Before discussing the question, it seems to me that you would run into
this problem for all new enums, if you follow the procedure above;

  1.  A draft that defines a new entry in "Subsequent Address Family
      Identifiers (SAFI) Parameters" is approved.

  2.  You update the registry with a reference to the approved draft.

  3.  You add a new enum to the YANG module, following the process
      defined in section 5.1 of RFC 8294.  Note that this section
      says that the enum will have a "reference" statement that
      replicates the reference in the registry.  So in this case, the
      reference would be a reference to the draft.

      You add a new revision statement to the YANG module.

  4.  The RFC is published, and you update the reference in the
      registry, and in the YANG module.


In step 4, you have the same (or at least similar) problem as you
describe above; a "reference" statement in the module is updated.

(An observation is that despite the fact that RFC 8294 mandates that
the "reference" statetment is used in the YANG modules, the initial
versions of these YANG modules, defined in the same RFC (8294), don't
include the reference statements!)

I can think of three possible ways to handle this situation:

  1.  When the RFC is published, simply update the reference statement
      in place, w/o any other changes.

  2.  When the RFC is published, update the reference statement in the
      enum, and add a new revision statement to the module.  (this
      means that a set of new enums from a doc results in two new
      revision statements).

  3.  Do not update the YANG module until the RFC is published.

(1) is a violation of YANG rules.  (2) and (3) would both be fine from
a YANG perspective.


Now, back to the original question.  It is an interesting special
case where you want to update the reference statement in a revision
statement.  RFC 7950 allows changes to "reference" statements, but it
requires a new revision statement, so it would look like:

  first:

    revision 2020-04-01 {
      description
        "Non-backwards-compatible change of SAFI names";
      reference
        "draft-ietf-...";
    }

  then:

    revision 2020-07-01 {
      description
        "Updated reference to RFC 7907.";
    }

    revision 2020-04-01 {
      description
        "Non-backwards-compatible change of SAFI names";
      reference
        "RFC 7907";
    }


This looks a bit weird, but is probably ok.

If you chose solution (3) above, the problem would obviously not
arise.

It would be good to hear other people's opinion.



/martin