Re: [netmod] [Netconf] LC of NDMA NETCONF/RESTCONF drafts

Andy Bierman <andy@yumaworks.com> Thu, 08 February 2018 22:34 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA1D6127876 for <netmod@ietfa.amsl.com>; Thu, 8 Feb 2018 14:34:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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=yumaworks-com.20150623.gappssmtp.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 B8xnX9-fikeG for <netmod@ietfa.amsl.com>; Thu, 8 Feb 2018 14:34:23 -0800 (PST)
Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::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 D110812785F for <netmod@ietf.org>; Thu, 8 Feb 2018 14:34:22 -0800 (PST)
Received: by mail-lf0-x22a.google.com with SMTP id f136so8603647lff.8 for <netmod@ietf.org>; Thu, 08 Feb 2018 14:34:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=v1ZCSDh/IZddtR7AQSaO2vJN5P0stMt2qQW/MTE80OM=; b=dCNl6kk3z/yqlc6dgRKa7gWeHDpR52P0h1MeGWN03/qZkms9RAmRKNLleW1PH63L5N EcssPPHnDEXxFg4x8yzA99NVy9EcOfesUTq/HBJ3xHvMVoCoXgOX/b0YCruXpnb89Jad Ekc+i0TXa4cSMS9t1hrLsxjFO+r5Ap0y+WMJ2O3mR2jqFApAk+I0tXd6WkUh/h98fh9F yr0E1ZViqUbi8qtAX5spo5FwieY6A4QtX94eBuiqJ/uCJT2oVVwGruAPYsagelN0LvI5 0vXDlA3UbAY21BUiyN6OmeIIlKn/YVjvxUBddzsG1+4vP2J8JO+HP6GVmIdpb70L23Oi fG8Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=v1ZCSDh/IZddtR7AQSaO2vJN5P0stMt2qQW/MTE80OM=; b=X8gXomytdwxYr/lUV68zLtvjifpszXDGatcbFt1PJTfGLBSBw4cKL1RqHEPic734Ou QH2A8zHenN4TM6FjNY+VqlGnUSUENOSiKVClZwqTvBZU8oA1twucDYApj4IrnCjALhQR k7AoKYMrT9uZUgqM7WtxLAp/1h49sWN4nLeHbiyN9lkaPs7V495Vv5KV5brro7vUA8FX RK93JSIyZyne34V81cofy/Bt5rzNH6Z6bNXp+SSMnd6WtQ2VSNgWU0TyIUDpOSHB7y9z fKtuGWDWBOQaPwAicf3PlCirXsUZrHc6waPiid8FGZfORrRTjMHoDJVXLpui+/7+Tm0I UUug==
X-Gm-Message-State: APf1xPAbV+8nYHUVifQLHAqYLEmJUcYNZ/+rOMfd0t4Qb54r0SbJACZk xYGTOEphWi2mdowZr/ovuyxW3AElqb9aR+xlECDlAw==
X-Google-Smtp-Source: AH8x225dXGFASeFLADbBOqHxQrjZqonf7Lf1fF8VLsVnU4eSkHRJskvBiC5CEKujYjiOhtIYCY8CUBIawSGzCFVyHLs=
X-Received: by 10.25.20.168 with SMTP id 40mr484318lfu.23.1518129261026; Thu, 08 Feb 2018 14:34:21 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.225.18 with HTTP; Thu, 8 Feb 2018 14:34:19 -0800 (PST)
In-Reply-To: <20180208190008.qrmavfup43mxsrq4@elstar.local>
References: <CABCOCHSUWGKOH2JJA3TrRRJrvgwmmFRPs8cmOtPg0YKcY9=tsg@mail.gmail.com> <a0b9c4ba-a54d-f26e-3c09-1c2a92df58dd@cisco.com> <CABCOCHR34ovCHumyTKXOYzJcU3WM1kt-EnpxxtGLS2kLUPtECA@mail.gmail.com> <20180207.192803.834988416883038576.mbj@tail-f.com> <CABCOCHR95zL=AZ-LLq_1FsCff9dgUKP5_33uY7W7OMd8tdfb3w@mail.gmail.com> <20180208073617.yico4gvfrl6xdusw@elstar.local> <CABCOCHT6RNQqOn+gkk9CepwFTu5DSTAF768++-g3YmrXfKRxCg@mail.gmail.com> <20180208184453.m4j7scytf3lmqkvd@elstar.local> <CABCOCHQwochvHDt1cWW6yifgjvLL9oMv1gh8EvJdnVfM=7Sj=Q@mail.gmail.com> <20180208190008.qrmavfup43mxsrq4@elstar.local>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 08 Feb 2018 14:34:19 -0800
Message-ID: <CABCOCHTDevdRGFrJX4f7xtZdVjXkzfvBv0UHsrGK7f+PtGrsvA@mail.gmail.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Andy Bierman <andy@yumaworks.com>, Martin Bjorklund <mbj@tail-f.com>, Netconf <netconf@ietf.org>, NetMod WG <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="001a113fb11853b6780564bb03c1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/d_figoHt0_isEOZdaGQPUcGGw_M>
Subject: Re: [netmod] [Netconf] LC of NDMA NETCONF/RESTCONF drafts
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Feb 2018 22:34:26 -0000

On Thu, Feb 8, 2018 at 11:00 AM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> On Thu, Feb 08, 2018 at 10:55:53AM -0800, Andy Bierman wrote:
> > On Thu, Feb 8, 2018 at 10:44 AM, Juergen Schoenwaelder <
> > j.schoenwaelder@jacobs-university.de> wrote:
> >
> > > On Thu, Feb 08, 2018 at 09:11:58AM -0800, Andy Bierman wrote:
> > > > >
> > > > Then remove the text that says an error is sent if with-defaults
> > > attempted
> > > > on <operational>.
> > > > None of this new text needs to go into NMDA. It can be a
> vendor-specific
> > > > mystery what gets set as origin=default.  Implementors can read RFC
> 6243
> > > > and figure it out on their own.
> > >
> > > As I said, I am absolutely fine with the option of being silent about
> > > with-defaults and if needed someone can spin an update of RFC 6243.
> >
> > This is not needed.
> >
> >
> >    If the "with-defaults" parameter
> >    is present in a request to such a datastore, then the server MUST
> >
> >       return an error, as specified in "ietf-netconf-nmda" (see Section 4
> > <https://tools.ietf.org/html/draft-ietf-netconf-nmda-
> netconf-03#section-4>).
> >
> >
> >          The 'with-defaults' parameter does not apply to operational
> >          datastores. If the 'with-defaults' parameter is present in a
> >          request to an operational datastore, then the server MUST
> >          return an <rpc-error> element with an <error-tag> value of
> >          'invalid-value'.";
> >
> >
> >
> > There are 2 places in the draft that say MUST send an error.
> > You need to add detailed text explaining what "harm to the Internet"
> > is caused if this parameter is accepted. You cannot use MUST
> > unless interoperability is harmed by allowing a server to
> > omit response data containing the YANG default value.
> > Please explain all the problems solved by this MUST constraint.
> >
> >
> > Please explain in detail in the draft WHY
> >
> >          The 'with-defaults' parameter does not apply to operational
> >          datastores.
> >
> > This assertion is false.
>
> I don't get your message. Trying again: I am fine to remove all text
> that talks about with-default and if needed someone can spin an update
> of RFC 6243 to use with-default.
>


It is now clear that the current "trim" and "report-all-tagged" enums apply
to <operational>.
These retrieval options apply to config=false nodes for <get>.
It is not clear why <get-data> is removing this functionality for
config=false nodes.



>
> /js
>


Andy



>
> --
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>