Re: [netconf] Comments on draft-ietf-netconf-distributed-notif

Mahesh Jethanandani <mjethanandani@gmail.com> Tue, 22 March 2022 14:36 UTC

Return-Path: <mjethanandani@gmail.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 5B9803A14DA for <netconf@ietfa.amsl.com>; Tue, 22 Mar 2022 07:36:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 yut4mQOPtc-i for <netconf@ietfa.amsl.com>; Tue, 22 Mar 2022 07:36:35 -0700 (PDT)
Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4E0103A14D2 for <netconf@ietf.org>; Tue, 22 Mar 2022 07:36:35 -0700 (PDT)
Received: by mail-pl1-x62d.google.com with SMTP id w8so15603710pll.10 for <netconf@ietf.org>; Tue, 22 Mar 2022 07:36:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=qK4IcbjNUoVX3lUB6R8T2fEuArZ+h1xesgeLp0+MDcw=; b=N8rq3cD/BMGxHDf2Lr9iWpB/JzN+HIztBmBG1LGCuP/2pAjoj5Kwan3jSzZF6x+egY E8vOjmdFyw/IKe/Ztz9DvLI7OzLG0r1aT6pV1nYDs/9taTpq2UYJdiHGbt6ahIpjHQgx VLplcDfVIws1edzPFEw6X16DCj89gbYJnlsBu1SrrGvk5NvFPU4kvLFUQZa5mGIemJMf hPbnUApMWt9kbiQGZ3eFWnlZ/tO/dw5dBKy2HvlBLI5rBk8hRhRoZW3U1f49MwT4fRNn 1A7NgnJfk11SQOtzi84ftbZGmCpv69R0ujnTPJfunmtAXcxet6xuAQl+KymRLNgJTFZJ W3yg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=qK4IcbjNUoVX3lUB6R8T2fEuArZ+h1xesgeLp0+MDcw=; b=lJGcF6dVRVb3TAeVJpIC5l53qN6KVTJgPqFPbXNdnwySUOaATWN9X7zOLDYZD+eGjw 2yvvxC2uzkgBI3HMgI6iyLtgqvHHoS9AnZXQ4QlmwBfmhCgGHxI+zqxvytFz0p+Ew57e yxO7ECbfyFYfMCG1jfTtq5CC9TXtK9OomtUt7+WDg/KWI1js6CaKOCOdRukgaJKI/Oxi 57cyy++3/ksNi4/JqKVtbGCV9HRD2ifwC8UazYeUIR2zMDL4vEVd7OpGbnvzSoNnmhY1 Nd0t5xBmlV8MSb3zmWmE6p5h1sk8ihYSRxO2+fd9Rkqv6G+61FV7Vh6Z7gPhkc5G6evu vlNg==
X-Gm-Message-State: AOAM533H+0ZWtHGbTIvxhrEXIHqPaCpRnhBYJ1hVwnKniEZp3JyaI7pc 6mTId53nnEDI07oOG3dJcl6zGYdEAIdTGcC9lCZWkw==
X-Google-Smtp-Source: ABdhPJy2Zc5RmQmtGiyrAEe8DQCW0s8e0ObD1XPMUVH50vhtc9A8gXGW1nhQoK7QNAt7dL6m3lqmig==
X-Received: by 2002:a17:903:1cd:b0:154:5edf:5704 with SMTP id e13-20020a17090301cd00b001545edf5704mr10094467plh.26.1647959793817; Tue, 22 Mar 2022 07:36:33 -0700 (PDT)
Received: from smtpclient.apple (dhcp-9e7b.meeting.ietf.org. [31.133.158.123]) by smtp.gmail.com with ESMTPSA id j18-20020a633c12000000b0038204629cc9sm14428695pga.10.2022.03.22.07.36.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Mar 2022 07:36:33 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <4AEAC6B7-7BAC-4517-A18B-DB922293E997@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_8DD2287D-123F-471A-AE23-F88695315DDA"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
Date: Tue, 22 Mar 2022 15:36:29 +0100
In-Reply-To: <ZRAP278MB0176FD65387738CB67C71B6989179@ZRAP278MB0176.CHEP278.PROD.OUTLOOK.COM>
Cc: netconf@ietf.org
To: Thomas.Graf@swisscom.com
References: <7DAEC2CC-BBBD-4469-B7DD-D71354C3C509@gmail.com> <ZRAP278MB0176FD65387738CB67C71B6989179@ZRAP278MB0176.CHEP278.PROD.OUTLOOK.COM>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/k3rOSw6hWskFi94-83UMbeKmPyQ>
Subject: Re: [netconf] Comments on draft-ietf-netconf-distributed-notif
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: Tue, 22 Mar 2022 14:36:41 -0000

Hi Thomas,

Thanks for your responses. Please see inline.

> On Mar 22, 2022, at 2:13 PM, <Thomas.Graf@swisscom.com> <Thomas.Graf@swisscom.com> wrote:
> 
> Hi Mahesh,
>  
> Section 3 of the document (https://datatracker.ietf.org/doc/html/draft-ietf-netconf-distributed-notif#section-3 <https://datatracker.ietf.org/doc/html/draft-ietf-netconf-distributed-notif#section-3>) describes the motivation. Being able to recognize lost and corrupt YANG notification messages when multiple publisher process sharing the same transport session properties.
>  
> Section 8 (https://datatracker.ietf.org/doc/html/draft-ietf-netconf-distributed-notif#section-8 <https://datatracker.ietf.org/doc/html/draft-ietf-netconf-distributed-notif#section-8>) describes the differences between draft-ietf-netconf-udp-notif and draft-ietf-netconf-https-notif.
>  
> If this was transported over another transport, e.g. TCP/HTTP or QUIC, would they require a similar header?
>  
> If multiple publisher process sharing the same transport session properties, yes.
>  
> If so, what would it look like.
>  
> Section 2 (https://datatracker.ietf.org/doc/html/draft-ietf-netconf-distributed-notif#section-2 <https://datatracker.ietf.org/doc/html/draft-ietf-netconf-distributed-notif#section-2>) describes Observation Domain ID as a 32-bit identifier. 
>  
> Observation Domain ID can also be part of the YANG notification messages header as describes in draft-ietf-netconf-distributed-notif Section 3(https://datatracker.ietf.org/doc/html/draft-ietf-netconf-distributed-notif#section-3 <https://datatracker.ietf.org/doc/html/draft-ietf-netconf-distributed-notif#section-3>)

[mj] My first observation is that UDP transport header format for that you describe in Section 3.2 of draft-ietf-netconf-udp-notif is more than just a 32-bit field that describes the Observation Domain ID. Most of the other fields are there to support the transport, i.e. UDP in this case. You seem to be suggesting that for TCP/HTTP  (and maybe for QUIC also), only the 32-bit field is needed between the transport layer and the notification messages. Is that the case? And does the following figure capture your point?



>  
> With this transport message header, do you still believe you are transport independent?
>  
> Yes. Because the Observation Domain ID can be either be implemented in the transport header or in the YANG notification messages header.

[mj] What is your recommendation? If you believe the Observation Domain ID should be part of the message header, then your message header is different for different transports. If your recommendation is that it should be part of the notification, then you need to modify the message header in the UDP-Notif draft to move it out of the Message Header and show it as part of Notif Message.

>  
> How does the publisher know where to send the notification messages? If this configuration a part of yang push, maybe an example of how yang push needs to be configured would be nice.
>  
> Yes it is part of the YANG push configuration. If I understand you correctly, you would like to see an example YANG push subscription including with the transport session properties as well. Correct?

[mj] That is correct, and preferably an example for each type of transport supported.

Thanks.

>  
> Best wishes
> Thomas
>  
> From: netconf <netconf-bounces@ietf.org> On Behalf Of Mahesh Jethanandani
> Sent: Tuesday, March 22, 2022 11:00 AM
> To: Netconf <netconf@ietf.org>
> Subject: [netconf] Comments on draft-ietf-netconf-distributed-notif
>  
> Hi Authors,
>  
> I promised in the NETCONF WG 113 meeting that I would provide comments on the draft. These comments were provided in the meeting, and I will expand on them here. 
>  
> My first comments was on the transport. The authors have asserted that this draft is transport independent. The motivation section of the draft, Section 3, talks about Observation Domain ID in the transport message header of the YANG notification, and very specifically cite how the UDP transport draft supports this header. Two comments. If this was transported over another transport, e.g. TCP/HTTP or QUIC, would they require a similar header? If so, what would it look like. If not, why not? With this transport message header, do you still believe you are transport independent?
>  
> My second comment was around examples. The examples in the Appendix focus on establishing subscription, modify subscription, and subscription started. However, it was not clear how would a notification be setup between publisher and receiver. How does the publisher know where to send the notification messages? If this configuration a part of yang push, maybe an example of how yang push needs to be configured would be nice. Similarly, if UDP transport is used for transport, what needs to be configured to use UDP transport, including any DTLS configuration.
>  
> Thanks.


Mahesh Jethanandani (as contributor)