Re: [YANG] default values
Andy Bierman <ietf@andybierman.com> Thu, 17 January 2008 15:42 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 1JFWt7-00078m-UT; Thu, 17 Jan 2008 10:42:41 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43)
id 1JFWt6-00078Y-FV
for yang-confirm+ok@megatron.ietf.org; Thu, 17 Jan 2008 10:42:40 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1JFWt6-00078Q-5l
for yang@ietf.org; Thu, 17 Jan 2008 10:42:40 -0500
Received: from smtp124.sbc.mail.sp1.yahoo.com ([69.147.64.97])
by ietf-mx.ietf.org with smtp (Exim 4.43) id 1JFWt5-0006lg-Mi
for yang@ietf.org; Thu, 17 Jan 2008 10:42:40 -0500
Received: (qmail 41571 invoked from network); 17 Jan 2008 15:42:39 -0000
Received: from unknown (HELO ?192.168.0.10?)
(andybierman@att.net@67.126.240.103 with plain)
by smtp124.sbc.mail.sp1.yahoo.com with SMTP; 17 Jan 2008 15:42:38 -0000
X-YMail-OSG: 04.MjakVM1k4FkcxNDKmkZSxJVsHcGfVSYl_ictyqjBhNluA
X-Yahoo-Newman-Property: ymail-3
Message-ID: <478F7766.4080905@andybierman.com>
Date: Thu, 17 Jan 2008 07:42:30 -0800
From: Andy Bierman <ietf@andybierman.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>, yang@ietf.org
Subject: Re: [YANG] default values
References: <DCABA351-3933-4AED-A6E6-80C5F85E3F9C@jdscons.com> <1200501131.7029.151.camel@missotis> <49B89097-B9C1-44FE-A59E-FA12B2D546F2@jdscons.com> <1200556619.10666.16.camel@missotis> <478F17B4.7060500@ericsson.com> <1200565743.10666.64.camel@missotis> <20080117112702.GA29235@elstar.local> <1200571644.10666.91.camel@missotis> <20080117135724.GC29301@elstar.local> <1200582110.19372.43.camel@missotis>
<20080117152200.GA29447@elstar.local>
In-Reply-To: <20080117152200.GA29447@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 82c9bddb247d9ba4471160a9a865a5f3
Cc:
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
Juergen Schoenwaelder wrote: > On Thu, Jan 17, 2008 at 04:01:50PM +0100, Ladislav Lhotka wrote: > >> At the start of a NETCONF session, the values in the >> running/startup/whatever configuration may be different even if the >> server's factory defaults follow the standards. The client can't IMO >> safely avoid checking or setting all variables in server's >> configuration. > > Sure. But when I create something new without specifying all defaults, > do I know what I get? In SNMP, you don't. In YANG, you do. > >>> The alternative would be to have a mechanism allowing implementations >>> to post the defaults they are going to use rather than hard wiring >>> defaults in the specification. So a vendor can augment a standard with >>> the defaults that the vendor's implementation is using. This surely >>> adds some complexity. An even further reaching mechanism would be to >>> make the defaults being used by an implementation itself writable, >>> e.g. by introducing a template mechanism which adds defaults for stuff >>> not defined explicitely by a NETCONF client. >>> >>> Our goal was to start with something simple, allowing us to add more >>> powerful mechanism via extensions over time once we see that they are >>> really needed (that is there is enough uptake of NETCONF / YANG). >> I think this applies to the default statement, too. I am arguing it's >> not needed for NETCONF operation and may complicate things. > > So if I understand right, your proposal is to remove the default > statement, not to change its semantics, correct? > I strongly object to removing the default-stmt. As Balazs pointed out, if a WG does not agree on a suitable default value, they do not have to define one. This clause is needed to support NETCONF, not only to provide as much machine-readable info about the data model characteristics, but to simplify NETCONF tasks for operators and applications. There are likely to be many knobs in a real config file that are optional and have suitable agent-supplied default values. It is very useful for operators and applications to know this information. There are some cases where the agent implementation varies from the data model specification. This does not mean we should throw out 'default'. It means we need to address agent conformance and agent capabilities (Something YANG ignores completely right now.) > /js > Andy _______________________________________________ YANG mailing list YANG@ietf.org https://www1.ietf.org/mailman/listinfo/yang
- [YANG] how to signal revision? Ladislav Lhotka
- Re: [YANG] how to signal revision? Balazs Lengyel
- Re: [YANG] how to signal revision? Ladislav Lhotka
- Re: [YANG] how to signal revision? Balazs Lengyel
- Re: [YANG] how to signal revision? Martin Bjorklund
- Re: [YANG] how to signal revision? Ladislav Lhotka
- Re: [YANG] how to signal revision? Balazs Lengyel
- Re: [YANG] how to signal revision? Martin Bjorklund
- [YANG] default values Ladislav Lhotka
- Re: [YANG] how to signal revision? Ladislav Lhotka
- Re: [YANG] how to signal revision? Ladislav Lhotka
- Re: [YANG] how to signal revision? Balazs Lengyel
- Re: [YANG] how to signal revision? Balazs Lengyel
- Re: [YANG] how to signal revision? Martin Bjorklund
- Re: [YANG] how to signal revision? Ladislav Lhotka
- Re: [YANG] how to signal revision? Andy Bierman
- Re: [YANG] default values Andy Bierman
- Re: [YANG] how to signal revision? Ladislav Lhotka
- Re: [YANG] default values Ladislav Lhotka
- Re: [YANG] default values Andy Bierman
- Re: [YANG] default values Jon Saperia
- Re: [YANG] default values Ladislav Lhotka
- Re: [YANG] default values Jon Saperia
- Re: [YANG] default values Andy Bierman
- [YANG] Underestimating the problem ([was somethin… Phil Shafer
- [YANG] Re: Underestimating the problem ([was some… Andy Bierman
- Re: [YANG] Underestimating the problem ([was some… Jon Saperia
- Re: [YANG] Re: Underestimating the problem ([was … Jon Saperia
- [YANG] Re: Underestimating the problem ([was some… Phil Shafer
- [YANG] Re: Underestimating the problem ([was some… Andy Bierman
- Re: [YANG] default values Ladislav Lhotka
- Re: [YANG] default values Balazs Lengyel
- Re: [YANG] Underestimating the problem ([was some… Balazs Lengyel
- Re: [YANG] default values Ladislav Lhotka
- Re: [YANG] default values Balazs Lengyel
- Re: [YANG] default values Juergen Schoenwaelder
- Re: [YANG] default values Balazs Lengyel
- Re: [YANG] default values Ladislav Lhotka
- Re: [YANG] default values Ladislav Lhotka
- Re: [YANG] default values Ladislav Lhotka
- Re: [YANG] default values Juergen Schoenwaelder
- Re: [YANG] default values Ladislav Lhotka
- Re: [YANG] default values Juergen Schoenwaelder
- Re: [YANG] default values Andy Bierman
- Re: [YANG] default values Ladislav Lhotka
- Re: [YANG] default values Ladislav Lhotka
- Re: [YANG] default values Andy Bierman
- Re: [YANG] default values Martin Bjorklund
- Re: [YANG] default values Andy Bierman
- Re: [YANG] default values Martin Bjorklund
- Re: [YANG] default values Phil Shafer
- Re: [YANG] default values Balazs Lengyel
- Re: [YANG] default values Juergen Schoenwaelder
- Re: [YANG] default values Phil Shafer
- Re: [YANG] default values Ladislav Lhotka
- Re: [YANG] default values Martin Bjorklund
- Re: [YANG] default values Phil Shafer
- Re: [YANG] default values Martin Bjorklund
- Re: [YANG] default values Martin Bjorklund
- Re: [YANG] default values Balazs Lengyel