Re: [Netconf] I-D Action: draft-ietf-netconf-restconf-notif-09.txt

"Eric Voit (evoit)" <evoit@cisco.com> Tue, 30 October 2018 11:31 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 14D2312D4E6 for <netconf@ietfa.amsl.com>; Tue, 30 Oct 2018 04:31:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 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, 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 Xc0HRI_1SZ9o for <netconf@ietfa.amsl.com>; Tue, 30 Oct 2018 04:31:25 -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 2564B128B14 for <netconf@ietf.org>; Tue, 30 Oct 2018 04:31:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5318; q=dns/txt; s=iport; t=1540899085; x=1542108685; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=GkfXNmrigUNEOzA5IFre6Zm3YMpVFR87p1MDaP5CdlA=; b=IRBBw91gwa+f99O+SpOWEP0vtfUQ1vCas+b3ePN0uuh970bBxu3+2CER 2WJn2ycVYjvnaMkbTe+2BPomU20fKMAQIa+WB7etkQDQHAffQ5hY0GoIL Iuet0lqhsXcLAduU4bK7UYU9X77Uro5TgUNnJ2ZVInXvqCmnM2ghbFW6e s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ANAAD/P9hb/5tdJa1aChkBAQEBAQEBAQEBAQEHAQEBAQEBgVEEAQEBAQELAYIEZn8oCoNsiBiMGIINg0CTYBSBZgsBARgNhAFGAheDDSI0DQ0BAwEBAgEBAm0cDIU6AQEBAwEBASEROhcEAgEIEQQBAQECAgkdAgICJQsVCAgCBAESCIMagXkIDwOnNRGBIoEuhC0BhXMFgQuKXBeBQT+BEYMSgxsBAYE2Ex8QI4JKglcCiSGFQ4FEjmgJAoZpihQgkEiMdooJAhEUgSYdOIFVcBU7gmyCIQUXiFyFPm+KWYEfAQE
X-IronPort-AV: E=Sophos;i="5.54,444,1534809600"; d="scan'208";a="470056217"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Oct 2018 11:30:24 +0000
Received: from XCH-RTP-002.cisco.com (xch-rtp-002.cisco.com [64.101.220.142]) by rcdn-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id w9UBUOT1015785 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 30 Oct 2018 11:30:24 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-002.cisco.com (64.101.220.142) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 30 Oct 2018 07:30:23 -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; Tue, 30 Oct 2018 07:30:23 -0400
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, Kent Watsen <kwatsen@juniper.net>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] I-D Action: draft-ietf-netconf-restconf-notif-09.txt
Thread-Index: AQHUZ/KZjNTUG1zowU+t1K56L4Uaa6Uon9+AgA5OuoD///fhgIAAzz7Q
Date: Tue, 30 Oct 2018 11:30:23 +0000
Message-ID: <602bff9c5cd4408a8426e93e6c67ad41@XCH-RTP-013.cisco.com>
References: <153998442248.6702.15266005233689645548@ietfa.amsl.com> <6235E161-BEB3-4A39-9367-5ABEF5CCE21B@cisco.com> <773DB227-85C8-46DA-B590-14A6B7B4499B@juniper.net> <89BB70DB-3666-498F-8D30-DCCE673A0A41@cisco.com>
In-Reply-To: <89BB70DB-3666-498F-8D30-DCCE673A0A41@cisco.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="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Outbound-SMTP-Client: 64.101.220.142, xch-rtp-002.cisco.com
X-Outbound-Node: rcdn-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/pgfWPFiNC6V-Xc9LYg_UOGeUghE>
Subject: Re: [Netconf] I-D Action: draft-ietf-netconf-restconf-notif-09.txt
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: Tue, 30 Oct 2018 11:31:27 -0000


> -----Original Message-----
> From: Netconf <netconf-bounces@ietf.org> On Behalf Of Reshad Rahman
> (rrahman)
> Sent: Monday, October 29, 2018 6:01 PM
> To: Kent Watsen <kwatsen@juniper.net>; netconf@ietf.org
> Subject: Re: [Netconf] I-D Action: draft-ietf-netconf-restconf-notif-09.txt
> 
> Hi Kent,
> 
> 
> On 2018-10-29, 2:29 PM, "Kent Watsen" <kwatsen@juniper.net> wrote:
> 
>     Hi Reshad,
> 
>     > Most of the comments received during WGLC (from Kent, Martin and
>     > Qin) have been addressed. Those not addressed are:
>     >
>     > 1- s/uri/location/ (to use same term as in RFC8040), I'm fine with
>     >   this change but would like to hear from WG.
> 
> 
>     I resist the idea that node names need to be consistent across modules.
>     Yes, there exists some meta-conventions (e.g., the "enabled" leaf) that
>     are unfortunately with us at the moment.
> 
>     Modules should firstly use whatever name makes most sense for their
>     own purpose.  If it doesn't matter, then picking a value consistent
>     with another module is okay, but I wouldn't spend more than five
>     minutes searching for it.
> 
>     FWIW, the zerotouch draft has an inet:uri node called "download-uri".
>     I don't know if it's a better name within the ZTP context, but it
>     made sense to me at the time and no one questioned it.
> <RR> I'll keep "uri" unless we hear from more people who would like to see it
> changed to location.   I don't feel strongly about this, I got used to "uri" and
> think it's appropriate.
> 
>     > 2- Allowing modify/delete subscription from a different connection. There
>     >  was a discussion between Martin and Eric on this topic:
>     >
> https://mailarchive.ietf.org/arch/msg/netconf/3WaiWBVlLhj9wBOtuFuxVJkfsig
> 
>     RESTCONF doesn't have connections, per se, but sometimes drafts refer to
>     the underlying TLS connection.
> 
>     Regardless, the general goals (for NETCONF too, I would think) could be:
>       - a client (i.e., a RESTCONF username) can always modify/delete/resynch
>         their own subscriptions.
>       - an authorized administrator can modify/kill any client's subscription.
> <RR> We should have this discussion in the context of SN.

This is covered in SN.  Section 2.4.3:

"Dynamic subscriptions can only be modified via this RPC using a transport session connecting to the subscriber."

and Section 2.4.4:

" Dynamic subscriptions can only be deleted via this RPC using a transport session connecting to the subscriber."

In  -v19, I have also removed the sentence: " If the delete request
   matches a known subscription established on the same transport
   session, then it MUST be deleted; otherwise it MUST be rejected with
   no changes to the publisher."

Eric

>     > 3- Take uri out of subscription-modified. It was pointed out to me that
>     > SN draft says the following:
>     >
>     >       For completeness, this subscription state change notification
>     >       includes both modified and non-modified aspects of a subscription.
> 
>     I'm unsure how the [non-]modified matters to this question, but it seems
>     that "uri" may not be *needed* as there is already an "id" node that
>     achieves the similar ability to identify the subscription.  That said,
>     I'm okay with the "uri" field being present, even if it's only mildly
>     helpful, so long as there is no concern for the message size or the
>     publisher's ability to populate the value.
> <RR> The "uri" does not change, that's why the [non-]modified question came
> up. I'm keeping it.
> 
> Regards,
> Reshad.
> 
>     Kent // contributor
> 
> 
> 
> 
> 
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf