Re: [Netconf] Comments on draft-ietf-netconf-yang-push-18
Martin Bjorklund <mbj@tail-f.com> Tue, 04 September 2018 15:33 UTC
Return-Path: <mbj@tail-f.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 8D7B7130F1D for <netconf@ietfa.amsl.com>; Tue, 4 Sep 2018 08:33:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level:
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[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 5d6k9mj4LZ8r for <netconf@ietfa.amsl.com>; Tue, 4 Sep 2018 08:33:45 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 6A1F51277BB for <netconf@ietf.org>; Tue, 4 Sep 2018 08:33:45 -0700 (PDT)
Received: from localhost (unknown [173.38.220.61]) by mail.tail-f.com (Postfix) with ESMTPSA id 04B291AE02BE; Tue, 4 Sep 2018 17:33:43 +0200 (CEST)
Date: Tue, 04 Sep 2018 17:33:43 +0200
Message-Id: <20180904.173343.771736120417698474.mbj@tail-f.com>
To: andy@yumaworks.com
Cc: rwilton=40cisco.com@dmarc.ietf.org, netconf@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <CABCOCHRFcOciHrS3t69EueFw1QES6GAkqyb2WTNh7K4a3f-_ng@mail.gmail.com>
References: <35FF0D51C8DAB54B95B0426331F984FF520433B2@lhreml523-mbs.china.huawei.com> <fe3b3e33-f5f8-36f2-77df-4c9fd0059d54@cisco.com> <CABCOCHRFcOciHrS3t69EueFw1QES6GAkqyb2WTNh7K4a3f-_ng@mail.gmail.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/jiftQKibhCmH85nlHVxt2vRlgBY>
Subject: Re: [Netconf] Comments on draft-ietf-netconf-yang-push-18
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: Tue, 04 Sep 2018 15:33:47 -0000
Andy Bierman <andy@yumaworks.com> wrote: > On Tue, Sep 4, 2018 at 8:22 AM, Robert Wilton < > rwilton=40cisco.com@dmarc.ietf.org> wrote: > > > Hi Tim, > > > > Please see comments (as a non author) inline ... > > > > On 29/08/2018 16:28, Yutianpeng (Tim) wrote: > > > > Hi, > > > > Some comments as below: > > > > > > > > ------------------------------ > > > > There is one point missing in the draft so far I think: what if the > > subscriber is the initiator of the configuration changes? > > > > In this case, the subscriber is aware of configuration changes initiated > > by itself without relying on the push mechanism. Introducing push mechanism > > will dramatically impact the performance of the system in this case. > > > > My suggestion is: > > > > 3.3. On-Change Considerations > > > > 5. If the resulting patch record is non-empty, and it contains the > > records not initiated by the subscriber, select these records and send to > > corresponding subscriber. > > > > We can have further discussion on this to make it optional instead of > > mandatory. > > > > I'm not keen on this change. This does not seem like a good separation of > > concerns. Besides, I'm not convinced why this should really be a > > performance issue given that config changes are relatively rare compared to > > all the operational state in the system that may be changing. > > > > > +1 -- this change should not be made. > This is not a useful optimization. +1 > > > > > > ----------------------------- > > > > Both “subscriber” and “receiver” are used, bit confusing sometimes. Shall > > we only use “subscriber” > > > > They are different entities, the definitions are in > > draft-ietf-netconf-subscribed-notifications: > > > > Receiver: A target to which a publisher pushes subscribed event > > records. For dynamic subscriptions, the receiver and subscriber are > > the same entity. > > > > Subscriber: A client able to request and negotiate a contract for the > > generation and push of event records from a publisher. For dynamic > > subscriptions, the receiver and subscriber are the same entity. > > > > > > > > > > > > ------------------------ > > > > 3.11.1. Robustness and reliability > > > > Note: 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 to merge pending update records. I.e., the dampening period > > > > applies to update record creation, not transmission. > > > > My suggestion is: > > > > The publisher should increase dampening period automatically in case the > > message queue reaches a limit. > > > > This is to avoid notifications lost due to queue limit in case subscriber > > is busy or temporarily unreachable. > > > > I don't think that this is how the dampening that is currently defined > > should work, since it is expected to provide a strong guarantee that it > > will either deliver the notifications to the receiver, or otherwise notify > > to the receiver that some updates [may] have been lost. > > > > I could imagine that another, softer type of dampening, could potentially > > be defined in future as a separate extension/augmentation, but I don't > > think that should go into this document, because it would massively slow it > > down, and the industry already needs this standard now. > > > > > +1 -- the server does what it is told and does not decide to change the > subscription on its own +1 /martin > > > > > > > > > ----------------------------- > > > > It would be appreciated if suggestions can be given on how push shall be > > used on running, startup and candidate datastores > > > > It should work the same way as YANG push on any other datastore. The > > mechanism described in the draft seems to be entirely datastore agnostic. > > In what way do you think it may behave differently? > > > > Although I could imagine that implementations may not support > > subscriptions on startup or candidate, in which case I would expect that > > the subscription would be rejected. > > > > Thanks, > > Rob > > > > > > > > Andy > > > > > > > > ------------------------------- > > > > > > > > Regards, > > > > Tim > > > > > > _______________________________________________ > > Netconf mailing listNetconf@ietf.orghttps://www.ietf.org/mailman/listinfo/netconf > > > > > > > > _______________________________________________ > > Netconf mailing list > > Netconf@ietf.org > > https://www.ietf.org/mailman/listinfo/netconf > > > >
- [Netconf] Comments on draft-ietf-netconf-yang-pus… Yutianpeng (Tim)
- Re: [Netconf] Comments on draft-ietf-netconf-yang… Alexander Clemm
- Re: [Netconf] Comments on draft-ietf-netconf-yang… Robert Wilton
- Re: [Netconf] Comments on draft-ietf-netconf-yang… Andy Bierman
- Re: [Netconf] Comments on draft-ietf-netconf-yang… Martin Bjorklund
- Re: [Netconf] Comments on draft-ietf-netconf-yang… Yutianpeng (Tim)
- Re: [Netconf] Comments on draft-ietf-netconf-yang… Andy Bierman
- Re: [Netconf] Comments on draft-ietf-netconf-yang… Robert Wilton
- Re: [Netconf] Comments on draft-ietf-netconf-yang… Yutianpeng (Tim)
- Re: [Netconf] Comments on draft-ietf-netconf-yang… Alexander Clemm
- Re: [Netconf] Comments on draft-ietf-netconf-yang… Yutianpeng (Tim)