[netconf] Re: Adoption call for notif-yang-04
Andy Bierman <andy@yumaworks.com> Fri, 10 May 2024 23:06 UTC
Return-Path: <andy@yumaworks.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 21EF4C169417 for <netconf@ietfa.amsl.com>; Fri, 10 May 2024 16:06:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w9AIE-KfgpW6 for <netconf@ietfa.amsl.com>; Fri, 10 May 2024 16:06:26 -0700 (PDT)
Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 27473C1DFD39 for <netconf@ietf.org>; Fri, 10 May 2024 16:06:26 -0700 (PDT)
Received: by mail-qk1-x735.google.com with SMTP id af79cd13be357-792b8cd0825so218721485a.0 for <netconf@ietf.org>; Fri, 10 May 2024 16:06:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1715382385; x=1715987185; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jSwZXeLl8mKfYQj/vJcvf+NujglbO53VvfIi0w63gAI=; b=Gny5loRzToZvMNFM86n2tY66eXwn7eXOql9WPTkFwcSOGuAz6jMWCHAWlIKUnilKNC YB+gk1OOg/Eh0xcZutkJ0Hx1vrzVHv8jhw8xeUAZZBToOfW1RXiYdozogMYZgUONqtT7 CigiP3AgMAlSjE9qj8BJVm3bAelIhQv+8S3stQnIIfZM6QiKl7zzTLyKBz94iANDlpKL +Dq0NFm8ufNa0dRXb6o3gkzSnXdhKrwlr2K+FZxtkTBZW0SZm72v6qf/TPFByA5ydLNk 91/Sf0KAd2Xo+0n75pepO0+Z2QsjHqPDGfcgNSd47tsE7zeKivwp1VJYE2r0XaHyFXSI GfLw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715382385; x=1715987185; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jSwZXeLl8mKfYQj/vJcvf+NujglbO53VvfIi0w63gAI=; b=b9omnNW6+t1kxdl5zWvujnMHTKCX+nqSWP6++O3d9iuYYGbow8WA2xJitReXhrqZ0F 43j8vXaxgA6Go0aN35ebvRro3UKM9CTwvB4lPFXtjScbPePC3a74lanOzzfQBTicBqcp GAxAFZgUINfpCqTTS5RlhsGfdccGrF7oLC7I8ZMLVZlR7Q9aYWZ+h4NS02U4bA7Pv4JZ /2vkukf3KE2+7FqQCmo4bmn3XXg3mzkPLIHYbgQUGQzB/4z8WVSBprcKQ5BffTe/F73W fVPnXH1Yco9xwB3LF0Dt8nsm5KPUmr2PU0iDwLyI10wD60yz7jWBYA+G7hACNEDZKqLv 6iUg==
X-Forwarded-Encrypted: i=1; AJvYcCV0usme9fzU4Clpx5KBDkJgLEQhfOp2lxQ7JET+4jJ7ZzsK/UtS9EGNcFfCAsQDA8Aj5RpAhNXJ/lwTllibpP3f
X-Gm-Message-State: AOJu0YzG/xat0py5Q+YujHOPKzoSRtQpSkaPXm7qvwJF/F3b1dkjgTOT bSBkB40G9yBIbaABd0CHKnN4H063A0WCw6MbD7IApIBzEW95o64CtCMs1ReNb2lETS7GRilDu9W l07Xrc8Wmfuvdx96Qkb5ZOcLpb0PVP0tQ6FLSSg==
X-Google-Smtp-Source: AGHT+IHdVcnM51hgydwYL/B+vXoimuK0tUTL5y2bcyO4sCslOllEFuSuuHHNeJkH9iNRt4hBx0IJXVfIIAcbZK0esR8=
X-Received: by 2002:a05:6214:459f:b0:6a0:9f93:1ee5 with SMTP id 6a1803df08f44-6a168147ddamr42254786d6.13.1715382384873; Fri, 10 May 2024 16:06:24 -0700 (PDT)
MIME-Version: 1.0
References: <0100018eb57a21d8-26b38f41-a625-4d44-9248-09b349fd4212-000000@email.amazonses.com> <DU2PR02MB10160110D4C72D682BA884802880E2@DU2PR02MB10160.eurprd02.prod.outlook.com> <CABCOCHT4Yy8gUKxmR9__ZcAEULiK8g-S7-B6EaLO8s0nk0FjTg@mail.gmail.com> <0100018f07521d0a-17e021b3-295a-4c50-8316-58632d7a7107-000000@email.amazonses.com> <CACvbXWGS_Er8bK0u4suNs0oHD7B6avObk8uu6bET_-7xWHcdbQ@mail.gmail.com> <355358f23f374b8dba8a20c00fea03f4@swisscom.com> <CABCOCHRVEQBocBAspUHJFE0vp8AkO1KCimPdUV9+H0kpg1TgYA@mail.gmail.com> <0100018f64a85d1c-f98eabaf-771e-473d-a1c3-40b8f9b51dc4-000000@email.amazonses.com>
In-Reply-To: <0100018f64a85d1c-f98eabaf-771e-473d-a1c3-40b8f9b51dc4-000000@email.amazonses.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Fri, 10 May 2024 16:06:12 -0700
Message-ID: <CABCOCHTAzP8PKEmYcLwQRr9W7ETJZg5j0ndhgdiqqa4UEKALiQ@mail.gmail.com>
To: Kent Watsen <kent+ietf@watsen.net>
Content-Type: multipart/alternative; boundary="000000000000b471a806182195fa"
Message-ID-Hash: 4FBP3GVZZP2IWYLO63T6R26KVW65WGD5
X-Message-ID-Hash: 4FBP3GVZZP2IWYLO63T6R26KVW65WGD5
X-MailFrom: andy@yumaworks.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netconf.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Thomas.Graf@swisscom.com, "netconf@ietf.org" <netconf@ietf.org>, pierre.francois@insa-lyon.fr
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [netconf] Re: Adoption call for notif-yang-04
List-Id: NETCONF WG list <netconf.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/EbUyOkOlKmLQJML9zllay9wMjZg>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Owner: <mailto:netconf-owner@ietf.org>
List-Post: <mailto:netconf@ietf.org>
List-Subscribe: <mailto:netconf-join@ietf.org>
List-Unsubscribe: <mailto:netconf-leave@ietf.org>
On Fri, May 10, 2024 at 3:38 PM Kent Watsen <kent+ietf@watsen.net> wrote: > > > On May 10, 2024, at 1:43 PM, Andy Bierman <andy@yumaworks.com> wrote: > > It is quite rigid and XML-specific: > > <notification> > <eventTime>...</eventTime> > < **event element** /> > </notification> > > <snip/> > > YANG is incapable of representing this XSD correctly (no > SubstitutionGroup). > > > True, not even an “anydata” helps. If the goal is to be able to validate > the entire “notification” message, I don’t see how that’s possible. > > IMO that is not the goal, especially since YANG does not support it (without extensions). JSON needs a module name for the notification and eventTime elements. CBOR needs SID assignments for the same elements. Another goal is to introduce a next-gen notification header that is based on a structure + augments. This is much better than a static and rigid header that is not allowed to have any changes or additions. YANG Push updates should support 3 types of data: 1) metadata associated with the event 2) extra server data gathered at the same time as the event 3) event data IMO not every notification on every server needs to add the "sysName" leaf. It would be better if data of type (2) were configurable by the client. > Code I’ve written in the past manually-validates the envelope and then, > separately, validates the payload via the YANG “notification” definition. > All implementations have to deal with child nodes of certain "root" nodes that magically appear in the schema tree. (Where magic == some normative text in an RFC) YANG/CBOR eliminates this problem with SIDs. > > K. > > Andy
- [netconf] Adoption call for notif-yang-04 Kent Watsen
- [netconf] FW: Adoption call for notif-yang-04 Thomas.Graf
- Re: [netconf] Adoption call for notif-yang-04 Andy Bierman
- Re: [netconf] Adoption call for notif-yang-04 Jean Quilbeuf
- Re: [netconf] Adoption call for notif-yang-04 Nils.Warnke
- Re: [netconf] Adoption call for notif-yang-04 Zhuoyao Lin
- Re: [netconf] Adoption call for notif-yang-04 Vincenzo Riccobene
- Re: [netconf] Adoption call for notif-yang-04 Voyer, Daniel
- Re: [netconf] Adoption call for notif-yang-04 Giuseppe Fioccola
- Re: [netconf] Adoption call for notif-yang-04 Jan Lindblad (jlindbla)
- Re: [netconf] Adoption call for notif-yang-04 Camilo Cardona
- Re: [netconf] Adoption call for notif-yang-04 Qin Wu
- Re: [netconf] Adoption call for notif-yang-04 Leonardo.Rodoni
- Re: [netconf] Adoption call for notif-yang-04 maqiufang (A)
- Re: [netconf] Adoption call for notif-yang-04 Paolo Lucente
- Re: [netconf] Adoption call for notif-yang-04 IGNACIO DOMINGUEZ MARTINEZ-CASANUEVA
- Re: [netconf] Adoption call for notif-yang-04 mohamed.boucadair
- Re: [netconf] Adoption call for notif-yang-04 Andy Bierman
- Re: [netconf] Adoption call for notif-yang-04 mohamed.boucadair
- Re: [netconf] Adoption call for notif-yang-04 Kent Watsen
- Re: [netconf] Adoption call for notif-yang-04 Andy Bierman
- Re: [netconf] Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Rob Wilton (rwilton)
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Benoit Claise
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Benoit Claise
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- Re: [netconf] Adoption call for notif-yang-04 Per Andersson
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Benoit Claise
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Rob Wilton (rwilton)
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Benoit Claise
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Andy Bierman
- [netconf] Re: Adoption call for notif-yang-04 Rob Wilton (rwilton)
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Thomas.Graf
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Kent Watsen
- [netconf] Re: Adoption call for notif-yang-04 Alex Huang Feng