Re: [Lager] Incoming AD review on draft-ietf-lager-specification-11.txt

Alexey Melnikov <aamelnikov@fastmail.fm> Fri, 25 March 2016 08:11 UTC

Return-Path: <aamelnikov@fastmail.fm>
X-Original-To: lager@ietfa.amsl.com
Delivered-To: lager@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 92D4512DBE2 for <lager@ietfa.amsl.com>; Fri, 25 Mar 2016 01:11:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.719
X-Spam-Level:
X-Spam-Status: No, score=-2.719 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=fastmail.fm header.b=LqXWQCcE; dkim=pass (1024-bit key) header.d=messagingengine.com header.b=UWO6/s1w
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 VNBq2-UMLOJG for <lager@ietfa.amsl.com>; Fri, 25 Mar 2016 01:11:19 -0700 (PDT)
Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9681112D610 for <lager@ietf.org>; Fri, 25 Mar 2016 01:11:19 -0700 (PDT)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id B8C52208E0 for <lager@ietf.org>; Fri, 25 Mar 2016 04:11:18 -0400 (EDT)
Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 25 Mar 2016 04:11:18 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=bsC9b8L7xxF8U+6FQjJt0M/XX4k=; b=LqXWQC cEG1N4rfJ4tLFjptoBDDgspwkJ4K1s0aNzQhma1c7yq6hmtIRKazDLQml7kXFfba GvnQEOKyhmYShM6whjkcOXsEblr4gGC7+oEAKFQKK6yTBcwOFvi0jSM45Ff/RkR2 RJW5rkEm2C2TevF4D0hMTN6XToKjcLcA6q3og=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=bsC9b8L7xxF8U+6 FQjJt0M/XX4k=; b=UWO6/s1wUXlMiRG96erWy0WDdWvROvWlwwGbjdJkvZ3qOr0 9jaM5nzBjH3JFMr9GGKtlfTo+rc+6miVWdvkZf/sADqK3dOHjEHGY3WoMQ13gJ9q tyAL8dsG8LmilYbiQYBW5bW2nQaQh3v+sWEGX1Rq/PpYlh37fUmedDzmqVw8=
X-Sasl-enc: PGtCYruLkqPd4J/fUTVbXQ/DhP20LEU9RZpGKJ1dYd1w 1458893478
Received: from [10.14.138.209] (unknown [85.255.232.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 1A3006801BB; Fri, 25 Mar 2016 04:11:18 -0400 (EDT)
Content-Type: multipart/alternative; boundary="Apple-Mail-72036B27-062C-46C6-9683-C20EBB94329B"
Mime-Version: 1.0 (1.0)
From: Alexey Melnikov <aamelnikov@fastmail.fm>
X-Mailer: iPhone Mail (13D15)
In-Reply-To: <56F47849.6050607@ix.netcom.com>
Date: Fri, 25 Mar 2016 08:14:07 +0000
Content-Transfer-Encoding: 7bit
Message-Id: <9E846AF5-6043-4715-8FD4-341D49EA9A17@fastmail.fm>
References: <1458841579.4011697.558814722.09946B62@webmail.messagingengine.com> <56F47849.6050607@ix.netcom.com>
To: "Asmus Freytag (t)" <asmus-inc@ix.netcom.com>
Archived-At: <http://mailarchive.ietf.org/arch/msg/lager/7HYm7zAQMClC91d1kPiYQr2t-OU>
Cc: lager@ietf.org
Subject: Re: [Lager] Incoming AD review on draft-ietf-lager-specification-11.txt
X-BeenThere: lager@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Label Generation Rules <lager.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lager>, <mailto:lager-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lager/>
List-Post: <mailto:lager@ietf.org>
List-Help: <mailto:lager-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lager>, <mailto:lager-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Mar 2016 08:11:21 -0000

Hi Asmus,

> On 24 Mar 2016, at 23:29, Asmus Freytag (t) <asmus-inc@ix.netcom.com> wrote:
> 
> I'll let Kim address the issues with 4.3.5 and 11.3 (media type and registration).
> 
> Here some comments on the issues raised against 6.1 and 7.6.
> 
> A./
> 
>> On 3/24/2016 10:46 AM, Alexey Melnikov wrote:
>> In 6.1:
>> 
>>> >A rule MAY contain the following as child elements:
>> Nit: This is an invalid use of MAY, because it is not an implementation
>> choice. I don't think you meant here that implementations don't have to
>> support any of the listed child elements?
> 
> What is the specification aimed at? It's a file format. That means, there are different levels of requirements for authors (of what may be a single LGR document, which does not have to include all possible features)

Ok, but isn't that true for pretty much all the features in the format? Why is this one special?

> and implementations (that we would expect of being able to interpret any well-formed LGR document). It seems to me:
> 
> Implementations (readers, parsers, validators) MUST support all features, including OPTIONAL ones.

I thought your document was mostly targeting implementations. If not, having a separate section that covers authors might be a good idea.
> Authors MAY supply any features, except those that MUST NOT be present, and MUST supply all required features.
> In that context, MAY or not MAY in the above example?
> 
> Aside from that, would it have been better to write:
> 
> "A rule may contain the following OPTIONAL child elements"

INHO, this is no better, because you are not telling who are they optional for.
>> In 7.6:
>> 
>>> > If no actions are defined for the standard disposition values of
>>> > "invalid", "blocked", "allocatable", "activated", then the following
>>> > implicitly defined default actions are evaluated.
>> Are default actions defined if none of the actions for recommended
>> standard dispositions is defined or if any of them is not defined? For
>> example, I was thinking whether it would be Ok to just automatically
>> (and unconditionally) append these default actions to any LGR file for
>> purposes of evaluation? If any action for standard disposition value is
>> already defined and it would take precedence, so the corresponding
>> default action would be ignored.
> Yes, this can be improved.
> 
> I think it would be cleanest to describe the "implicitly defined default actions" as a block of <action> elements that is added (virtually) beyond the last of the user-supplied actions. Any label not processed by the user-supplied actions would be processed by these "implicitly defined default actions" as if they were present in the file. As the last one is a "catch-all", all processing is guaranteed to end with a definite disposition for the label.

Right, this is what I thought.
> 
> Note that the phrase used in the existing description ("standard disposition values") is potentially misleading, because we now make the distinction between "types" (on variant mappings) and "dispositions" (as result of processing labels). We didn't use to and this wording may be a holdover.
> 
> I'll look at suggested wording.

That would be great, thank you.