Re: [Netconf] mbj's WGLC review of yang-push-17

Alexander Clemm <alexander.clemm@huawei.com> Wed, 05 September 2018 22:55 UTC

Return-Path: <alexander.clemm@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 37F7E12D7F8 for <netconf@ietfa.amsl.com>; Wed, 5 Sep 2018 15:55:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-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 69CELFqFHISo for <netconf@ietfa.amsl.com>; Wed, 5 Sep 2018 15:55:09 -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 722EE1294D7 for <netconf@ietf.org>; Wed, 5 Sep 2018 15:55:09 -0700 (PDT)
Received: from LHREML713-CAH.china.huawei.com (unknown [172.18.7.108]) by Forcepoint Email with ESMTP id 03789852222DF for <netconf@ietf.org>; Wed, 5 Sep 2018 23:55:05 +0100 (IST)
Received: from SJCEML702-CHM.china.huawei.com (10.208.112.38) by LHREML713-CAH.china.huawei.com (10.201.108.36) with Microsoft SMTP Server (TLS) id 14.3.399.0; Wed, 5 Sep 2018 23:55:07 +0100
Received: from SJCEML521-MBS.china.huawei.com ([169.254.2.188]) by SJCEML702-CHM.china.huawei.com ([169.254.4.168]) with mapi id 14.03.0415.000; Wed, 5 Sep 2018 15:55:03 -0700
From: Alexander Clemm <alexander.clemm@huawei.com>
To: Martin Bjorklund <mbj@tail-f.com>
CC: "netconf@ietf.org" <netconf@ietf.org>, "evoit@cisco.com" <evoit@cisco.com>
Thread-Topic: [Netconf] mbj's WGLC review of yang-push-17
Thread-Index: AQHUNImzU9I4weZMB0iH1L0LVTTudKTT9lwAgAFivoCAAJuIoIABSioAgABMJJCAANGYgIAKDGSg
Date: Wed, 05 Sep 2018 22:55:01 +0000
Message-ID: <644DA50AFA8C314EA9BDDAC83BD38A2E0EB5CABF@sjceml521-mbs.china.huawei.com>
References: <644DA50AFA8C314EA9BDDAC83BD38A2E0EB5B32B@sjceml521-mbs.china.huawei.com> <20180829.150740.1323981906990283714.mbj@tail-f.com> <644DA50AFA8C314EA9BDDAC83BD38A2E0EB5B91A@sjceml521-mbs.china.huawei.com> <20180830.081021.1805437789668143807.mbj@tail-f.com>
In-Reply-To: <20180830.081021.1805437789668143807.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.193.35.120]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/GMpdbPyK4RbOwNBAUL3_rJJGyEc>
Subject: Re: [Netconf] mbj's WGLC review of yang-push-17
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 05 Sep 2018 22:55:11 -0000

Hi Martin,

please see my responses inline, <ALEX>, trimming the closed stuff ("Ok.")

Thanks
--- Alex
...
> 
> > > > > > > o  3.11.1
> > > > > > >
> > > > > > >   The text says:
> > > > > > >
> > > > > > >    It is not
> > > > > > >    required to merge pending update messages.
> > > > > > >
> > > > > > >   This can be read as indicating that a server MAY merge pending
> > > > > > >   update messages.  I assume that it should say that pending update
> > > > > > >   messages MUST NOT be merged.
> > > > > >
> > > > > > <ALEX> Hmm.  I am not sure I agree.  The server is not
> > > > > > required to merge pending update messages - i.e. can send
> > > > > > multiple messages each with a separate update record.
> > > > > > However, there is no reason to preclude that they could be
> > > > > > combined.  So, I don't think an update is needed here.
> > > > > > </ALEX>
> > > > >
> > > > > So you say that the text means that the server MAY merge pending
> > > > > update messages in this case?  If so, I think you should update
> > > > > the text so that this is clear.
> > > > >
> >
> > <ALEX3> OK, how about saying "The server MAY (but does not have to)
> > merge pending update messages". </ALEX3>
> 
> Well, the term "update message" is not defined, so it shouldn't be used.
> Presumably you mean "update record".

<ALEX> sure </ALEX>

> 
> But I still don't really understand how this is supposed to work.  The push-code in
> the publisher creates an update record A and hands it over to the transport
> layer, where it is queued:
> 
>    It is perfectly acceptable to have a series of "push-change-
>    update" notifications (and even "push update" notifications) serially
>    queued at the transport layer awaiting transmission.
> 
> Then the push-code in the publisher creates another update record B and hands
> it over to the transport layer.
> 
> Are you saying that the transport layer code now can merge these two update
> records into a single record?  So if record A had "create foo, delete bar" and
> record B had "delete foo", there would be a single record with "delete bar,
> delete foo"?
> 
> If two records are merged, what happens to the idea of using the 'patch-id' as
> an indication of lost records?
> 
> 

<ALEX> All this is saying is that it is up to the publisher to decide how to "group" the updates: whether to send a single update record (in a single notification), or whether to create multiple records (sent with multiple notifications).  
To make this clear, slight updates as follows:
" It is perfectly acceptable to have a series of "push-change-update" notifications (and even "push update" notifications) serially queued at the transport layer awaiting transmission.  It is not required for the publisher to merge pending update records sent at the the same time."
</ALEX>