Re: [netmod] draft-ietf-softwire-yang-13

Martin Bjorklund <mbj@tail-f.com> Thu, 27 December 2018 12:08 UTC

Return-Path: <mbj@tail-f.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 A8FE31292F1 for <netmod@ietfa.amsl.com>; Thu, 27 Dec 2018 04:08:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 Ljklz-mbftJI for <netmod@ietfa.amsl.com>; Thu, 27 Dec 2018 04:08:39 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 33351127133 for <netmod@ietf.org>; Thu, 27 Dec 2018 04:08:39 -0800 (PST)
Received: from localhost (h-4-215.A165.priv.bahnhof.se [158.174.4.215]) by mail.tail-f.com (Postfix) with ESMTPSA id 6FE621AE0291; Thu, 27 Dec 2018 13:08:36 +0100 (CET)
Date: Thu, 27 Dec 2018 13:08:36 +0100
Message-Id: <20181227.130836.708030498710454309.mbj@tail-f.com>
To: ietfc@btconnect.com
Cc: netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <01e801d49ba8$d6181320$4001a8c0@gateway.2wire.net>
References: <cd7412d5-3ad4-c9ff-a6f5-88348beed4dc@ericsson.com> <20181218.171018.1430858087061589506.mbj@tail-f.com> <01e801d49ba8$d6181320$4001a8c0@gateway.2wire.net>
X-Mailer: Mew version 6.7 on Emacs 25.2 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/k4MAxRY6pojtXncmMFw6HisDEtM>
Subject: Re: [netmod] draft-ietf-softwire-yang-13
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: Thu, 27 Dec 2018 12:08:41 -0000

tom petch <ietfc@btconnect.com> wrote:
> Martin
> 
> The Acknowledgements for
> draft-ietf-softwire-yang-13
> thank you for your work on this I-D (on the IESG Telechat for 10th
> January 2019) so can you tell me where my YANG is going wrong.
> 
> The module has
>   augment "/if:interfaces/if:interface" {
>     when "derived-from(if:type, 'iana-tunnel-type:aplusp')";
> and defines aplusp as a tunnel type in section 10.
> 
> A suggestion I made last October was to have a base for the three
> protocols covered here - MAP-E, MAP-T, Lw406 - and then derive three
> separate entities therefrom for the three protocols; I can see no
> derivation.  In which case, when is
> 
>     when "derived-from(if:type, 'iana-tunnel-type:aplusp')";
> 
> going to be true?

Right; either they have to define derived identities as you suggested,
or this need to change to 'derived-from-or-self'.


/martin