Re: [netconf] draft-ietf-netconf-udp-notif-10

Andy Bierman <andy@yumaworks.com> Thu, 10 August 2023 16:33 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 0E7DBC15106D for <netconf@ietfa.amsl.com>; Thu, 10 Aug 2023 09:33:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, T_SCC_BODY_TEXT_LINE=-0.01, 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 V-lZZpzQEEZg for <netconf@ietfa.amsl.com>; Thu, 10 Aug 2023 09:33:52 -0700 (PDT)
Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) (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 105D3C14CE5E for <netconf@ietf.org>; Thu, 10 Aug 2023 09:33:51 -0700 (PDT)
Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2b9bee2d320so17171451fa.1 for <netconf@ietf.org>; Thu, 10 Aug 2023 09:33:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks.com; s=google; t=1691685230; x=1692290030; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=DvBTqRYfEbhn47xyXuxT2XqbxzFdjFjSwIzoJz8gVFE=; b=bsR/RqVa8p40iBZ3kxuq0e2zrA419k1xX4ElCok0b4iz50ii6miFcEAZnItlIIfjNX TQotwPkwJjrXleADoqz8t0IHvPi2rqTRyaPTAtmS6P+DDtvK8ku6OOzbHl7YKrow4fm7 GCJwCBojHP1yc+yzHX+8KkGaN2/DRbeLyxY5+oYefPJCF2vTecSymZKOWSakwm9LbFcS eQZ8lmJOLYli+FpnwG0qzCuBQCoKMhZvk9Q/NdoC8G5Uq47BOXAQy6uGHMbcM0GslTmB vrtrCCg8w2lznVtXbdIhMbcCwFp4ME6yDcnwrFwO68wIFyuDw9GKia6aaGwwbhNvLXTC uhBQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691685230; x=1692290030; 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=DvBTqRYfEbhn47xyXuxT2XqbxzFdjFjSwIzoJz8gVFE=; b=YTssMcDaDwm4OSXmsFcvPIidFDM2wtErt+x9ZZ3D0ibjQby12zGXzvAdaCKIZtkgnB OQs8mLd/hTEmmS/zxI7fHFr/I4jwq/msd62fi+HpUIWiD+LCehK6HjM81xkP+asNVORc RdxjupgFzPpxwBdrfr7xPh6bIcaD//o6csArxfttCK1wHvakMGvoKAtpmj8BH8EqhPiQ xco4SfAaeoWS2wLNb8LpW0uoQDBwq48NrRCS7ZkBKmiowdb3Ib4JpOKTdaFvTdKopzfm 5c/UN6x2HT1Zeztfw+pyOX9Cixv372cizxHTeSuEr9AYmbcY4G0wHe5rNo40AoJFP0It Vtbg==
X-Gm-Message-State: AOJu0YwPjO3lSpJXeYoxu4XDp18ZQ1LTzNg1jrBacbNRWNpmuXo4vfPc uhJDWl9MAJIVWuYFlXVHj44oiZXmuZyd40l/oZgitL7WIZaCxaom
X-Google-Smtp-Source: AGHT+IGzAq8Osfpl7l47uLjrjpvZV6KdiLwNbEsklarmBkbBvbuSwlf21q0abDMInCOD27aBGS1XmYSwwmKgwj00gJ8=
X-Received: by 2002:a2e:2419:0:b0:2b9:f13b:613c with SMTP id k25-20020a2e2419000000b002b9f13b613cmr2470043ljk.2.1691685229675; Thu, 10 Aug 2023 09:33:49 -0700 (PDT)
MIME-Version: 1.0
References: <e2e898680f2b40a78b7d8854ca5fee4f@huawei.com> <wd6kzin4foik2dimypz67ziqya7lhbs3rzk7t4gp6jic77kxb3@6pvkir2sivsn> <04cb53fc90f84bf4b23acd598eefaf1c@huawei.com> <anhguehaskcbb2ayryota6fixkijydn2tjp2iggkrxqfottfxh@c5zwzaewitu6> <80d76006-a780-ddf0-74e9-7edc6b2063ce@huawei.com> <6f0be853231c4fa4b24de758590770f2@swisscom.com> <D3F2969C-C395-4403-995D-E064A943F3AB@insa-lyon.fr> <2xysgyiy4arqyemi52o7uog33uzwf2o6c6cgoik7tx57rcsmvk@jvlxk4njwlyx> <CABCOCHSb191+f5ocQ8ET0wPA6KEz7F=BR7awskn-SatcpmeUSw@mail.gmail.com> <fsg6dfpghcuzy3mu3axwutbij2xfynvmtqqkagytkn5tqqrxgb@hmq6r65xvymz> <CABCOCHTfDTr1vu2wA0QHQ7MiCkhH460VC1rmxtv+D0+a+77r0A@mail.gmail.com> <01000189dfc4dace-98fc4d82-199e-41bd-9063-e9a222b12d28-000000@email.amazonses.com>
In-Reply-To: <01000189dfc4dace-98fc4d82-199e-41bd-9063-e9a222b12d28-000000@email.amazonses.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 10 Aug 2023 09:33:38 -0700
Message-ID: <CABCOCHS_1iRBHA-ZdEMi66DCXOVDFjawxLt467E0_XmbQgb3gQ@mail.gmail.com>
To: Kent Watsen <kent+ietf@watsen.net>
Cc: Jürgen Schönwälder <jschoenwaelder@constructor.university>, Alex Huang Feng <alex.huang-feng@insa-lyon.fr>, "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002fdfb306029429f6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/hCyLoF_mP-mQfb8_rFpi9JskxHw>
Subject: Re: [netconf] draft-ietf-netconf-udp-notif-10
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.39
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: Thu, 10 Aug 2023 16:33:56 -0000

On Thu, Aug 10, 2023 at 7:06 AM Kent Watsen <kent+ietf@watsen.net> wrote:

>
> > > Perhaps you just wanted UDP and the rest just got added for political
>> > > correctness in the IETF?
>> >
>> > The solution is partial at best and designed for use in enterprise
>> networks.
>> > The introduction describes lots of line cards blasting UDP packets at a
>> > single receiver.
>>
>
> I have seen the need for distributed data-plane (not control-plane) log
> collection, whereby some collectors are physically in the same rack as
> the producers.  Unencrypted UDP  is usedto minimize the performance
> impact to the revenue-generating line cards.
>
> The collector can be assembled using off-the-shelf components.  The
> collector aggregates/deduplicates/compresses the logs before forwarding
> them to a centralized collector, using an encrypted TCP-based transport.
>
> I support this work, but only for this use case.
>
>
The scope is for Configured Subscriptions.

I appreciate the need for a distributed system, where lightweight
collectors can
simply listen for notifications, without all the heavyweight protocols used
to
configure the system.

What if I just ran this protocol over TCP instead of UDP?
What if I don't want to reimplement all the features of TCP in the
application layer,
because that's a horrible idea?

IMO this option is actually much better for configured subscriptions than
UDP.
Many on-change subscriptions and all event stream subscriptions will work
much better
with a reliable transport. Duplicates, misordering, and lost packets can
cause many problems
for a YANG Push collector.

Only the simplest periodic datastore subscriptions are safe for UDP.
Yet on-change is a must-have since periodic updates can use up lots of
bandwidth for duplicate reports.
On-change updates may omit data nodes that did not change, so if lost,
there may not
be another update that has the lost information.





> Kent
>

Andy