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

Martin Bjorklund <mbj@tail-f.com> Mon, 29 October 2018 21:38 UTC

Return-Path: <mbj@tail-f.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 CDC1913102A for <netconf@ietfa.amsl.com>; Mon, 29 Oct 2018 14:38:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 1o8SSMqbGi1D for <netconf@ietfa.amsl.com>; Mon, 29 Oct 2018 14:38:52 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 4C8D5127133 for <netconf@ietf.org>; Mon, 29 Oct 2018 14:38:52 -0700 (PDT)
Received: from localhost (h-80-27.A165.priv.bahnhof.se [212.85.80.27]) by mail.tail-f.com (Postfix) with ESMTPSA id 94B2E1AE0332; Mon, 29 Oct 2018 22:38:49 +0100 (CET)
Date: Mon, 29 Oct 2018 22:38:49 +0100
Message-Id: <20181029.223849.818679618197831564.mbj@tail-f.com>
To: kwatsen@juniper.net
Cc: rrahman@cisco.com, netconf@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <773DB227-85C8-46DA-B590-14A6B7B4499B@juniper.net>
References: <153998442248.6702.15266005233689645548@ietfa.amsl.com> <6235E161-BEB3-4A39-9367-5ABEF5CCE21B@cisco.com> <773DB227-85C8-46DA-B590-14A6B7B4499B@juniper.net>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/0VsyLsbQuPy3oITGnHZldBg71us>
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 21:38:55 -0000

Hi,

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.

I agree.  In this case I would have used the existing name, instead of
inventing a new name.

Not important though.

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

I agree that tying it to the username (RESTCONF or NETCONF or others)
makes sense.  But note that this can be done with NACM rules.  It
doesn't have to be built into the spec.  The details should go into the
SN draft.


/martin


> > 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
> 
> 
> 
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>