Re: [netmod] augment target statements

Martin Bjorklund <mbj@tail-f.com> Tue, 24 January 2017 09:22 UTC

Return-Path: <mbj@tail-f.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 55B671294C8 for <netmod@ietfa.amsl.com>; Tue, 24 Jan 2017 01:22:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.1
X-Spam-Level:
X-Spam-Status: No, score=-5.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-3.199, SPF_PASS=-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 piv_OC8l_x4c for <netmod@ietfa.amsl.com>; Tue, 24 Jan 2017 01:22:45 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id D61FF1294B7 for <netmod@ietf.org>; Tue, 24 Jan 2017 01:22:44 -0800 (PST)
Received: from localhost (unknown [173.38.220.36]) by mail.tail-f.com (Postfix) with ESMTPSA id 7A7D81AE01AA; Tue, 24 Jan 2017 10:22:43 +0100 (CET)
Date: Tue, 24 Jan 2017 10:22:41 +0100
Message-Id: <20170124.102241.529914951480970461.mbj@tail-f.com>
To: mvasko@cesnet.cz
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <79d3-58871a80-f-4410ef80@3855248>
References: <79d3-58871a80-f-4410ef80@3855248>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/qjFOjtYMvEIo4iIaWsGFlt3jVOw>
Cc: netmod@ietf.org
Subject: Re: [netmod] augment target statements
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
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: Tue, 24 Jan 2017 09:22:46 -0000

Hi,

Michal Vaško <mvasko@cesnet.cz> wrote:
> Hi,
> we have noticed that RFC 7950 page 120, when mentioning augment
> substatements targeting container, list, case, input, output, and
> notification, skips "anydata" and "anyxml".

This is correct; the *target* of an "augment" cannot be "anydata" or
"anyxml".

> Based on the next section
> 7.17.1. and the grammar, it seems not intentional and we wanted to
> submit errata.

7.17.1 lists substatemets to the "augement" statement, i.e., valid
nodes to *add to* the target node.

> Also, in the same paragraph, the target notification is allowed and
> mentioned, but action not. Again, is that intentional or just an
> oversight? Thanks.

Intentional.  The target of an augment cannot be an "action" (or
"rpc").  Note that the target can be "input" or "output".  (And note
that the "input" and "output" nodes always exist as children to
rpc/action)


/martin