Re: [YANG] config-stmt missing for choice construct
Andy Bierman <ietf@andybierman.com> Sat, 02 February 2008 21:45 UTC
Return-Path: <yang-bounces@ietf.org>
X-Original-To: ietfarch-yang-archive@core3.amsl.com
Delivered-To: ietfarch-yang-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
by core3.amsl.com (Postfix) with ESMTP id 8F16E3A6A87;
Sat, 2 Feb 2008 13:45:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.104
X-Spam-Level:
X-Spam-Status: No, score=-1.104 tagged_above=-999 required=5 tests=[AWL=1.161,
BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from core3.amsl.com ([127.0.0.1])
by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id ouPvGyqm3HW7; Sat, 2 Feb 2008 13:45:26 -0800 (PST)
Received: from core3.amsl.com (localhost [127.0.0.1])
by core3.amsl.com (Postfix) with ESMTP id E4EB73A6ABA;
Sat, 2 Feb 2008 13:45:26 -0800 (PST)
X-Original-To: yang@core3.amsl.com
Delivered-To: yang@core3.amsl.com
Received: from localhost (localhost [127.0.0.1])
by core3.amsl.com (Postfix) with ESMTP id 91CF33A6A6A
for <yang@core3.amsl.com>; Sat, 2 Feb 2008 13:45:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from core3.amsl.com ([127.0.0.1])
by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id FBFjSiOQ4LVg for <yang@core3.amsl.com>;
Sat, 2 Feb 2008 13:45:25 -0800 (PST)
Received: from smtp117.sbc.mail.sp1.yahoo.com (smtp117.sbc.mail.sp1.yahoo.com
[69.147.64.90]) by core3.amsl.com (Postfix) with SMTP id ED7DC3A6A87
for <yang@ietf.org>; Sat, 2 Feb 2008 13:45:24 -0800 (PST)
Received: (qmail 87950 invoked from network); 2 Feb 2008 21:47:01 -0000
Received: from unknown (HELO ?192.168.0.10?) (andybierman@att.net@68.120.83.0
with plain)
by smtp117.sbc.mail.sp1.yahoo.com with SMTP; 2 Feb 2008 21:47:00 -0000
X-YMail-OSG: .rG4PcYVM1m4W_gomCRKerQTlURTf4K.CTQlQtrgSjTr1J0q
X-Yahoo-Newman-Property: ymail-3
Message-ID: <47A4E4E9.8060901@andybierman.com>
Date: Sat, 02 Feb 2008 13:47:21 -0800
From: Andy Bierman <ietf@andybierman.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: Andy Bierman <ietf@andybierman.com>, yang <yang@ietf.org>
References: <47A4AFE0.5030002@andybierman.com>
<20080202210820.GA9868@elstar.local>
In-Reply-To: <20080202210820.GA9868@elstar.local>
Subject: Re: [YANG] config-stmt missing for choice construct
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: YANG modeling Language for NETCONF <yang.ietf.org>
List-Unsubscribe: <http://www.ietf.org/mailman/listinfo/yang>,
<mailto:yang-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/yang>
List-Post: <mailto:yang@ietf.org>
List-Help: <mailto:yang-request@ietf.org?subject=help>
List-Subscribe: <http://www.ietf.org/mailman/listinfo/yang>,
<mailto:yang-request@ietf.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: yang-bounces@ietf.org
Errors-To: yang-bounces@ietf.org
Juergen Schoenwaelder wrote: > On Sat, Feb 02, 2008 at 10:01:04AM -0800, Andy Bierman wrote: > >> Also, 7.17.1, para 2 (config statement) needs to add text that >> the 'config' property for the following nodes is hardwired into >> the NETCONF architecture: >> >> rpc/input -- config true; >> non-config nodes MUST NOT appear under rpc/input >> >> rpc/output -- config false; >> config nodes MUST NOT appear under rpc/output >> >> notification -- config false; >> config nodes MUST NOT appear within a notification >> >> All other nodes follow the rules already defined in this section. > > Why is rpc/input config? > Well, all the input parameters are writable. In YANG, 'config false' is the closest thing to 'max-access read-only'. Either we should say the config-stmt is ignored for rpc and notifications, or explicitly define its meaning for these things. > /js > Andy _______________________________________________ YANG mailing list YANG@ietf.org http://www.ietf.org/mailman/listinfo/yang
- [YANG] config-stmt missing for choice construct Andy Bierman
- Re: [YANG] config-stmt missing for choice constru… Juergen Schoenwaelder
- Re: [YANG] config-stmt missing for choice constru… Andy Bierman
- Re: [YANG] config-stmt missing for choice constru… Juergen Schoenwaelder