[netmod] Where does a node representing the "action" or nested "notification" appear in the accessible tree?
"Jernej Tuljak" <jernej.tuljak@mg-soft.si> Wed, 09 November 2016 14:54 UTC
Return-Path: <jernej.tuljak@mg-soft.si>
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 137E9129512 for <netmod@ietfa.amsl.com>; Wed, 9 Nov 2016 06:54:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.497
X-Spam-Level:
X-Spam-Status: No, score=-3.497 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, RP_MATCHES_RCVD=-1.497, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mg-soft.si
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 OsqcxEgrRcxG for <netmod@ietfa.amsl.com>; Wed, 9 Nov 2016 06:54:14 -0800 (PST)
Received: from galileo.mg-soft.si (gate.mg-soft.si [212.30.73.66]) by ietfa.amsl.com (Postfix) with ESMTP id 86B2A129516 for <netmod@ietf.org>; Wed, 9 Nov 2016 06:54:14 -0800 (PST)
Received: from jernejthpPC (tp-x61t.mg-soft.si [10.0.0.222]) by galileo.mg-soft.si (Postfix) with ESMTP id 53BD2C417623 for <netmod@ietf.org>; Wed, 9 Nov 2016 15:54:12 +0100 (CET)
DKIM-Filter: OpenDKIM Filter v2.10.3 galileo.mg-soft.si 53BD2C417623
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mg-soft.si; s=default; t=1478703252; bh=j+fvvDXeaZuwDL/ml72JGfwU1Hdcs4mrGO1pvPfyQbo=; h=From:To:Subject:Date:From; b=Pv+jQeEdR/vnQZM4wOZ75Eoua4qkHAPMjCjNfEd/aQwdsjJaHjUEDd1hv5r7Puz3M D+5AvPHE1wg/d6pBT1J0zJ1i8pAHdF9ek6QF1qsLUIQU1sasrnoPhBBq+7ZhIDzNCm ePxCrsFgKPxgn1gI/YbOAd8phrQc1Tt1njVjRmRqJ97cqJKppPVFr1IpMsk4jIk58r QUNyxwdB2QlgELf6jRa7QtxxSVT9cfJFPezX7pYYZ2PsBNb8kc0OjmrBQHvGQbzaZb qxsLtyS8zjh0TgVWUcNQsSeSW+rpvFmiVxPFkTEt83c0ZFkNasUT8bikC16LvySrZj BM9ZADvf0NAOg==
From: Jernej Tuljak <jernej.tuljak@mg-soft.si>
To: netmod@ietf.org
Date: Wed, 09 Nov 2016 15:54:11 +0100
Message-ID: <0a1b01d23a99$21d489b0$657d9d10$@mg-soft.si>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0A1C_01D23AA1.8399B500"
X-Mailer: Microsoft Outlook 15.0
Content-Language: sl
Thread-Index: AdI6l/rUFSDgjlRcRvqoXObiiEU5Hw==
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/yKtJm73O2mx7U9jjXdW85Dh3iLE>
Subject: [netmod] Where does a node representing the "action" or nested "notification" appear in the accessible tree?
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: Wed, 09 Nov 2016 14:54:17 -0000
Hi, In 6.4.1. [1]: o If the XPath expression is defined in a substatement to a "notification" statement, the accessible tree is the notification instance, all state data in the server, and the running configuration datastore. If the notification is defined on the top level in a module, then the root node has the node representing the notification being defined and all top-level data nodes in all modules as children. Otherwise, the root node has all top-level data nodes in all modules as children. o If the XPath expression is defined in a substatement to an "input" statement in an "rpc" or "action" statement, the accessible tree is the RPC or action operation instance, all state data in the server, and the running configuration datastore. The root node has top-level data nodes in all modules as children. Additionally, for an RPC, the root node also has the node representing the RPC operation being defined as a child. The node representing the operation being defined has the operation's input parameters as children. o If the XPath expression is defined in a substatement to an "output" statement in an "rpc" or "action" statement, the accessible tree is the RPC or action operation instance, all state data in the server, and the running configuration datastore. The root node has top-level data nodes in all modules as children. Additionally, for an RPC, the root node also has the node representing the RPC operation being defined as a child. The node representing the operation being defined has the operation's output parameters as children. Shouldn't this text explicitly define where in the accessible tree a node that represents an "action" (or nested "notification") being defined appears? This is the case for "rpc" and top-level "notification" (child of root), but not for actions or nested notifications. It is probably meant to be a child of the containing/defining data node? [1] - https://tools.ietf.org/html/rfc7950#section-6.4.1 Jernej
- [netmod] Where does a node representing the "acti… Jernej Tuljak