Re: [Netconf] WG LC for draft-ietf-netconf-rfc6536bis

Mahesh Jethanandani <mjethanandani@gmail.com> Mon, 22 May 2017 05:26 UTC

Return-Path: <mjethanandani@gmail.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 A31AF129B34 for <netconf@ietfa.amsl.com>; Sun, 21 May 2017 22:26:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 2geefL7-iI36 for <netconf@ietfa.amsl.com>; Sun, 21 May 2017 22:25:58 -0700 (PDT)
Received: from mail-pf0-x22a.google.com (mail-pf0-x22a.google.com [IPv6:2607:f8b0:400e:c00::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D488124C27 for <netconf@ietf.org>; Sun, 21 May 2017 22:25:58 -0700 (PDT)
Received: by mail-pf0-x22a.google.com with SMTP id 9so70872082pfj.1 for <netconf@ietf.org>; Sun, 21 May 2017 22:25:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=+dMmM+7AzJovKITYTVrecbFlcjjkySORnEKoJx+9XTc=; b=qoXqxjE7AImIJ1Q5+Ui26P6qg0T7XXBX9CdnoegBCyw4zANSmVjZiUNAXjvObEROQy Tv3XgVtAolJ5sz9GHeF4SlEt84OUsoXwl3ixa++x70/S6YoWLOZDe31p+1m2DGJBYnOA 0b6gK2YzrxzUsD995x5HG8ZbtOV8NyUoZOvJjr5XzCXfSv5+jiEvi2kqMKNlHwv/qFkf Zwk5oxVvnYuAePZ2cEokFrydz8JCeZG7Es0XqPagboA3mnkrySEnZhANxJu/nPAtv6CV R4h4jjQVah5/jMfV26w875QkP4BRZsCASpVZc0sj6FStekNey8uYZqtTKUU/N8RDbNjH 4D9Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=+dMmM+7AzJovKITYTVrecbFlcjjkySORnEKoJx+9XTc=; b=fBZrNh3aOWuqrap5STnBbukN1KSGSifUjtc8XB5cIot5W350SOvxrKQbsvVs1PxGFs UYIIBXYV86H4xx+1E2NEio2/VMaT6kt/LRvVm3lSvj+sizwEZ4DnXlGkez470G0jX6TO puNdaMANoY26l4UwXMbJAcWPZGwAyqRAbXa0VioHLjHeyZddQ61Kh9BlUDdxTs0YCpeF tKR6ynQQ62XClkCzabMItccovZ8kxvn5HftIg66hJo1aiZ0JdCkmPw2Yyy35HpglH+5f dsVSC8IgD86hZO7/JcvaTAdMQLlwpeposYdPVhHtTQUNJF7+CGoNAWnlMsV0/DhBqiHi /1yQ==
X-Gm-Message-State: AODbwcA7j1I1k5k06fnXDQfDn1MIiH0E8N7QOmjlFURzozo57h5QHENr OXSsj8M8OJhsTg==
X-Received: by 10.98.53.133 with SMTP id c127mr20971204pfa.4.1495430757818; Sun, 21 May 2017 22:25:57 -0700 (PDT)
Received: from ?IPv6:2001:420:c0c8:1008::3f6? ([2001:420:c0c8:1008::3f6]) by smtp.gmail.com with ESMTPSA id 202sm24246538pge.12.2017.05.21.22.25.55 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 21 May 2017 22:25:56 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_0957F107-7C88-45AD-B3DC-67A231BDAAC9"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Mahesh Jethanandani <mjethanandani@gmail.com>
In-Reply-To: <CABCOCHRBXbCfW+=-FsoHS7nUmn8qJ=Rv9vsEf89dSs3273NGbQ@mail.gmail.com>
Date: Sun, 21 May 2017 22:25:56 -0700
Cc: Martin Bjorklund <mbj@tail-f.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Netconf <netconf@ietf.org>
Message-Id: <22F66A24-12AB-4447-AC9A-9D8F9B0BB726@gmail.com>
References: <CABCOCHT9fNKHn=qgFsQ0mznByArCpqsAz4m4jjjPE7M243UjeA@mail.gmail.com> <644DA50AFA8C314EA9BDDAC83BD38A2E0DF9584C@SJCEML701-CHM.china.huawei.com> <CABCOCHRgaTpxXJ0nOgbHx4Hbz6FgfTahN3T2OedfC6gnbnAN0A@mail.gmail.com> <20170509.145030.58029732242199759.mbj@tail-f.com> <20170510064608.GA14838@elstar.local> <04623446-36C5-4ABE-81C3-9E6B1F0BC39A@gmail.com> <CABCOCHRBXbCfW+=-FsoHS7nUmn8qJ=Rv9vsEf89dSs3273NGbQ@mail.gmail.com>
To: Andy Bierman <andy@yumaworks.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/udrqp-Az-Lhsie0scMpoGHh9FY0>
Subject: Re: [Netconf] WG LC for draft-ietf-netconf-rfc6536bis
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.22
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, 22 May 2017 05:26:01 -0000

Andy,

> On May 16, 2017, at 2:32 PM, Andy Bierman <andy@yumaworks.com> wrote:
> 
> 
> 
> On Tue, May 16, 2017 at 2:02 PM, Mahesh Jethanandani <mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>> wrote:
> Having reviewed all the e-mails, I believe that there are few issues that need to be resolved before we send the draft for publication. We need to agree on the language, even if we do have the exact text in the draft.
> 
> To begin with, do the authors have a response to the suggestions from Juergen prompted by the question from Alex? Are we leaving the NACM definition of any future datastores to the datastore draft, or are we saying NACM applies to all datastores?
> 
> 
> No. IMO the text should say NACM applies to NETCONF and RESTCONF
> with the existing datastores.
> 
> NACM MAY be applied to other datastores that have similar operation sets.
> Any new datastore specification needs to define how it maps to the NACM CRUDX
> model.  The datastore does not need to use NACM (e.g., datastore defines something else
> or does not use access control).

Can you update the draft with this text.

> 
> 
> To the point that Andy raised earlier, we need to have texts around datastores that provide more than CRUDX capabilities, including any protocol operations, e.g. priority, as something that is out of scope of this document.
> 
> 
> This would be outside the scope of NACM.
> This is part of the RPC input validation.

And clarify that operations outside of CRUDX are outside the scope of NACM. We can them move the document towards publication.

Thanks.

> 
>  
> NETCONF WG has moved to redefine its charter beyond NETCONF and RESTCONF. Therefore there is a real possibility of another protocol being discussed in the WG. Is there something in the NACM draft that restricts it to NETCONF/RESTCONF that other protocols cannot adopt? If so, can they be called out?
> 
> If NACM needs to be changed in the future because a new or existing protocol needs new features
> then the WG will have to deal with it then.
> 
>  
> 
> Thanks.
> 
> 
> Andy
>  
> > On May 9, 2017, at 11:46 PM, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de <mailto:j.schoenwaelder@jacobs-university.de>> wrote:
> >
> > On Tue, May 09, 2017 at 02:50:30PM +0200, Martin Bjorklund wrote:
> >> Andy Bierman <andy@yumaworks.com <mailto:andy@yumaworks.com>> wrote:
> >>> On Thu, May 4, 2017 at 11:21 AM, Alexander Clemm <alexander.clemm@huawei.com <mailto:alexander.clemm@huawei.com>
> >>>> wrote:
> >>>
> >>>> As mentioned in my message, I don’t think specific access control will be
> >>>> needed (I am not aware of specific use cases), but specifically with the
> >>>> revised datastore architecture about to the be introduced, its impact or
> >>>> nonimpact and interrelation with NACM should be discussed.  This can be as
> >>>> simple as a small paragraph or subsection “Revised Datastore
> >>>> Considerations”.
> >>>>
> >>>>
> >>>>
> >>>
> >>> there is no text about candidate vs. running vs. startup.
> >>> The NACM rules apply to all of them the same.
> >>> I could add text that says there is no consideration for specific
> >>> datastores.
> >>
> >> Actually, the document already says:
> >>
> >> 3.2.  Datastore Access
> >>
> >>   The same access control rules apply to all datastores, for example,
> >>   the candidate configuration datastore or the running configuration
> >>   datastore.
> >>
> >>   Only the standard NETCONF datastores (candidate, running, and
> >>   startup) are controlled by NACM.
> >>
> >>
> >> Somehow this needs to be updated when the revised datastore work is
> >> done.  E.g., I expect read access to intended to follow the same NACM
> >> rules.
> >>
> >
> > Yes. NACM likely also applies to the <operational/> datastore (but
> > this follows already from the text that talks about 'state data').
> >
> > My question, however, was about other future yet to be defined
> > 'dynamic' datastores - does NACM make a statement of the form 'once an
> > implementation announces NACM, NACM applies to all datastores - no
> > exceptions' or do we leave it to the definition of future datastores
> > to declare whether NACM applies to it. There may be three possible
> > solutions:
> >
> > a) Once an implementation supports NACM, NACM applies to all
> >   datastores (including any datastores defined in the future).
> >
> > b) Once an implementation supports NACM, NACM applies to all
> >   conventional datastores and the operational state datastore.  Other
> >   datastores must define whether NACM applies to them.
> >
> >   (This means, whenever a new datastore is introduced, the question
> >   whether NACM applies has to answered for the new datastore.)
> >
> > c) Once an implementation supports NACM, NACM applies to all current
> >   and future datastore unless explicitely stated or signaled that
> >   NACM does not apply to a certain future datastore.
> >
> >   (This is essentially b) but with a default that NACM applies unless
> >   things are explicitly regulated to be different.)
> >
> > I just thought it is worth to take a moment to think about this
> > question.
> >
> > /js
> >
> > --
> > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> > Fax:   +49 421 200 3103         <http://www.jacobs-university.de/ <http://www.jacobs-university.de/>>
> >
> > _______________________________________________
> > Netconf mailing list
> > Netconf@ietf.org <mailto:Netconf@ietf.org>
> > https://www.ietf.org/mailman/listinfo/netconf <https://www.ietf.org/mailman/listinfo/netconf>
> 
> Mahesh Jethanandani
> mjethanandani@gmail.com <mailto:mjethanandani@gmail.com>
> 
> 
> 
> 

Mahesh Jethanandani
mjethanandani@gmail.com