Re: [Netconf] Comments on draft-ietf-netconf-yang-push-18
Andy Bierman <andy@yumaworks.com> Tue, 04 September 2018 15:27 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 B3C1D130F16 for <netconf@ietfa.amsl.com>; Tue, 4 Sep 2018 08:27:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.009
X-Spam-Level:
X-Spam-Status: No, score=-0.009 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01, URIBL_BLOCKED=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 CSsMNTqzB9pt for <netconf@ietfa.amsl.com>; Tue, 4 Sep 2018 08:27:35 -0700 (PDT)
Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) (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 BE11F130F08 for <netconf@ietf.org>; Tue, 4 Sep 2018 08:27:34 -0700 (PDT)
Received: by mail-lj1-x229.google.com with SMTP id p10-v6so3538790ljg.2 for <netconf@ietf.org>; Tue, 04 Sep 2018 08:27:34 -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=9oAdsatrk/SBbYXGHnczSHOCwIqlXl3hNz8gTNjwOh0=; b=egCvjSVycw0vjczlco2a9SsY0E+2U9GggJGnl0v+6t6MrZp1LU1cfOMKqdcO3Hlp/h XFI/DVv6PM/JW4I/Z14fFTmBTB+N/+JcYf4WyXq18NOlvE28jGggL9HY1NEYsR/7vfEw hXL4dsx92eMh9eiZ8w9wPntP1RLpHJZEkAccK25VDUEX936idQ/yoCspLuP0WA7LhF7m jWjlwHkOk1W7FRY3Rwiz/NS5HNdyV+bazypUJmJpRNWkKnXgDzpwIX5LjfGaMloayBbv Ak8kRVmfGAINUk5PUVswBDc4Vs4/cFx3ihHsQZdxKKblcuH0xFD/7nMRTPwo9Hh+9q78 /D2w==
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=9oAdsatrk/SBbYXGHnczSHOCwIqlXl3hNz8gTNjwOh0=; b=jdYeh1Wwi2DVns14k+fQ0gfcBzFAeALD6nX9rlv31pTYa+hOHnpJXy44e1eoINIMhg 7f629lLVkZzJbrUakdCsf8ghNZxUM1ubH++EN1bMX6hUOIVLv6RgM6+BelEurULE/vEk h+68NVX1l1Q+anYvh0lBasrPZLjKo4O4mSev+II5b1+Qbh8boC45wvJJeNpuOGUIH0qd hCBzNJkmkmeS8lXCooctdNRD6zTF0TsUCf4EuW25U2et5+eEITTj+WHhGofLunS8gB5y j/aX+5P5fTIEv6o/wuqNwvIrcJq9cQYo7V/jhQcyDNh50etNXYwYOVKugoUBpdHyQH38 3/qg==
X-Gm-Message-State: APzg51DONWMFOqA8ubrClswZmAsh5MhYVrQYTGwlhnZXwiHqVpg2Rorl Fsk+JHvFO/Bxf1sHF4yAIHOIQ4PgYUblf5HBabicug==
X-Google-Smtp-Source: ANB0VdaxklQq0D0MmaoBcRcMW9aLd1GX07coaJWKVg8yCB9WJQ6UgBSpDEXRsc9EbpZ8uLbDzflaDiQ/QnAAD3SvKcQ=
X-Received: by 2002:a2e:58b:: with SMTP id 133-v6mr20172937ljf.28.1536074852615; Tue, 04 Sep 2018 08:27:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:5116:0:0:0:0:0 with HTTP; Tue, 4 Sep 2018 08:27:31 -0700 (PDT)
In-Reply-To: <fe3b3e33-f5f8-36f2-77df-4c9fd0059d54@cisco.com>
References: <35FF0D51C8DAB54B95B0426331F984FF520433B2@lhreml523-mbs.china.huawei.com> <fe3b3e33-f5f8-36f2-77df-4c9fd0059d54@cisco.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 04 Sep 2018 08:27:31 -0700
Message-ID: <CABCOCHRFcOciHrS3t69EueFw1QES6GAkqyb2WTNh7K4a3f-_ng@mail.gmail.com>
To: Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>
Cc: "Yutianpeng (Tim)" <yutianpeng@huawei.com>, "netconf@ietf.org" <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f070f005750d4bc2"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/SSuTOTiJazx_Ru9p9Hpb6ws5TTQ>
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:27:38 -0000
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. > > > ----------------------------- > > 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 > > > ----------------------------- > > 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)