Re: [netmod] yang-module-versioning: revision-label scheme

Martin Björklund <mbj+ietf@4668.se> Tue, 28 April 2020 15:25 UTC

Return-Path: <mbj+ietf@4668.se>
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 1B23E3A1697 for <netmod@ietfa.amsl.com>; Tue, 28 Apr 2020 08:25:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level:
X-Spam-Status: No, score=-0.101 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=1.999, 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=srQl9Gl5; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=ZNmSqBtI
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 BceAFdLt3_iR for <netmod@ietfa.amsl.com>; Tue, 28 Apr 2020 08:25:29 -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 674843A0C7A for <netmod@ietf.org>; Tue, 28 Apr 2020 08:25:29 -0700 (PDT)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 897376DC; Tue, 28 Apr 2020 11:25:28 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 28 Apr 2020 11:25:28 -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= bY+eNIxi8uIzApxnILJ2ikCBCOAcwo0QtkKTzF/i4a4=; b=srQl9Gl5XRiVHF2+ 7UKP5Re/c8glhF0jiRtrvcJ15szG6+SIvIBgMOIKGx5TorSRB/Bg6OYdI7+3TT0b Sx+KeSvfLoa1GqOi15u5a53vG/kl1qwV5bon0iF31ppoP+YmdDcxkk4aSyWXmsBj rIQ1u4G5a/xFcTvKI3k4IgcKblqDDjBRSornRZK/3xa0I5kEszssBxlVNApd7Nyp wgbfgVXH92YR9OmZkklNdv+BejSVP9rfyPDthZwcD6TinP6+2e6QndaWYxfscTju g4PywkK1yxO6QOTCC2hR+yUylvURobckDlqd9jh6Qtzu/yy0vmeqpBRJWCwip4v0 xmA5Hg==
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=bY+eNIxi8uIzApxnILJ2ikCBCOAcwo0QtkKTzF/i4 a4=; b=ZNmSqBtIzUHvUbDKFjv8jRSjPI8IPLPozgqYPaTzvrHJxdacwufVun+6t TExaM3fg/osrdZkjSr45/iHTApfiWY8fIlBkGYEQhKTBmmhPjIqkHSUsCnA4zqBR K39sIkgXuQAM5icPk6vmFVKZLdN6N+OZDpjivs+mBSi3g6Iqt8JhrDqd7IBXkQWT hI5GiqjCLinfkeiJOgUf9RlaEkhu96P2MIOYYdGMI5wAZau200niK8FEiJrbBsdT 1b74g5MM6EOPMnoQNnNZQJzG/1HqVT6WqFtAKPZKMZAT5GZP1gSIDd4GZNSNMVOr pwkgXxWHQsZBF1zP9Zol8doZUJ7BA==
X-ME-Sender: <xms:50qoXtUcAiNKhgo9cUFfSl-0Ti4cC-zV9wY_dliuRjDFKan1rFDUGQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedriedugdekjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffkvffuhfgjfhfogggtgfesthgsre dtredtjeenucfhrhhomhepofgrrhhtihhnuceujhpnrhhklhhunhguuceomhgsjhdoihgv thhfseegieeikedrshgvqeenucffohhmrghinhepihgvthhfrdhorhhgnecukfhppeduhe ekrddujeegrdegrdeggeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehmsghjodhivghtfhesgeeiieekrdhsvg
X-ME-Proxy: <xmx:50qoXlZgejZ768b8zQwppkteQA4Fq8nOC2kTs0yGJDlExD9X3fw7nQ> <xmx:50qoXkzhNPJKLey3OptL7XrsjeAIBW0V_DzxtvrwEG9eSwswD5dxZQ> <xmx:50qoXqKNwmeGCpXSm8BFIntqxQLoBqAVocI0N51J4qOMzol-Fm-Jew> <xmx:6EqoXlt6HtpzWnmOHbfV7iENK9_Rer-u8Cc3QyaFR3ca2o78k4M13w>
Received: from localhost (unknown [158.174.4.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 3246E3065EB5; Tue, 28 Apr 2020 11:25:27 -0400 (EDT)
Date: Tue, 28 Apr 2020 17:25:25 +0200
Message-Id: <20200428.172525.1945206880513527024.id@4668.se>
To: rrahman=40cisco.com@dmarc.ietf.org
Cc: netmod@ietf.org
From: Martin Björklund <mbj+ietf@4668.se>
In-Reply-To: <6D4B643D-3264-4B00-A993-A140F5C54F30@cisco.com>
References: <6D4B643D-3264-4B00-A993-A140F5C54F30@cisco.com>
X-Mailer: Mew version 6.8 on Emacs 25.2
Mime-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/cEBiZKUSk0n7BeFwdiyaejc_Tsg>
Subject: Re: [netmod] yang-module-versioning: revision-label scheme
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, 28 Apr 2020 15:25:31 -0000

Hi,

"Reshad Rahman \(rrahman\)" <rrahman=40cisco.com@dmarc.ietf.org> wrote:
> Hi,
> 
> There was a
> discussion<https://mailarchive.ietf.org/arch/browse/netmod/?q=%22Interpreting%20revision%20labels%20as%20YANG%20semantic%20version%20numbers%22>
> on the need to have an extension which specifies which versioning
> scheme a module is using.
> 
> The authors have identified 2 options:
> 
>   1.  One extension statement with a parameter which specifies the
>   scheme being used.

Ok, I understand what this means...

>   E.g. revision-label-schema(ietf-yang-semver),
>   revision-label-schema(sdoX-yang).

... but I don't understand these examples.   I expected something
like:

    rev:revision-label-schema yang-semver;

    rev:revision-label-schema semver-2.0;

>   We’d need the parameter to be
>   registered with IANA.

An alternative could be to use identities:

    rev:revision-label-schema ysmever:yang-semver;

    rev:revision-label-schema ex:semver-2.0;


>   2.  One extension statement per
>   revision-scheme. E.g. revision-label-scheme-ietf-yang-semver,
>   revision-label-scheme-sdoX-yang.

I prefer a single statement.


> The authors have a preference for option 1, we believe it makes things
> simpler. We would like to hear from the WG if there’s any concerns,
> suggestions etc.


/martin