Re: [Netconf] Anyone want just Configured Subscriptions?
Andy Bierman <andy@yumaworks.com> Sun, 08 July 2018 01:00 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 EE882130F01 for <netconf@ietfa.amsl.com>; Sat, 7 Jul 2018 18:00:58 -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 e_C_by2JDSnW for <netconf@ietfa.amsl.com>; Sat, 7 Jul 2018 18:00:56 -0700 (PDT)
Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) (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 4F296130EF5 for <netconf@ietf.org>; Sat, 7 Jul 2018 18:00:56 -0700 (PDT)
Received: by mail-lj1-x22a.google.com with SMTP id 1-v6so11603953ljv.9 for <netconf@ietf.org>; Sat, 07 Jul 2018 18:00:56 -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=1gywgdFOL3cBGpZk+YrfVE1TMgcKMq6HeMrKAVml7cQ=; b=DPLw8iCDbt3kC/tee9vJdO+laaipRAbXWLHjMScim8/MU/RfytRxqdySM0Dll01BKq 46UbZIsBHUR5uDgsbNmPv6m8j/ZGNTd9B5VR6JRRQm1rTPO3GaS5jY/bIr5HRU986oFS 1EMbcdryApedDiiFbl/Xs5Mk5wk4O9iyji7J7xMbXp5ZgbdkUba1MU6jd/nbdPBfx5X7 30ssZ1JmN4vWLNtxV7h9qfvTZAE+xnc7Me4bJ7+qL5FxWvI3Timi42hdXwP0zAC8/lIs bOPm1IMB5I8iDo8fyswv8sCajzHsyTr7Nw9bZSuuJlw0u4o/UteIL22UggbBIpE02AtG OMNA==
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=1gywgdFOL3cBGpZk+YrfVE1TMgcKMq6HeMrKAVml7cQ=; b=Bnasj8bTcXKml/HFqFz4HIGgCZW/C66kLz12KE2mSvoFsBotNF3WszP2Y8FF4NFrRR 7HZa8FmaB0Xnnc63fU5z3iAnhOledVTHY3tfzDXxyVTxTW4yL0n9YAPuORgdSjtPrr6d C/XYLISI2bld5xfBjVgNgW1VtKw3MHrYQ9DJt9i+WzrCD8dGjlBbdZaUvMDiOJ58AkPV lKHrYIWKOkLD5it8FkMcR5DWeQXNoLc1lRiIl1qPo1yjTgHHWDOpvjIPvneIiemyQVf7 lfyxPBwn2JSCgwmCfo+GPJSfV9QtvQKLD7sFPCkx52v3j0xevzjc0lMIQWMyHVEO+PvR 4ytw==
X-Gm-Message-State: AOUpUlHEolM/vVALQdF10sqYQN8brmwNXbk02apuM3DOA9LLxR4KQmbk z6K9LHs4taoyfWD0E7BEmFO4+4kLItohG9c2kvKmUg==
X-Google-Smtp-Source: AAOMgpcNLXxa3Y6uN+ZnejKDYYiQHEcjdMO231mFkYq2ZpRDgb/oIxquRk9GhJZnJmXhgn3/sc/RLAx91K8izrd59Wg=
X-Received: by 2002:a2e:3611:: with SMTP id d17-v6mr1247073lja.31.1531011654352; Sat, 07 Jul 2018 18:00:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:aa46:0:0:0:0:0 with HTTP; Sat, 7 Jul 2018 18:00:53 -0700 (PDT)
In-Reply-To: <5537D1FA-ADBE-4432-8FB7-8B2CAD5E9C9F@juniper.net>
References: <b7c65965cf3b43e3b898c5c2f9519573@XCH-RTP-013.cisco.com> <CABCOCHTfkNtBoXU7XMk3yxif1DXBH5m4QVP0YF1yPhHYJu0fKQ@mail.gmail.com> <895bc6a027484796a0aa0dde4c144f8b@XCH-RTP-013.cisco.com> <20180707.122539.1914166298230280820.mbj@tail-f.com> <CABCOCHRXPZsA-_0_w_L9Z5o0ZH5U_ntx0A-ZQHzFOpa+P4actQ@mail.gmail.com> <ca85f986fdb449b1bcadb757b85941be@XCH-RTP-013.cisco.com> <CABCOCHSWrtDqm+VWzQfVs+nVfxa4rSbA5==cw7ojLm2TY-_fdA@mail.gmail.com> <5537D1FA-ADBE-4432-8FB7-8B2CAD5E9C9F@juniper.net>
From: Andy Bierman <andy@yumaworks.com>
Date: Sat, 07 Jul 2018 18:00:53 -0700
Message-ID: <CABCOCHRhhwcGypFWJSpHqa4hynTBHUq8BCKLx5E=GOOrFRxnjw@mail.gmail.com>
To: Kent Watsen <kwatsen@juniper.net>
Cc: "Eric Voit (evoit)" <evoit@cisco.com>, Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ce13370570726df6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/HjF8cJsqxvlB6xVujRRLw3ZJzys>
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 01:01:00 -0000
On Sat, Jul 7, 2018 at 4:50 PM, Kent Watsen <kwatsen@juniper.net> wrote: > > > > > > IMO there needs to be at least 1 complete standard solution that servers > must support. > > > I would prefer that configured subscriptions be held back until a > fully-baked standard > > > solution is ready. > > > > This option will be discussed in Montreal. If the WG agrees, then the > below can be > > discussed later. > > > > > You convinced me that binary encoding of regular <rpc> message flows is not a high priority for NETCONF. If the device or network is that constrained, maybe CoMI is a better choice. Also, use of <get> will probably diminish as YANG Push is available instead. > I don't think this fits the intent of CallHome. > > > > RFC 8071 is very clear (see C8 and S6), the NC or RC protocol *starts*. > Also, from > > https://mailarchive.ietf.org/arch/msg/netconf/QS14f-6w-BzCD9280uuO06CZK6c, > I > > wrote: > > > > That said, I have to say that I'm not entirely sure if I understand if > what is > > planned is legal. For instance, in a normal NETCONF call-home > situation, the > > NETCONF session begins with both sides sending <hello> messages and then > > the server waiting for the client to send RPCs, which might include a > 5277 > > <create-subscription>, after which the <notifications> begin to flow. > Is this > > the same here, or are you expecting the <notification> messages to start > flowing > > immediately? > > > The problem is that the RFC allows the callhome session to be used for normal NETCONF operations, so the client can send <rpc> requests in XML at any time. I suppose there is a use-case for pre-configuring the subscriptions and then using call-home to connect to a controller that somehow knows all the subscriptions that could be configured (so no reads required). Since the controller needs to know about all the subscriptions anyway, it can just all <establish-subscription> > > > > IMO a new protocol is needed that is dedicated to the binary transport > > > of notification subscription data. > > > > Agreed, and I'd like that protocol to be: > > 1) mandatory to implement, if the "configured" feature is enabled. > I would give it its own feature > 2) run over UDP, so events can go out line cards directly. > or run over TCP I hope > 3) be optionally encrypted, as there are scenarios where it's safe to > send unencrypted > > events to a receiver within a security perimeter, which can relay > the events over an > > encrypted connection to a remote system, so as to offload the burden > from the NE > > equipment to a cheaper general purpose computer. > > > This was discussed in I2RS WG and a YANG extension can be used to tag ok-for-unencrypted, so this might get approved by the IESG. > FWIW, COAP is on top of UDP, and its use of DTLS is optional, so it seems > like a good > > match, though I don't know if it also needs a client-initiated RPC to > start the flow of logs. > > Out of curiosity, has anyone ever compared COAP to gRPC? > > > We have implemented RESTCONF over CoAP, but not with DTLS. This was also XML and JSON, not CBOR. I would rather let TCP deal with fragmentation instead of using CoAP Block. IMO the new protocol will be easier to get approved (i.e., much smaller in scope) if CoAP is reused instead of using raw UDP. GPB proto files have to be defined in advance. Generic protobuffs like gNMI are not as efficient. CBOR+SID requires no static templates, but does require that a lot of SID state be kept. IMO the efficiency is very impressive, and quite worth the SID caching for YANG Push. > > Kent // contributor > > > > > > > Andy
- Re: [Netconf] Anyone want just Configured Subscri… Balazs Lengyel
- [Netconf] YangPush now Balazs Lengyel
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Qin Wu
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Kent Watsen
- Re: [Netconf] Anyone want just Configured Subscri… Henk Birkholz
- [Netconf] Anyone want just Configured Subscriptio… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Kent Watsen
- Re: [Netconf] Anyone want just Configured Subscri… Kent Watsen
- Re: [Netconf] Anyone want just Configured Subscri… Kent Watsen
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Kent Watsen
- Re: [Netconf] Anyone want just Configured Subscri… Martin Bjorklund
- Re: [Netconf] Anyone want just Configured Subscri… Juergen Schoenwaelder
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Martin Bjorklund
- Re: [Netconf] Anyone want just Configured Subscri… Juergen Schoenwaelder
- Re: [Netconf] Anyone want just Configured Subscri… Martin Bjorklund
- Re: [Netconf] Anyone want just Configured Subscri… Martin Bjorklund
- Re: [Netconf] Anyone want just Configured Subscri… Martin Bjorklund
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Martin Bjorklund
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Martin Bjorklund
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Kent Watsen
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Kent Watsen
- Re: [Netconf] Anyone want just Configured Subscri… Alexander Clemm
- Re: [Netconf] Anyone want just Configured Subscri… Tianran Zhou
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Juergen Schoenwaelder
- Re: [Netconf] Anyone want just Configured Subscri… Kent Watsen
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Kent Watsen
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Kent Watsen
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Juergen Schoenwaelder
- Re: [Netconf] Anyone want just Configured Subscri… Kent Watsen
- Re: [Netconf] Anyone want just Configured Subscri… Kent Watsen
- Re: [Netconf] Anyone want just Configured Subscri… Juergen Schoenwaelder
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Eric Voit (evoit)
- Re: [Netconf] Anyone want just Configured Subscri… Juergen Schoenwaelder
- Re: [Netconf] Anyone want just Configured Subscri… Kent Watsen
- Re: [Netconf] Anyone want just Configured Subscri… Juergen Schoenwaelder
- Re: [Netconf] Anyone want just Configured Subscri… Andy Bierman
- Re: [Netconf] Anyone want just Configured Subscri… Lou Berger
- Re: [Netconf] YangPush now Robert Wilton
- Re: [Netconf] YangPush now Andy Bierman
- Re: [Netconf] YangPush now Henk Birkholz
- Re: [Netconf] YangPush now Igor Bryskin
- Re: [Netconf] YangPush now Andy Bierman
- Re: [Netconf] YangPush now Henk Birkholz
- Re: [Netconf] YangPush now Andy Bierman
- Re: [Netconf] YangPush now Kent Watsen
- Re: [Netconf] YangPush now Andy Bierman
- Re: [Netconf] YangPush now Alexander Clemm
- Re: [Netconf] YangPush now Kent Watsen
- Re: [Netconf] YangPush now Alexander Clemm
- Re: [Netconf] YangPush now Andy Bierman
- Re: [Netconf] YangPush now Robert Wilton
- Re: [Netconf] YangPush now Henk Birkholz
- Re: [Netconf] YangPush now Alexander Clemm
- Re: [Netconf] YangPush now Andy Bierman
- Re: [Netconf] YangPush now Eric Voit (evoit)
- Re: [Netconf] YangPush now Reshad Rahman (rrahman)
- Re: [Netconf] YangPush now Kent Watsen
- Re: [Netconf] YangPush now Henk Birkholz
- Re: [Netconf] YangPush now Juergen Schoenwaelder
- Re: [Netconf] YangPush now Eric Voit (evoit)
- Re: [Netconf] YangPush now Balazs Lengyel
- Re: [Netconf] YangPush now Tim Jenkins (timjenki)
- Re: [Netconf] YangPush now Juergen Schoenwaelder
- Re: [Netconf] YangPush now Tim Jenkins (timjenki)
- Re: [Netconf] YangPush now Juergen Schoenwaelder
- Re: [Netconf] YangPush now Tim Jenkins (timjenki)
- Re: [Netconf] YangPush now Juergen Schoenwaelder
- Re: [Netconf] YangPush now Tim Jenkins (timjenki)
- Re: [Netconf] YangPush now Andy Bierman
- Re: [Netconf] YangPush now Eric Voit (evoit)
- Re: [Netconf] YangPush now Andy Bierman
- Re: [Netconf] YangPush now Juergen Schoenwaelder
- Re: [Netconf] YangPush now Eric Voit (evoit)
- Re: [Netconf] YangPush now Tim Jenkins (timjenki)
- Re: [Netconf] YangPush now Andy Bierman
- Re: [Netconf] YangPush now Kent Watsen
- Re: [Netconf] YangPush now Andy Bierman
- Re: [Netconf] YangPush now Eric Voit (evoit)
- Re: [Netconf] YangPush now Kent Watsen
- Re: [Netconf] YangPush now Juergen Schoenwaelder
- Re: [Netconf] YangPush now Eric Voit (evoit)
- Re: [Netconf] YangPush now Juergen Schoenwaelder
- Re: [Netconf] YangPush now Eric Voit (evoit)
- Re: [Netconf] YangPush now Andy Bierman
- Re: [Netconf] YangPush now Robert Wilton
- Re: [Netconf] YangPush now Kent Watsen
- Re: [Netconf] YangPush now Eric Voit (evoit)
- Re: [Netconf] YangPush now Kent Watsen
- Re: [Netconf] YangPush now Eric Voit (evoit)
- Re: [Netconf] YangPush now Martin Bjorklund
- Re: [Netconf] YangPush now Andy Bierman
- Re: [Netconf] YangPush now Juergen Schoenwaelder