Re: [YANG] mandatory & default
Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Mon, 28 January 2008 08:46 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 1JJPdf-0001CK-4p; Mon, 28 Jan 2008 03:46:47 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43)
id 1JJPdd-00019M-Lh
for yang-confirm+ok@megatron.ietf.org; Mon, 28 Jan 2008 03:46:45 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1JJPdd-00018l-9F
for yang@ietf.org; Mon, 28 Jan 2008 03:46:45 -0500
Received: from hermes.jacobs-university.de ([212.201.44.23])
by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1JJPdc-0004u7-Go
for yang@ietf.org; Mon, 28 Jan 2008 03:46:44 -0500
Received: from localhost (demetrius.jacobs-university.de [212.201.44.32])
by hermes.jacobs-university.de (Postfix) with ESMTP id A6DE48A27B;
Mon, 28 Jan 2008 09:46:43 +0100 (CET)
Received: from hermes.jacobs-university.de ([212.201.44.23])
by localhost (demetrius.jacobs-university.de [212.201.44.32])
(amavisd-new, port 10024)
with ESMTP id 12590-01; Mon, 28 Jan 2008 09:46:39 +0100 (CET)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133])
by hermes.jacobs-university.de (Postfix) with ESMTP id 0F3EE8A25D;
Mon, 28 Jan 2008 09:46:39 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501)
id 719B548CB42; Mon, 28 Jan 2008 09:46:36 +0100 (CET)
Date: Mon, 28 Jan 2008 09:46:36 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Randy Presuhn <randy_presuhn@mindspring.com>
Subject: Re: [YANG] mandatory & default
Message-ID: <20080128084636.GA19843@elstar.local>
Mail-Followup-To: Randy Presuhn <randy_presuhn@mindspring.com>, yang@ietf.org
References: <200801280322.m0S3Mqhi051945@idle.juniper.net>
<000a01c86169$eb717200$6801a8c0@oemcomputer>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <000a01c86169$eb717200$6801a8c0@oemcomputer>
User-Agent: Mutt/1.5.17 (2007-11-01)
X-Virus-Scanned: amavisd-new 2.3.3 (20050822) at jacobs-university.de
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e5ba305d0e64821bf3d8bc5d3bb07228
Cc: yang@ietf.org
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
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
On Sun, Jan 27, 2008 at 08:54:51PM -0800, Randy Presuhn wrote: > If I'm archiving a configuration, I want to know *exactly* > what it is. One of the reasons for archiving configurations > is so that if a box fails, a replacement can be quickly made > to function in its place. If there is even a remote chance > that a default value might change between releases or on > different versions of a hardware platform, that value needs > to be included in an archive of the configuration. If your replacement is using the exact same hardware configuration and the exact same firmware version, you do not need to worry about the defaults. If your replacement is not using the exact same hardware configuration and the exact same firmware version, there is a chance that things won't work as expected, with and without saved defaults. If things fail, you need to have a human to figure out what is the configuration and what is saved default noise. So the bottom line of my thinking is that you like to have both - the explicitly set config and the full configuration state including the defaults. Only if you have both, you can reasonably debug configuration playback errors on replacement hardware. /js -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany Fax: +49 421 200 3103 <http://www.jacobs-university.de/> _______________________________________________ YANG mailing list YANG@ietf.org https://www1.ietf.org/mailman/listinfo/yang
- [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Balazs Lengyel
- Re: [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Ladislav Lhotka
- Re: [YANG] mandatory & default Martin Bjorklund
- Re: [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Martin Bjorklund
- Re: [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Martin Bjorklund
- Re: [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Phil Shafer
- Re: [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Randy Presuhn
- Re: [YANG] mandatory & default Phil Shafer
- Re: [YANG] mandatory & default Phil Shafer
- Re: [YANG] mandatory & default Ladislav Lhotka
- Re: [YANG] mandatory & default Balazs Lengyel
- Re: [YANG] mandatory & default Juergen Schoenwaelder
- Re: [YANG] mandatory & default Ladislav Lhotka
- Re: [YANG] mandatory & default Juergen Schoenwaelder
- Re: [YANG] mandatory & default Ladislav Lhotka
- Re: [YANG] mandatory & default Juergen Schoenwaelder
- Re: [YANG] mandatory & default Balazs Lengyel
- Re: [YANG] mandatory & default Andy Bierman
- Re: [YANG] mandatory & default Ladislav Lhotka
- Re: [YANG] mandatory & default tom.petch
- Re: [YANG] mandatory & default Andy Bierman