Re: [netconf] https-receiver in draft-ietf-netconf-https-notif-02

Kent Watsen <kent+ietf@watsen.net> Tue, 07 April 2020 14:50 UTC

Return-Path: <01000171551eee4b-c7e54bc9-239b-46b0-9bee-4c483d9a9984-000000@amazonses.watsen.net>
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 854D13A0BDB for <netconf@ietfa.amsl.com>; Tue, 7 Apr 2020 07:50:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=amazonses.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 vX0jpyPAUV_5 for <netconf@ietfa.amsl.com>; Tue, 7 Apr 2020 07:50:24 -0700 (PDT)
Received: from a8-31.smtp-out.amazonses.com (a8-31.smtp-out.amazonses.com [54.240.8.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 83B533A0BE7 for <netconf@ietf.org>; Tue, 7 Apr 2020 07:50:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=224i4yxa5dv7c2xz3womw6peuasteono; d=amazonses.com; t=1586271023; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:Feedback-ID; bh=9E5X9dZT29UKwGFggrs7cI09VNHyIPHHkXFqhsLYORw=; b=NfQWs8AYQl7rheDRIIeSukKLODX13HDthMOXotUBVxOZ1F6YuKCO4YzEFvh8/WV9 dod8R+JKE1zBbdKgVuiF2f4+e/p6j9QvDcpOcG3Fm79AyriusQP5jQRR2dhZj/gLz0+ /tNiw8S97R9+dAcLASnOC6Gx2VaRGNFSdCd8BE1Y=
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Kent Watsen <kent+ietf@watsen.net>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABAAD5C8DE5@dggeml511-mbx.china.huawei.com>
Date: Tue, 07 Apr 2020 14:50:23 +0000
Cc: "netconf@ietf.org" <netconf@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-ID: <01000171551eee4b-c7e54bc9-239b-46b0-9bee-4c483d9a9984-000000@email.amazonses.com>
References: <DAF9E3B9-B1F1-41CA-AA23-69A7E117D0C8@cisco.com> <B8F9A780D330094D99AF023C5877DABAAD5C8DE5@dggeml511-mbx.china.huawei.com>
To: Qin Wu <bill.wu@huawei.com>, "Reshad Rahman (rrahman)" <rrahman=40cisco.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3445.104.11)
X-SES-Outgoing: 2020.04.07-54.240.8.31
Feedback-ID: 1.us-east-1.DKmIRZFhhsBhtmFMNikgwZUWVrODEw9qVcPhqJEI2DA=:AmazonSES
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/pI-ZHZNngoOmcDJw8t599sYrdGM>
Subject: Re: [netconf] https-receiver in draft-ietf-netconf-https-notif-02
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG 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, 07 Apr 2020 14:50:27 -0000

Qin, I think Reshad’s question regards YANG modeling.

Reshad, are you suggesting that a pattern will evolve over time and can we prep for now?  This would be consistent with statements made by Juergen and Martin in the past, i.e., that 1) the desire to have many subscriptions point to the same receiver transport is going to be common and 2) it’s too bad RFC 8639 didn’t consider this (*).

If I understand correctly, you’re suggesting the creation of another module (“new-module” in tree diagram below), independent of https-notif, that only defines a list of receivers, with just a “name” key node and a “receiver-type” choice node in which “notif” transports (e.g, https-notif) could augment a receiver into.  Something like this?

 module: ietf-subscribed-notifications
    …
    +--rw subscriptions
        +--rw new-module:receivers
            +--rw receiver [name]
                 +--rw name                                 string
                 +--rw (receiver-type)
                      +--rw https-notif:https-receiver?
                           ...
        +--rw subscription* [id]
            +--rw receivers
                +--rw receiver* [name]
                    +--rw name                      string
                    +--rw new-module:receiver-ref?   leafref -> /subscriptions/new-module:receivers/name


(*) Please recall that the WG “consensus" was to move forward with “configured” subscriptions even though we had no configurable “notif” transport at the time.  Some were concerned about what we were not thinking about things, such as this issue, as well as the multi-steam originators “channel” issue.   IIRC, the authors said that they would walk away from the draft if the WG removed “configured” subscriptions while urging the WG to move faster.

Kent // contributor



> On Apr 6, 2020, at 12:49 PM, Qin Wu <bill.wu@huawei.com> wrote:
> 
> 
> In telemetry data transport capability draft, we allow server to advertise multiple transport protocol, encoding, the client can specified transport and encoding in the yang push subscription model and select appropriate transport from
> Sever supported transport protocols.
> 
> 
> 
> 发件人: Reshad Rahman (rrahman)<rrahman=40cisco.com@dmarc.ietf.org>
> 收件人: netconf<netconf@ietf.org>
> 主题: [netconf] https-receiver in draft-ietf-netconf-https-notif-02
> 时间: 2020-04-07 00:24:53
> 
> Hi,
> 
>  
> I understand why nodes receiver(s) were renamed to https-receiver(s) and moved to SN.
> 
>  
> So is the plan to have different receiver lists for each transport (assuming we’ll have multiple transports)? Why not have 1 receiver list (keyed on name) and add protocol specifics as needed? If this was already discussed, apologies for beating a dead-horse.
> 
>  
> Regards,
> 
> Reshad.
> 
> _______________________________________________
> netconf mailing list
> netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
> _______________________________________________
> netconf mailing list
> netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf