Re: [netmod] ?==?utf-8?q? augment target statements

Michal Vaško <mvasko@cesnet.cz> Tue, 24 January 2017 11:04 UTC

Return-Path: <mvasko@cesnet.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 05823129591 for <netmod@ietfa.amsl.com>; Tue, 24 Jan 2017 03:04:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.989
X-Spam-Level:
X-Spam-Status: No, score=-4.989 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RP_MATCHES_RCVD=-3.199, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=cesnet.cz
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 xnr3JMKgRWo5 for <netmod@ietfa.amsl.com>; Tue, 24 Jan 2017 03:04:44 -0800 (PST)
Received: from kalendar.cesnet.cz (kalendar.cesnet.cz [IPv6:2001:718:1:1f:50:56ff:feee:34]) by ietfa.amsl.com (Postfix) with ESMTP id E9C95129581 for <netmod@ietf.org>; Tue, 24 Jan 2017 03:04:42 -0800 (PST)
Received: by kalendar.cesnet.cz (Postfix, from userid 999) id 00BBE6052B; Tue, 24 Jan 2017 12:04:39 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cesnet.cz; s=kalendar; t=1485255880; bh=ZWqjMFOCSOflUYvUB77aKuCTAjWYUToVSjwtn/A8MRc=; h=In-Reply-To:From:Date:Cc:To:Subject; b=v3cH6LtnR+6GyNYDzAFXYvZQ4xfchWQ0VFuMQwutXHUU0BydeZzQt/djCkgeu0xiR Ae5o3rFwsU5bW05SH0aAV+ibju6gxD+q/50OER8nZ3kpnPOgi4+3rvNsw3cL/Z+Xk9 Iz1KBzvR58e/MprCF0+kG3MWTdiS4ApspTV8i1w0=
Content-Type: text/plain; charset="utf-8"
In-Reply-To: <20170124.102241.529914951480970461.mbj@tail-f.com>
From: Michal Vaško <mvasko@cesnet.cz>
X-Forward: 2001:67c:1220:80c:b56a:f165:17b6:8ac5
Date: Tue, 24 Jan 2017 12:04:39 +0100
To: Martin Bjorklund <mbj@tail-f.com>
MIME-Version: 1.0
Message-ID: <641-58873500-cf-65604a80@63863935>
User-Agent: SOGoMail 2.3.19
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/fJsudDiyp_e7JC5__sIEjb9GVf8>
Cc: netmod@ietf.org
Subject: Re: [netmod] ?==?utf-8?q? 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 11:04:46 -0000

 
 
 
On Tuesday, January 24, 2017 10:22 CET, Martin Bjorklund <mbj@tail-f.com> wrote: 
 
> 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".

Okay, I was ambiguous and actually wanted to ask, whether "anydata" or "anyxml" can be a substatement of an augment targeting container, list, case, input, output, or notification. If not, then I wonder why.

> > 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)
 
Right, of course.

Regards,
Michal Vasko