Re: [netconf] Issues with draft-ietf-netconf-udp-notif-04

Thomas.Graf@swisscom.com Sat, 20 November 2021 17:24 UTC

Return-Path: <Thomas.Graf@swisscom.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 09A6F3A00AD for <netconf@ietfa.amsl.com>; Sat, 20 Nov 2021 09:24:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.798
X-Spam-Level:
X-Spam-Status: No, score=-1.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 TaWrxT9nl85b for <netconf@ietfa.amsl.com>; Sat, 20 Nov 2021 09:23:58 -0800 (PST)
Received: from mail.swisscom.com (mailout110.swisscom.com [138.188.166.110]) (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 738323A00AE for <netconf@ietf.org>; Sat, 20 Nov 2021 09:23:57 -0800 (PST)
Received: by mail.swisscom.com; Sat, 20 Nov 2021 18:23:53 +0100
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="----=_Part_1590136_882838588.1637429032664"
X-Mailer: Totemo_TrustMail_(Notification)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QtfBxtCA6cWBE38bUlqZ0BWKdSsLkU3rMHvMDXGc7N+4wA23MWTQRJS69Mcqow7n0isjJDsni5aN6V1+36s8sVwHLzWeq3eFfsDpEiiPW3kC85eY0YsbwPt7s4tMtjLrndejgK6Fome0EiFC6mptszYUhgP/sTR+6hFwugJ/iGbaqMu78mlGdEj6Fuz25Kvqy5UT9OksBp65Tv/zH0YucA+BK6IVNR3w/tqDFapcaLX23bgGv+JCOMSRTykjTlAxB6ZzkhP3qWUnsiCrjlCL5Dn5GizWNBzFoWfdDvyZwVojc3vBeIDnXzwilcOX8UxtN5yvlTk6Wgo0AINIDqkGqQ==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cxIcjk2Cieqw889xl/TMxXBOF28phxQ6lL7JWEqqpAM=; b=e+V3IaxINbFR8+LkfTHIjbKOtLugY2Hf+OLh3plUPM4b5yYTy3ITVJ97KK5IzngHCAjDrdFl2wSPQBiTVTSHFPan/TFtqpghFS+diBNH7HoIRwxxFD/oWho/tK3m/7YbRPwSN2wEiPA6diVAl/F/NfH19P4rXrYJ6yEYsJG3KlwcyRLTuObgqpJ9ze+nueXFYPDeTUpkiPfNyBCHLUHqU339Yjb8vUfVQJI86Hr3CPNbZzKEmbP2UFFI3GKU8vOgLJb7MT3H6H/1d8G9L5s/IJp0eGwwHAuEvsWixU2bJar1NpVhVpx4+SKa9LBpnFHpAUed3rz8x/WjLKfsF/fdNA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=swisscom.com; dmarc=pass action=none header.from=swisscom.com; dkim=pass header.d=swisscom.com; arc=none
From: Thomas.Graf@swisscom.com
To: andy@yumaworks.com, pierre.francois.ietf@gmail.com
CC: netconf@ietf.org
Thread-Topic: [netconf] Issues with draft-ietf-netconf-udp-notif-04
Thread-Index: AQHX2px0mTrR0HpnoEGx1KUWYd/Kp6wHkC2AgACN6oCABJLFEA==
Date: Sat, 20 Nov 2021 17:23:48 +0000
Message-ID: <ZRAP278MB01768ADC3C161FE2D07441CC899D9@ZRAP278MB0176.CHEP278.PROD.OUTLOOK.COM>
References: <CABCOCHTnEh-d00ZDumUFZcwEjim3GCrgR85-+8n_g=XyEhXQbg@mail.gmail.com> <CAFNmoOFMLSDkKb5CW2gU2mZQwWfhLs2pmuT9Qc-UNaEr1hXk6Q@mail.gmail.com> <CABCOCHSdgt18CUnsq4WSXiN_E+2dBQkHzb9ydH8BEt0HVaimkA@mail.gmail.com>
In-Reply-To: <CABCOCHSdgt18CUnsq4WSXiN_E+2dBQkHzb9ydH8BEt0HVaimkA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=swisscom.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 32da4fe6-60f1-4f38-606a-08d9ac4a8408
x-ms-traffictypediagnostic: ZR0P278MB0346:
x-microsoft-antispam-prvs: <ZR0P278MB0346802993FBD28825481FCD899D9@ZR0P278MB0346.CHEP278.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: OKUaG/ugDleugY7Vc+zXLEpGQXBV5PhXDH+mz5fgOCLDcpzcMtVMwFLJAi3EfcMl/S6eG2NU30WmMfZW99isfzP2B3E+MIwWin42r52sOcBvqwieJkoqXuJb21BHftb2lxbddRpmVqkCURp1q/qlLzr+bSUU5eVEuFB+wgHIOKFmcMJ3/kDF1k6d4GGvYGDXVlW2qiAcBiFeye9TcsunPIOhK1QRo30SDJRyigTfBCg8LCXbv1wD+1GQgZmXrzHHwbCvA2W9f42ctebULjmeVMtxlHOVOazEUwOkHAA1m6AdY6ekePePFcBlFl87Sm5Xv3lIjRUI+0bODMDGc0xZqvcOBl03GrhpFtMugAfDsESn13rQTdCFZ3nOGOV6iVvnuITuq8Sont1yrR9oThGXR/V5dgzgkT9IPMCk41ukHwgkErMLoNfAccEfR7/bpCT8+xNp3GysTlM/ErV8JJTEIBUdmyM90soZvrJowcGZc7O1Y5XtM3SqeBOUcE4sbVeWQgLgUXusFq7NEiHJPraC1bXKgAtezb8RhNOFOV7VpDHR6eiQzUOgpiOChBAXXafgnEizy6qij2jafv8fP8p6qP/IPzFDgnNoatrs9mo9G9XVBLdlxjgJmq13ntJMqiHY90YVQ7YoJJDPKtkepAWSO5lnVk3kd42pt8b2JBkEYWPsHle8gje3XZHPkxK7xZcxwMKoE2kn72hv4HmbNDgatbPd3+8g1x5Gm+zrHi4ppEMO/bZfgFqpC9ODtoK5ZfmAuZXHa7zqSmpOiTXScLctL6nsno3A9YhrDk6XlGCBhZ3nLb2pxU768eWpH7jsLGFL
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:ZRAP278MB0176.CHEP278.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(366004)(66556008)(66476007)(66446008)(110136005)(64756008)(4326008)(52536014)(66574015)(166002)(38100700002)(8936002)(66946007)(83380400001)(86362001)(9686003)(55016002)(8676002)(10290500003)(82960400001)(10300500001)(2906002)(5660300002)(33656002)(26005)(316002)(71200400001)(186003)(38070700005)(76116006)(966005)(7696005)(53546011)(508600001)(6506007)(122000001)(356854002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: UgbVrH8oHZ3JvVZT+tqNloqo+psUjhxCnybKGsImFa/zgfQJq7oZuNmuPTekDn+P8w220W0ivBV12znzwANtlPAcBasu6qmWLdfYIFqzhqt5mIhdFnbqGZonhtBRtPioY9EbJQD2FpCZ4a5OZZ+xG6fJEKkc2RdG4D4bAlFQZClNckXblYjiojZ7dDF45Io8MuHu6V6ncVws83labqyzfLq8V/iZnekDARMC3l8TKs/Q4TlMY5Slhd8CFabDa6J9MFcczSVZaQXJGvm9jCNXmC7CnRSFsiT91aXisgdgBLFTmMTW+HFWSY6RuA9WYInB4boIE5ygD/obCoSXO0QQnHWVuRxRaU8oS2QC8y7ewy7qrsb7P8VfhmpgSGfKTm5XPZK3g58RTxx1XWZ/oBQFKm0wEoeuE7iT7MR7UiUivKs+hbZPF2e3WGj8RYqViOgyyPVeNYmt5OzJ+i3TC/0PMEp399d/YPYBj0siOLUVI7NNzEwx4NDEp9EoJD1S/5ViYCKg7j7JtClJHhymKb/NJaZFwOa3urNE20cyfVDTeFMxdinPSe4+hD8FuBPV19IJgYZ6ANdb04ZvivqZ4mF+3wc2yKI1zwh6FcQAAp8CbK2rM0HgejgYmJfZdDLMUSSbLX+aGy40+jZCvsvw/6S3SUi/pDVaJxvQa5BtnAp9d1BDu3mfr4fejkc+fSpOA/lgYoI4RX1RHM8lBzZCKkUNYwU933U3lTCC9BuyeyUblp0kN361YSmJr5Zy+BO57Ls6hSE9Qu9CDQn1ws4UPKlmB51CJHq/pNVkgvMEu4Eutn/R6fKzeOMrvbms2GM8KZoqWmCNG3sWXj+d9xu/cYNDHIAfw/7+WyeqGz109ytMe8UyUug7SyZLTO7dZr8e0e/wL2Se10iGkrCGGT6MfZzk2W6bxb+Uu2njChxj+AJW2WFOOj0cBleU0g/GXzqQLL/fRw6uT+3apv7GphGjdlA52O8wHqEvNfsDhKcONoaXpfFhBiHkhPCLqRSytobStvy2sxXU7udsGMVwTDOJBmKzt76vWUb55KOeOtoT0MitCn5OsoeslvLQ6DrHK9S/zBw2XakOTmXRdlAfKmHWk3JI6TO55mDv1Lu8wsnM33WG2e3Ncdf5Wle9HJyFBUKHtkL4QiASgLcIqA0KTmrn+zFwglk8BY8O+C7jHYzoT+UajLYktBCRf37x99Y0SMMk+aqUWvB1Xp4ltmy7ROgbBXWMaM3cjl+NRM6O+TNYGIJcvH23203RHW6PSJhKeO0WaDzXgBEzX1e2yuphSHeXKyXOJL1kqGg1QWrVtMgqcE8FuEx3GmOeTwp1/BRJOTCP1dvYJeITgrRBknLyfNXCUHlYEF8jNw/NmETTpDFpvU4JQ5H4+VxwUYDlVotwgy7VQYtrQJ00hXLT9KPCqphg32qyKHw+OK1tq9yH2jvjKhycrwRrqHMaPHhnAG+CVbNK6GDdh8MxaS8/fMQD9EwL7US5Ivh1d0aAhy28yJLEJ+jTKvGvxpN05PpMnxzS0aYl8XNSYa+9Mm3EPMB5WkcgTcG/IWhaVb/Cg4Rh2LCiNaXbJ5/XjffcGLnwINA1rLmeWHq2zPjlj9aF9yLb+waYBwqrAw2B9k0YOjxDlfjErY3VOtxzO8UfTiKWWSgWobTJiHj3MP3OGFZ8CXKkVcaS5y7MTA==
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: ZRAP278MB0176.CHEP278.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 32da4fe6-60f1-4f38-606a-08d9ac4a8408
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Nov 2021 17:23:48.9616 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 364e5b87-c1c7-420d-9bee-c35d19b557a1
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: wlY6EmzLyjWUdoJgxGM3nLFsC/Qs/ercS7Sn0cFVbEfNeLz/5Qci0knjlEzj+3kxkPOIMp7QOxQ2HXGqGFaJwGkXY4QpUQLZ2lpEYN3lY4I=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZR0P278MB0346
X-OriginatorOrg: swisscom.com
X-CFilter-Loop: Reflected
X-Trustmail: processed
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/fQA3vwDZZjy6-Vv_rm46j5WIZcE>
Subject: Re: [netconf] Issues with draft-ietf-netconf-udp-notif-04
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Nov 2021 17:24:03 -0000

Dear Andy and Mahesh,
Following this thread, wherever it makes sense to add an application message header to allow multiple notification messages being carried in one single udp-notif message, we need to have the full context.
I understood from section 4.2 of draft-ietf-netconf-notification-messages
https://datatracker.ietf.org/doc/html/draft-ietf-netconf-notification-messages#section-4.2
That the intend of the working group is to support multiple notifications within one notification-message. Correct?

>From the data tracker
https://datatracker.ietf.org/doc/draft-ietf-netconf-notification-messages/history/
I understood that this draft is currently on-hold until the first transport draft (draft-ietf-netconf-udp-notif or draft-ietf-netconf-https-notif) has reached RFC status. Correct?
If both correct, what is the added value of supporting multiple notification messages within the notification itself AND supporting multiple notifications at transport within an application framing as well?
>From a standardization point of view we should avoid duplicity as much as possible. If it is the intend of the working group to address this with draft-ietf-netconf-notification-messages than I suggest not to address this in draft draft-ietf-netconf-udp-notif as well. Have a transport agnostic implementation.

Best wishes
Thomas

From: netconf <netconf-bounces@ietf.org> On Behalf Of Andy Bierman
Sent: Wednesday, November 17, 2021 8:31 PM
To: Pierre Francois <pierre.francois.ietf@gmail.com>
Cc: Netconf <netconf@ietf.org>
Subject: Re: [netconf] Issues with draft-ietf-netconf-udp-notif-04



On Wed, Nov 17, 2021 at 3:03 AM Pierre Francois <pierre.francois.ietf@gmail.com<mailto:pierre.francois.ietf@gmail.com>> wrote:
Hello Andy,

Thanks for the feedback, answers inline.

Le mar. 16 nov. 2021 à 04:45, Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com>> a écrit :
Hi,

I am wondering if there implementations of this draft already.
IMO there are problems with in that prevent reasonable and
optimal implementations.

There is support of udp-notif publisher in VRP.
There is a C collector lib for udp-notif in https://github.com/insa-unyte/udp-notif-c-collector<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Finsa-unyte%2Fudp-notif-c-collector&data=04%7C01%7CThomas.Graf%40swisscom.com%7C84814f606cb04781c1e708d9aa00e0fd%7C364e5b87c1c7420d9beec35d19b557a1%7C0%7C0%7C637727743017795641%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=pNaHwlWCs%2BZX0pfyDLPhNP3XZHmlj6%2F8oRfoLi83VvY%3D&reserved=0>


1) Use of UDP as the Application Message Framing
UDP is a transport protocol.  Tightly coupling one
NETCONF notification message to one UDP frame (+ fragments)
is not very optimal.

There is a segmentation option in the protocol, so a udp notif message is not tightly coupled to a UDP frame.

But this segmentation is optional to implement.
My point is that application protocols like NETCONF have their own message framing
which does not exist here because the transport framing is used instead.



1A) wastes space in the UDP frame if the NETCONF notification
    happens to be short

I don't get it, I'm sorry. To me a UDP header + small udp-notif header is rather short.

If I can fit 100 notification messages in 1 UDP frame then I save 99% of the redundant headers.



1B) imposes an application-level max-message-size

Not with the segmentation option, do we agree?

https://datatracker.ietf.org/doc/html/draft-ietf-netconf-udp-notif#section-4.1<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Fdraft-ietf-netconf-udp-notif%23section-4.1&data=04%7C01%7CThomas.Graf%40swisscom.com%7C84814f606cb04781c1e708d9aa00e0fd%7C364e5b87c1c7420d9beec35d19b557a1%7C0%7C0%7C637727743017805594%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=aoHKcTmIbZ8Kqi8IA7P1UzCwTiS62BIgZNFQAedLRsI%3D&reserved=0>

There can be 32767 segments of a max 65535 each: about 2G of data.
However the segment-size is allowed to be smaller and segmentation is completely optional-to-implement.

Application layer framing allows unlimited message size without any need
to support UDP segmentation at all,




2) Not Efficient for Streaming Servers (no Message Chunking)
The application framing in NETCONF and RESTCONF (HTTP) is not
coupled to any transport protocol. Instead, a sender may emit as
many message chunks as desired. This is how a streaming server works.
Content comes from many different sources and it is sent on-the-fly
in chunks, instead of constructing large replies.

    - Application framing allows multiple notifications in one UDP frame
    - Application framing does not need a max-message-size.
      Streaming servers often do not know the size of the data that will be sent
      in a notification.

I think we meet these goals. Let me think about this further.


I agree, by ignoring the idea that this protocol provides any normative information
about the application layer protocol in use.  This draft should remove any hint
that the application payload is defined in this document.  It is OK to say
a different RFC (or spec) defines the content for a particular Encoding Type.

The "notification" in Figure 1 implies that the payload is one NETCONF notification.
The draft should be clear that there is no structure to the payload defined in this document.



Q1) Should proprietary encoding be used to support application-layer framing
       or should the standard support it?

I think we'd need to meet on this or else it will end up with thousands of long emails ;)


I think the draft should let other documents define the exact content expected in the payload.
I am used to application protocols defining specific message flows. Since this draft does
not do that, it should not attempt to impose any rules on the application payload at all.




3) Protocol Message Encoding for CBOR
The NETCONF notification message is not modelled in YANG.
This is an open issue for YANG to CBOR encoding.
https://github.com/core-wg/yang-cbor/issues/96<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcore-wg%2Fyang-cbor%2Fissues%2F96&data=04%7C01%7CThomas.Graf%40swisscom.com%7C84814f606cb04781c1e708d9aa00e0fd%7C364e5b87c1c7420d9beec35d19b557a1%7C0%7C0%7C637727743017805594%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=yfXw9xQ6dD9OOd5OVZ5xnKQFgSORrGzFSTx%2FC%2BilHv8%3D&reserved=0>

The "notification" and "eventTime" elements do not have YANG definitions.
SID assignments for these elements will be needed.
This draft is the likely place for these SID assignment requests to
the IESG and IANA.

Shouldn't these be transport agnostic? I don't see why this would be bound to udp-notif only and not, say, https-notif.

This is related to application/yang-data+cbor.
A separate document for the SID assignments can be done.




4) Subscription-ID Missing from Header
It is quite possible for one message generator to create
messages for multiple subscriptions.  The subscription-ID
will be needed to dispatch notifications to subscribers correctly.
The Observation-Domain-ID is not sufficient.

Same answer as above, we understand obs-domain-id to be used in the transport to meet load-balancing goals, but thought it would violate layers to place subscription-IDs in the transport itself.


So I will put the Subscription-ID here instead I guess because a common
use-case is to allow a Collector to support subscriptions from client applications.
Only datastore subscriptions include a subscription-id, not event stream notifications.



5) Private Encoding Option does not seem interoperable
The "Enc. Descr" field is completely opaque.

Correct.


Then perhaps there is no need for this at all since it does not
attempt to provide any interoperability?


This field could be structured to provide the "ET number space owner"
e.g, urn [wsp description]

Mmm it's a valid option. Our opinion was that once you want it interoperable, you should make it standard instead of private.
If the wg thinks we should kinda standardize private options, I'm personally okay to add that to the draft.

Use of structured strings like URNs does not seem like a bad thing that should be discouraged.
The ET field is not interopable if every implementation can define their own 4-bit values
and there is no standard way to tell them apart. Perhaps just a domain name if a URN is too much of a burden.




Andy

Thanks a lot for your comments,

Pierre.


Andy


Le mar. 16 nov. 2021 à 04:45, Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com>> a écrit :
Hi,

I am wondering if there implementations of this draft already.
IMO there are problems with in that prevent reasonable and
optimal implementations.

1) Use of UDP as the Application Message Framing
UDP is a transport protocol.  Tightly coupling one
NETCONF notification message to one UDP frame (+ fragments)
is not very optimal.

1A) wastes space in the UDP frame if the NETCONF notification
    happens to be short
1B) imposes an application-level max-message-size

2) Not Efficient for Streaming Servers (no Message Chunking)
The application framing in NETCONF and RESTCONF (HTTP) is not
coupled to any transport protocol. Instead, a sender may emit as
many message chunks as desired. This is how a streaming server works.
Content comes from many different sources and it is sent on-the-fly
in chunks, instead of constructing large replies.

    - Application framing allows multiple notifications in one UDP frame
    - Application framing does not need a max-message-size.
      Streaming servers often do not know the size of the data that will be sent
      in a notification.

Q1) Should proprietary encoding be used to support application-layer framing
       or should the standard support it?

3) Protocol Message Encoding for CBOR
The NETCONF notification message is not modelled in YANG.
This is an open issue for YANG to CBOR encoding.
https://github.com/core-wg/yang-cbor/issues/96<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcore-wg%2Fyang-cbor%2Fissues%2F96&data=04%7C01%7CThomas.Graf%40swisscom.com%7C84814f606cb04781c1e708d9aa00e0fd%7C364e5b87c1c7420d9beec35d19b557a1%7C0%7C0%7C637727743017815553%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=afUPwsN3gBCwnbxK7uOZ%2BccyHUdKXC404UBAQQbRuE0%3D&reserved=0>

The "notification" and "eventTime" elements do not have YANG definitions.
SID assignments for these elements will be needed.
This draft is the likely place for these SID assignment requests to
the IESG and IANA.

4) Subscription-ID Missing from Header
It is quite possible for one message generator to create
messages for multiple subscriptions.  The subscription-ID
will be needed to dispatch notifications to subscribers correctly.
The Observation-Domain-ID is not sufficient.

5) Private Encoding Option does not seem interoperable
The "Enc. Descr" field is completely opaque.
This field could be structured to provide the "ET number space owner"
e.g, urn [wsp description]


Andy



_______________________________________________
netconf mailing list
netconf@ietf.org<mailto:netconf@ietf.org>
https://www.ietf.org/mailman/listinfo/netconf<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fnetconf&data=04%7C01%7CThomas.Graf%40swisscom.com%7C84814f606cb04781c1e708d9aa00e0fd%7C364e5b87c1c7420d9beec35d19b557a1%7C0%7C0%7C637727743017815553%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=UZgC75UuOzIoB08bPLUxa2Eb%2BM8VDWU3%2FFGbrg2HuT0%3D&reserved=0>