Re: [YANG] new pyang errors

Andy Bierman <ietf@andybierman.com> Sat, 19 January 2008 19:13 UTC

Return-path: <yang-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1JGJ8d-000854-C1; Sat, 19 Jan 2008 14:13:55 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JGJ8b-00084u-Fm for yang-confirm+ok@megatron.ietf.org; Sat, 19 Jan 2008 14:13:53 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JGJ8b-00084m-5L for yang@ietf.org; Sat, 19 Jan 2008 14:13:53 -0500
Received: from smtp122.sbc.mail.sp1.yahoo.com ([69.147.64.95]) by chiedprmail1.ietf.org with smtp (Exim 4.43) id 1JGJ8a-0002Va-Ly for yang@ietf.org; Sat, 19 Jan 2008 14:13:53 -0500
Received: (qmail 85867 invoked from network); 19 Jan 2008 19:13:51 -0000
Received: from unknown (HELO ?192.168.0.10?) (andybierman@att.net@67.126.240.103 with plain) by smtp122.sbc.mail.sp1.yahoo.com with SMTP; 19 Jan 2008 19:13:51 -0000
X-YMail-OSG: YST_UJwVM1lfmo0i1uL5jfAAwbzCBgZ.m5N0.zV5F.E9vLo7
X-Yahoo-Newman-Property: ymail-3
Message-ID: <47924BEE.7040106@andybierman.com>
Date: Sat, 19 Jan 2008 11:13:50 -0800
From: Andy Bierman <ietf@andybierman.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
Subject: Re: [YANG] new pyang errors
References: <200801191738.m0JHcUYi016993@idle.juniper.net> <479243FA.1010008@andybierman.com>
In-Reply-To: <479243FA.1010008@andybierman.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e1e48a527f609d1be2bc8d8a70eb76cb
Cc: yang@ietf.org
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: YANG modeling Language for NETCONF <yang.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/yang>
List-Post: <mailto:yang@ietf.org>
List-Help: <mailto:yang-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=subscribe>
Errors-To: yang-bounces@ietf.org

Andy Bierman wrote:
> Phil Shafer wrote:


 >...

Perhaps you want to revive the debate on the NGO list
about the 'with-defaults' extension?

The consensus was that both views of the configuration database
are useful, and the protocol should support both of them.

Without the 'full' view, how is a manager supposed to know
whether a leaf is really there with the default value, or
not supported by the agent or supported but not used in this instance.

How is a manager supposed to get a complete config diff from
the agent, without analyzing all the schema files between N different
software releases?  A diff (with-defaults='true') will expose silent
default value changes for agent-supplied optional knobs, or agents
that are ignoring the schema and using a different default value.

The solution to this supposed YANG problem is to add the with-defaults='false'
extension to the NETCONF operations to filter out these nodes in
get and copy operations.  Currently, 'state' nodes are auto-filtered
by get-config, but not "default true/false".  It should not be
a big deal to add this as a mandatory filter somehow.



>> Thanks,
>>  Phil
>>
>>
> 
> Andy
> 
> 


Andy


_______________________________________________
YANG mailing list
YANG@ietf.org
https://www1.ietf.org/mailman/listinfo/yang