Re: [YANG] default values
Andy Bierman <ietf@andybierman.com> Thu, 17 January 2008 18:06 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 1JFZ8h-0002ar-52; Thu, 17 Jan 2008 13:06:55 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43)
id 1JFZ8g-0002XB-E3
for yang-confirm+ok@megatron.ietf.org; Thu, 17 Jan 2008 13:06:54 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1JFZ8g-0002TY-1k
for yang@ietf.org; Thu, 17 Jan 2008 13:06:54 -0500
Received: from smtp117.sbc.mail.sp1.yahoo.com ([69.147.64.90])
by chiedprmail1.ietf.org with smtp (Exim 4.43) id 1JFZ8d-00085V-Ij
for yang@ietf.org; Thu, 17 Jan 2008 13:06:51 -0500
Received: (qmail 65707 invoked from network); 17 Jan 2008 18:06:50 -0000
Received: from unknown (HELO andrew-biermans-computer.local)
(andybierman@att.net@67.126.240.103 with plain)
by smtp117.sbc.mail.sp1.yahoo.com with SMTP; 17 Jan 2008 18:06:50 -0000
X-YMail-OSG: tCMGmaIVM1kPcC4umdI_FV5GiWhASRzZta9DYRGXxIecpPAn
X-Yahoo-Newman-Property: ymail-3
Message-ID: <478F9A7D.2070704@andybierman.com>
Date: Thu, 17 Jan 2008 10:12:13 -0800
From: Andy Bierman <ietf@andybierman.com>
User-Agent: Thunderbird 2.0.0.5 (Macintosh/20070716)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
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>
<478F7766.4080905@andybierman.com>
<1200589029.19372.100.camel@missotis>
In-Reply-To: <1200589029.19372.100.camel@missotis>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0ddefe323dd869ab027dbfff7eff0465
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
Ladislav Lhotka wrote: > Andy Bierman píše v Čt 17. 01. 2008 v 07:42 -0800: > >> 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. >> > > Operators should only be concerned with the defaults used by their front > ends - and these would typically include much more than just the MUST > defaults that YANG can handle. > > Many operators want to know how to control the NE devices in their network without relying on any magic 'front-end' that always knows what values work on any given device. NETCONF is designed to work, even if all the operator has is 'ssh -s netconf -p 830' for access to the NETCONF agent. >> 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 >> > > How many of them could possibly be of the MUST sort? I don't know many. > The default is a weak concept, it's not like a fixed constant. > > I disagree. First, it is up to the protocol WG defining the knob, not the YANG WG. Given that the protocol could define a range of compliant values for a standard knob, it is one extra step to pick 1 of the compliant values as the default. A trivial example is a boolean knob (or presence container in YANG) that represents some service or feature, and the WG agrees it is 'off' by default. > Lada > > 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