Re: [Netconf] Anyone want just Configured Subscriptions?

Andy Bierman <andy@yumaworks.com> Sun, 08 July 2018 16:26 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 854D7130E7A for <netconf@ietfa.amsl.com>; Sun, 8 Jul 2018 09:26:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 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_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 LFiNwOa_e5Xf for <netconf@ietfa.amsl.com>; Sun, 8 Jul 2018 09:26:02 -0700 (PDT)
Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (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 3283D1277D2 for <netconf@ietf.org>; Sun, 8 Jul 2018 09:26:02 -0700 (PDT)
Received: by mail-lf0-x235.google.com with SMTP id y127-v6so13322539lfc.8 for <netconf@ietf.org>; Sun, 08 Jul 2018 09:26:02 -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=EGLWMOL0IhlyG//LZeNNwrM0ZUcMXz4HRtBJzo1TYiA=; b=dLi5Fau6bpkRcZrKSe6dcaLFodmKd8ox929caGX3A7P+v1j6Xvx5N0LVGUP4liMKFp D6/Lb46fkpZKBlc570vmvWJhjPvRPipr9QhFD1JtvixrGYQrJ3bH6NBN8pdd+WTIR+7Q PBAPdATVoxudz/Foh1W7Y9uclrlbzO9NbtJdpAwYyaOF3kL5xT3ynAcF+D4USqz9duzy IAyrGxI2cf2/a9UtwYhINNIcvruu5GcyCeWrjG24WoRuqrAuSJzCYOpi5aMR/2RZn1Mo yPf+n2BFxlKIlEpDhXs2oju0h7dKOGopACVaOx0UnvNFax17/BHowkVsEpGZR1DCNwpz hGEA==
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=EGLWMOL0IhlyG//LZeNNwrM0ZUcMXz4HRtBJzo1TYiA=; b=Qf1GufTygjP1uO5BcDKDyKC1LSCggCFJOIPrccYVxPxS/ObfLfJwXTSkRi3DrPxQEa UDiIsQEwo87RapUkBPYANGHnei+lyWMQDQo4i51ac6jXMiwrCDXduVdC540VHaVosMOU qKUV07ymf8ryDSrZ/aV2M8/aK9yRmzgP3VPrp31bFam0+qm8JNL09YJ0CdFEuob3DUHc mNGYU7BdlWcXI9/sTZx60ocC/Sh+r6RLcFDx723pggbL4dQUoyct2wahbNDCM2BUmt2s E2X3BGFjJfnrDuSlfih23IzBQYlEdDYyO3b13uctSQ33x0j9Dzo73MUhRa0/cXFCTLt3 vB7w==
X-Gm-Message-State: APt69E2/CVWMz8Uqc9dmnJHeXChyUWi5lm7YgMR2H2fz/CjEqszG+FqM H+KPH7A/FfVKfFqeoYYjfco3jp02X8iEs+YYPRQy/A==
X-Google-Smtp-Source: AAOMgpdw85uLOzlrsO/Q1pEIvHMvdWHQtMy32IrH3COIwQaWAuhpSbQGBk1U+9Hu25hw1TzLDexAmJgWhWlN6tCQwKo=
X-Received: by 2002:a19:204f:: with SMTP id g76-v6mr11778981lfg.66.1531067160359; Sun, 08 Jul 2018 09:26:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:aa46:0:0:0:0:0 with HTTP; Sun, 8 Jul 2018 09:25:59 -0700 (PDT)
In-Reply-To: <20180708.180552.1582913595227099806.mbj@tail-f.com>
References: <CABCOCHSfzpj3Kca2RRtNFV6wLLt_6r4p3vfS_j4Hzfai-0Y2gA@mail.gmail.com> <20180708.095807.918450792556408986.mbj@tail-f.com> <20180708100310.gn3xaol66f7c7lo5@anna.jacobs.jacobs-university.de> <20180708.180552.1582913595227099806.mbj@tail-f.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Sun, 08 Jul 2018 09:25:59 -0700
Message-ID: <CABCOCHQfirYPAVJwLELnqw0VJ=js7aFNX9wB7Xcs6Tkw06w1hw@mail.gmail.com>
To: Martin Bjorklund <mbj@tail-f.com>
Cc: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, "Eric Voit (evoit)" <evoit=40cisco.com@dmarc.ietf.org>, Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000388c7c05707f5ae3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/bM6Ha7x8qYmtFNXH4d2F0ee5lsY>
Subject: Re: [Netconf] Anyone want just Configured Subscriptions?
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.26
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: Sun, 08 Jul 2018 16:26:05 -0000

On Sun, Jul 8, 2018 at 9:05 AM, Martin Bjorklund <mbj@tail-f.com> wrote:

> Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
> > On Sun, Jul 08, 2018 at 09:58:07AM +0200, Martin Bjorklund wrote:
> > > Andy Bierman <andy@yumaworks.com> wrote:
> > > >
> > > > You mean <start-all-configured-subscriptions> I think.
> > >
> > > Yes.
> > >
> >
> > If you do this, why does the client, after receiving a call home, not
> > simply create dynamic subscriptions? ;-)
>
> Well, the configured subscription is needed anyway in order for the
> device to call home, so having the client create all configured
> subscriptions as dynamic subscriptions as well doesn't seem quite
> right.
>
>
It is quite possible that multiple RPC operations are needed to get the
session
started, such as reading the YANG library, and that the client
is not ready to receive notifications as soon as the session is started.
So an <activate-configured-sessions> operation may help.



> But if the WG agrees that it is ok to send <notification> directly,
> this issue goes away.
>
>
Sitting idle is definitely OK.
Accepting notifications right away is OK as an implementation feature
outside the standard.


> /martin
>

Andy