Re: [yang-doctors] YANG dialects?

Schönwälder, Jürgen <J.Schoenwaelder@jacobs-university.de> Thu, 19 December 2019 17:02 UTC

Return-Path: <J.Schoenwaelder@jacobs-university.de>
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 B94671200A4 for <yang-doctors@ietfa.amsl.com>; Thu, 19 Dec 2019 09:02:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 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_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jacobsuniversity.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 whuPTDlPNWWu for <yang-doctors@ietfa.amsl.com>; Thu, 19 Dec 2019 09:02:24 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on0619.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::619]) (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 D7A60120880 for <yang-doctors@ietf.org>; Thu, 19 Dec 2019 09:02:23 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Aeq6ag7SiLoHwYOxF6UzenIBPCw2T2yyabYsy7DetGfA5bW6+HOAJuX/DMlqkpsD2bIe+Jkyn/TNPQ8/i+aTG/aP2FUEqbxJztpY6yO9ewBBufd3zRyiINIFT4CMmJR5Gc6j4jjMkG+A4mSPrGDBVA+wqOaRfeuqYhoJBUHadcdPH5RNKQnIgf5cEVCJ5RAQW8sIOqFegMQuJEuUB9HS9FRZDo7ls9lNCBSEfID5XCLhHPdYc9K29S+BXPe/+o2DYSazFRw7Wanefs+JxZ+JW3/CsIsuaXtQs9kR5SMx7j8P4zS9aTZ2ApHPkwiSLW+ESRkVKSXQECs0fpFX6xcKIA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jW/bgflEjaCiam3RuzkGplXmZkB7rkbV/lbkWTLnnac=; b=PRW0ZRiqISqkfF9JSnX6OnBCytcZt+zbEiHUtGj5EarPrJKWExm/dQQw+7pO92l2XU/1GT8lshCFBj60WSbo2Twwej7Y4Dw+2w6GfLFajcTfx6ZrymN77bG0WG3oSrDmAsDWwyHo/cxhs8Gg98sQAzAH/FWQnJAfYYB1hwv/E2R9grPdV6MqpCXr8+TAAD++a47kWpFpBcO+wKrYBKMhKeClus/KfAd/v7jFPpfXo5oJ18IQhSSbMyslBfl+WYNInBCF4Pt8QB2S0kRy0ZEp+kS4coRwlbBQHqeRpmjqm0Fj17Vn8E0gutVF+FWVOs6B+qgS9CYLV2AQK/bNb6KYwg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jW/bgflEjaCiam3RuzkGplXmZkB7rkbV/lbkWTLnnac=; b=Rahsb8jsi36sVfPUSfbKk3wNeEhc9546OkY0L6/ji+mztaTZRo0he18r8HTWzu9BUDwe8llLcLW5V3v/FZ/Wumvx/78OQuPDHiQDZoEtvasf+HQp0M8Ii6hPohV8nKDA4scpgLGA6x95IM1UigsRRPB3rpQEtJHEE4Sh65j6J6c=
Received: from DB6P190MB0488.EURP190.PROD.OUTLOOK.COM (10.175.241.139) by DB6P190MB0342.EURP190.PROD.OUTLOOK.COM (10.175.241.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.13; Thu, 19 Dec 2019 17:02:21 +0000
Received: from DB6P190MB0488.EURP190.PROD.OUTLOOK.COM ([fe80::c29:f991:2bf0:4490]) by DB6P190MB0488.EURP190.PROD.OUTLOOK.COM ([fe80::c29:f991:2bf0:4490%7]) with mapi id 15.20.2559.015; Thu, 19 Dec 2019 17:02:21 +0000
From: =?iso-8859-1?Q?Sch=F6nw=E4lder=2C_J=FCrgen?= <J.Schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@nic.cz>
CC: Martin Bjorklund <mbj@tail-f.com>, "andy@yumaworks.com" <andy@yumaworks.com>, "yang-doctors@ietf.org" <yang-doctors@ietf.org>
Thread-Topic: [yang-doctors] YANG dialects?
Thread-Index: AQHVtouunevzw/b0nEGyt8iRNoU1/qfBrw4A
Date: Thu, 19 Dec 2019 17:02:21 +0000
Message-ID: <20191219170220.dgu3lnwhbcnoaebr@anna.jacobs.jacobs-university.de>
References: <CABCOCHTB+V6sV8hRcAC+OfseBBN=jUQnHQxzEVB_1drWhaEVXg@mail.gmail.com> <20191218.220130.545256750871048075.mbj@tail-f.com> <CABCOCHRfNrz+cNMA8ciRYGEM-7aR=S2NYJzU-t8JQ620Zs=hvQ@mail.gmail.com> <20191219.090708.1031388562992503497.mbj@tail-f.com> <3af2480448c6378906378d158f84ae10177172a2.camel@nic.cz>
In-Reply-To: <3af2480448c6378906378d158f84ae10177172a2.camel@nic.cz>
Reply-To: =?iso-8859-1?Q?Sch=F6nw=E4lder=2C_J=FCrgen?= <J.Schoenwaelder@jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: FR2P281CA0005.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a::15) To DB6P190MB0488.EURP190.PROD.OUTLOOK.COM (2603:10a6:6:32::11)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=J.Schoenwaelder@jacobs-university.de;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [212.201.44.247]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a7575b33-dd1e-4d94-150f-08d784a5362d
x-ms-traffictypediagnostic: DB6P190MB0342:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <DB6P190MB03421EFC19B9A53CED04A131DE520@DB6P190MB0342.EURP190.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0256C18696
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(346002)(366004)(39850400004)(376002)(396003)(189003)(199004)(52116002)(8936002)(186003)(66556008)(4326008)(2906002)(66446008)(66476007)(6512007)(66946007)(54906003)(71200400001)(5660300002)(3450700001)(1076003)(64756008)(316002)(478600001)(81166006)(26005)(86362001)(8676002)(6916009)(81156014)(6486002)(786003)(6506007); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6P190MB0342; H:DB6P190MB0488.EURP190.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: jacobs-university.de does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: aSiJI9hv5rhrJYm5CvlRaMDh13AGhl7MDgaWJaMuaMzNmZuFpa3OGrgkS3pLxqifpSNhM4VgYwQS89U4JPHLXZnEznU9TThUeEY/CliODJJqdRCZRQ3WgD6xa+NDwwgQSVfgybJRZZvX5BnZIouBFPLvYf4pdLB8bUd/KmDEKDhzRHp7xEgZPHHGPB45V2h6qDEp5jGqWyjN1EoBrf/wgyY/QF42DzXI1bqtNx+2xN8yOGUtML5obF+ec6WToAe6zntYE0qz/7en9rO/D1aL1AoCiXjxkqR4LwuKIJgrvQDslTCymzc7R97+LESsRdZO1d/sItQG+RQxGTyoK4Rs2pKH4yHQjjstRZ+Y4soRXfrDupJEenk2YHl/tZgwFe9SwsLVkJmhV/1KXr8kTbWLvZ0pHz0ZET8k54ZH71+YLFYMlv33yApC4xltgCAl9kBmgsTJeiTrabiL3cMJZaCRdRPcQtHmu9STbo2Ly7QWvqI=
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <7AE41479476AA942A7DBA68003E3B424@EURP190.PROD.OUTLOOK.COM>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: a7575b33-dd1e-4d94-150f-08d784a5362d
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2019 17:02:21.1337 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: kJFsO8ZHa2NbT1/cq2jAtFNwS1LECNyt15w1bZ8u8Yu0iGdfkh7Vz7CDuAv5p+8Phwt7ra2Ema+IeboKc9Unu2V1jNeUP4kikaUdmRg6oKY=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6P190MB0342
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/8bK8hlngF_YTx8jbPGxf5Pe9eFA>
Subject: Re: [yang-doctors] YANG dialects?
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: Thu, 19 Dec 2019 17:02:27 -0000

On Thu, Dec 19, 2019 at 05:44:56PM +0100, Ladislav Lhotka wrote:
> > 
> > I think the solution is trivial, and it has been proposed to
> > OpenConfig - introduce a new extension statement oc:posix-pattern.
> > This will make the modules *legal*, and tools can use existing
> > mechanisms to deal (or not) with this new statement.
> 
> I don't think it is legal, because
> 
> o  extension: An extension attaches non-YANG semantics to statements.
> 
> This is not the case here, it is only syntactically compatible. If tool A says
> that some instance data is valid, but tool B says it isn't, then the standard is
> gone.

Right now, things are even worse. If they were defining an extension
and they would update their modules and tools to use it and they would
fix the pattern in the pattern statements to comply to RFCs, things
would be much better. But somehow I doubt any of this will happen
since they could have done all this already years ago.

/js
 
-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>