Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’
Ladislav Lhotka <lhotka@nic.cz> Thu, 26 September 2019 13:43 UTC
Return-Path: <lhotka@nic.cz>
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 C654B120041 for <netmod@ietfa.amsl.com>; Thu, 26 Sep 2019 06:43:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=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 0acDHXoaduUL for <netmod@ietfa.amsl.com>; Thu, 26 Sep 2019 06:43:39 -0700 (PDT)
Received: from trail.lhotka.name (trail.lhotka.name [77.48.224.143]) by ietfa.amsl.com (Postfix) with ESMTP id 06E7712002F for <netmod@ietf.org>; Thu, 26 Sep 2019 06:43:38 -0700 (PDT)
Received: by trail.lhotka.name (Postfix, from userid 109) id 2950E1821291; Thu, 26 Sep 2019 15:45:09 +0200 (CEST)
Received: from localhost (nat-1.nic.cz [217.31.205.1]) by trail.lhotka.name (Postfix) with ESMTPSA id 568FB1821290; Thu, 26 Sep 2019 15:45:07 +0200 (CEST)
From: Ladislav Lhotka <lhotka@nic.cz>
To: Martin Bjorklund <mbj@tail-f.com>
Cc: J.Schoenwaelder@jacobs-university.de, netmod@ietf.org
In-Reply-To: <20190926.141146.1645978108701885454.mbj@tail-f.com>
References: <229de5aa1bd41ea6a30b920c9c83321903294f49.camel@nic.cz> <20190926110435.3vaqzw6pqsnker3s@anna.jacobs.jacobs-university.de> <87f295bea85a4b38dd2f7775e78f53464512878b.camel@nic.cz> <20190926.141146.1645978108701885454.mbj@tail-f.com>
Mail-Followup-To: Martin Bjorklund <mbj@tail-f.com>, J.Schoenwaelder@jacobs-university.de, netmod@ietf.org
Date: Thu, 26 Sep 2019 15:43:34 +0200
Message-ID: <875zlf41h5.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/MDp_ny6zIRIgxGXs7l84fvGgZ-4>
Subject: Re: [netmod] 答复: 答复: Please clarify implementation about ‘when’
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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, 26 Sep 2019 13:43:42 -0000
Martin Bjorklund <mbj@tail-f.com> writes: > Ladislav Lhotka <lhotka@nic.cz> wrote: >> On Thu, 2019-09-26 at 11:04 +0000, Schönwälder, Jürgen wrote: >> > On Thu, Sep 26, 2019 at 12:27:17PM +0200, Ladislav Lhotka wrote: >> > > > Sure, one can discuss whether this feature is useful or harmful >> > > > but the only way to officially remove this is to create a new >> > > > specification and to run it through the IETF process. >> > > >> > > I do insist that the wording in 7950 permits my interpretation, so I don't >> > > propose any change. >> > >> > It does not. You cannot cherry pick sentences. >> >> I am not aware of any cherry-picking on my side. Can you show that my >> interpretation is not possible? > > 8.2 says: > > o If a request modifies a configuration data node such that any > node's "when" expression becomes false, then the node in the data= > > tree with the "when" expression is deleted by the server. > > This means that requests can modify config this way, otherwise this > text wouldn't be there. This is not just an intention, but follows > from the text. > >> Whatever the intent was, it is the text of the >> spec that counts. > > With this logic, no client can be certain of anything; a server would > be free to reject legal requests in any way it liked. For example it > would be perfectly fine for a server to only accept requests that > modifies a single leaf at the time. > This is quite different. If a client tries to violate e.g. the "pattern" property, the request is rejected. So there is a reason for the server to do the same for the other items in the same list of properties that have to be true in all trees. Again, I think the biggest problem is that YANG spec attempts to "hardcode" this (and other) protocol behaviour. Different protocols and different deployments clearly need different approaches, and I think we have to live with it. Our (NETMOD) priority should IMO be to make YANG as widely usable as possible, and enforcing arbitrary protocol policies certainly doesn't help. Lada > > > /martin > > > >> >> > >> > > What I propose instead is to remove such protocol-specific parts from the >> > > specification of the YANG language, and clarify it in the specification of >> > > individual protocols. >> > >> > This is a different topic. Moving things around does not change the >> > meaning (unless you change things as well while moving things around). >> >> I wrote about clarification of protocols or server behaviour, which means >> changes. It is also possible that different protocols use different approaches. >> >> Lada >> >> > >> > /js >> > >> > -- >> > 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/> >> -- >> Ladislav Lhotka >> Head, CZ.NIC Labs >> PGP Key ID: 0xB8F92B08A9F76C67 >> >> _______________________________________________ >> netmod mailing list >> netmod@ietf.org >> https://www.ietf.org/mailman/listinfo/netmod -- Ladislav Lhotka Head, CZ.NIC Labs PGP Key ID: 0xB8F92B08A9F76C67
- [netmod] Please clarify implementation about ‘whe… Fengchong (frank)
- [netmod] FW: Please clarify implementation about … Fengchong (frank)
- Re: [netmod] Please clarify implementation about … Rob Wilton (rwilton)
- Re: [netmod] Please clarify implementation about … Andy Bierman
- [netmod] 答复: Please clarify implementation about … Fengchong (frank)
- [netmod] 答复: Please clarify implementation about … Fengchong (frank)
- Re: [netmod] Please clarify implementation about … Andy Bierman
- Re: [netmod] Please clarify implementation about … Andy Bierman
- [netmod] 答复: Please clarify implementation about … Fengchong (frank)
- [netmod] 答复: Please clarify implementation about … Fengchong (frank)
- Re: [netmod] Please clarify implementation about … Andy Bierman
- [netmod] 答复: Please clarify implementation about … Fengchong (frank)
- [netmod] 答复: 答复: Please clarify implementation ab… Qin Wu
- Re: [netmod] 答复: 答复: Please clarify implementatio… Sterne, Jason (Nokia - CA/Ottawa)
- Re: [netmod] 答复: 答复: Please clarify implementatio… Andy Bierman
- Re: [netmod] 答复: 答复: Please clarify implementatio… Andy Bierman
- [netmod] 答复: 答复: 答复: Please clarify implementatio… Qin Wu
- Re: [netmod] 答复: 答复: Please clarify implementatio… Andy Bierman
- Re: [netmod] 答复: 答复: Please clarify implementatio… Ladislav Lhotka
- Re: [netmod] 答复: 答复: Please clarify implementatio… Martin Bjorklund
- Re: [netmod] 答复: 答复: Please clarify implementatio… Ladislav Lhotka
- Re: [netmod] 答复: 答复: Please clarify implementatio… Martin Bjorklund
- Re: [netmod] 答复: 答复: Please clarify implementatio… Schönwälder
- Re: [netmod] 答复: 答复: Please clarify implementatio… Ladislav Lhotka
- Re: [netmod] 答复: 答复: Please clarify implementatio… Rob Wilton (rwilton)
- Re: [netmod] 答复: 答复: Please clarify implementatio… Schönwälder
- Re: [netmod] 答复: 答复: Please clarify implementatio… Ladislav Lhotka
- Re: [netmod] 答复: 答复: Please clarify implementatio… Martin Bjorklund
- Re: [netmod] 答复: 答复: Please clarify implementatio… Ladislav Lhotka
- Re: [netmod] 答复: 答复: Please clarify implementatio… Andy Bierman
- [netmod] What's the problem with NMDA? was Re: 答复… tom petch
- Re: [netmod] What's the problem with NMDA? was Re… Andy Bierman
- Re: [netmod] What's the problem with NMDA? was Re… Schönwälder
- Re: [netmod] What's the problem with NMDA? was Re… Andy Bierman
- Re: [netmod] What's the problem with NMDA? was Re… tom petch
- Re: [netmod] What's the problem with NMDA? was Re… Rob Wilton (rwilton)
- Re: [netmod] What's the problem with NMDA? was Re… Andy Bierman