Re: [netconf] Review comments on draft-ietf-netconf-udp-notif

Mahesh Jethanandani <mjethanandani@gmail.com> Tue, 09 November 2021 22:05 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 695333A08F6; Tue, 9 Nov 2021 14:05:04 -0800 (PST)
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, 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 V1sbBEyagSXj; Tue, 9 Nov 2021 14:04:59 -0800 (PST)
Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) (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 2BB7D3A11B2; Tue, 9 Nov 2021 14:04:59 -0800 (PST)
Received: by mail-pg1-x532.google.com with SMTP id g28so381093pgg.3; Tue, 09 Nov 2021 14:04:59 -0800 (PST)
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=HdA6hvq1F9GtsFzycy+qbfi24La79EFMALq5IxQbs0g=; b=qfYJtxOu0mV8kCnB2ii/W+EmkC5fSmMKE5QYxmKN+vBStxyLsC7/QE9TOhAI+2vSfJ YBpuJn55q5Qf0nZpv+9pOtHwC/mmZexnITxYZFSkbGcQkj5FuuF7Z7WGa1O9qlbI/4pw ps8aWNQ3qRH8ZE86Nat+ZxlFQDPb1mQuLKtZlt1QV1XXXKz4yiodYwEeI+vHENOTerlb +9wlCAy/Kb5koCRdsiyxqMWkw6wXUsWZCCc+HoOFIBkjAnKVdrM6f7fC23tlC1SJOzaH Hv4xxeilPCRNI1QBHYYHw6nTJh6h3iAE+v0qPjTEKZHN2GSSvvBWSAbo+MEAJeDgj+s0 vrJA==
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=HdA6hvq1F9GtsFzycy+qbfi24La79EFMALq5IxQbs0g=; b=o/cj2yPvKHKe39ckLhpXEhUCP5cbvXydmVR0uP2jYqhdlSmlDSepljRReOwCdB7wep 7SzJzXvnoZEVYu0s05XhqvcsgTaSExme96Je+uEOnDWGWspaNFWNIqIaiCZHgVez3bAT FDmHVbeJOI/6125NBz37x43u1F0IaZT5cB8mvg8I/WkWwBd8wRLQywpcIGwJMF20kbL6 AolMfoHgO0mRbM8fepu+h5CeDPSBffwBqXB5of0ZI8bZYLK3haigGgmn0ePMtOCOGwOJ YQGd+Cni2yicIde8TkszJzGGLCWfgp2TdkdeFVPkkMmFAuSf5vcQOq24gAJCX0yjlBPj sssQ==
X-Gm-Message-State: AOAM530+YTRaNPbLaiqxoBPbvEPKNMqkkWtrHurIVFEaOreD5RlSvSzH B16EjlGdOilPkFkp03UTszE=
X-Google-Smtp-Source: ABdhPJy1BCRLGpU7j8qr889bRZ+zl+/knd0m4yLLvrioQtxtRGXUroIBGe2RsGL3akTn3AMpbAUz9Q==
X-Received: by 2002:a05:6a00:8d0:b0:44c:26e6:1c13 with SMTP id s16-20020a056a0008d000b0044c26e61c13mr11696286pfu.28.1636495497850; Tue, 09 Nov 2021 14:04:57 -0800 (PST)
Received: from nangal.nikung.org (c-69-181-169-15.hsd1.ca.comcast.net. [69.181.169.15]) by smtp.gmail.com with ESMTPSA id a8sm4032833pfv.176.2021.11.09.14.04.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Nov 2021 14:04:57 -0800 (PST)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <C84A9D67-2E3E-4863-B98B-204128A8A870@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_A21870C8-66F2-483A-8767-C9DDD12796E4"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\))
Date: Tue, 09 Nov 2021 14:05:10 -0800
In-Reply-To: <1033979831.2157206.1636459882397.JavaMail.zimbra@insa-lyon.fr>
Cc: Tianran Zhou <zhoutianran@huawei.com>, draft-ietf-netconf-udp-notif@ietf.org, Netconf <netconf@ietf.org>
To: Pierre Francois <pierre.francois@insa-lyon.fr>
References: <12D5318C-D645-477A-8651-31D4C35C34D4@gmail.com> <4a5c424a36d245b386789b3775cb43de@huawei.com> <1033979831.2157206.1636459882397.JavaMail.zimbra@insa-lyon.fr>
X-Mailer: Apple Mail (2.3445.104.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/-FxtkBmRbtmchcB49voTVViN8Ro>
Subject: Re: [netconf] Review comments on draft-ietf-netconf-udp-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, 09 Nov 2021 22:05:05 -0000

Hi Pierre,

See inline with [mj]

> On Nov 9, 2021, at 4:11 AM, Pierre Francois <pierre.francois@insa-lyon.fr> wrote:
> 
> Hello Tianran, Mahesh, 
> 
> Thank you for the comprehensive review. 
> 
> Inline PFR>
> 
> ----- Mail original -----
>> De: "Tianran Zhou" <zhoutianran@huawei.com>
>> À: "Mahesh Jethanandani" <mjethanandani@gmail.com>, draft-ietf-netconf-udp-notif@ietf.org
>> Cc: "Netconf" <netconf@ietf.org>
>> Envoyé: Lundi 8 Novembre 2021 13:36:50
>> Objet: RE: Review comments on draft-ietf-netconf-udp-notif
> 
>> Hi Mahesh,
>> 
>> Thanks very much for your detailed review and comments.
>> Please see in line for my reply.
>> 
>> Cheers,
>> Tianran
>> 
>> From: Mahesh Jethanandani [mailto:mjethanandani@gmail.com]
>> Sent: Monday, November 8, 2021 6:21 AM
>> To: draft-ietf-netconf-udp-notif@ietf.org
>> Cc: Netconf <netconf@ietf.org>
>> Subject: Review comments on draft-ietf-netconf-udp-notif
>> 
>> Hi authors of draft-ietf-netconf-udp-notif,
>> 
>> Here are some of my comments on the -04 version of the draft.
>> 
>> Nits:
>> 
>> *   Please give the draft a more descriptive description for the short title
>> rather than unyte-udp-notif. Something like "UDP-based Subscription”.
>> *   S/DTLS is layered next tot/DTLS is layered on top of/
>> ZTR> I agree with your suggestions.
>> 
>> Comments (major and minor):
>> 
>> 
>> *   In Section 1 there is an inherent assumption that the network
>> processors/line cards have network access to the receiver. I think that
>> requirement needs to be made explicit. Otherwise, routing all messages through
>> an internal consolidator might be the only option. BTW, I believe the option to
>> route notification messages through a internal consolidator should be kept as
>> an option for UDP transport in case the line cards cannot route out of the box.
>> ZTR>Yes, it’s a good suggestion. I will add this to the new revision.
>> 
>> *   In Section 2, it is not clear who is responsible for sending the
>> notification to the publisher that the receiver is ready to receive
>> notifications.
>> ZTR> I am sorry, I do not remember the configure subscription clear. What’s
>> defined generic in RFC8639 about how the publisher know the receiver? Or the
>> publisher does not need to deal with this anyway?
>> 
>> *   In Section 3.1, TLS is specified as a transport protocol. I think you mean
>> TCP or HTTP2 over TCP.
>> ZTR> This I would like to leave it to Pierre.
> 
> PFR> I'm afraid I don't understand the comment.

[mj] TLS is a cryptographic protocol, not a transport protocol. 

> 
>> 
>> *   There is use of term ’notification message” and “Notification Messages”.
>> What is the difference? If you are using a pre-defined term, can you add a
>> definition and nomenclature section that brings in the reference. If you are
>> defining a new term, can you add a definition in the document.
>> ZTR> In my opinion, no difference. I would like to add a ref from existing
>> definition.
>> 
>> *   In Section 3.2, it is better for the Ver field to have an initial version of
>> 1 instead of 0 to distinguish from a value that my not have been set.
>> ZTR> Is this normal? I do not mind to do this.
>> 
>> *   Section 6.1. Not clear on the statement “Since UDP is an unreliable
>> transport, with DTLS, an originator or a relay may not realize ..”. What has
>> DTLS got to do with the unreliability of the transport protocol?
>> ZTR> This I would like to leave it to Pierre.
> 
> PFR> What this means is that you don't get to know whether what you produced as an originator 
> got consumed by the receiver, as you would using a connection oriented transport. Actually, 
> it's obvious so we may want to remove this paragraph. The intent was to not have the reader think 
> dtls changes things compared to basic udp transport.

Ok.

Thanks

> 
> Cheers, 
> 
> Pierre.
> 
> 
>> 
>> *   Section 6.2. Is the draft asking for assignment of a well known port for UDP
>> based transport?
>> ZTR> Yes. This is what we request from IANA.
>> 
>> *   Section 8.
>> 
>>    *   Has the model been compiled with pyang and yanglint? See compilation outputs
>>    below.
>> ZTR> I noticed this. But it seems from “ietf-subscribed-notifications”. Do you
>> know what’s happened?
>> I also noticed the datatracker shows 4 errors. It seems the same errors exist in
>> draft-ietf-netconf-https-notif. Could anyone help on this?
>> 
>>    *   File name has a date that is different from the revision date in the model.
>>    *   Please add references to the models that are imported into this model in the
>>    draft itself. They are there in the model, but not in the draft itself.
>>    *   How about support for retransmission timeout value in the YANG model?
>> ZTR> I do not understand this. What’s this suggestion?
>> 
>>    *   Change WG reference to  <https://datatracker.ietf.org/wg/netconf>
>>    *   Remove the prefix “mailto:” It is great in a HTML document, but does not
>>    help in a YANG model.
>>    *   Update Copyright year to 2021.
>>    *   Indentations are off the model. Please fix.
>>    *   If the grouping “target-receiver” is not going to reused anywhere else,
>>    please remove it and inline it within the augment statement.
>> ZTR> Others received. I will update. Many thanks!
>> 
>> $ pyang -f tree
>> ietf-udp-notif@2021-10-18.yang <mailto:ietf-udp-notif@2021-10-18.yang><mailto:ietf-udp-notif@2021-10-18.yang <mailto:ietf-udp-notif@2021-10-18.yang>>
>> ietf-udp-notif@2021-10-18.yang <mailto:ietf-udp-notif@2021-10-18.yang><mailto:ietf-udp-notif@2021-10-18.yang <mailto:ietf-udp-notif@2021-10-18.yang>>:120:
>> warning: node "ietf-subscribed-notifications::transport" is not found in
>> "ietf-subscribed-notifications::subscriptions”
>> $ yanglint ietf-udp-notif@2021-10-18.yang <mailto:ietf-udp-notif@2021-10-18.yang><mailto:ietf-udp-notif@2021-10-18.yang <mailto:ietf-udp-notif@2021-10-18.yang>>
>> libyang warn: Schema node "transport" for parent
>> "/ietf-subscribed-notifications:subscriptions" not found; in expr
>> "derived-from(../../../transport" with context node
>> "/ietf-subscribed-notifications:subscriptions/subscription/receivers/receiver”.
>> 
>> Thanks
>> 
>> Mahesh Jethanandani
>> mjethanandani@gmail.com <mailto:mjethanandani@gmail.com><mailto:mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>>

Mahesh Jethanandani
mjethanandani@gmail.com