Re: [netconf] WGLC on draft-ietf-netconf-notification-messages? (Was Re: Configured receiver capability exchange)

"Eric Voit (evoit)" <evoit@cisco.com> Fri, 07 February 2020 21:55 UTC

Return-Path: <evoit@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 1649A1200F1 for <netconf@ietfa.amsl.com>; Fri, 7 Feb 2020 13:55:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.499
X-Spam-Level:
X-Spam-Status: No, score=-14.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, 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 header.b=QoOOP4n1; dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=cisco.onmicrosoft.com header.b=lwzFCBLE
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 rTIjgIsVU2oz for <netconf@ietfa.amsl.com>; Fri, 7 Feb 2020 13:55:42 -0800 (PST)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C06A01200F3 for <netconf@ietf.org>; Fri, 7 Feb 2020 13:55:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=32699; q=dns/txt; s=iport; t=1581112541; x=1582322141; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=damRv7NuJ4vfVUdXx9joZcZuH66Fl76C5jmNBaldxkw=; b=QoOOP4n1CkPD3j58try/28/gK/VcA+5/4/N9zyf5CnSttFGMpeXMhiZ7 o3l6tJIaRKY3UFM5n8bDvw3TU9oViTloC5MmTkPsYbN+cwufxRzP04F5g LJkJPByDzj2dnLoBAPnbeH3w2yXYhaKqhfKOqlSYlxk0xzfxgIH6RLsD1 0=;
X-Files: smime.p7s : 3975
IronPort-PHdr: 9a23:JH2/4h0mBCKFrjKYsmDT+zVfbzU7u7jyIg8e44YmjLQLaKm44pD+JxGPt+51ggrPWoPWo7JfhuzavrqoeFRI4I3J8RVgOIdJSwdDjMwXmwI6B8vQBFP8LeLCZC0hF8MEX1hgrDm2
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DCAgDL2z1e/4kNJK1cChsBAQEBAQEBBQEBAREBAQMDAQEBgXuBJS9QBWwrLSAECyoKhAuDRgOKfoJfiWKOMIJSA1QCBwEBAQkDAQElCAIBAYRAAoJDJDgTAgMNAQEEAQEBAgEFBG2FNwyFZgEBAQQSEQoTAQE1AgEPAgEGAhUQEwMEAwICAh8RFBEBAQQBDQUIBg0HgwWBfU0DHw8BAgyTRJBnAoE5iGJ1gTKCfwEBBYEzAg5BgxgNC4IFBwMGgTiBU4pQGoFBP4ERR4JMPoIbSQEBAgEBGIEcLysJgloygiyNYpJcjnRECoI6g2yCO4ElilSER4JIjFmLbo5kiGyCKJARAgQCBAUCDgEBBYFpIoFYcBWDJ1AYDY4dOIM7hRSFP3SBKYwvAYEPAQE
X-IronPort-AV: E=Sophos;i="5.70,414,1574121600"; d="p7s'?scan'208,217";a="477735828"
Received: from alln-core-4.cisco.com ([173.36.13.137]) by rcdn-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 07 Feb 2020 21:55:39 +0000
Received: from XCH-ALN-002.cisco.com (xch-aln-002.cisco.com [173.36.7.12]) by alln-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id 017Ltcs6002064 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 7 Feb 2020 21:55:38 GMT
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by XCH-ALN-002.cisco.com (173.36.7.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 7 Feb 2020 15:55:38 -0600
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 7 Feb 2020 16:55:37 -0500
Received: from NAM11-CO1-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 7 Feb 2020 15:55:37 -0600
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IN2LHcYAvSDVE1c5uOs1vlDLiAhIoRWg696VB5ig6SEFEuObMKG/nn3gbYUz6w870jwZHWkCtYN6g0SmXgVeodLcRa+AKtcsy3HGgXFe9KOpmq6VDPg9klrEltoUaMKOK0kfcw1svCqswGWB98ap44RGJQlB3oPTyey8yzLHJO7gezKf3qexyqYyRU7YKSS7F9nHIU97h+3Gi+TjliaVPF+uDk5+wePQeXm5yW/wicDyY1JvRREhgimgf9WtOskY5lM5WOw8Pfb2S6HjSdVTNM0xeEJDxrNkoh+bcXnCEJuH7/6QmebnsunZq2hu3T/Ze/nPvbl1+Q6OZPYlSGjvQA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Hei/3Q1QXaH9UAGGNbd0Ifs2N3IhuvnEH6eIGzJp5L8=; b=gggx5rO7U4mFGxFWoS322byNmR+g2rR3YjzRrf+OUemKDUP9SRe9+wwxFMGTqS8LiejOtv4UcuQjQE/qywH4xzacMQmcLSFxwqdaEmgKt7ECAUfGJdwBmNcSusjtRWQBmAzxft4RJAZMpMvBUz5Pjmdy8dOUIDv/n/YE4vPLBn6FmnAqxPvY80zgAEsFJllQMXOAAzJBBbt/StjiLluc33288IKOtdpSL9jiHTFPz09qkBcazxZ2F6ElFVwnPTiaOPKo114HPuVLVkZOvQIJ3/vlnY+pjZaK+ow0YtfJV59er0Sql6v68Ql7JfQ4VZF2pdJqK+4dliiLGvyYqRExwA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Hei/3Q1QXaH9UAGGNbd0Ifs2N3IhuvnEH6eIGzJp5L8=; b=lwzFCBLEH+C2HE+rveuqiEgqPVZtOqModj42NMeMbRIfDAEdGdyavjs6Zip4I3B/weYg0rQ0d6VScOumOJSL9/0iz7tT1+k0TLBbXKFI0l4LT8N+dRCDqC5v2uiDpoz3lPWqrTWTpzPaDTkCS1/zD/qN9BqLcy5gKUur5t8X6f0=
Received: from BYAPR11MB2536.namprd11.prod.outlook.com (52.135.226.32) by BYAPR11MB2773.namprd11.prod.outlook.com (52.135.227.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.32; Fri, 7 Feb 2020 21:55:35 +0000
Received: from BYAPR11MB2536.namprd11.prod.outlook.com ([fe80::20d1:96f3:bde9:17e5]) by BYAPR11MB2536.namprd11.prod.outlook.com ([fe80::20d1:96f3:bde9:17e5%5]) with mapi id 15.20.2686.036; Fri, 7 Feb 2020 21:55:35 +0000
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: wangzitao <wangzitao@huawei.com>, Mahesh Jethanandani <mjethanandani@gmail.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [netconf] WGLC on draft-ietf-netconf-notification-messages? (Was Re: Configured receiver capability exchange)
Thread-Index: AdXdkf8/mCPF7MdBRxG9gZDvXDuo9QAbmQzw
Date: Fri, 07 Feb 2020 21:55:35 +0000
Message-ID: <BYAPR11MB2536515F56778CFE2A261CDDA11C0@BYAPR11MB2536.namprd11.prod.outlook.com>
References: <E6BC9BBCBCACC246846FC685F9FF41EA2DD15D3A@dggemm507-mbs.china.huawei.com>
In-Reply-To: <E6BC9BBCBCACC246846FC685F9FF41EA2DD15D3A@dggemm507-mbs.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=evoit@cisco.com;
x-originating-ip: [108.31.49.36]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a418136d-fc07-4509-6db1-08d7ac187600
x-ms-traffictypediagnostic: BYAPR11MB2773:
x-microsoft-antispam-prvs: <BYAPR11MB277364FCE17D43D0091FF24AA11C0@BYAPR11MB2773.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:3044;
x-forefront-prvs: 0306EE2ED4
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(136003)(396003)(366004)(346002)(39860400002)(199004)(189003)(4326008)(186003)(316002)(9686003)(55016002)(6506007)(71200400001)(33656002)(53546011)(110136005)(2906002)(66446008)(5660300002)(8676002)(81166006)(81156014)(66946007)(52536014)(66616009)(8936002)(86362001)(26005)(7696005)(15650500001)(64756008)(66556008)(478600001)(9326002)(76116006)(66476007); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR11MB2773; H:BYAPR11MB2536.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: IYKRL+sGuYPj+o40xvFudgNy5Nw1GMt/kAlJCTBber35Qh2SwekR4tKMiDiY9qZq2ckCMRi46korecWAndrUkYlGBVjtBAcazFkCRpT6cQYAI2K3isUMBA885T6KgpvxzusTZx+J/cf2LafMMG/g5vr+0CA4rYD3Rd37L4tYHwcbePMGFYiwPaUPguiU8Ft8vVQVoP2PaEAM5HGhVL1K2UORPMPx3D6oBpIZBYc+8KkXI3Mhj4cjvrH3kCaMlrAErVsmEdjontV2Ux3WT0nkg80suMpoHXkxM8hrdav99mt5lzYZ6k5KIzlegdvyfp0tngA86sX9Kp0tNaQo9ANobdytXbAildqhpKQY+YhTKc8RyYbdLa3RnB6HLXXzXfGXZb8c0n5yC6yzjq+tUnl3VG1gJ25sQEBRbQrBcnZfTnv0aF6kFcf5cpnvciHsAIY2WMBah28aXHIvGHf/T/DRfW8AU5gjMkNFx9UpTr+Nixn4VWKvwKLBi4MBma9oGWOeOunc0K5JeJ0O2tQIBaN2PQ==
x-ms-exchange-antispam-messagedata: oH+n/95iEq3ntK5Z/NuFZ73+nTDsze/92sWr3B0bnYO2g7AR7pJRqpxi/FmUWBS9vei/Vc80/8P1yLNcmNyJf2/V66G37twpTq7yUeZICtL+UW5c+Wd3MMWMX/JI8G3NXlap2vEwH30d/Hr+LBMZtA==
x-ms-exchange-transport-forked: True
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_05AA_01D5DDD7.41B9A410"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: a418136d-fc07-4509-6db1-08d7ac187600
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Feb 2020 21:55:35.3007 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: L60VDTXz2bP7XyEl3ce2sJZNLRa2CPQUdoCVYGAV02zmLWtRXXTnd8gt4Z905iZi
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2773
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.12, xch-aln-002.cisco.com
X-Outbound-Node: alln-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/d7R0jxadQo2r50zgGRICFg2qKck>
Subject: Re: [netconf] WGLC on draft-ietf-netconf-notification-messages? (Was Re: Configured receiver capability exchange)
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: Fri, 07 Feb 2020 21:55:44 -0000

Hi Michael,

 

From: wangzitao, February 7, 2020 3:39 AM



 

Hi Eric and chairs,

 

I have read this version and have one question. 

On what basis does the publisher package notifications for different subscriptions together? 

Is the client sending instructions to package different notifications together? 

Or is the publisher randomly packing different notifications together? 

<eric> right now there are no guidelines on how to package different YANG notifications together.   Specifying this could be done in ways independent of this draft:

*	A specification/draft could identify the maximum latency before a specific YANG Notifications generated must egress a publisher.
*	A specification/draft could indicate what specific notifications must be bundled together.

 

Thanks,
Eric

 

Best Regards!

-Michael

 

发件人: netconf [mailto:netconf-bounces@ietf.org] 代表 Mahesh Jethanandani
发送时间: 2020年1月28日 8:19
收件人: Eric Voit (evoit) <evoit@cisco.com <mailto:evoit@cisco.com> >
抄送: netconf@ietf.org <mailto:netconf@ietf.org> 
主题: [netconf] WGLC on draft-ietf-netconf-notification-messages? (Was Re: Configured receiver capability exchange)

 

Hi Eric,

 

This e-mail triggers two responses. Let us deal with draft-ietf-netconf-notification-messages here, and I will bring up comments/questions related to draft-ietf-netconf-https-notif in the other thread.

 

You have indicated a desire that receiver capabilities should be documented by the transport specific draft, e.g. draft-ietf-netconf-https-notif, and not this draft. As such you believe that the draft is ready.

 

To the WG, the authors have indicated a desire to wrap up this draft, and would like us, the chairs, to issue a WGLC on it. Before we do that, we wanted to ask if the WG believes that the document is ready, and that there are no more issues that need to discussed/addressed by draft-ietf-netconf-notification-messages document at this time.

 

Cheers.

 

Mahesh and Kent (as co-chairs).






On Jan 15, 2020, at 12:23 PM, Eric Voit (evoit) <evoit@cisco.com <mailto:evoit@cisco.com> > wrote:

 

Hi Mahesh,

 

During the IETF 106 session, there was discussion on how both a publisher might know if there is receiver support for  <https://datatracker.ietf.org/doc/draft-ietf-netconf-notification-messages/?include_text=1> draft-ietf-netconf-notification-messages.  Section 6 highlights several of the considerations.   Relevant are the following:

 

(a) Remote device capability discovery from the point of view of the Publisher needs to be enhanced to know if the far end can interpret notification messages type beyond RFC-5277, Section 4.

 

(b) This capability discovery question is relevant for both configured subscription receivers and dynamic subscribers.  

 

(c) The capability discovery question can be generalized beyond subscriptions, as there are many reasons to know the available capabilities of the far end.   

 

(d) Capability discovery advertisement has traditionally been discussed within transport documents (e.g. RFC-6241 Section 8.1).   

 

 

Based on (a)-(d), coming up with a transport independent point-solution within  <https://datatracker.ietf.org/doc/draft-ietf-netconf-notification-messages/?include_text=1> draft-ietf-netconf-notification-messages *just* to discover this single element of client functionality seems overkill/heavyweight.

 

I was fine with letting this remote capabilities discovery question sit for a while.   However  <https://tools.ietf.org/html/draft-ietf-netconf-https-notif-01> draft-ietf-netconf-https-notif shows that we now must address this question.  Specifically should the diagram section 1.4.1 show this capability exchange?  

 

It turns out that independent of draft-ietf-netconf-notification-messages, there several questions in draft-ietf-netconf-https-notif which need to be answered prior to the section 1.4.1 arrow: "Send HTTPS POST message with YANG defined notification #1" anyway.  These questions are:

  (1) Does the targeted HTTPS receiver support configured subscriptions?

  (2) Can the targeted HTTP@ receiver accept a new subscription as described in a <subscription-started>?

Only if these questions are "yes", should the <subscription-started> be responded to with an "OK".

 

Add to this a third question driven from (a)-(d):

  (3) Does the receiver support the message type within "draft-ietf-netconf-notification-messages"?

 

A strawman way to handle the all three questions within draft-ietf-netconf-https-notif would be to respond to a <subscription-started> notification with an HTTP Status 202 (Accepted)" acknowledgement.  This 202 would include body elements listing supported receiver resources.  Maybe something YANG encoded via ietf-yang-structure-ext containing:

 

      <foo xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

        <capabilities>

          <capability>

            urn:ietf:params:xml:ns:yang:ietf-notification-messages:1.0

          </capability>

        </capabilities>

      </foo>

 

What do you think of this approach?

 

Eric

 

Mahesh Jethanandani

mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>