Re: [Netconf] WGLC on netconf-event-notifications-13

"Eric Voit (evoit)" <evoit@cisco.com> Fri, 12 October 2018 21:06 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 DE375126DBF for <netconf@ietfa.amsl.com>; Fri, 12 Oct 2018 14:06:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, 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
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 TB6h7sunao18 for <netconf@ietfa.amsl.com>; Fri, 12 Oct 2018 14:06:21 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A12D3128B14 for <netconf@ietf.org>; Fri, 12 Oct 2018 14:06:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2825; q=dns/txt; s=iport; t=1539378381; x=1540587981; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=0iGaT+nd4h1I9y9BeBVZ02XbewmNYSPltLkGP2jOhs4=; b=SJzQvtvhrawZvpUVjukRPncr7kaaLcCDuJk0vUF4fs3xZxcYqTFmrvbT WUf2fbwiKFVb0qA6w+UE1JYzYfoFr2tiH+8JvQNg/S5A2x7Szz6K6KeYq R591M2ptEt4C9eINasAk99bZwkBZjlyVcYceFa6pSNBXLrNdGlKqOJypa Q=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ANAABhC8Fb/5pdJa1bCRsBAQEBAwEBAQcDAQEBgVEGAQEBCwGBWSpmfygKjAGML4INlwcUgWYLAQEYC4QDRgKEXSE0DQ0BAwEBAgEBAm0cDIU5AQEBAwEBATgtBwkHCwIBCA4HEBEQJwslAgQBEgiCTUsBgXkID6Z0iVIFi0YXgUE/gRKDEoMbAQGBNwMPhXACnU5OCQKQTh+BT4gAhkeVfQIRFIEmHTiBVXAVO4JsixiFPm+KM4EugR8BAQ
X-IronPort-AV: E=Sophos;i="5.54,374,1534809600"; d="scan'208";a="462374038"
Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Oct 2018 21:06:20 +0000
Received: from XCH-RTP-011.cisco.com (xch-rtp-011.cisco.com [64.101.220.151]) by rcdn-core-3.cisco.com (8.15.2/8.15.2) with ESMTPS id w9CL6KMm000775 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 12 Oct 2018 21:06:20 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-011.cisco.com (64.101.220.151) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 12 Oct 2018 17:06:19 -0400
Received: from xch-rtp-013.cisco.com ([64.101.220.153]) by XCH-RTP-013.cisco.com ([64.101.220.153]) with mapi id 15.00.1395.000; Fri, 12 Oct 2018 17:06:19 -0400
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: Qin Wu <bill.wu@huawei.com>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] WGLC on netconf-event-notifications-13
Thread-Index: AQHUYQQ6PmFXMfKNSkqeZJpjJKWPMKUcEa7g
Date: Fri, 12 Oct 2018 21:06:19 +0000
Message-ID: <100b013b42b747d4a46b77f608b4d012@XCH-RTP-013.cisco.com>
References: <B8F9A780D330094D99AF023C5877DABA9B064C67@nkgeml513-mbx.china.huawei.com>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA9B064C67@nkgeml513-mbx.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.118.56.234]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Outbound-SMTP-Client: 64.101.220.151, xch-rtp-011.cisco.com
X-Outbound-Node: rcdn-core-3.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Yj1-dY-XKa1AouksResUCbfpgrI>
Subject: Re: [Netconf] WGLC on netconf-event-notifications-13
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: Fri, 12 Oct 2018 21:06:25 -0000

Hi Qin,

Thanks very much for your review.  Some thoughts in-line...

> From: Qin Wu, October 10, 2018 9:45 PM
> 
> Hi:
> I have read the latest version of netconf event notification and believe it is
> ready for publication, here is a few comments:
> 1. Section 5
> The first sentence in paragraph 1 discuss how to encode notification messages
> over NETCONF protocol, but it is not clear how to encode notification
> messages transported over RESTCONF protocol? additional text to clarify?

RESTCONF requirements would seem a cleaner fit for draft-ietf-netconf-restconf-notif, which is also currently under WGLC.
 
> For second paragraph, I think we should emphasize all notifications and RPC
> are carried in the same session, how about the following proprosed text:
> "
> For dynamic subscriptions, all notification messages MUST be sent in a same
> NETCONF transport session used by the "establish-subscription" RPC.
> "

I agree with your desire to clarify and simplify.  And proposed text above does appearing two paragraphs below in Section 6.

However the kill-subscription RPC likely will not come from the same NETCONF transport session.  So we cannot fully generalize/simplify.  Let me know if there is some other approach you would like, or whether this is ok.

> 2. Section 7, paragraph 2 and paragraph 2, the 1st bullet:
> Why JSON encoding is underlined? Why is limited to XML encoding?

Per another thread, mention of JSON in this draft is removed.  I don't think that we have a full set of IETF standards which document JSON + NETCONF.  
  
> 3.Section 7 paragraph 2, the 1st bullet:
>       "In case of error responses to an "establish-subscription" or
>       "modify-subscription" request there is the option of including an
>       "error-info" node."
> 
> Where "error-info" node is included? <rpc-error> element?

Good catch.  The text "each error identity..." really is part of the previous bullet.  I will move the text up to make that obvious.  That makes the "error-info" bullet an obvious part of the previous list.
 
> "  The yang-data included within "error-info" SHOULD NOT include the
>       optional leaf "error-reason", as such a leaf would be redundant
>       with information that is already placed within the
>       "error-app-tag".
> "
> 
> 
> where yang-data included in "error-info" defined? I only see something similar
> defined in RFC8040 for error-info.

I have updated the document to show that the yang-data structures come from: ietf-subscribed-notifications and ietf-yang-push.

Thanks again,

Eric

> -Qin
> 
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf