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

tom petch <ietfc@btconnect.com> Thu, 27 December 2018 15:06 UTC

Return-Path: <ietfc@btconnect.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 B212F12426A for <netmod@ietfa.amsl.com>; Thu, 27 Dec 2018 07:06:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.196
X-Spam-Level: ***
X-Spam-Status: No, score=3.196 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RATWARE_MS_HASH=2.148, RATWARE_OUTLOOK_NONAME=2.95, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=btconnect.onmicrosoft.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 Fh5mmCKgIzO7 for <netmod@ietfa.amsl.com>; Thu, 27 Dec 2018 07:06:12 -0800 (PST)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30125.outbound.protection.outlook.com [40.107.3.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 845EF12D84D for <netmod@ietf.org>; Thu, 27 Dec 2018 07:06:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector1-btconnect-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VEYE8+WqNEzbdbW09u8l0PER1cxJEPob6Hu4JNvoAgk=; b=fwGztloXzkx4Mnii6rC+1ZilMWHl0ncLOgQqrcuf0hAqhVZavWx4buUMgKvSdO9hMC5tvpoqWEth0n/XvMKq647b1dKyJnEkelsBlcQ7bT/bQLfne0IeFbSPQGiwlG4Sjqynmj5FBi3+MIiXnc7RBZY3YrwjqVcPaOBkVVQgCnk=
Received: from AM0PR07MB5506.eurprd07.prod.outlook.com (20.178.23.17) by AM0PR07MB4658.eurprd07.prod.outlook.com (52.135.151.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1471.16; Thu, 27 Dec 2018 15:06:02 +0000
Received: from AM0PR07MB5506.eurprd07.prod.outlook.com ([fe80::4435:9a03:4e44:c258]) by AM0PR07MB5506.eurprd07.prod.outlook.com ([fe80::4435:9a03:4e44:c258%4]) with mapi id 15.20.1471.019; Thu, 27 Dec 2018 15:06:02 +0000
From: tom petch <ietfc@btconnect.com>
To: Martin Bjorklund <mbj@tail-f.com>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: draft-ietf-softwire-yang-13
Thread-Index: AQHUnfWuzVXJFxSfFEa3jgnayWbDRg==
Date: Thu, 27 Dec 2018 15:06:01 +0000
Message-ID: <003601d49df5$a7d094c0$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> <20181227.130836.708030498710454309.mbj@tail-f.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: LO2P265CA0095.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8::35) To AM0PR07MB5506.eurprd07.prod.outlook.com (2603:10a6:208:103::17)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [86.139.215.184]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM0PR07MB4658; 6:KBxhhlx2vIWQdZXGh7ujv8s+JODcZKSqgOS59JWxCT0M3knLouCMr9FSdFlHwTt9dp5+wciTCDUGSWrgWGI4QZIrhlkq9nQwZhp5qsCzwxRHsko/7Xqrt1dBNs6NOhZwcnJ6m8i0KossRQsMJGAvgw1G4El+FuP1y979fKb1RE4tzGN4ZPbaRA7I4AoqQhTAhYPURakPmzon0kSWyObRdsBsXfO2j8ODEMNnNIcpLEvOk/KrcESTZdyg1LMpmpiiqwLecBbNWKS2jhGiLCOafEgCgL3MmHwt8ZNSZF3By6y/9uveSffFYextZ3hNoomD7cBgelJGG/oEEBf+lbqNDZkPe5DNwJLiytCArEQ0f0lRNCyW56I49siVf+ZMVATZ86IBkhNJuRDTmD8ZchlNOYAVTvEfo6PPmK8AyJ/mupwyFuNnNjnt/OH1s4fAS2iVdsNs8+wD2RgXuT2I2beD7Q==; 5:40SoVSkzzLzz/rLCDkqJFdKQJGiKDDICH9xhWxWlUGaBnHg5rBAYwP88v7JRBBoCV/5q4HpZjTWyGjgBuTK7oCtyrRU1fhYYn4onfJaxmc2GsPdgHH/igHk5Jn4vZV8f8ctZ6JoKtyDKXUFidLNER1pLANXZY6Za8kmcApjjFu8=; 7:aUYdbmzGoNDEAe2xCDVswrI2xpBraq86aXoCqKaOSQziAVXMbLUaKdoklBkOUhtjCU43X0slu+CG9dlk+FMlmZrTw17javv8eDNrrncG02RATfryn2Bhj3d6eVNX5oBbrzV+W4n/TtGyoY6jrzPoCQ==
x-ms-office365-filtering-correlation-id: faa22000-274d-4929-d250-08d66c0cd09d
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7193020); SRVR:AM0PR07MB4658;
x-ms-traffictypediagnostic: AM0PR07MB4658:
x-microsoft-antispam-prvs: <AM0PR07MB4658FCFEC618AC8A71FE02A5A0B60@AM0PR07MB4658.eurprd07.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(3230021)(908002)(999002)(5005026)(6040522)(2401047)(8121501046)(3002001)(10201501046)(3231475)(944501520)(52105112)(93006095)(93001095)(6055026)(6041310)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:AM0PR07MB4658; BCL:0; PCL:0; RULEID:; SRVR:AM0PR07MB4658;
x-forefront-prvs: 0899B47777
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(136003)(366004)(346002)(396003)(39860400002)(376002)(13464003)(199004)(189003)(106356001)(105586002)(6506007)(386003)(6916009)(6246003)(81166006)(81156014)(53936002)(9686003)(86152003)(6512007)(84392002)(7736002)(26005)(345774005)(186003)(478600001)(14496001)(76176011)(8676002)(1556002)(52116002)(99286004)(256004)(8936002)(102836004)(44736005)(4326008)(229853002)(33896004)(446003)(93886005)(14454004)(6116002)(3846002)(68736007)(486006)(6436002)(2906002)(476003)(25786009)(6486002)(305945005)(71190400001)(5660300001)(71200400001)(97736004)(86362001)(316002)(66066001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM0PR07MB4658; H:AM0PR07MB5506.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1;
received-spf: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 8z33zUX0X6f8Wh9cSH5RgiOlzxs28NF8aFFW8JecmhtT4mu2ACkj97nTvqAlkZqPeZSpbYwzkQXg1cRJR4ksR0xC9x1SZLbMtvd/OF11XBvyqHrG9xSqz7wvm2uToNiEDoRcZKmQasU6fwcKSOS1tY4007FJah7KsqhOFnqsxhhRzKrbzysgRdXopqR+fFlkM5clo3kyHedPLO7swdACKT6cSQ7LHSxAdNSiHqbAL7ysmFg/QZefd56MTHcugl8/3IvnoZW34KHIpyPcpOdyiWYt1Cvizn07Kt228sR0St7HX9FLB2Zh4SnfrheMqcUy
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <34E44D20FD7128468FCF362F4A42811B@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: faa22000-274d-4929-d250-08d66c0cd09d
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Dec 2018 15:06:01.9558 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR07MB4658
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/I_YTzT2uSOPOutA3nyzaLrItcc0>
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 15:06:17 -0000

----- Original Message -----
From: "Martin Bjorklund" <mbj@tail-f.com>
To: <ietfc@btconnect.com>
Cc: <netmod@ietf.org>
Sent: Thursday, December 27, 2018 12:08 PM

> 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'.

.. or drop the 'derived' altogether; if there is only 'aplusp', as at
present, then I see no need for 'derived' and inserting one
unnecessarily leaves scope for a future addition to be true when it is
not wanted.  I can see it either way.

Tom Petch

>
> /martin
>