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

Asmus Freytag <asmusf@ix.netcom.com> Thu, 24 March 2016 23:44 UTC

Return-Path: <asmusf@ix.netcom.com>
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 2148A12DA29 for <lager@ietfa.amsl.com>; Thu, 24 Mar 2016 16:44:54 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); domainkeys=pass (384-bit key) header.from=asmusf@ix.netcom.com header.d=ix.netcom.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 bK8Kmqaxyjwn for <lager@ietfa.amsl.com>; Thu, 24 Mar 2016 16:44:52 -0700 (PDT)
Received: from elasmtp-dupuy.atl.sa.earthlink.net (elasmtp-dupuy.atl.sa.earthlink.net [209.86.89.62]) by ietfa.amsl.com (Postfix) with ESMTP id 2705112D83D for <lager@ietf.org>; Thu, 24 Mar 2016 16:44:52 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=BQ3q7j7jOqB+PT03uXZcaZWBDpX1UNM/UBd4QRheLJqSwv6VL06xmS0Q0VO2YLJu; h=Received:From:Subject:To:References:Message-ID:Date:User-Agent:MIME-Version:In-Reply-To:Content-Type:X-ELNK-Trace:X-Originating-IP;
Received: from [71.35.115.182] (helo=[192.168.1.103]) by elasmtp-dupuy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <asmusf@ix.netcom.com>) id 1ajEv7-0003m0-BF; Thu, 24 Mar 2016 19:44:05 -0400
From: Asmus Freytag <asmusf@ix.netcom.com>
To: Alexey Melnikov <aamelnikov@fastmail.fm>, lager@ietf.org
References: <1458841579.4011697.558814722.09946B62@webmail.messagingengine.com>
Message-ID: <56F47BC4.1050801@ix.netcom.com>
Date: Thu, 24 Mar 2016 16:44:04 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <1458841579.4011697.558814722.09946B62@webmail.messagingengine.com>
Content-Type: multipart/alternative; boundary="------------020005080901040408020303"
X-ELNK-Trace: 464f085de979d7246f36dc87813833b2857e9f10d2205ddc34c0d2446e34311174e98a0a7e4ea97c350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 71.35.115.182
Archived-At: <http://mailarchive.ietf.org/arch/msg/lager/N8C5WVFN5LrG25ZlKD-SBr8qotM>
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: Thu, 24 Mar 2016 23:44:54 -0000

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) 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.
  * 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"

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

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.

A./