Re: [netconf] Adoption-suitability for draft-unyte-netconf-distributed-notif

Tianran Zhou <zhoutianran@huawei.com> Wed, 23 September 2020 06:51 UTC

Return-Path: <zhoutianran@huawei.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 E173B3A0A2B for <netconf@ietfa.amsl.com>; Tue, 22 Sep 2020 23:51:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 OMbDrH2m7qVx for <netconf@ietfa.amsl.com>; Tue, 22 Sep 2020 23:51:08 -0700 (PDT)
Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) (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 90E303A0A25 for <netconf@ietf.org>; Tue, 22 Sep 2020 23:51:08 -0700 (PDT)
Received: from lhreml738-chm.china.huawei.com (unknown [172.18.7.107]) by Forcepoint Email with ESMTP id 29BE87CA55D6D9009141; Wed, 23 Sep 2020 07:51:07 +0100 (IST)
Received: from nkgeml706-chm.china.huawei.com (10.98.57.153) by lhreml738-chm.china.huawei.com (10.201.108.188) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Wed, 23 Sep 2020 07:51:06 +0100
Received: from nkgeml707-chm.china.huawei.com (10.98.57.157) by nkgeml706-chm.china.huawei.com (10.98.57.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Wed, 23 Sep 2020 14:51:04 +0800
Received: from nkgeml707-chm.china.huawei.com ([10.98.57.157]) by nkgeml707-chm.china.huawei.com ([10.98.57.157]) with mapi id 15.01.1913.007; Wed, 23 Sep 2020 14:51:04 +0800
From: Tianran Zhou <zhoutianran@huawei.com>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
CC: Kent Watsen <kent+ietf@watsen.net>, Andy Bierman <andy@yumaworks.com>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [netconf] Adoption-suitability for draft-unyte-netconf-distributed-notif
Thread-Index: AQHWa3XT/yp90Vv9H0i3R7lOe+hPQ6kxPqwAgAEGkBCAQSaZAIAABOyAgAAGrgCAALMIwIAAXYMAgAGGTKA=
Date: Wed, 23 Sep 2020 06:51:03 +0000
Message-ID: <444c48abc18e4539acd4229075b5fb77@huawei.com>
References: <01000173c0b07b33-ad0b793a-7afc-4b39-95f8-2f50574d57bb-000000@us-east-1.amazonses.com> <CABCOCHTP5boMJpCvhjd=Ur9sTr-+Ea0gSzOJnY_YToHGdurhsA@mail.gmail.com> <e7ccc6495dd34c4fae15a1697ccd1af5@huawei.com> <01000174b2ba9c57-cbc0d353-8d30-4885-8769-1ea869b4d0be-000000@email.amazonses.com> <CABCOCHR9hBn+vYg-Y8qfWd-Vj5qEqcAuGNrq_Xg+fRiiVALkVA@mail.gmail.com> <01000174b2e0a349-52337b7b-81c3-4c56-a58b-36c95d68340f-000000@email.amazonses.com> <5c058aa40cbf4141b32b19bd53514415@huawei.com> <DE9F4ED9-D745-4501-813D-6BB4822C1BD4@gmail.com>
In-Reply-To: <DE9F4ED9-D745-4501-813D-6BB4822C1BD4@gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.108.243.128]
Content-Type: multipart/alternative; boundary="_000_444c48abc18e4539acd4229075b5fb77huaweicom_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/M3JoHVgJFkOfBQbLOFisxTJ2dc8>
Subject: Re: [netconf] Adoption-suitability for draft-unyte-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: Wed, 23 Sep 2020 06:51:11 -0000

Hi Mahesh,

Please see in line about my thoughts.

Thanks,
Tianran

From: Mahesh Jethanandani [mailto:mjethanandani@gmail.com]
Sent: Tuesday, September 22, 2020 11:10 PM
To: Tianran Zhou <zhoutianran@huawei.com>
Cc: Kent Watsen <kent+ietf@watsen.net>; Andy Bierman <andy@yumaworks.com>; netconf@ietf.org
Subject: Re: [netconf] Adoption-suitability for draft-unyte-netconf-distributed-notif

[As a contributor]

Hi Tianran,

I am confused by the value statement. Maybe you can help clarify.

It would help if we can use a single terminology of publisher/subscriber instead of mixing it with client, which I understand to be the subscriber and server which I understand to be the publisher. Note, if HTTPS is used, the role of client and server would be reversed, so it is best to avoid using those terms.

See inline with [mj].


On Sep 21, 2020, at 7:04 PM, Tianran Zhou <zhoutianran@huawei.com<mailto:zhoutianran@huawei.com>> wrote:

Thanks Andy for your opinion. And thank Kent for your expansion and further question.
The goal is to allow the client to know if it has received all the data pieces. Furthermore, the client know which publisher failed to send data. Then it depend on the client to do the action, e.g., ignore, require the data one more, …
We just use the generator-id to indicate the publisher, as we find it in ietf-netconf-notification-messages, and it’s very convenient for this usage.

[mj] What usage would be that? The usage of generator-id to indicate who is the publisher and thereby have the subscriber request for any missing data? I would like to note that nothing prevents usage of a reliable transport, e.g. HTTPS or TCP, with this draft. Would you still need a generator-id?

One use case is exactly as Kent mentioned “Answering myself here, perhaps it enables two servers on the same IP address to send to the same receiver, as then the receiver doesn’t solely rely on source-IP address (assuming unauthenticated push) to designate the publisher”.
It’s also OK for us to use another indicator if the generator-id is not feasible.

[mj] Precisely. If you use a reliable transport, you would have other means to identify the source of the notifications, in which case you would not need the generator-id.

ztr> Yes. But I just think if we can use the generator-id, we do not need to develop different ways for each transport. So that the procedure could be consistent.

Which goes back to the question of why we need a generator-id. If we do not want data loss, we should be using a reliable transport, in which case we do not need a generator-id. If we can tolerate data loss, e.g. with statistics, we do not care for generator-id because we are not going to ask for missing data. What use case requires us to use unreliable transport and yet need a generator-id?

ztr> Here we want to check the integrity, not the precise packet loss. For reliable transport, the receiver know how many sessions need to establish for one subscription. On the other hand,  if one session get lost, which subscriptions are impacted.
For the unreliable transport, one more case is, if one session is really bad (say 50% packet loss), the subscriber may need to do some action/adjustment. Yes we can tolerate data loss, but I think it should be a threshold.

Thanks.


“what seems to be missing is an ability for the client to determine which generator-id is used by which publisher (e.g., line card). ”
If necessary, maybe we can extend this mapping in some initial exchanges. To be clear, how do you want to name the publisher?

Thanks,
Tianran

From: netconf [mailto:netconf-bounces@ietf.org] On Behalf Of Kent Watsen
Sent: Tuesday, September 22, 2020 6:55 AM
To: Andy Bierman <andy@yumaworks.com<mailto:andy@yumaworks.com>>
Cc: netconf@ietf.org<mailto:netconf@ietf.org>
Subject: Re: [netconf] Adoption-suitability for draft-unyte-netconf-distributed-notif

[As an individual contributor]

The overall approach to the binary push features seems a bit incoherent to me.
I don't see much value in this draft, but no harm either so I do not have an objection
to adoption.  Perhaps there is some debugging value here but since the architecture
really does not define message generators as sub-components of a configured subscription,
a client cannot expect any sort of consistent implementation of this field.

Good point. If I understand you correctly, what seems to be missing is an ability for the client to determine which generator-id is used by which publisher (e.g., line card).  The solution enables the client to partition notifications coming from different publishers, but that is it.  What value does this have to the client, I don’t know.

Answering myself here, perhaps it enables two servers on the same IP address to send to the same receiver, as then the receiver doesn’t solely rely on source-IP address (assuming unauthenticated push) to designate the publisher?



Can the authors help resolve the value-proposition question here?

K.


_______________________________________________
netconf mailing list
netconf@ietf.org<mailto:netconf@ietf.org>
https://www.ietf.org/mailman/listinfo/netconf

Mahesh Jethanandani
mjethanandani@gmail.com<mailto:mjethanandani@gmail.com>