Re: [netmod] Adoption poll for draft-wwx-netmod-event-yang

Schönwälder, Jürgen <J.Schoenwaelder@jacobs-university.de> Tue, 18 February 2020 23:17 UTC

Return-Path: <J.Schoenwaelder@jacobs-university.de>
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 D3DF7120836 for <netmod@ietfa.amsl.com>; Tue, 18 Feb 2020 15:17:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.437
X-Spam-Level: *
X-Spam-Status: No, score=1.437 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no 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 2vszmWYgiPoE for <netmod@ietfa.amsl.com>; Tue, 18 Feb 2020 15:17:05 -0800 (PST)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60081.outbound.protection.outlook.com [40.107.6.81]) (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 2B8D8120840 for <netmod@ietf.org>; Tue, 18 Feb 2020 15:17:05 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fjDIGGWQiZwqavRhF8MznByy8fMwVW4vaqidTovpZwhOS2rcID+gGJ8ofuS+RIKPvj5iEeUTP0Y7I/qlD6eO0a2nG1qHRpe7pVuHNJYX5q3OxuOKOwTYsJ5tTke4brAIUlzJ4pxRCOM3wBDKRfJKwIUYHmvQu+y4t0qjg9ChITsSPyMbynvvPoFnmlF9ZlHMu2gjn7un5CMv8A1n18+uWD6/dAh2BR6clOAaSDJqoOl+zK1DC8lldrf+z6pI9Imj8+5d2m5FRO4xSm6gH8qNcBZGQXQkujYbRH/lRm6KAE2iVY3drMOm5/5fM4UVuSI34nxd9PVHuG6e6g9YWYMU9g==
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=3/4jSrBX6k2DyPO64InnODz/8/oIWRmOcliYiaXASMo=; b=i5LVjnStP6GDHzoMBvpGtfRl2kHIm+FZbpzl4/Iu405HuPvw2tim1sEROtO9sC4sse+J18aO5bU3zXR44ahqSHkXLqVqgL8/941b7xnKDjsYlZZ59pSIcyAeTPnMrOTs0D1l91sGyw0UVYxvSdtY/8I5xET2BKdll4ZJ5UVUNiVVcfg2Hh4Jul/OISRJ6CY1bqgX2Pnw1CDcsQq0asxom4vHU/gn+TrPzRDbAabuC+cGSu70UuyGuD1rJkU6zsnbtkwVGLYfNe2dbO0BhkqZr44B7cBxT9fCwnhbuFi5O+xsAkqg4i4+/qaltFOHwnQtQgCQNZX2qpx9x0dkDzJNDw==
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=3/4jSrBX6k2DyPO64InnODz/8/oIWRmOcliYiaXASMo=; b=qrXjHrnM3arj4tF1xLU6wu4Czal9Hukd0fpPetJiYOIGAn0Kb/uZcPbE3i9vUz5VacuqGZB6t6GQXaVkw267FbEyQUXAcAnb7+jseHE7afmLHIGEsves9cy4mkFvheY++mu6TYVo/UYoKXX0J48xdhVsaXTvbOCy5JLsr7yYZVQ=
Received: from DB6P190MB0312.EURP190.PROD.OUTLOOK.COM (10.165.140.31) by DB6P190MB0374.EURP190.PROD.OUTLOOK.COM (10.175.242.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.22; Tue, 18 Feb 2020 23:17:02 +0000
Received: from DB6P190MB0312.EURP190.PROD.OUTLOOK.COM ([fe80::2cda:e754:4835:c579]) by DB6P190MB0312.EURP190.PROD.OUTLOOK.COM ([fe80::2cda:e754:4835:c579%3]) with mapi id 15.20.2729.032; Tue, 18 Feb 2020 23:17:02 +0000
Received: from localhost (212.201.44.247) by FR2P281CA0031.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:14::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.18 via Frontend Transport; Tue, 18 Feb 2020 23:17:02 +0000
From: "Schönwälder, Jürgen" <J.Schoenwaelder@jacobs-university.de>
To: Joel Jaeggli <joelja@bogus.com>
CC: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: [netmod] Adoption poll for draft-wwx-netmod-event-yang
Thread-Index: AQHV5rGG/WubBQrYckSiWEEsgzHRGA==
Date: Tue, 18 Feb 2020 23:17:02 +0000
Message-ID: <20200218231700.3tho6ngescf2k4zh@anna.jacobs.jacobs-university.de>
References: <e655193d-79f5-f339-7043-65e2044c406e@bogus.com>
In-Reply-To: <e655193d-79f5-f339-7043-65e2044c406e@bogus.com>
Reply-To: "Schönwälder, Jürgen" <J.Schoenwaelder@jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: FR2P281CA0031.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:14::18) To DB6P190MB0312.EURP190.PROD.OUTLOOK.COM (2603:10a6:6:34::31)
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: 780043e3-ddf2-419c-2ce2-08d7b4c8a946
x-ms-traffictypediagnostic: DB6P190MB0374:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <DB6P190MB03743D7F97A59A9ABA7665ABDE110@DB6P190MB0374.EURP190.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-forefront-prvs: 031763BCAF
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(366004)(39850400004)(136003)(346002)(189003)(199004)(3450700001)(956004)(86362001)(6916009)(8676002)(8936002)(81156014)(71200400001)(81166006)(4326008)(52116002)(6496006)(6486002)(316002)(64756008)(66446008)(26005)(786003)(66476007)(66556008)(186003)(16526019)(66946007)(5660300002)(966005)(478600001)(2906002)(1076003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6P190MB0374; H:DB6P190MB0312.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: keQL8w0ZuV6xWnfhnGP7cvaLaROzBHktV87aOOmMRHlp7cbTKASKBSJuC82pq+oy8m00fJs9gLx8Bs8PZVOl9S6DvkavOo0wdp9wEsedlqasKY386lxn5VKkZ5qvWHSWj7tlWFzAcbdgZC8JKHPdJ7tzsaLZvA0pfdka1NxSvqYX6eQP0PuQNTlhynpOsHByy+au8KTMxS10BwVA1Rkp4mfA6O/xebBKaY/x5814bMSRqgsGlEAmv/AG0lf2vyrwARivDTTBypkx5G2DmKyrgZtFU1aNY6uvy+aesMHOFLuYvuhtNTkybM7f4SwdB1Le6R2kpJHF2TKSpKbLl/RljpyuACiCoHb9XiUCvfJkK+qPPdGJFRapJTGCfmfPB5YnzIb/q1tn9pKMfSKkMIIXsNcp/LqZEnRx0lQp1gWHzbc6de0DN+016xTmvrLRXDrk2kTsLPFtxLyLiw1/YLubDSzBKjIlDkUxDPuLX/lLokUxyK/OGPsNwMzzXJ9cWIzsFJOFDgacPO+VB+pP26lKbQ==
x-ms-exchange-antispam-messagedata: mstIzZ+0fYOdaiU2/JuUV/VFdRyPPvbFCYtwVHEsSF/njFVrXK/qn/OByLgZduK4/snKpQNA8rhXmHFjdnZhAEXSR/f7szsfwQ0a4uHqfAQBzy/Wt1y59IXEjmGkRBdMSsaDyVrzFlMhw0ZdfiTllg==
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <4363E3F8BACD9D4E954AEA582F1CEB1E@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: 780043e3-ddf2-419c-2ce2-08d7b4c8a946
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Feb 2020 23:17:02.4111 (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: s7REl6+mc1U1UwJXt/hkPMSmDuaU1IhJGcrmjp2T2r8RYUfFI8ZNzk51jw9/h7QCtVTgmPnqSB6y9dXs2jix3UzRwLiJUPogXkhnU7PJU6Y=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6P190MB0374
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Rnqh5ztR3R9OKEyQuvi5yuCONQY>
Subject: Re: [netmod] Adoption poll for draft-wwx-netmod-event-yang
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, 18 Feb 2020 23:17:08 -0000

On Tue, Feb 18, 2020 at 08:44:18AM -0800, Joel Jaeggli wrote:
> This email begins a 2 week working group adoption poll for:
> 
> https://tools.ietf.org/html/draft-wwx-netmod-event-yang-06
> 
> Please voice your support or objections before the poll completes on
> March 3rd.

I am against adoption of this draft. I wonder whether Benoit will
explain his contributions to this document; Benoit was added as a
co-author in -06 and he used to be rather sceptical about the SUPA
work (and this is essentially part of the SUPA work resubmitted to the
NETMOD WG). Despite this, the YANG definitions are clearly not up to
the level one would expect for WG adoption. Many descriptions are
just repetition of leaf names and there are obvious errors such as

          leaf-list day-of-month {
            type uint8 {
              range "0..59";
            }
            description
              "A set of days of the month at which this
               scheduling timing will trigger.";
          }

Despite the strange range, it is unclear how a number will in the
range will identify a set. Note, this is an example, there are lots of
them in the document. The examples provides are not convincing and
technically wrong (how can <interval>10m</interval> match

          leaf interval {
            type uint32 {
              range "1..max";
            }
            units "seconds";
            mandatory true;
            description
              "The number of seconds between two triggers
               generated by this periodic timing object.";
          }

and I have serious doubts that the design is anywhere close to be
practically usable. There need to be mechanisms to bind 'variables'
while matching conditions that and be reused in action definitions, it
is not scalable to have constants such as interface names in the
examples hard-coded in policy rules - this would lead to a huge number
of rules if you want to apply policy rules to all interfaces.

There is also a lack of extensibility, which is important for a core
policy language, and definitions like:

  identity function-type {
    description
      "Possible values are:
       plus, minus, mult, divide, remain.";
  }

without ever defining these operators feels strange. I also not
convinced that the resulting expressions are expressive enough for
real-world use.

This document is in a state that requires way too much effort to fix
in a WG process. I also doubt that expressing policies in such a
low-level format is usable in practice. Policy languages for network
management have a long history and this proposal seems to ignore the
lessons learned in the past.

/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/>