Re: [Netconf] activate-configured-subecription - WGLC subscribed-notifications-16

Douglas Hubler <douglas@hubler.us> Tue, 18 September 2018 18:57 UTC

Return-Path: <douglas@hubler.us>
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 4EC391252B7 for <netconf@ietfa.amsl.com>; Tue, 18 Sep 2018 11:57:17 -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, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hubler-us.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 CEdd3TR0K8Ew for <netconf@ietfa.amsl.com>; Tue, 18 Sep 2018 11:57:15 -0700 (PDT)
Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (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 DD3DF130E1C for <netconf@ietf.org>; Tue, 18 Sep 2018 11:57:12 -0700 (PDT)
Received: by mail-io1-xd2e.google.com with SMTP id 75-v6so2445930iou.11 for <netconf@ietf.org>; Tue, 18 Sep 2018 11:57:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hubler-us.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bvYEYRGnuYfrCNXF/3vdWnmsf4MSG+WaR71xUqeu9Ps=; b=Kn6QLNfOhOVMH1EA4epa57EsPS6MEY7IK+OWqbuXbJStGJZTwjGsNbpMO1bGRNPznZ J0EPlDuIMysqEy/4ije7muhDeYeIRtdn99JmQBmyNuYgy3Ucq1tdO9Np7ZJ91wuo5jgK AjVMZxrx1qhfvl27TMw/uFTJwf6hoKCQWbJcMxBlNQu5wrHBhkBPceysHhdW4GlxAR6t J37BZHvvUlxcMhsAC8oog9NwCbYdinReBROISSEAW11tanBS7hohmbXO9My8+0kue1Hn SU8/4ItKPElsY9xA3SpGLYRttDi5G0h0l4fDy0zKAUfCUUlJLcz/+lNNpAwP6sjacolw eRKw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bvYEYRGnuYfrCNXF/3vdWnmsf4MSG+WaR71xUqeu9Ps=; b=kDCb+SR4viQ/cLO0xMzFcBm9UBmEY7rHOYUzwbciOjDF29MR4y0EBEi4wGT0b9nZzA J1jZOHD4DOHqi+7+iaZQWIRT+Ot0Ys8UFxMZoBTjkPTMhmhh7lbVMJIT4cLlanSgJysC /9moKOvvrMBOVdQmXT+q07l3od2ge3jydMnnBeFpdbAPYwfqieCBO3+qvaSp6LbY0r7C EMGYXth+F5WtBz0DmxYIrWtFPIUAW8umPc0V363zcg6K/anejUS1HJt1Ad583rHDHCeT ces/ZYtJukbcxfwswIXc9ySb68+eD+zQieVs1rcnLUch3lojxBdUKug2xh8Cl7bRx7vO zqKw==
X-Gm-Message-State: APzg51CZzSwMM8x1Ee+5+BRjQXYNnFO4byBBXwxOgNfPRTorl9lakqSn 5X01d3Sf/wyuSeZU3X0qiRI2qCzRtag=
X-Google-Smtp-Source: ANB0Vdb735JDXz/LBptDlzy0cv8VNo7G2/4eS2fInfAEUWh/fzfxGhMyOyZdTzO17GKYjTwW/3DhnQ==
X-Received: by 2002:a5e:8408:: with SMTP id h8-v6mr25531995ioj.171.1537297025886; Tue, 18 Sep 2018 11:57:05 -0700 (PDT)
Received: from mail-it0-f52.google.com (mail-it0-f52.google.com. [209.85.214.52]) by smtp.gmail.com with ESMTPSA id f64-v6sm3113513ite.4.2018.09.18.11.57.05 for <netconf@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Sep 2018 11:57:05 -0700 (PDT)
Received: by mail-it0-f52.google.com with SMTP id 139-v6so4451455itf.0 for <netconf@ietf.org>; Tue, 18 Sep 2018 11:57:05 -0700 (PDT)
X-Received: by 2002:a24:2e58:: with SMTP id i85-v6mr18128817ita.32.1537297025097; Tue, 18 Sep 2018 11:57:05 -0700 (PDT)
MIME-Version: 1.0
References: <20180912.140109.1250692833398495223.mbj@tail-f.com> <fb98c4a4885c43978ebd804b3eaafec3@XCH-RTP-013.cisco.com> <20180914.091120.602490077927092016.mbj@tail-f.com> <20180914071445.ywfnizh4rnzbrs4f@anna.jacobs.jacobs-university.de> <CABCOCHRes7CLrdtyyTz1whmuuU_rMMVTHGh8vM32H+jukEf1LQ@mail.gmail.com>
In-Reply-To: <CABCOCHRes7CLrdtyyTz1whmuuU_rMMVTHGh8vM32H+jukEf1LQ@mail.gmail.com>
From: Douglas Hubler <douglas@hubler.us>
Date: Tue, 18 Sep 2018 14:56:53 -0400
X-Gmail-Original-Message-ID: <CALAkb6emOEv0Zo6mss5wjp7NaO4pLbjZxGbNc2Bodt_PuZFu6A@mail.gmail.com>
Message-ID: <CALAkb6emOEv0Zo6mss5wjp7NaO4pLbjZxGbNc2Bodt_PuZFu6A@mail.gmail.com>
To: Andy Bierman <andy@yumaworks.com>
Cc: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Martin Bjorklund <mbj@tail-f.com>, "Eric Voit (evoit)" <evoit@cisco.com>, Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000187331057629db40"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/9mkg4_qTUJc-vz_vZHzAAoPTEfQ>
Subject: Re: [Netconf] activate-configured-subecription - WGLC subscribed-notifications-16
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, 18 Sep 2018 18:57:17 -0000

On Mon, Sep 17, 2018 at 12:23 PM Andy Bierman <andy@yumaworks.com> wrote:

> It seems this draft could be renamed (e.g., s/RESTCONF/HTTP2/) since it
> does not use RESTCONF in any way.  I don't think RESTCONF notifications
> are used very much,
>

I make liberal use of them, it's become one of my biggest selling point of
RESTCONF over rolling your own REST API for management.


> but I don't see why the same SSE delivery of the <notification> element
> would not work (e.g., different resource to GET for establish-subscription
> parameters)
>

I avoided implementing SSEs over HTTP/1.1  *because* I used a lot of
notifications and separate session for each subscription obviously doesn't
scale.  I went w/websockets for now with the idea I'd reimplement when a
reasonable draft is assembled.  I had hopes for SSE over HTTP/2 because
seems rather straightforward and in theory should scale.  Obviously with
websockets, my implementation doesn't interop w/other RESTCONF/NETCONF
systems/libs but hoping to change that with this draft.

I don't understand the details surrounding using an RPC to make a dynamic
subscription.  Unless it's optional, then I can start to understand.

Douglas
FreeConf.org