Re: [Netconf] In an update, when is a delete a delete?

Andy Bierman <andy@yumaworks.com> Fri, 19 May 2017 03:56 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 A4C1212EC80 for <netconf@ietfa.amsl.com>; Thu, 18 May 2017 20:56:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 oF47tQ_davas for <netconf@ietfa.amsl.com>; Thu, 18 May 2017 20:56:36 -0700 (PDT)
Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (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 7C71E12ECC0 for <netconf@ietf.org>; Thu, 18 May 2017 20:49:59 -0700 (PDT)
Received: by mail-wm0-x233.google.com with SMTP id b84so222209629wmh.0 for <netconf@ietf.org>; Thu, 18 May 2017 20:49:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JjraPiGGsh6UrqGmZ/jav1E4ijY2PR2Snph7y+YBCuo=; b=s0kcV7FHx0CebZhBpj5m42Xd+zavDpCnwtN3pbDb00tKbN0rV36IoC6iTHZQ3N2lSb tEIjaTdEZ1zOba/XLv/aUKMXDEw3e1/DpdEwe6ofRHasnT8Vti/g+qjoC0kpnYGSDU9g OKCeC3TKzqdyBWtH2GhAuF1xodlNwiv4wZv3KeIh+REyn1KFU0rPEWzMkPwwiAdbmKl6 MWsJthtLc0BewOYdueWLXXEEsDy74vSXG5tI7hO/dBvi64852YA9ce5olqRfHIj9c48P zlT25oBrbthfI5/kavHYRnEEsesgaczyrRI/isnk/jbs5kOelMc2cCq0OP28f2t9gP4m Rqrg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=JjraPiGGsh6UrqGmZ/jav1E4ijY2PR2Snph7y+YBCuo=; b=G9nMmNN1Vuyx1A/bYwxGTzGTFvX+f9GvIX+Fln/feHI7nMk5mO9UbR9QuOiW2IH8M7 ZL8iR+xCviTfeQs5jB8WEZSzZeSX7U0YgLTQ4gZoPskNCon4NlKDS4IL9kj+Z/c/gc49 gxZ4jQIxk+6hvEtqatZxf8ePj+sgJcHkkNYLqwxXTTUDaAOQjOlMCqvA7zkwWUUc6Qnb ncwpyKl2jHCuDIS/uK2LXVc8y1oBXm4lqyqp8nSUxyrUvA5LV5ebDBosrzFrzjNoF4lB OHtbL5l+B6wlBler2IHKu4H19j30ZLO8gXN5f8RUysBcky6k6z/3Sm/RVl9+4/dlIi/X Ij/A==
X-Gm-Message-State: AODbwcAuSHlS+CgR9+YLvGC8ZZ6GnQmV1kRpr/VAr/tagBkgGuJBJfIC alw454cA8ch4S8zKtluOORF/rrP+bZQs
X-Received: by 10.28.138.73 with SMTP id m70mr14913927wmd.99.1495165797994; Thu, 18 May 2017 20:49:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.155.2 with HTTP; Thu, 18 May 2017 20:49:57 -0700 (PDT)
In-Reply-To: <644DA50AFA8C314EA9BDDAC83BD38A2E0DFAF0AC@SJCEML701-CHM.china.huawei.com>
References: <8340AFB7-350A-4641-A130-4114E39C73E1@juniper.net> <CABCOCHS-qYRJuvrDNj+CbL6p+cdt84Mc+a-P-MiqU4x=V814aQ@mail.gmail.com> <644DA50AFA8C314EA9BDDAC83BD38A2E0DFAF042@SJCEML701-CHM.china.huawei.com> <CABCOCHSdMGuXvmf6YeVCw6oVAgRwd2NOLrCC-1x3ync7KPx3Aw@mail.gmail.com> <644DA50AFA8C314EA9BDDAC83BD38A2E0DFAF0AC@SJCEML701-CHM.china.huawei.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 18 May 2017 20:49:57 -0700
Message-ID: <CABCOCHQ-H7CdQodptTxaJj-7v9qZ_sF41RfBC4oi-GFY57bz+A@mail.gmail.com>
To: Alexander Clemm <alexander.clemm@huawei.com>
Cc: Kent Watsen <kwatsen@juniper.net>, "Eric Voit (evoit)" <evoit@cisco.com>, Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="001a11444936452a1a054fd86a37"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/pHRqRU1MwtKe5AOkAplkco7qIYE>
Subject: Re: [Netconf] In an update, when is a delete a delete?
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Network Configuration WG mailing 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: Fri, 19 May 2017 03:56:38 -0000

Hi Alex,

On Thu, May 18, 2017 at 6:51 PM, Alexander Clemm <alexander.clemm@huawei.com
> wrote:

> Hi Andy,
>
> Below
>
> --- Alex
>
>
>
> *From:* Andy Bierman [mailto:andy@yumaworks.com]
> *Sent:* Thursday, May 18, 2017 6:34 PM
> *To:* Alexander Clemm <alexander.clemm@huawei.com>
> *Cc:* Kent Watsen <kwatsen@juniper.net>; Eric Voit (evoit) <
> evoit@cisco.com>; Netconf <netconf@ietf.org>
> *Subject:* Re: [Netconf] In an update, when is a delete a delete?
>
>
>
> ……………………
>
> <snip>
>
> I interpret the “modified-in” and “modified-out” suggested by Kent
> precisely as a distinction between those cases.  “Modified-out” simply
> means its value changed so it no longer matches the filter (but the object
> still exists).  Whether we call it modified-in/out or something else is
> another question.  Of course, the issue is that this means this is a new
> case that is not covered by the patch syntax, which would require an
> extension of the encoding.
>
>
>
>
>
>
>
> What breaks if the client just sees data nodes appear or disappear from 1
> patch to the next?
>
> Why does the client need to know the data node still exists, but the
> foo==5 filter changed.
>
> The client decided that only state for foo==5 needs to be watched, so from
> its POV
>
> the extra metadata should not be needed.
>
>
>
>
>
> <Alex>
>
> For periodic, this is what happens.
>
> In the case of on-change, we would indicate changes.  If a data node is
> not included in an update, how would we be able to distinguish between the
> case of (not included because no change) and (not included because no
> longer meets the filter)?  We do need to indicate to the subscriber that
> there has been a change in that the data node no longer meets the
> criteria.  Presumably we want to distinguish this from the case that the
> data node ceased to exist.  (Not distinguishing those cases would put us
> back to alternative #1, which I think the consensus is that we don’t want
> that)
>
> </ALEX>
>
>
>

Regarding not included because of no-change:

How can happen/?
Not if the client is requesting non-overlapping subtrees /foo and /bar.
These are safe to mix in 1 subscription. The client should not assume
that an update for /foo means /bar was deleted.

Are you referring to overlapping subtrees in 1 subscription?
How would this be configured? Seems complicated to manage.
The semantics of "on-change" should be easy to manage on both client and
server.


Andy