Re: [Netconf] Anyone want just Configured Subscriptions?

Andy Bierman <andy@yumaworks.com> Tue, 10 July 2018 22:53 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 2B17A131201 for <netconf@ietfa.amsl.com>; Tue, 10 Jul 2018 15:53:41 -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 HkgtG-Rk6Fai for <netconf@ietfa.amsl.com>; Tue, 10 Jul 2018 15:53:38 -0700 (PDT)
Received: from mail-lf0-x22b.google.com (mail-lf0-x22b.google.com [IPv6:2a00:1450:4010:c07::22b]) (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 6E9C3131220 for <netconf@ietf.org>; Tue, 10 Jul 2018 15:53:38 -0700 (PDT)
Received: by mail-lf0-x22b.google.com with SMTP id j8-v6so19690570lfb.4 for <netconf@ietf.org>; Tue, 10 Jul 2018 15:53:38 -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; bh=DTSd0imIHTlwYH5+lIbHtp8u++gYJW0uu8yPmuEXScU=; b=WhOP/aKAEn2/zPm3UxqEWbXmqrKysMQTF3efz+IY8CETU0a7O2WdlsoXnbNyz5uESB ttQcHKa3KRbyq4636+kp0FjnEtPdWTaKQEJLphbeZA4GCf4eNAWS7Y0XVCR6vFJty32W k73wM5H4cpmCdGISW5pCoJtNF6U9aw+2DWxQwxMTba6L9QRGUuKJgDeTVEKG9Dzujc2F eD5uyYwZOOb8kbdMi0WHyFf9Uu1r2epnR1kSVTmM+EXo8oTb096DXAcGmLSYBXOO1mtP 2GrNPcBIRuucgTNMiSROD1NVIbb9ntFV6y9cyYnJV50Xv8eDXHdESNKqIZR65sr3T5wD KmwA==
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; bh=DTSd0imIHTlwYH5+lIbHtp8u++gYJW0uu8yPmuEXScU=; b=OxOPQytOvK7xafWGLmdfFvldostUOyC2iCJDnv6FdZH3uFF0FhX9ghPeBZBoRK1gHV s5/O99sb3+xRGcJVWQsKkGnhHt6Csu3ovDtBNMkZs0TBMXdgrJ1WEolSbKRjA+3lV2GS UJmyDtPEboSeJobpObOWFI1GhEpAOx/RnxclabH6YBTR8nqAoj5YvU02p6Lb0qIPa2CH 6S4pO1JKPbAyNSA9mMccvUaqDqqYwS4RRMegrErMwRhvCjDgWtPD2p+ad2r/EV1I5kvi 3HPRYxrx6fD4s7xbcuiu6J4UrXhKFvfTcrtUNJoVoWy+BgkZUG3ZPwPG5xvAuRKmqbGb ey+w==
X-Gm-Message-State: APt69E0CqqejBE/Yg3+qRcA6rjUk2ymHeT4C3k9MFO3pkAPEPuYmpoG3 AvA47pTIeYMDf92q6o1klHUnD1FiGOvK98jp9W62/w==
X-Google-Smtp-Source: AAOMgpek7p20JUnJnBTGsEF++KNysSCz28/gT4hnOKKdKfSrcC3h/c6v/5jSZgJQ2mTj6Ft2j7ZP/bPD8bxTpOZybDw=
X-Received: by 2002:a19:b598:: with SMTP id g24-v6mr4214361lfk.129.1531263216356; Tue, 10 Jul 2018 15:53:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:aa46:0:0:0:0:0 with HTTP; Tue, 10 Jul 2018 15:53:35 -0700 (PDT)
In-Reply-To: <20180710205955.nt3hc34v2mwdngi2@anna.jacobs.jacobs-university.de>
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> <CABCOCHQfirYPAVJwLELnqw0VJ=js7aFNX9wB7Xcs6Tkw06w1hw@mail.gmail.com> <9c3799f19cf84b22a3659c04a548ba67@XCH-RTP-013.cisco.com> <CABCOCHT=7-dPzTPYLvVN1J12uwGWh9GoA7r5nu=zYYD1nnFwTQ@mail.gmail.com> <273f987e3a224411a01a599afb42f25f@XCH-RTP-013.cisco.com> <20180710193940.jsslo3657wwee6ku@anna.jacobs.jacobs-university.de> <051A20E4-26D0-41C9-B93D-2A094E46EFBA@juniper.net> <20180710205955.nt3hc34v2mwdngi2@anna.jacobs.jacobs-university.de>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 10 Jul 2018 15:53:35 -0700
Message-ID: <CABCOCHSWOehXW9_TPPmbU9CsfGr5CMEFYqnqBcN+zSUNqmxNAA@mail.gmail.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Kent Watsen <kwatsen@juniper.net>, "Eric Voit (evoit)" <evoit@cisco.com>, Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000011a3450570ad00d6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/5SueI0G_7Y_rm8NyEunC4AB_P2c>
Subject: Re: [Netconf] Anyone want just Configured Subscriptions?
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.27
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, 10 Jul 2018 22:53:47 -0000

On Tue, Jul 10, 2018 at 1:59 PM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> On Tue, Jul 10, 2018 at 08:37:30PM +0000, Kent Watsen wrote:
> >
> >
> > > So in short, after RFC 8071 call home, you get NC/RC client and server
> > > starting with a <hello> exchange. Ideally, the client would indicate
> > > its readiness to receive unsolicited notifications before you push
> > > notifications to the client (and the notification sender may even be
> > > interested to know that it is sending notifications to a remote system
> > > that does not just drop them). So either the clients invokes an RPC to
> > > start the notification flow or, if you want to optimize one round
> > > trip, the client includes a special
> > >
> > >  :willing-to-receive-unsolicited-notifications
> > >
> > > capability in the <hello> exchange.
> >
> > I agree that a client-advertised capability would be goodness here, but
> > it only works for NC-clients, there is no corollary for RC-clients.
> >
> > Maybe clients should send a "willing-to-receive-
> unsolicited-notifications"
> > RPC instead?
>
> RFC 8040 (RESTCONF) uses SSE and the client has to fetch an event
> stream resource in order to receive events (section 6.3). This is not
> a big surprise since HTTP 1/1 is purely client driven. This in fact
> implies that the client knows the event stream resource.
>
>
SSE should be an available option for configured notifications.
There could be a pre-determined URL for the client to GET
like GET /restconf/SSE/<subscription-id>


/js
>

Andy



>
> --
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>