Re: [Netconf] YangPush now

"Tim Jenkins (timjenki)" <timjenki@cisco.com> Tue, 17 July 2018 18:53 UTC

Return-Path: <timjenki@cisco.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 72B0B130FAE for <netconf@ietfa.amsl.com>; Tue, 17 Jul 2018 11:53:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 BK7UbV_iSCH0 for <netconf@ietfa.amsl.com>; Tue, 17 Jul 2018 11:53:13 -0700 (PDT)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A7EE130EA7 for <netconf@ietf.org>; Tue, 17 Jul 2018 11:53:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10740; q=dns/txt; s=iport; t=1531853591; x=1533063191; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=ptDuZfQOY8kkF1K8BQ0ZIFTc6LBEklDNa21gtKYuYFE=; b=QNQlt0hAP0iFjLjTBKpiBn8O0/cEzXjK6mvCoPYwqJc2rP7163HJkz/N SJgLb/UnHkiWEfZnHfNWjEM6vSmJR1WxALW7WEdiZO4JQRRDv+IgqWzx8 eS9MvQwHd5NiAV58A5kIdB3m1GBls/9CbnbOH3DTrHnShpKcxli8w42Gy U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0C/AgDJOU5b/51dJa1ZAxkBAQEBAQEBAQEBAQEHAQEBAQGDHypjfygKg3OIBIw9ggx1gkOSAYF6CxgNB4N6RgIXglkhNBgBAgEBAgEBAm0cDIU2AQEBBAEBIREaGAgLDgICAQgOAgEDAQIBAgIIARoDAgICGQwKARQBCAgCBA4BBAEaAgSCfwGBfw+rIoEuhFuFTQWBBod3gVc/gREngjU1gw4LAQEBARiBMAkkCiaCOjGCJAKZXAkChgiJHYFDhBGCbYUkh32CPIc0AhEUgSQdOIFScBU7KgGCPgkKghIXegEJgkEzhGGFPm8BD4EFiWWBLAGBGQEB
X-IronPort-AV: E=Sophos;i="5.51,366,1526342400"; d="scan'208";a="144076488"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jul 2018 18:53:10 +0000
Received: from XCH-RTP-014.cisco.com (xch-rtp-014.cisco.com [64.101.220.154]) by rcdn-core-6.cisco.com (8.15.2/8.15.2) with ESMTPS id w6HIr95G001741 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 17 Jul 2018 18:53:09 GMT
Received: from xch-rtp-011.cisco.com (64.101.220.151) by XCH-RTP-014.cisco.com (64.101.220.154) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Tue, 17 Jul 2018 14:53:08 -0400
Received: from xch-rtp-011.cisco.com ([64.101.220.151]) by XCH-RTP-011.cisco.com ([64.101.220.151]) with mapi id 15.00.1320.000; Tue, 17 Jul 2018 14:53:08 -0400
From: "Tim Jenkins (timjenki)" <timjenki@cisco.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] YangPush now
Thread-Index: AQHUHVo97/1MCRrcckGjuypYd3RC86STLH0AgAA6yQCAAIYGAP//1s0A
Date: Tue, 17 Jul 2018 18:53:08 +0000
Message-ID: <1DDEF716-343F-4DF9-AE2C-CBC7B6E0DBD1@cisco.com>
References: <2E1BAD12-EFF2-4E35-B232-57A4C4490989@cisco.com> <20180717055030.7bmzlychtznf3mso@anna.jacobs.jacobs-university.de> <18622ABD-DB9F-406C-836F-64649F3D8FF6@cisco.com> <20180717172036.hhuoq6fzs7ctblpf@anna.jacobs.jacobs-university.de>
In-Reply-To: <20180717172036.hhuoq6fzs7ctblpf@anna.jacobs.jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [161.44.212.117]
Content-Type: text/plain; charset="utf-8"
Content-ID: <4BD892C5AA1A484488C830094DF12903@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/BDm7zq-_BtnVIkT-1i1AqbIwCKs>
Subject: Re: [Netconf] YangPush now
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, 17 Jul 2018 18:53:24 -0000

Please see embedded, with prefix [Tim]. Note some editing of the original to separate the questions.

-- 
Cisco Systems Canada Co.
2000 Innovation Drive
Kanata, ON, Canada, K2K 3E8
Preferences <http://www.cisco.com/offer/subscribe/?sid=000478326>
Unsubscribe <http://www.cisco.com/offer/unsubscribe/?sid=000478327>
Privacy <http://www.cisco.com/web/siteassets/legal/privacy.html>



On 2018-07-17, 1:21 PM, "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de> wrote:

    I see several pieces but I do not see how the pieces give me a
    workable solution nor do I see how such a solution gives me
    interoperability.

[Tim] Even with your questions below, it's still not clear to me what would be missing. 
    
    If I configure a subscription, how does the flow of notifications work
    over NC and RC?

[Tim] NETCONF message flows are described in draft-ietf-netconf-subscribed-notifications, Appendix A.3.   RESTCONF is not in WGLC yet, but can be seen at draft-ietf-netconf-restconf-notif, Appendix B.2

    How do I configure where the connection goes?

[Tim] Since we don't implement netconf-server.yang, we do vendor specific stuff to link each receiver to our local call home/dial-out configuration.  There are lots of moving parts here, and we don't expect interoperability for quite a while.  This lack of interoperability is not a result of these subscription drafts though, so waiting for or making a model dependency to pending IETF work in this space will only make things more confusing and add further unnecessary delay to the process.

    What is
    the RC resource that provides me the notification stream?

[Tim] Current NETCONF implementation doesn't need this.  RESTCONF isn't used for configured subscriptions.

   How will
    all of this work if the endpoints in the future want to negotiate
    different encodings?

[Tim] Configured subscriptions aren't negotiable. However, negotiation is defined in the drafts for dynamic subscriptions. I think you can find more on that using a search of the text "configurable-encoding" within the YANG model of draft-ietf-netconf-subscribed-notifications.
    
    Since you said you implemented this: What exactly did you implement,
    what did not leave out, what did have to add to make it work?

[Tim] As configured subscriptions are not available in a public release at this point, I am not ready to give a full answer.
For dynamic subscriptions, you can see what is currently available at <https://github.com/YangModels/yang/tree/master/vendor/cisco/xe/1681>. Search on "push", for example <https://github.com/YangModels/yang/blob/master/vendor/cisco/xe/1681/ietf-yang-push.yang>. We have been deferring upgrading our IETF model version until this work is released from WGLC.  We don't want to make our users iterate model versions when the functional difference is quite low.
    
    /js
    
    On Tue, Jul 17, 2018 at 01:20:55PM +0000, Tim Jenkins (timjenki) wrote:
    > Juergen,
    > 
    > To flip this around, I don’t understand where the difficulties are.
    > 
    > But here’s what I see:
    > 
    >   1.  The format of the update notifications should be the same whether the subscription is dynamic or configured for a given transport and encoding. I believe we have that.
    >   2.  There are some differences in out of band notifications when I last read the drafts in details; these were explained by the different connection setup contexts. But this is otherwise unrelated to configured subscriptions.
    >   3.  Since the transport specific details are now separate from the base line drafts, it allows transport specific behaviour to decide how the connections (for configured subscriptions) are to be setup. We have usable variations of “call home” or “dial out” or whatever you want to call it for the cases we need. Admittedly, we do have to provide augmentations for some of the protocols, but then, that’s the intent of the design.
    > 
    > BTW, my comment below was sent last week. I have no idea how/why it arrived on the list after the IETF meeting yesterday.
    > 
    > Tim
    > 
    > --
    > Cisco Systems Canada Co.
    > 2000 Innovation Drive
    > Kanata, ON, Canada, K2K 3E8
    > Preferences <http://www.cisco.com/offer/subscribe/?sid=000478326>
    > Unsubscribe <http://www.cisco.com/offer/unsubscribe/?sid=000478327>
    > Privacy <http://www.cisco.com/web/siteassets/legal/privacy.html>
    > 
    > From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
    > Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
    > Date: Tuesday, July 17, 2018 at 1:50 AM
    > To: "Tim Jenkins (timjenki)" <timjenki@cisco.com>
    > Cc: "netconf@ietf.org" <netconf@ietf.org>
    > Subject: Re: [Netconf] YangPush now
    > 
    > I do not think that configured subscriptions have been fully worked
    > out. Nor do I see how I configure something that actually works.
    > Since you have implemented this, perhaps you can help me to understand
    > how all this actually works with the text in the current IDs.
    > 
    > /js
    > 
    > On Mon, Jul 16, 2018 at 11:10:52PM +0000, Tim Jenkins (timjenki) wrote:
    > Hi,
    > As an implementor of the drafts, I suggest enough already: we've been going down this path for quite some time.
    > Please publish both sets (dynamic and configured, and SN and YP) together.
    > Thanks,
    > Tim
    > > Hi,
    > >
    > > It might be useful (at least to me), if the draft authors could explicitly indicate what their preference is, and also which of the choices below they think would lead to the work completing most quickly.
    > >
    > > Thanks,
    > > Rob
    > >
    > >
    > > On 12/07/2018 19:48, Kent Watsen wrote:
    > > I would like to strongly +1 retaining the configured subscriptions
    > > (not necessarily in the Push draft itself for the sake of expediting
    > > WGLC or
    > > modularity)
    > > Ah, so here's another hum question: with or without yang push.
    > >
    > > hums now are:
    > >
    > >  1. dynamic subscriptions ~ configured subscriptions
    > >   a. dynamic first, then configured (published sequentially)
    > >  b. dynamic and configure together (published in parallel)
    > >
    > >   2. subscribed-notifications ~ yang-push
    > >     a. SN first, then YP  (published sequentially)
    > >     b. SN and YP together (published in parallel)
    > >
    > > Eric/Alex: please include a slide with this somewhere in your preso.
    > >
    > > Thanks,
    > > Kent // chair
    > _______________________________________________
    > Netconf mailing list
    > mailto:Netconf@ietf.org
    > https://www.ietf.org/mailman/listinfo/netconf
    > --
    > Cisco Systems Canada Co.
    > 2000 Innovation Drive
    > Kanata, ON, Canada, K2K 3E8
    > Preferences <http://www.cisco.com/offer/subscribe/?sid=000478326>
    > Unsubscribe <http://www.cisco.com/offer/unsubscribe/?sid=000478327>
    > Privacy <http://www.cisco.com/web/siteassets/legal/privacy.html>
    > _______________________________________________
    > Netconf mailing list
    > Netconf@ietf.org<mailto:Netconf@ietf.org>
    > https://www.ietf.org/mailman/listinfo/netconf
    > 
    > --
    > 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/>
    > 
    
    -- 
    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/>