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

Kent Watsen <kwatsen@juniper.net> Mon, 29 October 2018 18:29 UTC

Return-Path: <kwatsen@juniper.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 6BFA5131059 for <netconf@ietfa.amsl.com>; Mon, 29 Oct 2018 11:29:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.171
X-Spam-Level:
X-Spam-Status: No, score=-1.171 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.47, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KHOP_DYNAMIC=1.999, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 gFDwIsHCVId1 for <netconf@ietfa.amsl.com>; Mon, 29 Oct 2018 11:29:37 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7EF2A131063 for <netconf@ietf.org>; Mon, 29 Oct 2018 11:29:37 -0700 (PDT)
Received: from pps.filterd (m0108162.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w9TITLGp002058; Mon, 29 Oct 2018 11:29:36 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=PPS1017; bh=MUiJlx5EuQmI/sleQPSIYzFSFgAkI3zxsSmPJsCR/gA=; b=eOF2eD2FDfm/V9CYY3vU/RJHA+bZEwSCT2hs+EmDsKkl2vrSDhlCh0NSFPNrn4TGskzj 7wXmLvwvW1RsR9/x+VHWyxC5S5Y5bastKreFUiO0G7IR9k/PNhcM/TEFM1NmAJERctpI Xx+Zyq6SZ8qlQOdxBfqHoZUcnl67WtMAJITmRp15lpht2r/kea8iEDB6Tm5Rpsvbztxx hYmcPPSrie/QRmbfrBDHTx/76Vk91KD3aZk9k2HjpDTlX9hvFCqEb8oPi3cNsVv+cXAu OdJxpbpBdlS60kwvhpzuexgYWuXeu1IyknD+CB9WJ+l6b8ehx8D0+FCJZU75DP132CGq GA==
Received: from nam01-by2-obe.outbound.protection.outlook.com (mail-by2nam01lp0182.outbound.protection.outlook.com [216.32.181.182]) by mx0b-00273201.pphosted.com with ESMTP id 2ne4768j8e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 29 Oct 2018 11:29:35 -0700
Received: from DM6PR05MB4665.namprd05.prod.outlook.com (20.176.109.202) by DM6PR05MB4841.namprd05.prod.outlook.com (20.176.112.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.7; Mon, 29 Oct 2018 18:29:33 +0000
Received: from DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::7540:75f2:3803:298a]) by DM6PR05MB4665.namprd05.prod.outlook.com ([fe80::7540:75f2:3803:298a%5]) with mapi id 15.20.1294.015; Mon, 29 Oct 2018 18:29:33 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] I-D Action: draft-ietf-netconf-restconf-notif-09.txt
Thread-Index: AQHUZ/KOmPoM/GorZEuRu/4I67jKCaUojx0AgA3I1gA=
Date: Mon, 29 Oct 2018 18:29:33 +0000
Message-ID: <773DB227-85C8-46DA-B590-14A6B7B4499B@juniper.net>
References: <153998442248.6702.15266005233689645548@ietfa.amsl.com> <6235E161-BEB3-4A39-9367-5ABEF5CCE21B@cisco.com>
In-Reply-To: <6235E161-BEB3-4A39-9367-5ABEF5CCE21B@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.10.3.181015
x-originating-ip: [66.129.241.14]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DM6PR05MB4841; 6:yClC9z1tuuStUbuL68DtC9ggfn3AMne81l2Yd0shFhVuQuX5dtgiQBGKl1IErVe320K4JjpivzsxKfaUdJ4JW5tmm2lxE6zb7oYq+D/DrkwMd18gB4jqiG1IRnU1aR1tRlVIBlWUe+W04DD0pf+wW7uTQLjb8rimsAj8nMkM0IPOiM0lzNKPs+jol2Y5Ka47E3XccPnfKVObixVvXLnDCkqNuLViBuD2BnQujaQHiaQn18oaZXqmDBk7mYCfaaIHwBe91KaoMxNpwh5MgdssNRLr6zIQFP78VSlyO1EYzoqyDeFX9QRaNWSJAjXGTI7lkjMPX+0sl0S2DvshHq7JkyFmbjw6VYGMPnEZcMaU+rNxwtv4PD6QNWrnh1K/GmuZm+wntxGRgWl7JdNQp3KOmqCSR88JRaNQ9VK/nZA6dE7VcmQ2poIlO/8Z62t9lcnFjsmO3tfghrfFLa7Zo3NM9Q==; 5:IktrslprreCzytWZ/RpIvEQnMPx6Oloa2ig5SBzToHIlIODXq0zQ6AsClMoMEZtaFoOGpcXDPqxhR8WyKHAIbUMw+mO3v9kqKUHaWycmT4OVBNpVy9y4cyDQG+TTAWRp+DKnEWCyEyiX6ZWae6q/WPd9Bq0wxHxE1IHDAZ89J8o=; 7:dtHk/OosLOpuNEVZRr3jxJwKxMVlU701wml86AHKLV2G6O+Tpe9oOaaqOWGJGoR9lpuDKCjuLD2AQUbVW/+cnKD9Jo4v7Plq1qAIIafY29/Fqk+hFReURk7Mx30RScg+f9K+LW1Mypal/d+o0Jn5CQ==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: f0228e2d-a6c5-4da3-11cf-08d63dcc7952
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:DM6PR05MB4841;
x-ms-traffictypediagnostic: DM6PR05MB4841:
x-microsoft-antispam-prvs: <DM6PR05MB484107E17AE598C3446BB7FCA5F30@DM6PR05MB4841.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231382)(944501410)(52105095)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:DM6PR05MB4841; BCL:0; PCL:0; RULEID:; SRVR:DM6PR05MB4841;
x-forefront-prvs: 084080FC15
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(396003)(366004)(376002)(136003)(346002)(199004)(189003)(83716004)(76176011)(6436002)(6246003)(6306002)(8676002)(36756003)(68736007)(478600001)(97736004)(6512007)(446003)(6486002)(966005)(11346002)(5250100002)(2906002)(14454004)(99286004)(2501003)(33656002)(476003)(66066001)(6506007)(2900100001)(5660300001)(2616005)(86362001)(105586002)(3846002)(6116002)(58126008)(256004)(316002)(53936002)(229853002)(102836004)(14444005)(82746002)(81156014)(25786009)(81166006)(106356001)(110136005)(7736002)(486006)(305945005)(186003)(8936002)(71190400001)(26005)(71200400001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR05MB4841; H:DM6PR05MB4665.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: b5naKHGFMK7UtujUnprQ0BBnf2vay1AXWHESqK5QoF+hBs41THx3ILmztPkvd3G6VfJZXiCc3PPI3vv7GbBu3Qg/b37+HrDR2M55eyLSMll3PRZJC69GScgdDpSrZj3X0gPK0o4ZZkcAC0i+SV6lF/SoLsQuDrHkDzRDAW+Dd2AyqtNI4jsv944iWx22SZQxeDrBbhkjyVvpgOX+EI0AfY7LO2G4S5a0JGg0kxzxTGpc6NwSntHDHBhtfDvDY+F/Tk38T/bGTkmGDNqIUcElhwy+aG2t2mK/kWR/XO843WtvfRZyJnmRjfv4vvozmfmaF5Zuo3FOcNZQYJpIMfENyrOO9fqC5bpVat3IZSoaWQE=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <AD6B3D32F04E884A936FDF92B059CC2B@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: f0228e2d-a6c5-4da3-11cf-08d63dcc7952
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Oct 2018 18:29:33.6427 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB4841
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-10-29_11:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810290168
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/Mf8c6KPF4ZaVYsu-UehY2Vbv1Dc>
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: Mon, 29 Oct 2018 18:29:40 -0000

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.



> 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.


> 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.


Kent // contributor