
From david.partain@ericsson.com  Tue Sep  1 00:59:49 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4D53D28C1A2 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 00:59:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.582
X-Spam-Level: 
X-Spam-Status: No, score=-3.582 tagged_above=-999 required=5 tests=[AWL=-1.333, BAYES_00=-2.599, HELO_EQ_SE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qOgKGG9tFKmP for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 00:59:48 -0700 (PDT)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id 61C2C3A6B32 for <netmod@ietf.org>; Tue,  1 Sep 2009 00:59:48 -0700 (PDT)
X-AuditID: c1b4fb24-b7c01ae00000498b-07-4a9cd47fc486
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw5.ericsson.se (Symantec Brightmail Gateway) with SMTP id C0.9A.18827.F74DC9A4; Tue,  1 Sep 2009 09:59:59 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.174]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 1 Sep 2009 09:59:59 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 1 Sep 2009 09:59:59 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
Date: Tue, 1 Sep 2009 09:59:58 +0200
User-Agent: KMail/1.9.10
MIME-Version: 1.0
Content-Disposition: inline
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <200909010959.59070.david.partain@ericsson.com>
X-OriginalArrivalTime: 01 Sep 2009 07:59:59.0597 (UTC) FILETIME=[33EE41D0:01CA2ADA]
X-Brightmail-Tracker: AAAAAA==
Subject: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 07:59:49 -0000

Hi,

There has been significant debate about whether to reopen the question of 
having 'assigned-by system'.  See this mail thread - 
http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html

The discussion has been in the "agent-default -- new 3rd state" thread (and 
probably elsewhere).

Martin wrote in the message referenced above: "The idea is that if a leaf is 
marked as assigned-by system, then the client MAY choose to not set a value 
for the leaf when its parent instance is created.  In this case the system 
will assign a suitable value for the leaf."

A number of people have said they think this should be reopened and that it 
would be valuable, particularly in dealing with misunderstandings around the 
meaning of default.  Others have questioned doing so at this time.

Clearly, if we think this is a serious enough problem that it MUST be fixed 
for good interoperability, then we should do so.  I'd like to resolve this 
ASAP.  Please voice your opinion by close of business tomorrow (Wednesday) 
about whether you in principle think we should add 'assigned-by system' 
(pending concrete text, of course).

If the rough consensus appears to be to add it, I'll ask Martin to submit a 
proposal with text.  We'll then discuss based on that text.

Thanks.

David


From david.partain@ericsson.com  Tue Sep  1 01:12:27 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3DA5D28C573 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 01:12:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.263
X-Spam-Level: 
X-Spam-Status: No, score=-5.263 tagged_above=-999 required=5 tests=[AWL=0.986,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3B0OaFayTg43 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 01:12:26 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id DD60428C328 for <netmod@ietf.org>; Tue,  1 Sep 2009 01:12:25 -0700 (PDT)
X-AuditID: c1b4fb3c-b7bcbae000007452-d3-4a9cd559ae5a
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 87.B3.29778.955DC9A4; Tue,  1 Sep 2009 10:03:37 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.174]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 1 Sep 2009 10:03:13 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 1 Sep 2009 10:03:12 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: NETMOD Working Group <netmod@ietf.org>
Date: Tue, 1 Sep 2009 10:03:12 +0200
User-Agent: KMail/1.9.10
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909011003.12519.david.partain@ericsson.com>
X-OriginalArrivalTime: 01 Sep 2009 08:03:12.0936 (UTC) FILETIME=[A72B7280:01CA2ADA]
X-Brightmail-Tracker: AAAAAA==
Subject: [netmod] Focus, focus, focus...
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 08:12:27 -0000

Hi all,

I'd like everyone involved in discussions here to try to remain focused on the 
text.  If you see problems

- please try to explain them succinctly so that everyone can "get it"
- please use subject lines that reflect the problem you see
- please remain focused on the text in the document you are discussing; 
include the text in question in your mail with suggested edits

While I am going to try to pull out issues from the mail on the list, the 
volume guarantees that I will miss things.  Doing the above will make it much 
much easier to drive consensus forward.

Cheers,

David

From david.partain@ericsson.com  Tue Sep  1 01:15:38 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4C8EC28C571 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 01:15:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.427
X-Spam-Level: 
X-Spam-Status: No, score=-5.427 tagged_above=-999 required=5 tests=[AWL=0.822,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6HOosbfdRxH6 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 01:15:37 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 06A3528C52A for <netmod@ietf.org>; Tue,  1 Sep 2009 01:15:36 -0700 (PDT)
X-AuditID: c1b4fb3c-b7bcbae000007452-bc-4a9cd6adf95f
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id B3.74.29778.DA6DC9A4; Tue,  1 Sep 2009 10:09:17 +0200 (CEST)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 1 Sep 2009 10:09:17 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 1 Sep 2009 10:09:17 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
Date: Tue, 1 Sep 2009 10:09:16 +0200
User-Agent: KMail/1.9.10
MIME-Version: 1.0
Content-Disposition: inline
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <200909011009.16729.david.partain@ericsson.com>
X-OriginalArrivalTime: 01 Sep 2009 08:09:17.0090 (UTC) FILETIME=[8038F020:01CA2ADB]
X-Brightmail-Tracker: AAAAAA==
Subject: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 08:15:38 -0000

Greetings,

Another discussion that's been ... um... lively has been around the meaning 
of 'default'.  Martin has written some text (a new section) that he has sent 
to the list, but it may have gotten lost in the middle of everything else.  
As such, here it is again:

------------------------------------------------------------------------------------------------------------------
7.6.1.  The leaf's default value

   The default value of a leaf is the value that the server uses if no
   value has been explicitly set.  The usage of the default value
   depends on the type of the leaf's closest ancestor node in the schema
   tree which is not a non-presence container:

   o  If no such ancestor exists in the schema tree, the default value
      MUST be used.

   o  Otherwise, if this ancestor is a case node, the default value MUST
      be used if any node from the case exists in the data tree, or if
      the case node is the choice's default case, and no nodes from any
      other case exist in the data tree.

   o  Otherwise, the default value MUST be used if the ancestor node
      exists in the data tree.

   In the cases where the default value MUST be used, the server MUST
   operationally behave as is if the leaf was present in the data tree
   with the default value as its value.

   If a leaf has a "default" statement, the leaf's default value is the
   value of the "default" statement.  Otherwise, if the leaf's type has
   a default value, and the leaf is not mandatory, then the leaf's
   default value is the type's default value.  In all other cases, the
   leaf does not have a default value.
------------------------------------------------------------------------------------------------------------------

If possible, I want to reach consensus on whether this text is what the WG 
wants this text or what changes we need to make to it.  Please focus on this 
text...

Cheers,

David

From mbj@tail-f.com  Tue Sep  1 01:32:23 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 065193A6F55 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 01:32:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.941
X-Spam-Level: 
X-Spam-Status: No, score=-1.941 tagged_above=-999 required=5 tests=[AWL=0.105,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ep3pt0z2c14V for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 01:32:22 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 15A4C3A6F4F for <netmod@ietf.org>; Tue,  1 Sep 2009 01:32:21 -0700 (PDT)
Received: from localhost (de-0316.d.ipeer.se [213.180.79.212]) by mail.tail-f.com (Postfix) with ESMTPA id 7880776C4A1; Tue,  1 Sep 2009 10:32:33 +0200 (CEST)
Date: Tue, 01 Sep 2009 10:32:34 +0200 (CEST)
Message-Id: <20090901.103234.72788342.mbj@tail-f.com>
To: david.partain@ericsson.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <200909010959.59070.david.partain@ericsson.com>
References: <200909010959.59070.david.partain@ericsson.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 08:32:23 -0000

Hi,

David Partain <david.partain@ericsson.com> wrote:
> Clearly, if we think this is a serious enough problem that it MUST be fixed 
> for good interoperability, then we should do so.  I'd like to resolve this 
> ASAP.  Please voice your opinion by close of business tomorrow (Wednesday) 
> about whether you in principle think we should add 'assigned-by system' 
> (pending concrete text, of course).

I have changed my mind.  I think we should include this statement.
The reason for this is that I believe that with this statement, the
current confusion about when the server is allowed to create config
instances can be sorted out.


/martin

From j.schoenwaelder@jacobs-university.de  Tue Sep  1 02:37:31 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0317528C6B0 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 02:37:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.153
X-Spam-Level: 
X-Spam-Status: No, score=-2.153 tagged_above=-999 required=5 tests=[AWL=0.096,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gmkszp0gzVXk for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 02:37:30 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 33B0128C5D2 for <netmod@ietf.org>; Tue,  1 Sep 2009 02:36:39 -0700 (PDT)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 9AA47C002A; Tue,  1 Sep 2009 11:36:51 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id YqFg16gqqlSr; Tue,  1 Sep 2009 11:36:49 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 88B0CC004A; Tue,  1 Sep 2009 11:36:49 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id CCFAAC89FC0; Tue,  1 Sep 2009 11:36:47 +0200 (CEST)
Date: Tue, 1 Sep 2009 11:36:47 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: David Partain <david.partain@ericsson.com>
Message-ID: <20090901093647.GB8876@elstar.local>
Mail-Followup-To: David Partain <david.partain@ericsson.com>, NETMOD Working Group <netmod@ietf.org>
References: <200909010959.59070.david.partain@ericsson.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200909010959.59070.david.partain@ericsson.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 09:37:31 -0000

On Tue, Sep 01, 2009 at 09:59:58AM +0200, David Partain wrote:
> Hi,
> 
> There has been significant debate about whether to reopen the question of 
> having 'assigned-by system'.  See this mail thread - 
> http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html
> 
> The discussion has been in the "agent-default -- new 3rd state" thread (and 
> probably elsewhere).
> 
> Martin wrote in the message referenced above: "The idea is that if a leaf is 
> marked as assigned-by system, then the client MAY choose to not set a value 
> for the leaf when its parent instance is created.  In this case the system 
> will assign a suitable value for the leaf."
> 
> A number of people have said they think this should be reopened and that it 
> would be valuable, particularly in dealing with misunderstandings around the 
> meaning of default.  Others have questioned doing so at this time.
> 
> Clearly, if we think this is a serious enough problem that it MUST be fixed 
> for good interoperability, then we should do so.  I'd like to resolve this 
> ASAP.  Please voice your opinion by close of business tomorrow (Wednesday) 
> about whether you in principle think we should add 'assigned-by system' 
> (pending concrete text, of course).
> 
> If the rough consensus appears to be to add it, I'll ask Martin to submit a 
> proposal with text.  We'll then discuss based on that text.

I think a statement like assigned-by system help to achieve clarity
and should be added.

/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/>

From david.partain@ericsson.com  Tue Sep  1 04:27:09 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 67FC93A6F3A for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 04:27:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.545
X-Spam-Level: 
X-Spam-Status: No, score=-5.545 tagged_above=-999 required=5 tests=[AWL=0.704,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vDLijlN6iE8k for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 04:27:08 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 040083A6B18 for <netmod@ietf.org>; Tue,  1 Sep 2009 04:27:07 -0700 (PDT)
X-AuditID: c1b4fb3e-b7c00ae0000007bf-f3-4a9d05181971
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id 80.A3.01983.8150D9A4; Tue,  1 Sep 2009 13:27:20 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.174]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 1 Sep 2009 13:27:19 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 1 Sep 2009 13:27:19 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Tue, 1 Sep 2009 13:27:19 +0200
User-Agent: KMail/1.9.10
References: <4A9A2DA7.9020505@netconfcentral.com> <1251743687.12309.107.camel@missotis> <4A9C29F9.6060901@netconfcentral.com>
In-Reply-To: <4A9C29F9.6060901@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200909011327.19356.david.partain@ericsson.com>
X-OriginalArrivalTime: 01 Sep 2009 11:27:19.0653 (UTC) FILETIME=[2AC82950:01CA2AF7]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] tconfig
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 11:27:09 -0000

Hi,

I've just read through this thread.  It's talked about "transient config" a=
nd=20
is now morphing into a discussionabout deviations. =20

I haven't, though, seen any concrete suggestions about textual changes that=
=20
people want.  I'd like to close this thread, please, unless accompanied by=
=20
suggestions for changes.

Thanks.

David

On Monday 31 August 2009 21.52.25 Andy Bierman wrote:
> Ladislav Lhotka wrote:
> > Andy Bierman p=C3=AD=C5=A1e v Po 31. 08. 2009 v 09:45 -0700:
> >>>> An alternative could be to work on a more generic solution, but I
> >>>> think this requires protocol support (<get-operational> or something=
),
> >>>> and modelling support.  But I don't think this is a must-have for YA=
NG
> >>>> 1.0.  We don't even know what such a solution would look like, so if
> >>>> anything, we could encourage people to work on the problem, using
> >>>> NETCONF and YANG extensions.
> >>>
> >>> I agree, and from my point of view current YANG is OK as a
> >>> domain-specific XML schema language - we can decide whether a given
> >>> configuration is valid according to a data model, whether two
> >>> configurations are equivalent given the set of declared defaults etc.
> >>
> >> I also agree, but only if the definition of a default is confined
> >> to the YANG default-stmt value, for all YANG modules advertised
> >> in the module capabilities.
> >
> > Absolutely, and with-defaults draft should include YANG-specific
> > normative text.
>
> yes, but I am not sure how deviations work with this definition
> of a default.
>
> I think there are only 2 implementations that include deviation-stmt
> at this time, and we both implemented deviations as a patch.
> Once the run-time schema tree is patched, does this count as the
> new contract, including defaults?
>
> That's what I was afraid of when I objected to deviations
> so strongly in the first place.
>
> standard says:
>
>    leaf foo {
>      type string;
>    }
>
> If the deviations add/replace/delete a default, does
> that count as the new default, or does that count as
> a server-created instance with a non-default value?
> The deviations were not supposed to allow the contract
> to be altered, just identify the ways the server
> is non-compliant.
>
> The schema language is the component that adds
> semantics to the standard syntax.  We are making a big
> departure from SNMP robustness principles by requiring
> a client to have a complete and accurate set of schema
> definitions and deviations, just to obtain a complete set of
> operational data values from a particular server.
>
> A human or a dumb 'MIB walker' could make use of the complete
> output, especially in XML, because the object hierarchy is
> clearly identified and (except for binary) the built-in content
> is all readable.  This definition of 'all' includes YANG defaults.
>
> I am also concerned that vendors will not advertise the
> critical deviation modules for standard modules, because
> that (by definition) means the vendor does not comply with
> the standard.  The deviations for the vendor's own YANG modules
> will be quite rare in comparison, since they have total
> ownership of that content.
>
> I am also concerned about the fact that revision statements
> are purely optional to use (outside of standard modules).
> Then, if the vendor changes a default over time, the client
> has no clue which leaf-stmt to pick to decide if
> a missing leaf has a default, and its true value.
>
> (Still want to stake your job on those default-stmt values. operators?)
>
> > Lada
>
> Andy
>
> >> As long as every leaf instance is retrievable by the client somehow,
> >> then the current draft is fine.  I can accept that the configuration
> >> is just the leaf instances that do not have the YANG default-stmt
> >> value.  If the current value of every leaf instance is retrievable
> >> on every NETCONF server, then it is OK if the description statements
> >> are needed to correlate the leaf instances.
> >>
> >> Asking the server to deduce the value of any current leaf instance
> >> value is the only non-starter still floating around at this time.
> >>
> >>> Lada
> >>>
> >>>> /martin
> >>
> >> Andy

From david.partain@ericsson.com  Tue Sep  1 04:36:38 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 750A83A6880 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 04:36:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.633
X-Spam-Level: 
X-Spam-Status: No, score=-5.633 tagged_above=-999 required=5 tests=[AWL=0.616,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NNYjG2lhFGbE for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 04:36:37 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 85DB63A6B59 for <netmod@ietf.org>; Tue,  1 Sep 2009 04:36:37 -0700 (PDT)
X-AuditID: c1b4fb3e-b7c00ae0000007bf-94-4a9d0733b1ea
Received: from esealmw128.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id 1E.64.01983.3370D9A4; Tue,  1 Sep 2009 13:36:19 +0200 (CEST)
Received: from esealmw128.eemea.ericsson.se ([153.88.254.176]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 1 Sep 2009 13:36:11 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 1 Sep 2009 13:36:11 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Tue, 1 Sep 2009 13:36:10 +0200
User-Agent: KMail/1.9.10
References: <200908241333.n7ODX6KL091523@idle.juniper.net> <200908311126.16613.david.partain@ericsson.com>
In-Reply-To: <200908311126.16613.david.partain@ericsson.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909011336.10195.david.partain@ericsson.com>
X-OriginalArrivalTime: 01 Sep 2009 11:36:11.0306 (UTC) FILETIME=[67ABF8A0:01CA2AF8]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] meaning of default
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 11:36:38 -0000

On Monday 31 August 2009 11.26.16 David Partain wrote:
> On Monday 24 August 2009 15.33.06 Phil Shafer wrote:
> > Juergen Schoenwaelder writes:
> > >we need to put this
> > >discussion somehow to an end.
> >
> > +1
>
> I completely agree.  I'm trying to read through huge heaps of email to try
> to figure out what the right question to ask is.  Stay tuned.

Hi folks,  

I'd like this thread closed, too.  The focus of this discussion should now be 
on the mail with the subject "Issue: interpretation of 'default'" 
(http://www.ietf.org/mail-archive/web/netmod/current/msg03821.html).

Cheers,

David

From andy@netconfcentral.com  Tue Sep  1 04:51:28 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7FD473A6E6F for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 04:51:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.503
X-Spam-Level: 
X-Spam-Status: No, score=-2.503 tagged_above=-999 required=5 tests=[AWL=0.096,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pQ2-z--82pxW for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 04:51:27 -0700 (PDT)
Received: from n12b.bullet.mail.mud.yahoo.com (n12b.bullet.mail.mud.yahoo.com [209.191.125.179]) by core3.amsl.com (Postfix) with SMTP id 829CB3A6B59 for <netmod@ietf.org>; Tue,  1 Sep 2009 04:51:27 -0700 (PDT)
Received: from [68.142.194.243] by n12.bullet.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 11:51:38 -0000
Received: from [68.142.201.247] by t1.bullet.mud.yahoo.com with NNFMP; 01 Sep 2009 11:51:38 -0000
Received: from [127.0.0.1] by omp408.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 11:51:38 -0000
X-Yahoo-Newman-Id: 906089.68511.bm@omp408.mail.mud.yahoo.com
Received: (qmail 29111 invoked from network); 1 Sep 2009 11:51:38 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp109.sbc.mail.sp1.yahoo.com with SMTP; 1 Sep 2009 11:51:38 -0000
X-YMail-OSG: uy3L4.AVM1nGn.Yt3mcvy7ejaqxZ6Jyd_xGHynyc5JfWPI3yPa8hRwPPM0NVzbUQNZFa9lXfUsBJ4iXoDiTrT5jsvwqZqj8B4PWlpkZqpnlsII5MPOjb6E9wjKgqe78S_Qx2VI8zvHz2SjIjzhvnDtOJCuubojOsgXjRKrQ1APT_t85VFkNuy6FcXfGCt_aGD2pRmoIxCRmGQax5T.Itvz5DMhJz_pYQiAfbofv6PK.QanA-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D0AD9.7020907@netconfcentral.com>
Date: Tue, 01 Sep 2009 04:51:53 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: David Partain <david.partain@ericsson.com>
References: <200909010959.59070.david.partain@ericsson.com>
In-Reply-To: <200909010959.59070.david.partain@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 11:51:28 -0000

David Partain wrote:
> Hi,
> 
> There has been significant debate about whether to reopen the question of 
> having 'assigned-by system'.  See this mail thread - 
> http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html
> 
> The discussion has been in the "agent-default -- new 3rd state" thread (and 
> probably elsewhere).
> 
> Martin wrote in the message referenced above: "The idea is that if a leaf is 
> marked as assigned-by system, then the client MAY choose to not set a value 
> for the leaf when its parent instance is created.  In this case the system 
> will assign a suitable value for the leaf."
> 
> A number of people have said they think this should be reopened and that it 
> would be valuable, particularly in dealing with misunderstandings around the 
> meaning of default.  Others have questioned doing so at this time.
> 
> Clearly, if we think this is a serious enough problem that it MUST be fixed 
> for good interoperability, then we should do so.  I'd like to resolve this 
> ASAP.  Please voice your opinion by close of business tomorrow (Wednesday) 
> about whether you in principle think we should add 'assigned-by system' 
> (pending concrete text, of course).
> 
> If the rough consensus appears to be to add it, I'll ask Martin to submit a 
> proposal with text.  We'll then discuss based on that text.
> 

I have not yet seen a complete and convincing problem statement,
let alone a complete and convincing solution proposal.

I expect the NETCONF protocol to be deterministic for all protocol
operations on a particular YANG data model.  Any solution in
which the descriptive annotations in YANG are used as a substitute
for retrieval of definitive values (using protocol operations)
is unacceptable.

Not sure what assigned-by system really does for the data modeler.
Can somebody explain that to me again?  What MUST behavior is
associated with usage of assigned-by system? What about
the other enum (whatever it is called)?

> Thanks.
> 
> David
> 

Andy


From mbj@tail-f.com  Tue Sep  1 05:40:51 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AEBC628CA08 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 05:40:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.005
X-Spam-Level: 
X-Spam-Status: No, score=-2.005 tagged_above=-999 required=5 tests=[AWL=0.041,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Jl1CpOXrH6CJ for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 05:40:50 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 1A95228CCEF for <netmod@ietf.org>; Tue,  1 Sep 2009 05:25:35 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 94C1476C4A1; Tue,  1 Sep 2009 14:25:47 +0200 (CEST)
Date: Tue, 01 Sep 2009 14:25:47 +0200 (CEST)
Message-Id: <20090901.142547.110033514.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4A9D0AD9.7020907@netconfcentral.com>
References: <200909010959.59070.david.partain@ericsson.com> <4A9D0AD9.7020907@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 12:40:51 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> I have not yet seen a complete and convincing problem statement,
> let alone a complete and convincing solution proposal.

I think there are two benefits:

  1)  it will be clear when the client can expect the server to create
      instances, (see the recent discussion about mandatory)

  2)  it gives the data modeler another formal tool so that his data
      model can be more precise (there are a couple of examples in the
      ipfix module where this could be used; the user's "uid" is the
      other example)

> Not sure what assigned-by system really does for the data modeler.
> Can somebody explain that to me again?  What MUST behavior is
> associated with usage of assigned-by system? What about
> the other enum (whatever it is called)?

If the WG believes that something like this is useful, then I will
write down one proposal which we then can discuss.  I welcome anyone
who wants to help with this text to let me know!


/martin


From jmh@joelhalpern.com  Tue Sep  1 06:20:37 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0B68F3A68E6 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 06:20:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.552
X-Spam-Level: 
X-Spam-Status: No, score=-3.552 tagged_above=-999 required=5 tests=[AWL=0.047,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KRpdxmLXaqDg for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 06:20:36 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id F020228C6EA for <netmod@ietf.org>; Tue,  1 Sep 2009 06:19:52 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 026EE43037E; Tue,  1 Sep 2009 06:19:58 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [192.168.1.9] (pool-173-59-34-176.phlapa.fios.verizon.net [173.59.34.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 92D9743037D; Tue,  1 Sep 2009 06:19:57 -0700 (PDT)
Message-ID: <4A9D1F7C.4030605@joelhalpern.com>
Date: Tue, 01 Sep 2009 09:19:56 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: David Partain <david.partain@ericsson.com>
References: <200909010959.59070.david.partain@ericsson.com>
In-Reply-To: <200909010959.59070.david.partain@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 13:20:37 -0000

I consider this one of several possible paths to an acceptable solution.
I think it is helpful information to the management system to know 
whether the managed device may choose to unilaterally set the value.

For this to solve the related issues about what is a default and when 
are such values returned, we need to be explicit both that
a) such value setting is not a default
b) that system shall not behave as if there is a well-defined value for 
the item without reporting it.

We will also need to make sure that the text is clear as to what would 
happen in the equivalent of the default-by-reference case.

So, I think this is a useful change, and can be part of a larger 
solution to the ongoing debate.

As a minor matter, I would not call it "assign-by system".  That tends 
to make the reader thing that the managing client can not assign to it, 
when they can (it is config data.)
Some other terminology would be a good idea.

Yours,
Joel

David Partain wrote:
> Hi,
> 
> There has been significant debate about whether to reopen the question of 
> having 'assigned-by system'.  See this mail thread - 
> http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html
> 
> The discussion has been in the "agent-default -- new 3rd state" thread (and 
> probably elsewhere).
> 
> Martin wrote in the message referenced above: "The idea is that if a leaf is 
> marked as assigned-by system, then the client MAY choose to not set a value 
> for the leaf when its parent instance is created.  In this case the system 
> will assign a suitable value for the leaf."
> 
> A number of people have said they think this should be reopened and that it 
> would be valuable, particularly in dealing with misunderstandings around the 
> meaning of default.  Others have questioned doing so at this time.
> 
> Clearly, if we think this is a serious enough problem that it MUST be fixed 
> for good interoperability, then we should do so.  I'd like to resolve this 
> ASAP.  Please voice your opinion by close of business tomorrow (Wednesday) 
> about whether you in principle think we should add 'assigned-by system' 
> (pending concrete text, of course).
> 
> If the rough consensus appears to be to add it, I'll ask Martin to submit a 
> proposal with text.  We'll then discuss based on that text.
> 
> Thanks.
> 
> David
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 

From andy@netconfcentral.com  Tue Sep  1 06:29:48 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2B9093A6820 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 06:29:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.504
X-Spam-Level: 
X-Spam-Status: No, score=-2.504 tagged_above=-999 required=5 tests=[AWL=0.095,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0B+7RUZW1zVR for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 06:29:47 -0700 (PDT)
Received: from n9a.bullet.mail.mud.yahoo.com (n9a.bullet.mail.mud.yahoo.com [209.191.87.108]) by core3.amsl.com (Postfix) with SMTP id 2B54C3A68AD for <netmod@ietf.org>; Tue,  1 Sep 2009 06:29:45 -0700 (PDT)
Received: from [209.191.108.96] by n9.bullet.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 13:29:57 -0000
Received: from [68.142.201.245] by t3.bullet.mud.yahoo.com with NNFMP; 01 Sep 2009 13:29:57 -0000
Received: from [127.0.0.1] by omp406.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 13:29:57 -0000
X-Yahoo-Newman-Id: 396800.16007.bm@omp406.mail.mud.yahoo.com
Received: (qmail 53801 invoked from network); 1 Sep 2009 13:29:57 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp108.sbc.mail.sp1.yahoo.com with SMTP; 1 Sep 2009 13:29:56 -0000
X-YMail-OSG: xGqn0dkVM1nhwQjbRhYZrYE.NCjA5eB_qcrK3wX3O5rdArEb5jc8fcHB3CX_rBoRHfcs49aWiWhv9xTBucMn7Kjt2mWEGmt9G1mWaGeNQZhveBdjZu2_mYwgJSBXEFbuRNMyrbW7Q.G5FJgLkHQUIbTaT1lg1SfLP5MEWeDPhet9wEvSG_mihUtdzMhkH0pB0Nzabk6CIazezCgIcfEO8LhR4DtHfz_ly.NahEPnpCgA_hqu6Krd5j6YzHcLVjygnLTrMJxQCLQT
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D21E4.9020100@netconfcentral.com>
Date: Tue, 01 Sep 2009 06:30:12 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <200909010959.59070.david.partain@ericsson.com>	<4A9D0AD9.7020907@netconfcentral.com> <20090901.142547.110033514.mbj@tail-f.com>
In-Reply-To: <20090901.142547.110033514.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 13:29:48 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> I have not yet seen a complete and convincing problem statement,
>> let alone a complete and convincing solution proposal.
> 
> I think there are two benefits:
> 
>   1)  it will be clear when the client can expect the server to create
>       instances, (see the recent discussion about mandatory)
> 

so there will be normative text saying
a server MUST NOT create an instance
if it is an 'assigned-by user' type of leaf?

this would be useful to have.

The assigned-by statement has no affect on retrieval
operations whatsoever, correct?  that is also
important.  A server-created leaf instance must be
just a plain old leaf instance, and not special
in any way.

>   2)  it gives the data modeler another formal tool so that his data
>       model can be more precise (there are a couple of examples in the
>       ipfix module where this could be used; the user's "uid" is the
>       other example)
> 
>> Not sure what assigned-by system really does for the data modeler.
>> Can somebody explain that to me again?  What MUST behavior is
>> associated with usage of assigned-by system? What about
>> the other enum (whatever it is called)?
> 
> If the WG believes that something like this is useful, then I will
> write down one proposal which we then can discuss.  I welcome anyone
> who wants to help with this text to let me know!
> 
> 
> /martin
> 
> 

Andy


From jmh@joelhalpern.com  Tue Sep  1 06:31:10 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 265373A685B for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 06:31:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.555
X-Spam-Level: 
X-Spam-Status: No, score=-3.555 tagged_above=-999 required=5 tests=[AWL=0.044,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cY8OYAhr6nUa for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 06:31:07 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 81C5F3A697D for <netmod@ietf.org>; Tue,  1 Sep 2009 06:31:07 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 3CD8143037E; Tue,  1 Sep 2009 06:31:21 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [192.168.1.9] (pool-173-59-34-176.phlapa.fios.verizon.net [173.59.34.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id A83F2430379; Tue,  1 Sep 2009 06:31:20 -0700 (PDT)
Message-ID: <4A9D2227.4060407@joelhalpern.com>
Date: Tue, 01 Sep 2009 09:31:19 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: David Partain <david.partain@ericsson.com>
References: <200909011009.16729.david.partain@ericsson.com>
In-Reply-To: <200909011009.16729.david.partain@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 13:31:10 -0000

Unfortunately, while I like this case, it does not, as far as I can 
tell, solve the problem at hand.

A number of folks have argued that either
a) the managed device is free to set the node to some other value, even 
if it has a default definition, and to still treat that as a default 
valued node
b) the managed device is free to set nodes without default to some 
value, and not report that value in response to get requests of any kind.

Both of those are not directly addressed by the text, but are clearly 
within the topic of the text.  We need to resolve those behaviors somehow.
Personally, I find the reading that (a) is allowed to be a distortion of 
the plain meaning of the existing text, but at least one person has 
argued vocally that it is not only allowed but desirable.

I do want to try to write text to address these.
I am happy to assume the text below from Martin as a starting point, and 
to determine whether the additional text goes in 7.6 or 7.6.1.

As a minor clarification, there apparently has been some confusion about 
the managed device treating leaf-lists as if they have values, and 
whether those need to be reported.

Yours,
Joel

David Partain wrote:
> Greetings,
> 
> Another discussion that's been ... um... lively has been around the meaning 
> of 'default'.  Martin has written some text (a new section) that he has sent 
> to the list, but it may have gotten lost in the middle of everything else.  
> As such, here it is again:
> 
> ------------------------------------------------------------------------------------------------------------------
> 7.6.1.  The leaf's default value
> 
>    The default value of a leaf is the value that the server uses if no
>    value has been explicitly set.  The usage of the default value
>    depends on the type of the leaf's closest ancestor node in the schema
>    tree which is not a non-presence container:
> 
>    o  If no such ancestor exists in the schema tree, the default value
>       MUST be used.
> 
>    o  Otherwise, if this ancestor is a case node, the default value MUST
>       be used if any node from the case exists in the data tree, or if
>       the case node is the choice's default case, and no nodes from any
>       other case exist in the data tree.
> 
>    o  Otherwise, the default value MUST be used if the ancestor node
>       exists in the data tree.
> 
>    In the cases where the default value MUST be used, the server MUST
>    operationally behave as is if the leaf was present in the data tree
>    with the default value as its value.
> 
>    If a leaf has a "default" statement, the leaf's default value is the
>    value of the "default" statement.  Otherwise, if the leaf's type has
>    a default value, and the leaf is not mandatory, then the leaf's
>    default value is the type's default value.  In all other cases, the
>    leaf does not have a default value.
> ------------------------------------------------------------------------------------------------------------------
> 
> If possible, I want to reach consensus on whether this text is what the WG 
> wants this text or what changes we need to make to it.  Please focus on this 
> text...
> 
> Cheers,
> 
> David
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 

From andy@netconfcentral.com  Tue Sep  1 06:38:45 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CEEA73A6B14 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 06:38:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.337
X-Spam-Level: 
X-Spam-Status: No, score=-2.337 tagged_above=-999 required=5 tests=[AWL=-0.072, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N-nGvJDfc-fV for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 06:38:45 -0700 (PDT)
Received: from smtp126.sbc.mail.sp1.yahoo.com (smtp126.sbc.mail.sp1.yahoo.com [69.147.65.185]) by core3.amsl.com (Postfix) with SMTP id 326A23A69E3 for <netmod@ietf.org>; Tue,  1 Sep 2009 06:38:45 -0700 (PDT)
Received: (qmail 32374 invoked from network); 1 Sep 2009 13:38:56 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp126.sbc.mail.sp1.yahoo.com with SMTP; 1 Sep 2009 13:38:56 -0000
X-YMail-OSG: dYL9YOIVM1lhtcv_.697GDOAFHcp7x0PwMKAK_ORFPtxkgb5_EbviSAmCmsO.7XjWdl1Ok6ik_.rnHI.NkSLHQBPtjokS_ENDaDuBNTPS3LcK.j9hE7t.qUoHgHnxvUgeqvhqHLYo4p.kdbpO34J6xY.nGjj3xFfwvwfLcCKseHeyPN6xQMGc_19X3sITDRVHmDlLVTkay9mYfY-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D2400.5020000@netconfcentral.com>
Date: Tue, 01 Sep 2009 06:39:12 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "Joel M. Halpern" <jmh@joelhalpern.com>
References: <200909010959.59070.david.partain@ericsson.com> <4A9D1F7C.4030605@joelhalpern.com>
In-Reply-To: <4A9D1F7C.4030605@joelhalpern.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 13:38:45 -0000

Joel M. Halpern wrote:
> I consider this one of several possible paths to an acceptable solution.
> I think it is helpful information to the management system to know
> whether the managed device may choose to unilaterally set the value.
> 
> For this to solve the related issues about what is a default and when
> are such values returned, we need to be explicit both that
> a) such value setting is not a default
> b) that system shall not behave as if there is a well-defined value for
> the item without reporting it.
> 
> We will also need to make sure that the text is clear as to what would
> happen in the equivalent of the default-by-reference case.
> 

I think the WG is going in the wrong direction
by trying to create more ways to replace simple
data retrieval with algorithmic synthesis of that data.

I will never trust server vendors to put nearly as much
effort into their documentation as they put into their code.
I know what goes on in the kitchen...


> So, I think this is a useful change, and can be part of a larger
> solution to the ongoing debate.
> 
> As a minor matter, I would not call it "assign-by system".  That tends
> to make the reader thing that the managing client can not assign to it,
> when they can (it is config data.)
> Some other terminology would be a good idea.
> 
> Yours,
> Joel
> 

Andy

From mbj@tail-f.com  Tue Sep  1 06:51:16 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C0EDF3A6F87 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 06:51:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.006
X-Spam-Level: 
X-Spam-Status: No, score=-2.006 tagged_above=-999 required=5 tests=[AWL=0.040,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nVnhsRVoiYwD for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 06:51:16 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id E316C3A6F4E for <netmod@ietf.org>; Tue,  1 Sep 2009 06:51:15 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 44E6C76C4A1; Tue,  1 Sep 2009 15:51:28 +0200 (CEST)
Date: Tue, 01 Sep 2009 15:51:27 +0200 (CEST)
Message-Id: <20090901.155127.188489339.mbj@tail-f.com>
To: jmh@joelhalpern.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4A9D2227.4060407@joelhalpern.com>
References: <200909011009.16729.david.partain@ericsson.com> <4A9D2227.4060407@joelhalpern.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 13:51:16 -0000

"Joel M. Halpern" <jmh@joelhalpern.com> wrote:
> Unfortunately, while I like this case, it does not, as far as I can tell, solve
> the problem at hand.
> 
> A number of folks have argued that either
> a) the managed device is free to set the node to some other value, even if it
> has a default definition, and to still treat that as a default valued node

When you say "set the node" do you mean actually create the instance?
If so, the assigned-by system statement supposedly covers this - if
the node is assigned-by user, the server MUST NOT create it.

Or do you mean "operationally use"?  If so, you are saying that it
would be ok to simply ignore the default statement and use any other
value.  My text does not allow this.  It says that the value from the
default statement MUST be used.

> b) the managed device is free to set nodes without default to some value, and
> not report that value in response to get requests of any kind.

Here I assume you mean "operationally use".  I think the proposed text
is clear when it says: "In all other cases, the leaf does not have a
default value."  So from a YANG perspective, this would not be a
default value.

> Both of those are not directly addressed by the text, but are clearly within
> the topic of the text.  We need to resolve those behaviors somehow.
> Personally, I find the reading that (a) is allowed to be a distortion of the
> plain meaning of the existing text, but at least one person has argued vocally
> that it is not only allowed but desirable.
> 
> I do want to try to write text to address these.
> I am happy to assume the text below from Martin as a starting point, and to
> determine whether the additional text goes in 7.6 or 7.6.1.

This would be very welcome!


/martin

From mbj@tail-f.com  Tue Sep  1 06:59:27 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C7A8F3A6861 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 06:59:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.007
X-Spam-Level: 
X-Spam-Status: No, score=-2.007 tagged_above=-999 required=5 tests=[AWL=0.039,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y0ReRn7LNh0u for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 06:59:27 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 2B9903A6A34 for <netmod@ietf.org>; Tue,  1 Sep 2009 06:57:02 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 2E27D76C4E1; Tue,  1 Sep 2009 15:57:15 +0200 (CEST)
Date: Tue, 01 Sep 2009 15:57:14 +0200 (CEST)
Message-Id: <20090901.155714.58576538.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4A9D21E4.9020100@netconfcentral.com>
References: <4A9D0AD9.7020907@netconfcentral.com> <20090901.142547.110033514.mbj@tail-f.com> <4A9D21E4.9020100@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 13:59:27 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Martin Bjorklund wrote:
> > Andy Bierman <andy@netconfcentral.com> wrote:
> >> I have not yet seen a complete and convincing problem statement,
> >> let alone a complete and convincing solution proposal.
> > 
> > I think there are two benefits:
> > 
> >   1)  it will be clear when the client can expect the server to create
> >       instances, (see the recent discussion about mandatory)
> > 
> 
> so there will be normative text saying
> a server MUST NOT create an instance
> if it is an 'assigned-by user' type of leaf?

Yes, that is the idea.

Where "create" means "create when the parent node is created" (sort
of).  I.e. it would still be ok for a device to start with a preloaded
data store, or an "initial config".

One way of viewing this is that the server is free to create such
leafs even though the client has the lock on the data store.

> The assigned-by statement has no affect on retrieval
> operations whatsoever, correct?  that is also
> important.  A server-created leaf instance must be
> just a plain old leaf instance, and not special
> in any way.

Yes, that is my view as well.


/martin

From andy@netconfcentral.com  Tue Sep  1 07:06:08 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0F6F13A6FC8 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 07:06:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.504
X-Spam-Level: 
X-Spam-Status: No, score=-2.504 tagged_above=-999 required=5 tests=[AWL=0.095,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5n18xFYGiH08 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 07:06:07 -0700 (PDT)
Received: from smtp102.sbc.mail.mud.yahoo.com (smtp102.sbc.mail.mud.yahoo.com [68.142.198.201]) by core3.amsl.com (Postfix) with SMTP id 26C4E3A6FA7 for <netmod@ietf.org>; Tue,  1 Sep 2009 07:06:07 -0700 (PDT)
Received: (qmail 72861 invoked from network); 1 Sep 2009 14:06:18 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 1 Sep 2009 14:06:18 -0000
X-YMail-OSG: LEK0Ez0VM1naQGkfTvkW1vN.DNj2jxbN.SGMUjz7k_DHZvxifAhwH7dmHydX0qX2lB0V5mkmlVnfV8T84ncKdrP6504ucwVerba0Kl_NH7HM.wLsfhqSQbrPpitgcHIXGfongVOR0OWrjZ87yYmjqe2qYoLc4gUfRDHaFhHu6Jc0UruX_1fKlJsWhRyU8IwrEbidWgqverCDiXMdDlKxWaVFdLFVXhHRf_S5LjURr4thhAK_Ex3pujc3OSyv.Tv8hW50jzAPUwBIJPXTmBhmW2HgM.8UfpErIeWkaLu5R9MzIuH3
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D29F1.6010806@netconfcentral.com>
Date: Tue, 01 Sep 2009 07:04:33 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: David Partain <david.partain@ericsson.com>
References: <200908241333.n7ODX6KL091523@idle.juniper.net>	<200908311126.16613.david.partain@ericsson.com> <200909011336.10195.david.partain@ericsson.com>
In-Reply-To: <200909011336.10195.david.partain@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] meaning of default
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 14:06:08 -0000

David Partain wrote:
> On Monday 31 August 2009 11.26.16 David Partain wrote:
>> On Monday 24 August 2009 15.33.06 Phil Shafer wrote:
>>> Juergen Schoenwaelder writes:
>>>> we need to put this
>>>> discussion somehow to an end.
>>> +1
>> I completely agree.  I'm trying to read through huge heaps of email to try
>> to figure out what the right question to ask is.  Stay tuned.
> 
> Hi folks,  
> 
> I'd like this thread closed, too.  The focus of this discussion should now be 
> on the mail with the subject "Issue: interpretation of 'default'" 
> (http://www.ietf.org/mail-archive/web/netmod/current/msg03821.html).
> 

I wish this was a linear process as well but
engineering doesn't work that way.
Sometimes it takes a few tries before you really
understand why a design is broken.

How does this YANG-default as a substitute for data retrieval works
when there are deviation-stmts that change the
default, or a YANG module with no revision-stmts
adds a default over time?  IMO, it doesn't.
The entire premise that YANG default-stmts
are equivalent to runtime data is incorrect.

Note that section 10 clearly states that a default
may be added after initial publication, but that is all.
Once a leaf is published with a YANG default-stmt,
it MUST never be changed or removed.

This makes it even more unlikely that one will
be able to trust the default-stmt value across all
versions of all platforms, because this CLR will be ignored.

So I prefer 'report-all', and don't care about the server
wasting bandwidth while doing its job.


> Cheers,
> 
> David

Andy

From Washam.Fan@huaweisymantec.com  Tue Sep  1 07:08:11 2009
Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 24EF228C291 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 07:08:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level: 
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[AWL=0.933,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6i7FFiPOvO1z for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 07:08:10 -0700 (PDT)
Received: from mta1.huaweisymantec.com (mta1.huaweisymantec.com [218.17.155.14]) by core3.amsl.com (Postfix) with ESMTP id 2BF4B28C24C for <netmod@ietf.org>; Tue,  1 Sep 2009 07:08:10 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml02-in.huaweisymantec.com ([172.26.3.41]) by hstga01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KPA002QKPXD5IA0@hstga01-in.huaweisymantec.com> for netmod@ietf.org; Tue, 01 Sep 2009 22:08:01 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml02-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KPA00B7LPXDL220@hstml02-in.huaweisymantec.com> for netmod@ietf.org; Tue, 01 Sep 2009 22:08:01 +0800 (CST)
Received: from [117.79.65.106] by hstml02-in.huaweisymantec.com (mshttpd); Tue, 01 Sep 2009 22:08:01 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: Martin Bjorklund <mbj@tail-f.com>
Message-id: <fc839f523d2.4a9d9b41@huaweisymantec.com>
Date: Tue, 01 Sep 2009 22:08:01 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-8.03 (built Apr 24 2009; 32bit)
Content-language: en
X-Accept-Language: en
Priority: normal
In-reply-to: <20090901.155127.188489339.mbj@tail-f.com>
References: <200909011009.16729.david.partain@ericsson.com> <4A9D2227.4060407@joelhalpern.com> <20090901.155127.188489339.mbj@tail-f.com>
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 14:08:11 -0000

Hi,
 
> > b) the managed device is free to set nodes without default to some 
> value, and
> > not report that value in response to get requests of any kind.

IMO, in this case, the value assigned by the server should be
reported, since the client has no clue to deduce it.

And to my knowledge, the server might not be free to set any nodes
without default but those mandatory ones for the valid config.

washam

> Here I assume you mean "operationally use".  I think the proposed text
> is clear when it says: "In all other cases, the leaf does not have a
> default value."  So from a YANG perspective, this would not be a
> default value.


From andy@netconfcentral.com  Tue Sep  1 08:44:39 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 677C23A68F3 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 08:44:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.504
X-Spam-Level: 
X-Spam-Status: No, score=-2.504 tagged_above=-999 required=5 tests=[AWL=0.095,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XqP7DWdULdE9 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 08:44:38 -0700 (PDT)
Received: from smtp102.sbc.mail.mud.yahoo.com (smtp102.sbc.mail.mud.yahoo.com [68.142.198.201]) by core3.amsl.com (Postfix) with SMTP id 3A02628C78F for <netmod@ietf.org>; Tue,  1 Sep 2009 08:42:45 -0700 (PDT)
Received: (qmail 18734 invoked from network); 1 Sep 2009 15:42:56 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 1 Sep 2009 15:42:55 -0000
X-YMail-OSG: AS6lHFgVM1mGXWFP_OreBiMvq4wuUhUtPL8Pr1HrQo3YOmojBYrQqTEot0z7MAFRtrb5h46nD7bz7ei_hMDbT.nROyc2mh4fM5Ywx444yT5rBO1kdX0uI0UqwgkspHLIHJr1hPidluJo.ZciaeIY.CyrG5ZhzDIKc_BTx0u.zi4dKk1Dcpy0uwPpfW1KVW.gh50sZ0M3PfVtqRVs1Ec1sIO4GVf2BW8Whl3mcTa.6SPMN8HXuuoOPpimJMr.lejb.rvS1Omwn1hfiDkUAJecu6VNK3obGo_vG0VLHYtF3dmhwXIEzZkZVZ2Y3Q--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D410F.8020109@netconfcentral.com>
Date: Tue, 01 Sep 2009 08:43:11 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] module capabilities section
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 15:44:39 -0000

Hi,

I think sec. 5.6.4 should be more clear about
the conformance for the module capability content.
This is a critical component of the many complex
features, and it MUST be complete and correct
for NETCONF/YANG to have any real chance at interoperability.

Sec 5.6.4.1:

All revisions of all modules that are used within
the server MUST be announced in the <hello> because
import-by-revision and include-by-revision are optional
to use, and therefore ambiguous.

Even all 'typedef' modules like ietf-yang-types are not
safe to use without a revision date.  Assuming the client
will guess the right file for 'import footypes' is broken.
Without a namespace, there is no way to verify that the
client and server both picked the same 'footypes'.

The current text says:

   Modules that do not contribute any data definitions, rpcs,
   notifications, or deviations to the device MAY be advertised in the
   <hello> message.

This is incomplete and non-deterministic data.
Maybe humans don't care about that, but it is a big deal
to automation-based applications.
(Some humans have noticed that incomplete and
non-deterministic data wastes time.)

Sec 5.6.4.2:

It should be clear that the server MUST announce all features
it supports for a given module, if any.

Sec 5.6.4.3:

It should be clear that the server MUST announce all deviations
it has loaded for a given module, if any.

The deviation module MUST be advertised as a capability.
It cannot just be identified as deviations=foo'.
It should be obvious that these modules are subject to
the same module name collisions as any other module.

Not so obvious -- the server MUST support every mandatory-to-implement
YANG construct in a deviations module, since it is just like any other.


   <capability>
      string-for-uri-nobody-can-remember:module=X&revision=2009-02-01&deviations=Y
   </capability>

   <capability>
      string-for-uri-nobody-can-remember:module=Y&revision=2009-02-01
   </capability>

------------------------------

General:

Using a complete and deterministic data-set is
fundamental to automation of manual IT labor.
If others want to use NETCONF as a human interface
that's fine, but that should not be the limit of NETCONF's utility.

Many classes of applications are not just simple
front-ends for a human to read and type,
and incomplete data is a killer for all those apps.
IMO, the amount of bandwidth being saved is
a million times cheaper than the labor hours for
looking up all the missing data, or over-paying experts
to know all the esoteric details without looking them up.




Andy

From andy@netconfcentral.com  Tue Sep  1 09:04:11 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 06B5028C836 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 09:04:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.338
X-Spam-Level: 
X-Spam-Status: No, score=-2.338 tagged_above=-999 required=5 tests=[AWL=-0.073, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L04vWdsIllTO for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 09:04:10 -0700 (PDT)
Received: from smtp128.sbc.mail.sp1.yahoo.com (smtp128.sbc.mail.sp1.yahoo.com [69.147.65.187]) by core3.amsl.com (Postfix) with SMTP id 3ABB028C87F for <netmod@ietf.org>; Tue,  1 Sep 2009 09:03:01 -0700 (PDT)
Received: (qmail 71805 invoked from network); 1 Sep 2009 16:03:12 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp128.sbc.mail.sp1.yahoo.com with SMTP; 1 Sep 2009 16:03:12 -0000
X-YMail-OSG: veSTnOUVM1lBP_LL5ms_tlJY0FqdfP38JwdXFKL9khgSiIOyO_GRqr2hpPh3kzjNbwJqGGObBZtPWPyYWNQIIJQxWmOMqkWV1.IutWNMXDG7u2N3W30Wi_Oo1MzmWVu41Gaa169UfiJcxMasFAHMV_ZrSPar1qYT4FXWGekYHFcBn2dHAGE5fgFJFZopMljTMuNFFRYUO.jLC.KkxWWWC7aV2GsrDd2zeh2WWQQ02H7JJuH6XX8-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D45D0.4060905@netconfcentral.com>
Date: Tue, 01 Sep 2009 09:03:28 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] database + defaults = broken
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 16:04:11 -0000

Hi,

There are several places in the draft where special
definitions of the database are given for XPath:


  o  The accessible tree is made up of all nodes in the data tree, and
      all leafs with default values.


-------------------------

module X {
   namespace "http://example.com/ns/X";
   prefix X;

   leaf x {
     type int32;
   }
}

1 year later ...

module X {
   namespace "http://example.com/ns/X";
   prefix X;

   leaf x {
     type int32;
     default 10;
   }
}

-------------------------

This is legal YANG.
Revisions are optional, and a default can
be added over time.

The client needs to manage old servers and new servers.

Client retrieves /x:

  <get>
    <filter type="xpath"
     xmlns:x="http://example.com/ns/X"
     select="/x:x" />
  </get>

The server responds with no data:


  <data/>

So -- is the client talking to an old server
that just doesn't have this leaf, or a new
server that is using the YANG default?
It could be either, and that is broken.



Andy


From lhotka@cesnet.cz  Tue Sep  1 09:05:23 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6E30028C82F for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 09:05:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.188
X-Spam-Level: 
X-Spam-Status: No, score=-1.188 tagged_above=-999 required=5 tests=[AWL=0.062,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fc7V7szTZEkE for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 09:05:22 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 3C44528C819 for <netmod@ietf.org>; Tue,  1 Sep 2009 09:05:22 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 247F0D800E8; Tue,  1 Sep 2009 18:05:35 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4A9D2227.4060407@joelhalpern.com>
References: <200909011009.16729.david.partain@ericsson.com> <4A9D2227.4060407@joelhalpern.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Tue, 01 Sep 2009 18:05:33 +0200
Message-Id: <1251821133.4542.13.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 16:05:23 -0000

Joel M. Halpern píše v Út 01. 09. 2009 v 09:31 -0400:
> Unfortunately, while I like this case, it does not, as far as I can 
> tell, solve the problem at hand.
> 
> A number of folks have argued that either
> a) the managed device is free to set the node to some other value, even 
> if it has a default definition, and to still treat that as a default 
> valued node
> b) the managed device is free to set nodes without default to some 
> value, and not report that value in response to get requests of any kind.

The text now specifies that under certain conditions the configuration
without the leaf is equivalent to one in which the leaf is present and
set to the default value. However, formulations like "server MUST use
the default" value may be understood as if the server is not allowed to
assign a value unilaterally. So it might be actually better to talk
about equivalence of configurations, also because it can be easily
applied to datastores other than running.

Lada

> 
> Both of those are not directly addressed by the text, but are clearly 
> within the topic of the text.  We need to resolve those behaviors somehow.
> Personally, I find the reading that (a) is allowed to be a distortion of 
> the plain meaning of the existing text, but at least one person has 
> argued vocally that it is not only allowed but desirable.
> 
> I do want to try to write text to address these.
> I am happy to assume the text below from Martin as a starting point, and 
> to determine whether the additional text goes in 7.6 or 7.6.1.
> 
> As a minor clarification, there apparently has been some confusion about 
> the managed device treating leaf-lists as if they have values, and 
> whether those need to be reported.
> 
> Yours,
> Joel
> 
> David Partain wrote:
> > Greetings,
> > 
> > Another discussion that's been ... um... lively has been around the meaning 
> > of 'default'.  Martin has written some text (a new section) that he has sent 
> > to the list, but it may have gotten lost in the middle of everything else.  
> > As such, here it is again:
> > 
> > ------------------------------------------------------------------------------------------------------------------
> > 7.6.1.  The leaf's default value
> > 
> >    The default value of a leaf is the value that the server uses if no
> >    value has been explicitly set.  The usage of the default value
> >    depends on the type of the leaf's closest ancestor node in the schema
> >    tree which is not a non-presence container:
> > 
> >    o  If no such ancestor exists in the schema tree, the default value
> >       MUST be used.
> > 
> >    o  Otherwise, if this ancestor is a case node, the default value MUST
> >       be used if any node from the case exists in the data tree, or if
> >       the case node is the choice's default case, and no nodes from any
> >       other case exist in the data tree.
> > 
> >    o  Otherwise, the default value MUST be used if the ancestor node
> >       exists in the data tree.
> > 
> >    In the cases where the default value MUST be used, the server MUST
> >    operationally behave as is if the leaf was present in the data tree
> >    with the default value as its value.
> > 
> >    If a leaf has a "default" statement, the leaf's default value is the
> >    value of the "default" statement.  Otherwise, if the leaf's type has
> >    a default value, and the leaf is not mandatory, then the leaf's
> >    default value is the type's default value.  In all other cases, the
> >    leaf does not have a default value.
> > ------------------------------------------------------------------------------------------------------------------
> > 
> > If possible, I want to reach consensus on whether this text is what the WG 
> > wants this text or what changes we need to make to it.  Please focus on this 
> > text...
> > 
> > Cheers,
> > 
> > David
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> > 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From lhotka@cesnet.cz  Tue Sep  1 10:19:34 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6B41D28C8BC for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 10:19:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.189
X-Spam-Level: 
X-Spam-Status: No, score=-1.189 tagged_above=-999 required=5 tests=[AWL=0.061,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ObFYV+bYKNen for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 10:19:33 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 8978C28C8B7 for <netmod@ietf.org>; Tue,  1 Sep 2009 10:19:33 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id D22C4D80095 for <netmod@ietf.org>; Tue,  1 Sep 2009 19:19:44 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: NETMOD Working Group <netmod@ietf.org>
In-Reply-To: <4A9D49D5.6060806@joelhalpern.com>
References: <200909011009.16729.david.partain@ericsson.com> <4A9D2227.4060407@joelhalpern.com> <1251821133.4542.13.camel@missotis> <4A9D49D5.6060806@joelhalpern.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Tue, 01 Sep 2009 19:19:43 +0200
Message-Id: <1251825583.4542.24.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 17:19:34 -0000

Joel M. Halpern píše v Út 01. 09. 2009 v 12:20 -0400:
> Sorry, I have no idea what you are getting at / asking for.
> (I can provide two possible interpretations, one of which would be fine 
> and one of which I would completely disagree with.  And what you meant 
> is probably neither one.)
> Would you please clarify to the list?

My point simply is that the "server MUST use" language misled me into
thinking that the 'default' statement prevents the device from doing a),
which is not the case, so I am suggesting another formulation expressed
solely in terms of datastore content.

Lada

> 
> Thank you,
> Joel
> 
> 
> Ladislav Lhotka wrote:
> > Joel M. Halpern píše v Út 01. 09. 2009 v 09:31 -0400:
> >> Unfortunately, while I like this case, it does not, as far as I can 
> >> tell, solve the problem at hand.
> >>
> >> A number of folks have argued that either
> >> a) the managed device is free to set the node to some other value, even 
> >> if it has a default definition, and to still treat that as a default 
> >> valued node
> >> b) the managed device is free to set nodes without default to some 
> >> value, and not report that value in response to get requests of any kind.
> > 
> > The text now specifies that under certain conditions the configuration
> > without the leaf is equivalent to one in which the leaf is present and
> > set to the default value. However, formulations like "server MUST use
> > the default" value may be understood as if the server is not allowed to
> > assign a value unilaterally. So it might be actually better to talk
> > about equivalence of configurations, also because it can be easily
> > applied to datastores other than running.
> > 
> > Lada
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From cfinss@dial.pipex.com  Tue Sep  1 10:29:42 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4CB163A686D for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 10:29:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.229
X-Spam-Level: 
X-Spam-Status: No, score=-2.229 tagged_above=-999 required=5 tests=[AWL=0.370,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rkG3SE49Dlda for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 10:29:41 -0700 (PDT)
Received: from mk-outboundfilter-5.mail.uk.tiscali.com (mk-outboundfilter-5.mail.uk.tiscali.com [212.74.114.1]) by core3.amsl.com (Postfix) with ESMTP id 9E63D3A68C2 for <netmod@ietf.org>; Tue,  1 Sep 2009 10:28:01 -0700 (PDT)
X-Trace: 191690738/mk-outboundfilter-5.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.113/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.113
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AsQEALv2nEo+vGlx/2dsb2JhbACDLY4Dy18JhBIF
X-IronPort-AV: E=Sophos;i="4.44,313,1249254000"; d="scan'208";a="191690738"
X-IP-Direction: IN
Received: from 1cust113.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.113]) by smtp.pipex.tiscali.co.uk with SMTP; 01 Sep 2009 18:27:13 +0100
Message-ID: <004201ca2b20$e0b9c7e0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "David Partain" <david.partain@ericsson.com>, "NETMOD Working Group" <netmod@ietf.org>
References: <200909010959.59070.david.partain@ericsson.com>
Date: Tue, 1 Sep 2009 17:48:24 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 17:29:42 -0000

----- Original Message ----- 
From: "David Partain" <david.partain@ericsson.com>
Sent: Tuesday, September 01, 2009 9:59 AM
> 
> There has been significant debate about whether to reopen the question of 
> having 'assigned-by system'.  See this mail thread - 
> http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html
> 
> The discussion has been in the "agent-default -- new 3rd state" thread (and 
> probably elsewhere).
> 
> Martin wrote in the message referenced above: "The idea is that if a leaf is 
> marked as assigned-by system, then the client MAY choose to not set a value 
> for the leaf when its parent instance is created.  In this case the system 
> will assign a suitable value for the leaf."

I am unclear.  I take it this is created in the data tree but is it as 
config or operational state (which affects how it can be retrieved)
and is an instance being created or is this one of those thingies
which seem neither dead nor alive?  This harks back to Phil
differentiating uid from mtu and  Joel not seeing the difference. 
I am afraid I have yet to see the difference:-(  Martin said
'So "if an instance exists because the server created it" then it *is*
config. '  Um, leaves me none the wiser.

And what's the parent instance got to do with it?  It sounds like
an assumption is built in there (and not the usual case or
non-presence container issues) that I am missing.

Tom Petch

> A number of people have said they think this should be reopened and that it 
> would be valuable, particularly in dealing with misunderstandings around the 
> meaning of default.  Others have questioned doing so at this time.
> 
> Clearly, if we think this is a serious enough problem that it MUST be fixed 
> for good interoperability, then we should do so.  I'd like to resolve this 
> ASAP.  Please voice your opinion by close of business tomorrow (Wednesday) 
> about whether you in principle think we should add 'assigned-by system' 
> (pending concrete text, of course).
> 
> If the rough consensus appears to be to add it, I'll ask Martin to submit a 
> proposal with text.  We'll then discuss based on that text.
> 
> Thanks.
> 
> David
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

From cfinss@dial.pipex.com  Tue Sep  1 10:29:43 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 326AB3A6A0C for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 10:29:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.237
X-Spam-Level: 
X-Spam-Status: No, score=-2.237 tagged_above=-999 required=5 tests=[AWL=0.362,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NH0vQbPiWuMY for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 10:29:42 -0700 (PDT)
Received: from mk-outboundfilter-5.mail.uk.tiscali.com (mk-outboundfilter-5.mail.uk.tiscali.com [212.74.114.1]) by core3.amsl.com (Postfix) with ESMTP id 517333A6A7F for <netmod@ietf.org>; Tue,  1 Sep 2009 10:28:02 -0700 (PDT)
X-Trace: 191690744/mk-outboundfilter-5.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.113/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.113
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AsQEALv2nEo+vGlx/2dsb2JhbACDLY4Dy18JhBIF
X-IronPort-AV: E=Sophos;i="4.44,313,1249254000"; d="scan'208";a="191690744"
X-IP-Direction: IN
Received: from 1cust113.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.113]) by smtp.pipex.tiscali.co.uk with SMTP; 01 Sep 2009 18:27:14 +0100
Message-ID: <004301ca2b20$e193fb40$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "David Partain" <david.partain@ericsson.com>, "NETMOD Working Group" <netmod@ietf.org>
References: <200909011009.16729.david.partain@ericsson.com>
Date: Tue, 1 Sep 2009 18:21:46 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 17:29:43 -0000

David

I find it less than clear; see inline.

Tom Petch

----- Original Message -----
From: "David Partain" <david.partain@ericsson.com>
To: "NETMOD Working Group" <netmod@ietf.org>
Sent: Tuesday, September 01, 2009 10:09 AM
Subject: [netmod] Issue: interpretation of 'default'


> Greetings,
>
> Another discussion that's been ... um... lively has been around the meaning
> of 'default'.  Martin has written some text (a new section) that he has sent
> to the list, but it may have gotten lost in the middle of everything else.
> As such, here it is again:
>
> ------------------------------------------------------------------------------
------------------------------------
> 7.6.1.  The leaf's default value
>
>    The default value of a leaf is the value that the server uses if no
>    value has been explicitly set.  The usage of the default value

When are we talking about? Note we have no terminology for what
is in the data tree, presume instances with values, in which case are
we talking about an instance being created?  But then we have no
definition of when an instance is created.  With an SNMP background,
this is academic, there is always a 1.3.6.1.2.1.1.1 with a 'value', it is
just a question of being a valid value or not, but with YANG, we have
not nailed this down, and so some posts have implied that a data node
leaf does not exist in the data tree unless and until eg its ancestor
node becomes part of the data tree, or perhaps when the server, if
it has permission, just decides to create it and ancestor anyway.
And is there a difference, as Lada asked, between doing an <edit>
specifying <element/> as opposed to <element>42</element>?
All this needs nailing down otherwise discussions of default,
assigned by all/user/system....  can end up with each person having
a different view.

And 'explicitly set'; to me, that MUST be set by anyone, CLI, SNMP,
Netconf, ....  It is no use having a Netconf/YANG that pretends that
nothing else in the world exists as far as configuration management
is concerned and so can be ignored.  Again, an issue touched on but not
resolved.

We have the gory details but lack the big picture.

>    depends on the type of the leaf's closest ancestor node in the schema
>    tree which is not a non-presence container:
>
>    o  If no such ancestor exists in the schema tree, the default value
>       MUST be used.
>
>    o  Otherwise, if this ancestor is a case node, the default value MUST
>       be used if any node from the case exists in the data tree, or if
>       the case node is the choice's default case, and no nodes from any
>       other case exist in the data tree.
>
>    o  Otherwise, the default value MUST be used if the ancestor node
>       exists in the data tree.
>
>    In the cases where the default value MUST be used, the server MUST
>    operationally behave as is if the leaf was present in the data tree
>    with the default value as its value.
>
>    If a leaf has a "default" statement, the leaf's default value is the
>    value of the "default" statement.  Otherwise, if the leaf's type has
>    a default value, and the leaf is not mandatory, then the leaf's
>    default value is the type's default value.  In all other cases, the
>    leaf does not have a default value.
> ------------------------------------------------------------------------------
------------------------------------
>
> If possible, I want to reach consensus on whether this text is what the WG
> wants this text or what changes we need to make to it.  Please focus on this
> text...
>
> Cheers,
>
> David
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod


From cfinss@dial.pipex.com  Tue Sep  1 10:29:44 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AC5373A7058 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 10:29:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.975
X-Spam-Level: 
X-Spam-Status: No, score=-1.975 tagged_above=-999 required=5 tests=[AWL=0.024,  BAYES_00=-2.599, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KMixE7WfQ-Qr for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 10:29:43 -0700 (PDT)
Received: from mk-outboundfilter-5.mail.uk.tiscali.com (mk-outboundfilter-5.mail.uk.tiscali.com [212.74.114.1]) by core3.amsl.com (Postfix) with ESMTP id AE2EC3A6F88 for <netmod@ietf.org>; Tue,  1 Sep 2009 10:28:03 -0700 (PDT)
X-Trace: 191690761/mk-outboundfilter-5.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.113/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.113
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AsQEALv2nEo+vGlx/2dsb2JhbACDLY4Dy18JhBIF
X-IronPort-AV: E=Sophos;i="4.44,313,1249254000"; d="scan'208";a="191690761"
X-IP-Direction: IN
Received: from 1cust113.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.113]) by smtp.pipex.tiscali.co.uk with SMTP; 01 Sep 2009 18:27:17 +0100
Message-ID: <004501ca2b20$e3486200$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Andy Bierman" <andy@netconfcentral.com>
References: <200908282045.n7SKjRaU038511@idle.juniper.net> <00a401ca298f$fe348f40$0601a8c0@allison> <4A9AE5D9.7020902@netconfcentral.com>
Date: Tue, 1 Sep 2009 18:24:57 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 17:29:44 -0000

----- Original Message -----
From: "Andy Bierman" <andy@netconfcentral.com>
To: "tom.petch" <cfinss@dial.pipex.com>
Cc: "Phil Shafer" <phil@juniper.net>; <netmod@ietf.org>
Sent: Sunday, August 30, 2009 10:49 PM

> tom.petch wrote:
> > ----- Original Message -----
> > From: "Phil Shafer" <phil@juniper.net>
> > Sent: Friday, August 28, 2009 10:45 PM
> >
> >> Andy Bierman writes:
> >>> if this is true, then why does the 'explicit' mode
> >>> of with-defaults just look at whether the leaf was
> >>> explicitly set and not the YANG default?
> >> The explicit mode should have logic like:
> >>
> >>    if (the user explicitly set it)
> >>        return it
> >
> > Phil
> >
> > I think that you are absolutely right that this mode should exist; I see it
as
> > a major, if not the major, requirement to emerge from RFC3535. But I
> > disagree that it is the only requirement; I think that there is another one,
an
> > operational one, I share certainly with Andy.
> >
> > Enterprise systems could not exist without configuration management; they
simply
> > have too many thousands of devices to configure by any other means.
> >
> > One key part of this is a three part system, a central store of data for
each
> > device, probably several versions for each, a pull protocol to get data from
> > a device and a push protocol, such that given a fresh from shrink-wrap,
> > manufacturer-supplied box, the push will create a replacement operational
box.
> >
> > Box A gets trashed, take a new one off the shelf, push the data to the new
box
> > and the service is restored.
> >
> > So the pull protocol must get everything that needs to be set to create the
> > operational box, regardless of which 'user' set it - CLI, SNMP,
Netconf,..... -
> > or when.
> >
> > I don't think YANG can help much here; it could have a substatement,
> > read-only, modified <true|false>, but really this is a Netconf protocol
> > requirement for the device manufacturer to support.
> >
> > I think it wrong to equate this mode with the one and only meaning of words
> > such as config.
> >
>
> I can agree with Phil that 'config' I did not set
> is not really config -- if the YANG and with-defaults
> draft specify the same thing correctly.
>
> But if it is not config when an instance exists
> because the server created it, then it must be
> operational state.  So it MUST be retrievable,
> in order to support applications (NETCONF was chartered
> to get away from screen-scraping).

Andy,

I agree, it MUST be retrievable.

For Configuration purposes,
I would prefer to stay with 'everything writable is config'
and what has been set (by anyone outside the server, not
as part of operational state or by server) is perforce a
subset of that, and Netconf has the option to
retrieve all or the subset.

For Operational purposes, most of the time, I need a combination
of items.  If I look at an OSPF interface, I want to know
- OSPF configured (explicitly set by some user)
- Active or Passive (probably default but I want to hear
the server's view, not some assumption that everything is
fine)
- timers (almost always default, but I really want to know
what the server is actually using)
- Adjacency (operational state)

and, magically, that is what I currently get.  It would be a
shame if YANG or Netconf required the whole LS database
to be retrieved just to give me the equivalent:-)

And of course, there will be times when this summary
does not resolve my issue, and yes, I will need every one
of the 100 or however many items there are in the server
relating to the interface.

Tom Petch





>
> I am not willing to accept that any leaf instance
> (defined as a leaf with a value != YANG default-stmt)
> can ever be inaccessible for retrieval.
>
> If the server has a value, and the client asks for it
> correctly, it MUST be returned via <get>, <get-config>,
> or <copy-config>.  That's what the standard says now, and
> I agree with it.
>
>
> > Tom Petch
>
> Andy
>
> >
> >> But really it works like:
> >>
> >>    if (there is a value in the config database)
> >>       return it  // since the user must have set it
> >>
> >> In neither approach are default values inspected.
> >>
> >> Thanks,
> >>  Phil
> >
> >
>
>


From andy@netconfcentral.com  Tue Sep  1 10:37:05 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CC2D83A704C for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 10:37:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.504
X-Spam-Level: 
X-Spam-Status: No, score=-2.504 tagged_above=-999 required=5 tests=[AWL=0.095,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wy8sQVoSqFh6 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 10:37:05 -0700 (PDT)
Received: from n10.bullet.mail.mud.yahoo.com (n10.bullet.mail.mud.yahoo.com [209.191.125.208]) by core3.amsl.com (Postfix) with SMTP id CCD5128C902 for <netmod@ietf.org>; Tue,  1 Sep 2009 10:36:58 -0700 (PDT)
Received: from [209.191.108.96] by n10.bullet.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 17:37:10 -0000
Received: from [68.142.201.252] by t3.bullet.mud.yahoo.com with NNFMP; 01 Sep 2009 17:37:10 -0000
Received: from [127.0.0.1] by omp413.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 17:37:10 -0000
X-Yahoo-Newman-Id: 645558.14439.bm@omp413.mail.mud.yahoo.com
Received: (qmail 30600 invoked from network); 1 Sep 2009 17:37:10 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp110.sbc.mail.sp1.yahoo.com with SMTP; 1 Sep 2009 17:37:10 -0000
X-YMail-OSG: sKpQGmoVM1kMAFCA77IJqXRTmDL2j6JiFmBVA87hZwBQqMImaLORnRAmOJktTid_yc847Iq_c4NY7IY6.zRSgBeIkyYuhKzvcPD15r9BLMmWSPl2N6hAUc93Lkrkrp1.JIix_7d1mN.a4RG2nZd3RKt2s3iUg2_UM4_GGeiJZL6EroDJV3cB.BXrmUPRXYQTL.P2X2AMMvqTooU-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D5B5D.5060409@netconfcentral.com>
Date: Tue, 01 Sep 2009 10:35:25 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "tom.petch" <cfinss@dial.pipex.com>
References: <200908282045.n7SKjRaU038511@idle.juniper.net> <00a401ca298f$fe348f40$0601a8c0@allison> <4A9AE5D9.7020902@netconfcentral.com> <004501ca2b20$e3486200$0601a8c0@allison>
In-Reply-To: <004501ca2b20$e3486200$0601a8c0@allison>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 17:37:05 -0000

tom.petch wrote:
.....
> and, magically, that is what I currently get.  It would be a
> shame if YANG or Netconf required the whole LS database
> to be retrieved just to give me the equivalent:-)
> 

It doesn't.
The <filter> parameter is mandatory to implement
for subtree filters.

> And of course, there will be times when this summary
> does not resolve my issue, and yes, I will need every one
> of the 100 or however many items there are in the server
> relating to the interface.
> 

Yep -- nobody ever said the server should be forced to send
all the data all the time.  But the client MUST be able
to ask for all the data somehow, even if that is
not the default operation -- it still must be
the same operation on every server.


> Tom Petch

Andy


From phil@juniper.net  Tue Sep  1 11:13:48 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 182613A703B for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 11:13:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.572
X-Spam-Level: 
X-Spam-Status: No, score=-6.572 tagged_above=-999 required=5 tests=[AWL=0.027,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 72Liyrt1qCUG for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 11:13:47 -0700 (PDT)
Received: from exprod7og121.obsmtp.com (exprod7og121.obsmtp.com [64.18.2.20]) by core3.amsl.com (Postfix) with ESMTP id 3D8543A6B99 for <netmod@ietf.org>; Tue,  1 Sep 2009 11:13:46 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob121.postini.com ([64.18.6.12]) with SMTP ID DSNKSp1kZ6WccrI0urhZAxt/ZCwFM1MlZ7l0@postini.com; Tue, 01 Sep 2009 11:14:01 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 1 Sep 2009 11:10:13 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 11:10:13 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 11:10:13 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 11:10:12 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n81IA9d52862; Tue, 1 Sep 2009 11:10:11 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n81Hw5Va092176; Tue, 1 Sep 2009 17:58:05 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909011758.n81Hw5Va092176@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9D29F1.6010806@netconfcentral.com> 
Date: Tue, 1 Sep 2009 13:58:05 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 01 Sep 2009 18:10:12.0794 (UTC) FILETIME=[7318C1A0:01CA2B2F]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] meaning of default
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 18:13:48 -0000

Andy Bierman writes:
>So I prefer 'report-all', and don't care about the server
>wasting bandwidth while doing its job.

But others (including me) do not prefer this.  The "with-defaults"
capability gives you the means to make the world work the way you
want it.  Since that's your preference for your applications, you
should simply use 'report-all' for all your config requests.

I guess what I find troubling is your view is that the world MUST
work your way or else it is broken.  The world isn't that fragile.
Giving the device sufficient flexibility to work in their normal,
native way is a good thing.  Let the marketplace decide which default
scheme wins the most converts.  The rest of the world should be
forced to follow your preference.

Thanks,
 Phil

From phil@juniper.net  Tue Sep  1 11:22:28 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7ED3628C937 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 11:22:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.573
X-Spam-Level: 
X-Spam-Status: No, score=-6.573 tagged_above=-999 required=5 tests=[AWL=0.026,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RNyL0ZI852A8 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 11:22:27 -0700 (PDT)
Received: from exprod7og103.obsmtp.com (exprod7og103.obsmtp.com [64.18.2.159]) by core3.amsl.com (Postfix) with ESMTP id 8882F28C92E for <netmod@ietf.org>; Tue,  1 Sep 2009 11:21:41 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob103.postini.com ([64.18.6.12]) with SMTP ID DSNKSp1mQ1RzV1b3x+i/kdv8j41fR0aPKkN3@postini.com; Tue, 01 Sep 2009 11:21:58 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 1 Sep 2009 11:18:38 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 11:18:38 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 11:18:37 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 11:18:37 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n81IIad57347; Tue, 1 Sep 2009 11:18:36 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n81I6W6M092259; Tue, 1 Sep 2009 18:06:32 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909011806.n81I6W6M092259@idle.juniper.net>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <004501ca2b20$e3486200$0601a8c0@allison> 
Date: Tue, 1 Sep 2009 14:06:31 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 01 Sep 2009 18:18:37.0416 (UTC) FILETIME=[9FDFF680:01CA2B30]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: [netmod] proposal:  no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 18:22:28 -0000

"tom.petch" writes:
>----- Original Message -----
>From: "Andy Bierman" <andy@netconfcentral.com>
>> I can agree with Phil that 'config' I did not set
>> is not really config -- if the YANG and with-defaults
>> draft specify the same thing correctly.
>>
>> But if it is not config when an instance exists
>> because the server created it, then it must be
>> operational state.  So it MUST be retrievable,
>> in order to support applications (NETCONF was chartered
>> to get away from screen-scraping).
>
>Andy,
>
>I agree, it MUST be retrievable.
>
>For Configuration purposes,
>I would prefer to stay with 'everything writable is config'
>and what has been set (by anyone outside the server, not
>as part of operational state or by server) is perforce a
>subset of that, and Netconf has the option to
>retrieve all or the subset.

Here's a proposal:

Let's make "default" an error for "config false" data.

This means that operational data values cannot default
to a YANG-specified value.  If you want them, you must
emit them.

This should end the comments about having to read documentation to
find default values.

It should also clarify the role of default in a YANG module.

And it should cost almost nothing.

Thanks,
 Phil

From phil@juniper.net  Tue Sep  1 11:40:55 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 44F713A67CF for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 11:40:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.573
X-Spam-Level: 
X-Spam-Status: No, score=-6.573 tagged_above=-999 required=5 tests=[AWL=0.026,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id onms0LuNo99i for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 11:40:48 -0700 (PDT)
Received: from exprod7og121.obsmtp.com (exprod7og121.obsmtp.com [64.18.2.20]) by core3.amsl.com (Postfix) with ESMTP id 6D8A73A6A6C for <netmod@ietf.org>; Tue,  1 Sep 2009 11:40:38 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob121.postini.com ([64.18.6.12]) with SMTP ID DSNKSp1qs4k9tUDgScupnaYcH/M3cyelzvIC@postini.com; Tue, 01 Sep 2009 11:40:56 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 1 Sep 2009 11:36:39 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 11:36:39 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 11:36:39 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 11:36:38 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n81Iacd66558; Tue, 1 Sep 2009 11:36:38 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n81IOXLk092470; Tue, 1 Sep 2009 18:24:33 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909011824.n81IOXLk092470@idle.juniper.net>
To: "tom.petch" <cfinss@dial.pipex.com>
Date: Tue, 1 Sep 2009 14:24:33 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 01 Sep 2009 18:36:38.0846 (UTC) FILETIME=[247515E0:01CA2B33]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 18:40:55 -0000

There are huge issues with the overlap between config data and
operational data.  Trying to model these both in a single YANG
module will be difficult and will introduce some annoying bits of
hackery (like "mtu-configured" .vs. "mtu-right-now").

Instead, I propose a new operation for YANG-based models.  The
<get-operational-data> RPC will return operational data associated
with a YANG module.  The module name is a mandatory argument to the
RPC, with an optional "revision" argument.  In addition, a filter
argument will take a stock NETCONF filter hierarchy.

In response, the server will return a set of XML elements that
follow many of the constraints of the YANG module, but are
freed from a few, in order to allow useful data to be returned.

A union's "type" statement and the "enum" statement will accept a
"config" statement indicating if this branch of the union will be
accepted for configuration data or only for operational data.

    module foo {
        ...
        container foo-top {
            list interface {
                key name;
                leaf name { type string; }
                leaf mtu {
                    type int;
                    default 1024;
                }
                leaf duplex {
                    type enumeration {
                        enum full;
                        enum half;
                        enum auto { config true; }
                        default auto;
                    }
                }
            }
        }
    }

Alternative: "config" here could be replaced with "operational" and
the value inverted.

   <rpc>
      <get-operational-data>
         <module>foo</module>
      </get-operational-data>
   </rpc>

   <rpc-reply>
      <data>
         <foo-top>
            <interface>
               <name>so-0/0/0</name>
               <mtu>1500</mtu>
               <duplex>full</duplex>
            </interface>
         </foo-top>
      </data>
   </rpc-reply>

Since defaults are ignored for operational data, any values MUST be
returned as part of the normal data hierarchy.

Thanks,
 Phil

From jmh@joelhalpern.com  Tue Sep  1 12:15:07 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C2CD928C470 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:15:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.562
X-Spam-Level: 
X-Spam-Status: No, score=-3.562 tagged_above=-999 required=5 tests=[AWL=0.037,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dOSS9hXOBU8U for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:15:07 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 8913828CA1F for <netmod@ietf.org>; Tue,  1 Sep 2009 12:14:28 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id A66174303AF; Tue,  1 Sep 2009 12:13:53 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [192.168.1.9] (pool-173-59-34-176.phlapa.fios.verizon.net [173.59.34.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 4319A4303AC; Tue,  1 Sep 2009 12:13:53 -0700 (PDT)
Message-ID: <4A9D7270.5020207@joelhalpern.com>
Date: Tue, 01 Sep 2009 15:13:52 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
References: <200909011009.16729.david.partain@ericsson.com>	<4A9D2227.4060407@joelhalpern.com> <1251821133.4542.13.camel@missotis>	<4A9D49D5.6060806@joelhalpern.com> <1251825583.4542.24.camel@missotis>
In-Reply-To: <1251825583.4542.24.camel@missotis>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 19:15:07 -0000

Then I must restate my disagreement with you.
The point of the wording is that if the model has a default value
specified then the managed device is not free to arbitrarily treat the
node as having some other value.
And it is most especially not permitted to treat that node as if it were
being validly defaulted.  It is not.

To change that meaning makes the agree MUST in teh default wording
meaningless.

I understand you want a different meaning.  But please argue explicitly
for that.  Arguing for wording that allows multiple incompatible 
interpretations is actually counter-productive.

Yours,
Joel


Ladislav Lhotka wrote:
> Joel M. Halpern píše v Út 01. 09. 2009 v 12:20 -0400:
>> Sorry, I have no idea what you are getting at / asking for.
>> (I can provide two possible interpretations, one of which would be fine 
>> and one of which I would completely disagree with.  And what you meant 
>> is probably neither one.)
>> Would you please clarify to the list?
> 
> My point simply is that the "server MUST use" language misled me into
> thinking that the 'default' statement prevents the device from doing a),
> which is not the case, so I am suggesting another formulation expressed
> solely in terms of datastore content.
> 
> Lada
> 
>> Thank you,
>> Joel
>>
>>
>> Ladislav Lhotka wrote:
>>> Joel M. Halpern píše v Út 01. 09. 2009 v 09:31 -0400:
>>>> Unfortunately, while I like this case, it does not, as far as I can 
>>>> tell, solve the problem at hand.
>>>>
>>>> A number of folks have argued that either
>>>> a) the managed device is free to set the node to some other value, even 
>>>> if it has a default definition, and to still treat that as a default 
>>>> valued node
>>>> b) the managed device is free to set nodes without default to some 
>>>> value, and not report that value in response to get requests of any kind.
>>> The text now specifies that under certain conditions the configuration
>>> without the leaf is equivalent to one in which the leaf is present and
>>> set to the default value. However, formulations like "server MUST use
>>> the default" value may be understood as if the server is not allowed to
>>> assign a value unilaterally. So it might be actually better to talk
>>> about equivalence of configurations, also because it can be easily
>>> applied to datastores other than running.
>>>
>>> Lada


From andy@netconfcentral.com  Tue Sep  1 12:28:27 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 71E523A6A59 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:28:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.505
X-Spam-Level: 
X-Spam-Status: No, score=-2.505 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MMgrbR3+oMeY for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:28:26 -0700 (PDT)
Received: from smtp102.sbc.mail.mud.yahoo.com (smtp102.sbc.mail.mud.yahoo.com [68.142.198.201]) by core3.amsl.com (Postfix) with SMTP id 96DE928C5B4 for <netmod@ietf.org>; Tue,  1 Sep 2009 12:28:26 -0700 (PDT)
Received: (qmail 65532 invoked from network); 1 Sep 2009 19:21:28 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 1 Sep 2009 19:21:28 -0000
X-YMail-OSG: DQE1zCoVM1nrd4scd1P0S5JnL_zRGPZugMnAE3swENQs38ZKbisE.E29DqvT_lPl_Nqi3HtfJoIgu1AWuVcj4zI3zlY_82mKKOCBqXX0U.jfIoQbd9Jp7YAfeNGiKn5zEuhZ1sTZNFtTcLnZiqE7zfTTu5BrE8lyWEeYuSXuwp6dzV_LmQd_boyh3kGReV5r8pz7dqhKhpXh0Khk.rgH_IGM_XjYn4KXL74qkJUOHa.sGKLSeONWPQ5hG0DG9Wwu5ynJTmjyoZLD5m7K
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D73CC.7050903@netconfcentral.com>
Date: Tue, 01 Sep 2009 12:19:40 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909011758.n81Hw5Va092176@idle.juniper.net>
In-Reply-To: <200909011758.n81Hw5Va092176@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] meaning of default
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 19:28:27 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> So I prefer 'report-all', and don't care about the server
>> wasting bandwidth while doing its job.
> 
> But others (including me) do not prefer this.  The "with-defaults"
> capability gives you the means to make the world work the way you
> want it.  Since that's your preference for your applications, you
> should simply use 'report-all' for all your config requests.
> 
> I guess what I find troubling is your view is that the world MUST
> work your way or else it is broken.  The world isn't that fragile.
> Giving the device sufficient flexibility to work in their normal,
> native way is a good thing.  Let the marketplace decide which default
> scheme wins the most converts.  The rest of the world should be
> forced to follow your preference.
> 

I see the situation just the opposite.

The :with-defaults capability is optional-to-implement.

You want to force your way of thinking on everybody
else by insisting that your server does not need
to ever make the full data-set available to any client,
or to even let the client know what sort of 'server-pruning'
is being done.

You already agreed it is not because there is
some implementation burden, but because
the client 'does not want the data'.  This is
not always true, and several people (including me)
want a standard that forces server-created nodes
to be retrievable on every implementation of
a YANG module.


> Thanks,
>  Phil
> 

Andy

From jmh@joelhalpern.com  Tue Sep  1 12:28:29 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 461BC28C94F for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:28:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.897
X-Spam-Level: 
X-Spam-Status: No, score=-2.897 tagged_above=-999 required=5 tests=[AWL=-0.632, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yoIBhmazt26W for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:28:28 -0700 (PDT)
Received: from morbo.mail.tigertech.net (morbo.mail.tigertech.net [67.131.251.54]) by core3.amsl.com (Postfix) with ESMTP id 8195128C94E for <netmod@ietf.org>; Tue,  1 Sep 2009 12:28:28 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by morbo.tigertech.net (Postfix) with ESMTP id D43F6A37B3 for <netmod@ietf.org>; Tue,  1 Sep 2009 12:22:48 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id BE1D14303BE; Tue,  1 Sep 2009 12:22:18 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [192.168.1.9] (pool-173-59-34-176.phlapa.fios.verizon.net [173.59.34.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 410734303B2; Tue,  1 Sep 2009 12:22:18 -0700 (PDT)
Message-ID: <4A9D7469.7030006@joelhalpern.com>
Date: Tue, 01 Sep 2009 15:22:17 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909011806.n81I6W6M092259@idle.juniper.net>
In-Reply-To: <200909011806.n81I6W6M092259@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal:  no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 19:28:29 -0000

I have a strong suspicion that we are talking past each other.

The issue I believe Andy has, and I know I have, is with a "config true"
which is given a value by the system, but where that value is not 
reported to a client application either in a regular get or in get with 
all defaults.

If the system is using a value for a "config true" node,
and that value is not reported, and that value is not the model defined 
default value, then we have an operability problem.
If some systems report it one way, and some systems report it another 
way, then we probably have an interoperability problem.

 From the text below, I would have concluded that you were suggesting 
that the value the system is using should appear in a "config false" 
node, separate from the "config true" node used to set the value.  As I 
said to Juergen, I can live with that.  However, from your previous 
strident responses, I presume that is not what you intended to communicate.

Yours,
Joel

Phil Shafer wrote:
> "tom.petch" writes:
>> ----- Original Message -----
>> From: "Andy Bierman" <andy@netconfcentral.com>
>>> I can agree with Phil that 'config' I did not set
>>> is not really config -- if the YANG and with-defaults
>>> draft specify the same thing correctly.
>>>
>>> But if it is not config when an instance exists
>>> because the server created it, then it must be
>>> operational state.  So it MUST be retrievable,
>>> in order to support applications (NETCONF was chartered
>>> to get away from screen-scraping).
>> Andy,
>>
>> I agree, it MUST be retrievable.
>>
>> For Configuration purposes,
>> I would prefer to stay with 'everything writable is config'
>> and what has been set (by anyone outside the server, not
>> as part of operational state or by server) is perforce a
>> subset of that, and Netconf has the option to
>> retrieve all or the subset.
> 
> Here's a proposal:
> 
> Let's make "default" an error for "config false" data.
> 
> This means that operational data values cannot default
> to a YANG-specified value.  If you want them, you must
> emit them.
> 
> This should end the comments about having to read documentation to
> find default values.
> 
> It should also clarify the role of default in a YANG module.
> 
> And it should cost almost nothing.
> 
> Thanks,
>  Phil
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 

From j.schoenwaelder@jacobs-university.de  Tue Sep  1 12:35:30 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 44A6B3A6CBD for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:35:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.154
X-Spam-Level: 
X-Spam-Status: No, score=-2.154 tagged_above=-999 required=5 tests=[AWL=0.095,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cGSWK1k92qhr for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:35:29 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 7787B3A68A5 for <netmod@ietf.org>; Tue,  1 Sep 2009 12:35:28 -0700 (PDT)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id C79F2C002A for <netmod@ietf.org>; Tue,  1 Sep 2009 21:35:11 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id PsoVIX9pdnRU; Tue,  1 Sep 2009 21:35:09 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id BBB6EC000C; Tue,  1 Sep 2009 21:35:09 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 68B79C8B502; Tue,  1 Sep 2009 21:35:08 +0200 (CEST)
Date: Tue, 1 Sep 2009 21:35:08 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: netmod@ietf.org
Message-ID: <20090901193508.GA9782@elstar.local>
Mail-Followup-To: netmod@ietf.org
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="FCuugMFkClbJLl1L"
Content-Disposition: inline
User-Agent: Mutt/1.5.20 (2009-06-14)
Subject: [netmod] Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 19:35:30 -0000

--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

I propose to add a section to the architecture document defining and
discussing the difference between configuration data, operational
state data, and statistics. I attaching some draft writeup explaining
the background, providing a definition and some examples we discussed
here on the list. I am also including a section discussing potential
approaches to deal with operational state data. This is more for
discussion rather than inclusion in the architecture document.

/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/>

--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="NETCONF.txt"

* Configuration Data versus Operational State Data versus Statistics

The distinction between configuration data, operational state data,
and statistics is important to understand for data model writers and
people who plan to extend the NETCONF protocol. This section first
discusses some background and then provides a definition and some
examples.

** Background

During the IAB Network Management Workshop documented in RFC
3535, operators did formulate the following two requirements:

 2.  It is necessary to make a clear distinction between
     configuration data, data that describes operational state
     and statistics.  Some devices make it very hard to determine
     which parameters were administratively configured and which
     were obtained via other mechanisms such as routing
     protocols.

 3.  It is required to be able to fetch separately configuration
     data, operational state data, and statistics from devices,
     and to be able to compare these between devices.

The NETCONF protocol defined in RFC 4741 distinguishes two types
of data, namely configuration data and state data:

   Configuration data is the set of writable data that is
   required to transform a system from its initial default state
   into its current state.

   State data is the additional data on a system that is not
   configuration data such as read-only status information and
   collected statistics.

Obviously, the distinction formulated by the operators between
configuration data, operational state data, and statistical data
has not been maintained in the design of NETCONF.

** Definitions

Below is a definition for configuration data, operational state data,
and statistical data. The definition borrows from previous work.

- Configuration data is the set of writable data that is required to
  transform a system from its initial default state into its current
  state. [RFC 4741]

- Operational state data is a set of data that has been obtained by
  the system at runtime and influences the system's behaviour similar
  to configuration data. In contrast to configuration data,
  operational state is transient and modified by interactions with
  internal components or other systems via specialized protocols.

- Statistical data is the set of read-only data created by a system
  itself. It reports the status and performance of the system and its
  components.

To clarify the difference between configuration data, operational
state data and statistics, we will discuss some examples.

*** Example 1: IP Routing Table

IP routing tables can contain entries that are statically configured
(configuration data) as well as entries obtained from routing
protocols such as OSPF (operational state data). In addition, a
routing engine might collect statistics like how often a particular
routing table entry has been used.

*** Example 2: Interfaces

Network interfaces usually comes with a large number of attributes
that are specific to the interface type and in some cases specific to
the cable plugged into an interface. Examples are the maximum
transmission unit of an interface or the speed detected by an Ethernet
interface.

In many deployments, systems use the interface attributes detected
when an interface is initialized. As such, these attributes constitute
operational state. However, there are usually provisions to overwrite
the discovered attributes with static configuration data, like for
example configuring the interface MTU to use a specific value or
forcing an Ethernet interface to run at a given speed.

*** Example 3: Account Information

Systems usually maintain static configuration information about the
accounts on the system. In addition, systems can obtain information
about accounts from other sources (e.g. LDAP, NIS) dynamically,
leading to operational state data. Information about account usage are
examples of statistic data. Note that configuration data supplied to a
system in order to create a new account might be supplemented with
additional configuration information determined by the system when the
account is being created (such as a unique account id). Even though
the system might create such information, it usually becomes part of
the static configuration of the system since this data is not
transient.

** Implications

The primary focus of YANG 1.0 is configuration data. At the time of
this writing, the WG has not yet a clear idea how to best deal with
the separation of operational state data and statistics since NETCONF
treats them both as state data. There are different options to tackle
this problem:

*** Data Models

The first option is to have data models that provide explicitly
differentiate between configuration data and operational state data.
This leads to duplication of data structures and might not scale well
from a modeling perspective.

*** Additional Operations to Retrieve Operational State

The NETCONF protocol can be extended with new protocol operations that
specifically allow the retrieval of all operational state, e.g. by
introducing a get-ops() operation (and perhaps also a get-stats()
operation).

*** Introduction of an Operational State Datastore

Another option could be to introduce a new "configuration" data store
that represents the operational state. A get-config() on the
<operational> data store would then return the operational state
determining the behaviour of the box instead of its static and
explicit configuration state.

*** New Options to Change Access to the Running Datastore

New options can be introduced to change the behaviour of existing
protocol operations so that they return not only the configuration
data but in addition operational state data. The -with-defaults
proposal is kind of going into that direction but it should be noted
that this approach assumes that operational state is always a proper
super-set of configuration state, which might not always be true. A
typical example is an interface statically configured to automatically
select the speed while the operational state includes the actually
selected speed.

--FCuugMFkClbJLl1L--

From phil@juniper.net  Tue Sep  1 12:35:33 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C46973A68A5 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:35:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.573
X-Spam-Level: 
X-Spam-Status: No, score=-6.573 tagged_above=-999 required=5 tests=[AWL=0.026,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id POr76XMFgw75 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:35:33 -0700 (PDT)
Received: from exprod7og111.obsmtp.com (exprod7og111.obsmtp.com [64.18.2.175]) by core3.amsl.com (Postfix) with ESMTP id 265C03A6BC8 for <netmod@ietf.org>; Tue,  1 Sep 2009 12:35:32 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob111.postini.com ([64.18.6.12]) with SMTP ID DSNKSp13calOGoHdjra2lbt5hFBs8kwqnRtX@postini.com; Tue, 01 Sep 2009 12:35:47 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.71) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 1 Sep 2009 12:32:34 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 12:32:34 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 12:32:34 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 12:32:33 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n81JWXd95127; Tue, 1 Sep 2009 12:32:33 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n81JKT1I093197; Tue, 1 Sep 2009 19:20:29 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909011920.n81JKT1I093197@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9D45D0.4060905@netconfcentral.com> 
Date: Tue, 1 Sep 2009 15:20:29 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 01 Sep 2009 19:32:33.0872 (UTC) FILETIME=[F4356D00:01CA2B3A]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: [netmod] issue: adding defaults in new revisions [was Re: database + defaults = broken]
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 19:35:33 -0000

Andy Bierman writes:
>Revisions are optional, and a default can
>be added over time.

The overriding rule is:

   ... However, changes are not allowed if they have any potential
   to cause interoperability problems between a client using an
   original specification and a server using an updated specification.

Proposals:

(a) Default statements cannot be added in new revisions of a module.

(b) Default statements cannot be added in new revisions of a module
unless that module contains a revision statement.

(c) No changes can be made to a module unless it contains a revision
statement.

(b) and (c) could be done with by changing:

   For any published change, a new "revision" statement (^revision^)
-  SHOULD be included in front of the existing revision statements.
+  MUST be included in front of the existing revision statements.

or making two classes of ways a module can be changed, and requiring
revisions for any changes with a potential to cause interoperability
problems.

Thanks,
 Phil

From andy@netconfcentral.com  Tue Sep  1 12:49:54 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6335F3A6FA6 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:49:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.206
X-Spam-Level: 
X-Spam-Status: No, score=-2.206 tagged_above=-999 required=5 tests=[AWL=-0.207, BAYES_00=-2.599, J_CHICKENPOX_65=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WPR7k9Jue9C2 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:49:53 -0700 (PDT)
Received: from n19.bullet.mail.mud.yahoo.com (n19.bullet.mail.mud.yahoo.com [68.142.206.146]) by core3.amsl.com (Postfix) with SMTP id D29B93A708F for <netmod@ietf.org>; Tue,  1 Sep 2009 12:48:54 -0700 (PDT)
Received: from [68.142.200.224] by n19.bullet.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 19:44:56 -0000
Received: from [68.142.201.247] by t5.bullet.mud.yahoo.com with NNFMP; 01 Sep 2009 19:44:56 -0000
Received: from [127.0.0.1] by omp408.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 19:44:56 -0000
X-Yahoo-Newman-Id: 789494.94985.bm@omp408.mail.mud.yahoo.com
Received: (qmail 72146 invoked from network); 1 Sep 2009 19:44:56 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp104.sbc.mail.sp1.yahoo.com with SMTP; 1 Sep 2009 19:44:55 -0000
X-YMail-OSG: ENUwl6gVM1mTu8VMztSoxYqYHMj9iPUft_FtwGx7ooCkjohxjo2VevqbIZD3jvYaBbxt448JsiifUJUkZ7xqqvtA4Plk614Ze1mfA.QKpKUNu0roVzZAPhXQxtGZihMnkA.pZbTkuAo4ieJnkZBOaTP27qfEgmVGo4Q1UePOflYDD4sA7cYHpaGrDwsl2tWrTDmty5pV.BsZE7jFrcTXOQLoBfcvfk..X_fFj_RjIXOBQIA-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D794C.3000808@netconfcentral.com>
Date: Tue, 01 Sep 2009 12:43:08 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "Joel M. Halpern" <jmh@joelhalpern.com>
References: <200909011806.n81I6W6M092259@idle.juniper.net> <4A9D7469.7030006@joelhalpern.com>
In-Reply-To: <4A9D7469.7030006@joelhalpern.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal:  no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 19:49:54 -0000

Joel M. Halpern wrote:
> I have a strong suspicion that we are talking past each other.
> 
> The issue I believe Andy has, and I know I have, is with a "config true"
> which is given a value by the system, but where that value is not
> reported to a client application either in a regular get or in get with
> all defaults.
> 
> If the system is using a value for a "config true" node,
> and that value is not reported, and that value is not the model defined
> default value, then we have an operability problem.
> If some systems report it one way, and some systems report it another
> way, then we probably have an interoperability problem.
> 
> From the text below, I would have concluded that you were suggesting
> that the value the system is using should appear in a "config false"
> node, separate from the "config true" node used to set the value.  As I
> said to Juergen, I can live with that.

I do not understand why, if the
data is tagged config=false, it is somehow less
potentially useful to the operator.
What is the correlation I am missing here?

What about the deviations and no-revision-date corner-cases?
I thought deterministic behavior across versions, platforms,
and vendors was our goal here.  I don't understand why
the functional requirements for network-related data retrieval
established through 2 decades of standards work should be
ignored, and the bar should be lowered for NETCONF.

In SNMP you can get an exact piece of data (get foo.1.2.3).
Not in NETCONF.  In SNMP, if foo.1.2.3 exists then you
can get its value, otherwise it does not exist. Simple yet powerful.
(modulo VACM, of course).


  However, from your previous
> strident responses, I presume that is not what you intended to communicate.
> 
> Yours,
> Joel


Andy


> 
> Phil Shafer wrote:
>> "tom.petch" writes:
>>> ----- Original Message -----
>>> From: "Andy Bierman" <andy@netconfcentral.com>
>>>> I can agree with Phil that 'config' I did not set
>>>> is not really config -- if the YANG and with-defaults
>>>> draft specify the same thing correctly.
>>>>
>>>> But if it is not config when an instance exists
>>>> because the server created it, then it must be
>>>> operational state.  So it MUST be retrievable,
>>>> in order to support applications (NETCONF was chartered
>>>> to get away from screen-scraping).
>>> Andy,
>>>
>>> I agree, it MUST be retrievable.
>>>
>>> For Configuration purposes,
>>> I would prefer to stay with 'everything writable is config'
>>> and what has been set (by anyone outside the server, not
>>> as part of operational state or by server) is perforce a
>>> subset of that, and Netconf has the option to
>>> retrieve all or the subset.
>>
>> Here's a proposal:
>>
>> Let's make "default" an error for "config false" data.
>>
>> This means that operational data values cannot default
>> to a YANG-specified value.  If you want them, you must
>> emit them.
>>
>> This should end the comments about having to read documentation to
>> find default values.
>>
>> It should also clarify the role of default in a YANG module.
>>
>> And it should cost almost nothing.
>>
>> Thanks,
>>  Phil
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
>>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 



From jmh@joelhalpern.com  Tue Sep  1 12:49:58 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E80713A6910 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:49:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.235
X-Spam-Level: 
X-Spam-Status: No, score=-3.235 tagged_above=-999 required=5 tests=[AWL=-0.236, BAYES_00=-2.599, J_CHICKENPOX_65=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wf5EePCC9n9b for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:49:58 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 672283A6C71 for <netmod@ietf.org>; Tue,  1 Sep 2009 12:49:51 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 1DDB74303C6; Tue,  1 Sep 2009 12:49:08 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [192.168.1.9] (pool-173-59-34-176.phlapa.fios.verizon.net [173.59.34.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 794F44303C8; Tue,  1 Sep 2009 12:49:07 -0700 (PDT)
Message-ID: <4A9D7AB2.90006@joelhalpern.com>
Date: Tue, 01 Sep 2009 15:49:06 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>
References: <200909011806.n81I6W6M092259@idle.juniper.net> <4A9D7469.7030006@joelhalpern.com> <4A9D794C.3000808@netconfcentral.com>
In-Reply-To: <4A9D794C.3000808@netconfcentral.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal:  no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 19:49:59 -0000

Andy, sorry, I have no idea what you are getting at.
I was trying to suggest again that having a "config false" node with the 
data, which is reported, would be a way to have the data reported.
I realize I am repeating myself, and apologize for that.
I was repeating myself because although when I said it last Phill had 
strongly objected to that approach, it is what he seems to be suggesting 
in the note I was responding to.

I think that this is somehow related to Phil's proposed new operation, 
which I also did not understand.  <get-operational-data> sounds to me 
like a <get> which happens to target only "config false" nodes.

Yours,
joel

Andy Bierman wrote:
> Joel M. Halpern wrote:
>> I have a strong suspicion that we are talking past each other.
>>
>> The issue I believe Andy has, and I know I have, is with a "config true"
>> which is given a value by the system, but where that value is not
>> reported to a client application either in a regular get or in get with
>> all defaults.
>>
>> If the system is using a value for a "config true" node,
>> and that value is not reported, and that value is not the model defined
>> default value, then we have an operability problem.
>> If some systems report it one way, and some systems report it another
>> way, then we probably have an interoperability problem.
>>
>> From the text below, I would have concluded that you were suggesting
>> that the value the system is using should appear in a "config false"
>> node, separate from the "config true" node used to set the value.  As I
>> said to Juergen, I can live with that.
> 
> I do not understand why, if the
> data is tagged config=false, it is somehow less
> potentially useful to the operator.
> What is the correlation I am missing here?
> 
> What about the deviations and no-revision-date corner-cases?
> I thought deterministic behavior across versions, platforms,
> and vendors was our goal here.  I don't understand why
> the functional requirements for network-related data retrieval
> established through 2 decades of standards work should be
> ignored, and the bar should be lowered for NETCONF.
> 
> In SNMP you can get an exact piece of data (get foo.1.2.3).
> Not in NETCONF.  In SNMP, if foo.1.2.3 exists then you
> can get its value, otherwise it does not exist. Simple yet powerful.
> (modulo VACM, of course).
> 
> 
>   However, from your previous
>> strident responses, I presume that is not what you intended to communicate.
>>
>> Yours,
>> Joel
> 
> 
> Andy
> 
> 
>> Phil Shafer wrote:
>>> "tom.petch" writes:
>>>> ----- Original Message -----
>>>> From: "Andy Bierman" <andy@netconfcentral.com>
>>>>> I can agree with Phil that 'config' I did not set
>>>>> is not really config -- if the YANG and with-defaults
>>>>> draft specify the same thing correctly.
>>>>>
>>>>> But if it is not config when an instance exists
>>>>> because the server created it, then it must be
>>>>> operational state.  So it MUST be retrievable,
>>>>> in order to support applications (NETCONF was chartered
>>>>> to get away from screen-scraping).
>>>> Andy,
>>>>
>>>> I agree, it MUST be retrievable.
>>>>
>>>> For Configuration purposes,
>>>> I would prefer to stay with 'everything writable is config'
>>>> and what has been set (by anyone outside the server, not
>>>> as part of operational state or by server) is perforce a
>>>> subset of that, and Netconf has the option to
>>>> retrieve all or the subset.
>>> Here's a proposal:
>>>
>>> Let's make "default" an error for "config false" data.
>>>
>>> This means that operational data values cannot default
>>> to a YANG-specified value.  If you want them, you must
>>> emit them.
>>>
>>> This should end the comments about having to read documentation to
>>> find default values.
>>>
>>> It should also clarify the role of default in a YANG module.
>>>
>>> And it should cost almost nothing.
>>>
>>> Thanks,
>>>  Phil
>>> _______________________________________________
>>> netmod mailing list
>>> netmod@ietf.org
>>> https://www.ietf.org/mailman/listinfo/netmod
>>>
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
>>
> 
> 
> 

From phil@juniper.net  Tue Sep  1 12:53:05 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 22FD33A686D for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:53:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.573
X-Spam-Level: 
X-Spam-Status: No, score=-6.573 tagged_above=-999 required=5 tests=[AWL=0.026,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iqZRP7T2vGby for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:53:04 -0700 (PDT)
Received: from exprod7og117.obsmtp.com (exprod7og117.obsmtp.com [64.18.2.6]) by core3.amsl.com (Postfix) with ESMTP id 3E5B728C9A2 for <netmod@ietf.org>; Tue,  1 Sep 2009 12:53:04 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob117.postini.com ([64.18.6.12]) with SMTP ID DSNKSp17kvUdL2Tp1i7aWsXROT+jR27Ip3no@postini.com; Tue, 01 Sep 2009 12:53:18 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 1 Sep 2009 12:42:12 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 12:42:12 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 12:42:12 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 12:42:12 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n81JgBd99506; Tue, 1 Sep 2009 12:42:11 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n81JU7WS093379; Tue, 1 Sep 2009 19:30:07 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909011930.n81JU7WS093379@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9D73CC.7050903@netconfcentral.com> 
Date: Tue, 1 Sep 2009 15:30:06 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 01 Sep 2009 19:42:12.0040 (UTC) FILETIME=[4CD2DC80:01CA2B3C]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] meaning of default
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 19:53:05 -0000

Andy Bierman writes:
>You want to force your way of thinking on everybody
>else by insisting that your server does not need
>to ever make the full data-set available to any client,
>or to even let the client know what sort of 'server-pruning'
>is being done.

The current scheme in YANG allows the server to behave in any of
the three styles listed in the with-defaults draft.  We have
sufficient flexibility to allow you to work the way you want, and
to allow others to work the way they work.  This is good.

Thanks,
 Phil

From andy@netconfcentral.com  Tue Sep  1 12:53:06 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 510263A6A8E for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:53:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.504
X-Spam-Level: 
X-Spam-Status: No, score=-2.504 tagged_above=-999 required=5 tests=[AWL=0.095,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gvoCFesqc81J for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:53:05 -0700 (PDT)
Received: from n9.bullet.mail.mud.yahoo.com (n9.bullet.mail.mud.yahoo.com [209.191.86.157]) by core3.amsl.com (Postfix) with SMTP id 737C03A686D for <netmod@ietf.org>; Tue,  1 Sep 2009 12:53:05 -0700 (PDT)
Received: from [68.142.200.227] by n9.bullet.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 19:52:50 -0000
Received: from [68.142.201.73] by t8.bullet.mud.yahoo.com with NNFMP; 01 Sep 2009 19:52:50 -0000
Received: from [127.0.0.1] by omp425.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 19:52:50 -0000
X-Yahoo-Newman-Id: 549754.14275.bm@omp425.mail.mud.yahoo.com
Received: (qmail 78903 invoked from network); 1 Sep 2009 19:52:50 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp104.sbc.mail.sp1.yahoo.com with SMTP; 1 Sep 2009 19:52:49 -0000
X-YMail-OSG: yjWY5.oVM1mJ59y_Pyx8IJMgLrLXpVCWp60vOQ2_djeH2wgIFjMuO347h7i2.wrC5hAKYKvbvk05SYDeD5WWe5uIDS1xeXOait0Pbyj4im0u9bWKCGkQwiWpKr3FreXAbHzcEXAI_SCp5f232Zs6tVkaK9MrSmQFb1l2_pJGnY5gEEbVmxsAGAJK1l0L8SH91rRe92wJ7JRMn7E-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D7BA2.8020803@netconfcentral.com>
Date: Tue, 01 Sep 2009 12:53:06 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909011930.n81JU7WS093379@idle.juniper.net>
In-Reply-To: <200909011930.n81JU7WS093379@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] meaning of default
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 19:53:06 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> You want to force your way of thinking on everybody
>> else by insisting that your server does not need
>> to ever make the full data-set available to any client,
>> or to even let the client know what sort of 'server-pruning'
>> is being done.
> 
> The current scheme in YANG allows the server to behave in any of
> the three styles listed in the with-defaults draft.  We have
> sufficient flexibility to allow you to work the way you want, and
> to allow others to work the way they work.  This is good.
> 

no it does not allow for the 3 current schemes.
That is nonsense.  The draft clearly says that
database = leafs + YANG default-stmt leafs.
There is no text then even suggests anything
other than that.


> Thanks,
>  Phil
> 

Andy


From mbj@tail-f.com  Tue Sep  1 12:55:00 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A1BF13A69A2 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:55:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.007
X-Spam-Level: 
X-Spam-Status: No, score=-2.007 tagged_above=-999 required=5 tests=[AWL=0.039,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29M354RQ8z7C for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:54:59 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 96B313A69D9 for <netmod@ietf.org>; Tue,  1 Sep 2009 12:54:59 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 4D40876C4A1; Tue,  1 Sep 2009 21:54:57 +0200 (CEST)
Date: Tue, 01 Sep 2009 21:54:57 +0200 (CEST)
Message-Id: <20090901.215457.12686984.mbj@tail-f.com>
To: lhotka@cesnet.cz
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <1251825583.4542.24.camel@missotis>
References: <1251821133.4542.13.camel@missotis> <4A9D49D5.6060806@joelhalpern.com> <1251825583.4542.24.camel@missotis>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=utf-8
Content-Transfer-Encoding: base64
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 19:55:00 -0000

TGFkaXNsYXYgTGhvdGthIDxsaG90a2FAY2VzbmV0LmN6PiB3cm90ZToNCj4gSm9lbCBNLiBIYWxw
ZXJuIHDDrcWhZSB2IMOadCAwMS4gMDkuIDIwMDkgdiAxMjoyMCAtMDQwMDoNCj4gPiBTb3JyeSwg
SSBoYXZlIG5vIGlkZWEgd2hhdCB5b3UgYXJlIGdldHRpbmcgYXQgLyBhc2tpbmcgZm9yLg0KPiA+
IChJIGNhbiBwcm92aWRlIHR3byBwb3NzaWJsZSBpbnRlcnByZXRhdGlvbnMsIG9uZSBvZiB3aGlj
aCB3b3VsZCBiZSBmaW5lIA0KPiA+IGFuZCBvbmUgb2Ygd2hpY2ggSSB3b3VsZCBjb21wbGV0ZWx5
IGRpc2FncmVlIHdpdGguICBBbmQgd2hhdCB5b3UgbWVhbnQgDQo+ID4gaXMgcHJvYmFibHkgbmVp
dGhlciBvbmUuKQ0KPiA+IFdvdWxkIHlvdSBwbGVhc2UgY2xhcmlmeSB0byB0aGUgbGlzdD8NCj4g
DQo+IE15IHBvaW50IHNpbXBseSBpcyB0aGF0IHRoZSAic2VydmVyIE1VU1QgdXNlIiBsYW5ndWFn
ZSBtaXNsZWQgbWUgaW50bw0KPiB0aGlua2luZyB0aGF0IHRoZSAnZGVmYXVsdCcgc3RhdGVtZW50
IHByZXZlbnRzIHRoZSBkZXZpY2UgZnJvbSBkb2luZyBhKSwNCj4gd2hpY2ggaXMgbm90IHRoZSBj
YXNlLA0KDQpXZWxsLCB0aGF0IHdhcyB0aGUgaW50ZW50aW9uLiAgSWYgdGhlcmUgaXMgYSAnZGVm
YXVsdCcgc3RhdGVtZW50LCBpdA0KcHJldmVudHMgdGhlIHNlcnZlciBmcm9tIGlnbm9yaW5nIGl0
LiANCg0KV2h5IGRvIHNheSB0aGF0IHRoaXMgaXMgbm90IHRoZSBjYXNlPw0KDQoNCi9tYXJ0aW4N
Cg0KPiA+IExhZGlzbGF2IExob3RrYSB3cm90ZToNCj4gPiA+IEpvZWwgTS4gSGFscGVybiBww63F
oWUgdiDDmnQgMDEuIDA5LiAyMDA5IHYgMDk6MzEgLTA0MDA6DQo+ID4gPj4gVW5mb3J0dW5hdGVs
eSwgd2hpbGUgSSBsaWtlIHRoaXMgY2FzZSwgaXQgZG9lcyBub3QsIGFzIGZhciBhcyBJIGNhbiAN
Cj4gPiA+PiB0ZWxsLCBzb2x2ZSB0aGUgcHJvYmxlbSBhdCBoYW5kLg0KPiA+ID4+DQo+ID4gPj4g
QSBudW1iZXIgb2YgZm9sa3MgaGF2ZSBhcmd1ZWQgdGhhdCBlaXRoZXINCj4gPiA+PiBhKSB0aGUg
bWFuYWdlZCBkZXZpY2UgaXMgZnJlZSB0byBzZXQgdGhlIG5vZGUgdG8gc29tZSBvdGhlciB2YWx1
ZSwgZXZlbiANCj4gPiA+PiBpZiBpdCBoYXMgYSBkZWZhdWx0IGRlZmluaXRpb24sIGFuZCB0byBz
dGlsbCB0cmVhdCB0aGF0IGFzIGEgZGVmYXVsdCANCj4gPiA+PiB2YWx1ZWQgbm9kZQ0KPiA+ID4+
IGIpIHRoZSBtYW5hZ2VkIGRldmljZSBpcyBmcmVlIHRvIHNldCBub2RlcyB3aXRob3V0IGRlZmF1
bHQgdG8gc29tZSANCj4gPiA+PiB2YWx1ZSwgYW5kIG5vdCByZXBvcnQgdGhhdCB2YWx1ZSBpbiBy
ZXNwb25zZSB0byBnZXQgcmVxdWVzdHMgb2YgYW55IGtpbmQuDQo+ID4gPiANCj4gPiA+IFRoZSB0
ZXh0IG5vdyBzcGVjaWZpZXMgdGhhdCB1bmRlciBjZXJ0YWluIGNvbmRpdGlvbnMgdGhlIGNvbmZp
Z3VyYXRpb24NCj4gPiA+IHdpdGhvdXQgdGhlIGxlYWYgaXMgZXF1aXZhbGVudCB0byBvbmUgaW4g
d2hpY2ggdGhlIGxlYWYgaXMgcHJlc2VudCBhbmQNCj4gPiA+IHNldCB0byB0aGUgZGVmYXVsdCB2
YWx1ZS4gSG93ZXZlciwgZm9ybXVsYXRpb25zIGxpa2UgInNlcnZlciBNVVNUIHVzZQ0KPiA+ID4g
dGhlIGRlZmF1bHQiIHZhbHVlIG1heSBiZSB1bmRlcnN0b29kIGFzIGlmIHRoZSBzZXJ2ZXIgaXMg
bm90IGFsbG93ZWQgdG8NCj4gPiA+IGFzc2lnbiBhIHZhbHVlIHVuaWxhdGVyYWxseS4gU28gaXQg
bWlnaHQgYmUgYWN0dWFsbHkgYmV0dGVyIHRvIHRhbGsNCj4gPiA+IGFib3V0IGVxdWl2YWxlbmNl
IG9mIGNvbmZpZ3VyYXRpb25zLCBhbHNvIGJlY2F1c2UgaXQgY2FuIGJlIGVhc2lseQ0KPiA+ID4g
YXBwbGllZCB0byBkYXRhc3RvcmVzIG90aGVyIHRoYW4gcnVubmluZy4NCj4gPiA+IA0KPiA+ID4g
TGFkYQ0KPiAtLSANCj4gTGFkaXNsYXYgTGhvdGthLCBDRVNORVQNCj4gUEdQIEtleSBJRDogRTc0
RThDMEMNCj4gDQo+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fDQo+IG5ldG1vZCBtYWlsaW5nIGxpc3QNCj4gbmV0bW9kQGlldGYub3JnDQo+IGh0dHBzOi8v
d3d3LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8vbmV0bW9kDQo=

From andy@netconfcentral.com  Tue Sep  1 12:57:37 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 137A53A6BED for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:57:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.905
X-Spam-Level: 
X-Spam-Status: No, score=-1.905 tagged_above=-999 required=5 tests=[AWL=-0.506, BAYES_00=-2.599, J_CHICKENPOX_64=0.6, J_CHICKENPOX_65=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LriXjTV3QyA5 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:57:36 -0700 (PDT)
Received: from n11.bullet.mail.mud.yahoo.com (n11.bullet.mail.mud.yahoo.com [209.191.125.210]) by core3.amsl.com (Postfix) with SMTP id 18CED3A6AAD for <netmod@ietf.org>; Tue,  1 Sep 2009 12:57:36 -0700 (PDT)
Received: from [68.142.200.221] by n11.bullet.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 19:57:00 -0000
Received: from [68.142.201.244] by t9.bullet.mud.yahoo.com with NNFMP; 01 Sep 2009 19:57:00 -0000
Received: from [127.0.0.1] by omp405.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 19:57:00 -0000
X-Yahoo-Newman-Id: 837609.47172.bm@omp405.mail.mud.yahoo.com
Received: (qmail 46426 invoked from network); 1 Sep 2009 19:57:00 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp103.sbc.mail.sp1.yahoo.com with SMTP; 1 Sep 2009 19:56:59 -0000
X-YMail-OSG: 1JkTV2wVM1nHaXqRbUTqZBAqZGIMIXiostUtpkwmXaPX4k9xi_TPG37e5zBRWiKiUkMFqiW7QzKqL5bkFEqrvtzgrjJAxZ.ZbkvYHxcWKN9V8_oL.veVsbmq6QVDY0AwTJAWUYmcTQVi3QBZtY0fRtQwhGryLHAJA8nFzKGqHyTVoyFall1c_BZn4cEpNNPtohBKcEo8SdYbQGBOhOr5GVF2JT_2zZd1ttrgMzL5kXSOFeE-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D7C9C.7040004@netconfcentral.com>
Date: Tue, 01 Sep 2009 12:57:16 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "Joel M. Halpern" <jmh@joelhalpern.com>
References: <200909011806.n81I6W6M092259@idle.juniper.net> <4A9D7469.7030006@joelhalpern.com> <4A9D794C.3000808@netconfcentral.com> <4A9D7AB2.90006@joelhalpern.com>
In-Reply-To: <4A9D7AB2.90006@joelhalpern.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal:  no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 19:57:37 -0000

Joel M. Halpern wrote:
> Andy, sorry, I have no idea what you are getting at.
> I was trying to suggest again that having a "config false" node with the
> data, which is reported, would be a way to have the data reported.
> I realize I am repeating myself, and apologize for that.
> I was repeating myself because although when I said it last Phill had
> strongly objected to that approach, it is what he seems to be suggesting
> in the note I was responding to.
> 


sorry -- I misread what you meant by your comment.

I cannot live with a solution where a
YANG object that is config=true,
but <*-config> operations do not work.

Ditto for a solution where
a YANG object that is config=false,
but <*-config> operations do work.

Maybe that is not what you are talking about either.



> I think that this is somehow related to Phil's proposed new operation,
> which I also did not understand.  <get-operational-data> sounds to me
> like a <get> which happens to target only "config false" nodes.
> 
> Yours,
> joel

Andy


> 
> Andy Bierman wrote:
>> Joel M. Halpern wrote:
>>> I have a strong suspicion that we are talking past each other.
>>>
>>> The issue I believe Andy has, and I know I have, is with a "config true"
>>> which is given a value by the system, but where that value is not
>>> reported to a client application either in a regular get or in get with
>>> all defaults.
>>>
>>> If the system is using a value for a "config true" node,
>>> and that value is not reported, and that value is not the model defined
>>> default value, then we have an operability problem.
>>> If some systems report it one way, and some systems report it another
>>> way, then we probably have an interoperability problem.
>>>
>>> From the text below, I would have concluded that you were suggesting
>>> that the value the system is using should appear in a "config false"
>>> node, separate from the "config true" node used to set the value.  As I
>>> said to Juergen, I can live with that.
>>
>> I do not understand why, if the
>> data is tagged config=false, it is somehow less
>> potentially useful to the operator.
>> What is the correlation I am missing here?
>>
>> What about the deviations and no-revision-date corner-cases?
>> I thought deterministic behavior across versions, platforms,
>> and vendors was our goal here.  I don't understand why
>> the functional requirements for network-related data retrieval
>> established through 2 decades of standards work should be
>> ignored, and the bar should be lowered for NETCONF.
>>
>> In SNMP you can get an exact piece of data (get foo.1.2.3).
>> Not in NETCONF.  In SNMP, if foo.1.2.3 exists then you
>> can get its value, otherwise it does not exist. Simple yet powerful.
>> (modulo VACM, of course).
>>
>>
>>   However, from your previous
>>> strident responses, I presume that is not what you intended to
>>> communicate.
>>>
>>> Yours,
>>> Joel
>>
>>
>> Andy
>>
>>
>>> Phil Shafer wrote:
>>>> "tom.petch" writes:
>>>>> ----- Original Message -----
>>>>> From: "Andy Bierman" <andy@netconfcentral.com>
>>>>>> I can agree with Phil that 'config' I did not set
>>>>>> is not really config -- if the YANG and with-defaults
>>>>>> draft specify the same thing correctly.
>>>>>>
>>>>>> But if it is not config when an instance exists
>>>>>> because the server created it, then it must be
>>>>>> operational state.  So it MUST be retrievable,
>>>>>> in order to support applications (NETCONF was chartered
>>>>>> to get away from screen-scraping).
>>>>> Andy,
>>>>>
>>>>> I agree, it MUST be retrievable.
>>>>>
>>>>> For Configuration purposes,
>>>>> I would prefer to stay with 'everything writable is config'
>>>>> and what has been set (by anyone outside the server, not
>>>>> as part of operational state or by server) is perforce a
>>>>> subset of that, and Netconf has the option to
>>>>> retrieve all or the subset.
>>>> Here's a proposal:
>>>>
>>>> Let's make "default" an error for "config false" data.
>>>>
>>>> This means that operational data values cannot default
>>>> to a YANG-specified value.  If you want them, you must
>>>> emit them.
>>>>
>>>> This should end the comments about having to read documentation to
>>>> find default values.
>>>>
>>>> It should also clarify the role of default in a YANG module.
>>>>
>>>> And it should cost almost nothing.
>>>>
>>>> Thanks,
>>>>  Phil
>>>> _______________________________________________
>>>> netmod mailing list
>>>> netmod@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/netmod
>>>>
>>> _______________________________________________
>>> netmod mailing list
>>> netmod@ietf.org
>>> https://www.ietf.org/mailman/listinfo/netmod
>>>
>>
>>
>>
> 



From mbj@tail-f.com  Tue Sep  1 12:58:24 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 39C0E3A6F9D for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:58:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.008
X-Spam-Level: 
X-Spam-Status: No, score=-2.008 tagged_above=-999 required=5 tests=[AWL=0.038,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FKree8nuMNyz for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 12:58:21 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id EC48C3A68A6 for <netmod@ietf.org>; Tue,  1 Sep 2009 12:58:20 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 015D961A2C3; Tue,  1 Sep 2009 21:58:00 +0200 (CEST)
Date: Tue, 01 Sep 2009 21:58:00 +0200 (CEST)
Message-Id: <20090901.215800.167985517.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4A9D7BA2.8020803@netconfcentral.com>
References: <200909011930.n81JU7WS093379@idle.juniper.net> <4A9D7BA2.8020803@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] meaning of default
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 19:58:24 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Phil Shafer wrote:
> > The current scheme in YANG allows the server to behave in any of
> > the three styles listed in the with-defaults draft.  We have
> > sufficient flexibility to allow you to work the way you want, and
> > to allow others to work the way they work.  This is good.
> > 
> 
> no it does not allow for the 3 current schemes.
> That is nonsense.  The draft clearly says that
> database = leafs + YANG default-stmt leafs.
> There is no text then even suggests anything
> other than that.

I don't understand this.  I agree with Phil that the current scheme
allows the server to implement any of the 3 modes in the with-defaults
ID.  The reason it does is that it says:

  A NETCONF server that replies to a <get> or <get-config> request MAY
  choose not to send the leaf element if its value is the default
  value.  Thus, a client that receives an <rpc-reply> for a <get> or
  <get-config> request, MUST be prepared to handle the case that a
  leaf node with a default value is not present in the XML.  In this
  case, the value used by the server is known to be the default value.


/martin


From jmh@joelhalpern.com  Tue Sep  1 13:01:02 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 997993A6CBE for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:01:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.925
X-Spam-Level: 
X-Spam-Status: No, score=-2.925 tagged_above=-999 required=5 tests=[AWL=-0.526, BAYES_00=-2.599, J_CHICKENPOX_64=0.6, J_CHICKENPOX_65=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GQ4Zr2u3Xg4k for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:01:01 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id B434E3A7029 for <netmod@ietf.org>; Tue,  1 Sep 2009 13:01:01 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 6B2A74303CB; Tue,  1 Sep 2009 13:01:07 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [192.168.1.9] (pool-173-59-34-176.phlapa.fios.verizon.net [173.59.34.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id BC8274303AF; Tue,  1 Sep 2009 13:01:06 -0700 (PDT)
Message-ID: <4A9D7D82.8030202@joelhalpern.com>
Date: Tue, 01 Sep 2009 16:01:06 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>
References: <200909011806.n81I6W6M092259@idle.juniper.net> <4A9D7469.7030006@joelhalpern.com> <4A9D794C.3000808@netconfcentral.com> <4A9D7AB2.90006@joelhalpern.com> <4A9D7C9C.7040004@netconfcentral.com>
In-Reply-To: <4A9D7C9C.7040004@netconfcentral.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal:  no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 20:01:02 -0000

We are in agreement.  I was not suggesting either of those alternatives. 
  I would agree with you that those alternatives making the spec 
internally contradictory, and at the very best, confuse the reader. 
More likely they confuse a lot more and cause non-interoperability.

Joel

Andy Bierman wrote:
> Joel M. Halpern wrote:
>> Andy, sorry, I have no idea what you are getting at.
>> I was trying to suggest again that having a "config false" node with the
>> data, which is reported, would be a way to have the data reported.
>> I realize I am repeating myself, and apologize for that.
>> I was repeating myself because although when I said it last Phill had
>> strongly objected to that approach, it is what he seems to be suggesting
>> in the note I was responding to.
>>
> 
> 
> sorry -- I misread what you meant by your comment.
> 
> I cannot live with a solution where a
> YANG object that is config=true,
> but <*-config> operations do not work.
> 
> Ditto for a solution where
> a YANG object that is config=false,
> but <*-config> operations do work.
> 
> Maybe that is not what you are talking about either.
> 
> 
> 
>> I think that this is somehow related to Phil's proposed new operation,
>> which I also did not understand.  <get-operational-data> sounds to me
>> like a <get> which happens to target only "config false" nodes.
>>
>> Yours,
>> joel
> 
> Andy
> 
> 
>> Andy Bierman wrote:
>>> Joel M. Halpern wrote:
>>>> I have a strong suspicion that we are talking past each other.
>>>>
>>>> The issue I believe Andy has, and I know I have, is with a "config true"
>>>> which is given a value by the system, but where that value is not
>>>> reported to a client application either in a regular get or in get with
>>>> all defaults.
>>>>
>>>> If the system is using a value for a "config true" node,
>>>> and that value is not reported, and that value is not the model defined
>>>> default value, then we have an operability problem.
>>>> If some systems report it one way, and some systems report it another
>>>> way, then we probably have an interoperability problem.
>>>>
>>>> From the text below, I would have concluded that you were suggesting
>>>> that the value the system is using should appear in a "config false"
>>>> node, separate from the "config true" node used to set the value.  As I
>>>> said to Juergen, I can live with that.
>>> I do not understand why, if the
>>> data is tagged config=false, it is somehow less
>>> potentially useful to the operator.
>>> What is the correlation I am missing here?
>>>
>>> What about the deviations and no-revision-date corner-cases?
>>> I thought deterministic behavior across versions, platforms,
>>> and vendors was our goal here.  I don't understand why
>>> the functional requirements for network-related data retrieval
>>> established through 2 decades of standards work should be
>>> ignored, and the bar should be lowered for NETCONF.
>>>
>>> In SNMP you can get an exact piece of data (get foo.1.2.3).
>>> Not in NETCONF.  In SNMP, if foo.1.2.3 exists then you
>>> can get its value, otherwise it does not exist. Simple yet powerful.
>>> (modulo VACM, of course).
>>>
>>>
>>>   However, from your previous
>>>> strident responses, I presume that is not what you intended to
>>>> communicate.
>>>>
>>>> Yours,
>>>> Joel
>>>
>>> Andy
>>>
>>>
>>>> Phil Shafer wrote:
>>>>> "tom.petch" writes:
>>>>>> ----- Original Message -----
>>>>>> From: "Andy Bierman" <andy@netconfcentral.com>
>>>>>>> I can agree with Phil that 'config' I did not set
>>>>>>> is not really config -- if the YANG and with-defaults
>>>>>>> draft specify the same thing correctly.
>>>>>>>
>>>>>>> But if it is not config when an instance exists
>>>>>>> because the server created it, then it must be
>>>>>>> operational state.  So it MUST be retrievable,
>>>>>>> in order to support applications (NETCONF was chartered
>>>>>>> to get away from screen-scraping).
>>>>>> Andy,
>>>>>>
>>>>>> I agree, it MUST be retrievable.
>>>>>>
>>>>>> For Configuration purposes,
>>>>>> I would prefer to stay with 'everything writable is config'
>>>>>> and what has been set (by anyone outside the server, not
>>>>>> as part of operational state or by server) is perforce a
>>>>>> subset of that, and Netconf has the option to
>>>>>> retrieve all or the subset.
>>>>> Here's a proposal:
>>>>>
>>>>> Let's make "default" an error for "config false" data.
>>>>>
>>>>> This means that operational data values cannot default
>>>>> to a YANG-specified value.  If you want them, you must
>>>>> emit them.
>>>>>
>>>>> This should end the comments about having to read documentation to
>>>>> find default values.
>>>>>
>>>>> It should also clarify the role of default in a YANG module.
>>>>>
>>>>> And it should cost almost nothing.
>>>>>
>>>>> Thanks,
>>>>>  Phil
>>>>> _______________________________________________
>>>>> netmod mailing list
>>>>> netmod@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/netmod
>>>>>
>>>> _______________________________________________
>>>> netmod mailing list
>>>> netmod@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/netmod
>>>>
>>>
>>>
> 
> 
> 

From mbj@tail-f.com  Tue Sep  1 13:04:00 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0EEE23A68A6 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:04:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.009
X-Spam-Level: 
X-Spam-Status: No, score=-2.009 tagged_above=-999 required=5 tests=[AWL=0.037,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T0qp+pYrh37c for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:03:59 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id DD33C3A6CC8 for <netmod@ietf.org>; Tue,  1 Sep 2009 13:03:58 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 9EAD761A2C3; Tue,  1 Sep 2009 22:04:11 +0200 (CEST)
Date: Tue, 01 Sep 2009 22:04:11 +0200 (CEST)
Message-Id: <20090901.220411.219341767.mbj@tail-f.com>
To: cfinss@dial.pipex.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <004201ca2b20$e0b9c7e0$0601a8c0@allison>
References: <200909010959.59070.david.partain@ericsson.com> <004201ca2b20$e0b9c7e0$0601a8c0@allison>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 20:04:00 -0000

"tom.petch" <cfinss@dial.pipex.com> wrote:
> ----- Original Message ----- 
> From: "David Partain" <david.partain@ericsson.com>
> Sent: Tuesday, September 01, 2009 9:59 AM
> > 
> > There has been significant debate about whether to reopen the question of 
> > having 'assigned-by system'.  See this mail thread - 
> > http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html
> > 
> > The discussion has been in the "agent-default -- new 3rd state" thread (and 
> > probably elsewhere).
> > 
> > Martin wrote in the message referenced above: "The idea is that if a leaf is 
> > marked as assigned-by system, then the client MAY choose to not set a value 
> > for the leaf when its parent instance is created.  In this case the system 
> > will assign a suitable value for the leaf."
> 
> I am unclear.  I take it this is created in the data tree but is it as 
> config or operational state (which affects how it can be retrieved)
> and is an instance being created or is this one of those thingies
> which seem neither dead nor alive?

No magic is supposed to happen here.  If the defintion is:

   leaf uid {
      type int32;
      config true;
      assigned-by system;
   }

I hope it is obvious that we're talking about configuration data?

'assigned-by' and 'config false' cannot be used together -- a client
can never create config false data (directly).

> This harks back to Phil
> differentiating uid from mtu and  Joel not seeing the difference. 
> I am afraid I have yet to see the difference:-(  Martin said
> 'So "if an instance exists because the server created it" then it *is*
> config. '  Um, leaves me none the wiser.
> 
> And what's the parent instance got to do with it?  It sounds like
> an assumption is built in there (and not the usual case or
> non-presence container issues) that I am missing.

Extending the example a bit:

  list user {
    ...
    leaf uid {
       ...
       assigned-by system;
    }
  }

We need to make it clear that the 'uid' is not spontanesoulsy created
for non-existing users.  The 'uid' leaf will be created by the system
when a new user is created (its "parent" -- note this is not a term we
have used, and we will have to find the right language to describe
this).

Another example:

   container foo {
     presence "...";
     leaf bar {
       ...
       assigned-by system;
     }
   }

/foo/bar is created by the system when the client creates /foo.



/martin

From andy@netconfcentral.com  Tue Sep  1 13:13:12 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9BACA28C653 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:13:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.502
X-Spam-Level: 
X-Spam-Status: No, score=-2.502 tagged_above=-999 required=5 tests=[AWL=0.097,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xyJRkJtPvWD8 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:13:11 -0700 (PDT)
Received: from n10.bullet.mail.mud.yahoo.com (n10.bullet.mail.mud.yahoo.com [209.191.125.208]) by core3.amsl.com (Postfix) with SMTP id 7E96928C857 for <netmod@ietf.org>; Tue,  1 Sep 2009 13:12:37 -0700 (PDT)
Received: from [68.142.200.221] by n10.bullet.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 20:12:43 -0000
Received: from [68.142.201.70] by t9.bullet.mud.yahoo.com with NNFMP; 01 Sep 2009 20:12:43 -0000
Received: from [127.0.0.1] by omp422.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 20:12:43 -0000
X-Yahoo-Newman-Id: 657086.81861.bm@omp422.mail.mud.yahoo.com
Received: (qmail 16249 invoked from network); 1 Sep 2009 20:12:43 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp107.sbc.mail.sp1.yahoo.com with SMTP; 1 Sep 2009 20:12:42 -0000
X-YMail-OSG: huxrIzIVM1mmN.ZenmagHAZPjJ1axqsDbUIokYGLWTqhxCCNcwOkT3bfhpy.Oh0fmdZ8paIAPDdg.3NEHTDQmED4PIP17uVKzhZ5gOAKj.TGbqSYPjkX1LtMMJXJcGBeqvwrteN2THqWHH5sVZzwM9Vr9mSnlYLBxYoByaQYInZ5MdiFAOLaLiAHjH4CSKdY5R4NPMFY6PxvQ4hrvO5PNONTvMk36el0qJJfe0IqTOYSorf0E3l4bq2raloH
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D804A.2030207@netconfcentral.com>
Date: Tue, 01 Sep 2009 13:12:58 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <200909011930.n81JU7WS093379@idle.juniper.net>	<4A9D7BA2.8020803@netconfcentral.com> <20090901.215800.167985517.mbj@tail-f.com>
In-Reply-To: <20090901.215800.167985517.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] meaning of default
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 20:13:12 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Phil Shafer wrote:
>>> The current scheme in YANG allows the server to behave in any of
>>> the three styles listed in the with-defaults draft.  We have
>>> sufficient flexibility to allow you to work the way you want, and
>>> to allow others to work the way they work.  This is good.
>>>
>> no it does not allow for the 3 current schemes.
>> That is nonsense.  The draft clearly says that
>> database = leafs + YANG default-stmt leafs.
>> There is no text then even suggests anything
>> other than that.
> 
> I don't understand this.  I agree with Phil that the current scheme
> allows the server to implement any of the 3 modes in the with-defaults
> ID.  The reason it does is that it says:
> 
>   A NETCONF server that replies to a <get> or <get-config> request MAY
>   choose not to send the leaf element if its value is the default
>   value.  Thus, a client that receives an <rpc-reply> for a <get> or
>   <get-config> request, MUST be prepared to handle the case that a
>   leaf node with a default value is not present in the XML.  In this
>   case, the value used by the server is known to be the default value.
> 
> 

We've been going in circles so much, we must be getting dizzy.

1) this is not even true for YANG-default-stmt values,
   because of deviations and no-revision-date modules.

2) a server-created leaf that does not contain the
   YANG-default-stmt value is not a default, so this text
   is irrelevant wrt/ omitting other server-created instances
   from <get*> operations.  That is what is allowed in :explicit
   mode of the :with-defaults capability.  So this assertion
   that :explicit is somehow covered, even if the server
   does not implement :with-defaults is false.  It is only
   covered *if* the server implements and advertises the
   :with-defaults capability.


> /martin
> 
> 

Andy


From mbj@tail-f.com  Tue Sep  1 13:19:31 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A74C128C434 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:19:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.009
X-Spam-Level: 
X-Spam-Status: No, score=-2.009 tagged_above=-999 required=5 tests=[AWL=0.037,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Qa78NXktwmX for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:19:31 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id CAEF028C857 for <netmod@ietf.org>; Tue,  1 Sep 2009 13:19:04 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 9C57B76C4A1; Tue,  1 Sep 2009 22:19:18 +0200 (CEST)
Date: Tue, 01 Sep 2009 22:19:18 +0200 (CEST)
Message-Id: <20090901.221918.226622597.mbj@tail-f.com>
To: cfinss@dial.pipex.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <004301ca2b20$e193fb40$0601a8c0@allison>
References: <200909011009.16729.david.partain@ericsson.com> <004301ca2b20$e193fb40$0601a8c0@allison>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 20:19:31 -0000

"tom.petch" <cfinss@dial.pipex.com> wrote:
> > 7.6.1.  The leaf's default value
> >
> >    The default value of a leaf is the value that the server uses if no
> >    value has been explicitly set.  The usage of the default value
> 
> When are we talking about?

In this case, one must read the entire section in order to understand
the what, when, and how.   If you have a suggestion for some text that
explains this better, I am more than happy to include it.

> Note we have no terminology for what
> is in the data tree, presume instances with values, in which case are
> we talking about an instance being created?  But then we have no
> definition of when an instance is created.  With an SNMP background,
> this is academic, there is always a 1.3.6.1.2.1.1.1 with a 'value', it is
> just a question of being a valid value or not

I don't understand this.  In SNMP, ifStackStatus.1.4 may or may not
exist.  You might have to create it.  In NETCONF, there are protocol
operations that create instances.

> but with YANG, we have
> not nailed this down, and so some posts have implied that a data node
> leaf does not exist in the data tree unless and until eg its ancestor
> node becomes part of the data tree

Right, the leaf /foo/bar can never exist in the data tree unless /foo
exists.

> or perhaps when the server, if
> it has permission, just decides to create it and ancestor anyway.

Sure this can happen; the server can even run a local NETCONF-client
script if it wants to.  Does that mean it is server created.

> And is there a difference, as Lada asked, between doing an <edit>
> specifying <element/> as opposed to <element>42</element>?

I haven't seen that question, but the first one tries to set the
'element' leaf (assuming it is a leaf) to the empty string, and the
second to the value 42, so yes, there is a difference.

> All this needs nailing down otherwise discussions of default,
> assigned by all/user/system....  can end up with each person having
> a different view.
> 
> And 'explicitly set'; to me, that MUST be set by anyone, CLI, SNMP,
> Netconf, ....  It is no use having a Netconf/YANG that pretends that
> nothing else in the world exists as far as configuration management
> is concerned and so can be ignored. 

Absolutely.  

> Again, an issue touched on but not
> resolved.

I am not sure what sort of text you expect, if any.


/martin

From mbj@tail-f.com  Tue Sep  1 13:28:38 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8877828C52F for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:28:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level: 
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[AWL=0.036,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gARVwLI49ook for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:28:37 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 7F1FC3A6992 for <netmod@ietf.org>; Tue,  1 Sep 2009 13:28:37 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 49B4076C4A1; Tue,  1 Sep 2009 22:28:51 +0200 (CEST)
Date: Tue, 01 Sep 2009 22:28:50 +0200 (CEST)
Message-Id: <20090901.222850.210872069.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4A9D804A.2030207@netconfcentral.com>
References: <4A9D7BA2.8020803@netconfcentral.com> <20090901.215800.167985517.mbj@tail-f.com> <4A9D804A.2030207@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] meaning of default
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 20:28:38 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Martin Bjorklund wrote:
> > Andy Bierman <andy@netconfcentral.com> wrote:
> >> Phil Shafer wrote:
> >>> The current scheme in YANG allows the server to behave in any of
> >>> the three styles listed in the with-defaults draft.  We have
> >>> sufficient flexibility to allow you to work the way you want, and
> >>> to allow others to work the way they work.  This is good.
> >>>
> >> no it does not allow for the 3 current schemes.
> >> That is nonsense.  The draft clearly says that
> >> database = leafs + YANG default-stmt leafs.
> >> There is no text then even suggests anything
> >> other than that.
> > 
> > I don't understand this.  I agree with Phil that the current scheme
> > allows the server to implement any of the 3 modes in the with-defaults
> > ID.  The reason it does is that it says:
> > 
> >   A NETCONF server that replies to a <get> or <get-config> request MAY
> >   choose not to send the leaf element if its value is the default
> >   value.  Thus, a client that receives an <rpc-reply> for a <get> or
> >   <get-config> request, MUST be prepared to handle the case that a
> >   leaf node with a default value is not present in the XML.  In this
> >   case, the value used by the server is known to be the default value.
> > 
> > 
> 
> We've been going in circles so much, we must be getting dizzy.
> 
> 1) this is not even true for YANG-default-stmt values,
>    because of deviations and no-revision-date modules.

A deviation may change the leaf's default value, so the text still
applies.  (this may or may not be a good idea, but that's a sepatate
issue).

no-revision-date modules might be an issue, but I believe it can be
solved (see Phil's email).


> 2) a server-created leaf that does not contain the
>    YANG-default-stmt value is not a default

Agreed.

>    so this text
>    is irrelevant wrt/ omitting other server-created instances
>    from <get*> operations.  That is what is allowed in :explicit
>    mode of the :with-defaults capability.

Is it?  If so, the :with-defaults capability needs to be fixed.  Wait
- you and I at least already agreed that it should be fixed.

>    So this assertion
>    that :explicit is somehow covered, even if the server
>    does not implement :with-defaults is false.  It is only
>    covered *if* the server implements and advertises the
>    :with-defaults capability.

Here I disagree.  If the server does not implement :with-defaults, the
client knows what it means if a leaf with a default statement is not
present in the reply.


/martin

From phil@juniper.net  Tue Sep  1 13:34:11 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E05E83A6A53 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:34:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.573
X-Spam-Level: 
X-Spam-Status: No, score=-6.573 tagged_above=-999 required=5 tests=[AWL=0.026,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IdPfizyAWyrS for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:34:10 -0700 (PDT)
Received: from exprod7og111.obsmtp.com (exprod7og111.obsmtp.com [64.18.2.175]) by core3.amsl.com (Postfix) with ESMTP id 3D8AA3A6804 for <netmod@ietf.org>; Tue,  1 Sep 2009 13:34:06 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob111.postini.com ([64.18.6.12]) with SMTP ID DSNKSp2FS7omVRtmvCsAFy7mr65VV7E/gbtZ@postini.com; Tue, 01 Sep 2009 13:34:25 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 1 Sep 2009 13:30:37 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 13:30:37 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 13:30:36 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 13:30:36 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n81KUWd24103; Tue, 1 Sep 2009 13:30:32 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n81KIRof094517; Tue, 1 Sep 2009 20:18:27 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909012018.n81KIRof094517@idle.juniper.net>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4A9D7469.7030006@joelhalpern.com> 
Date: Tue, 1 Sep 2009 16:18:27 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 01 Sep 2009 20:30:36.0178 (UTC) FILETIME=[0FD32720:01CA2B43]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 20:34:12 -0000

"Joel M. Halpern" writes:
>The issue I believe Andy has, and I know I have, is with a "config true"
>which is given a value by the system, but where that value is not 
>reported to a client application either in a regular get or in get with 
>all defaults.

I believe this is a red herring.  There are no such nodes.  If you
believe such nodes exist, then we are truly talking past each other.
I will try in this email to describe why I believe this, and I hope
at the end you will agree.

>If the system is using a value for a "config true" node,
>and that value is not reported, and that value is not the model defined 
>default value, then we have an operability problem.
>If some systems report it one way, and some systems report it another 
>way, then we probably have an interoperability problem.

The delicate terms is "the system is using a value".  This is an
ambiguous term that may be the source of the trouble.  So let's
start with some precise terminology:

"assigned-by system" (ABS): a behavior where the system will,
  at validation time, assign values in the configuration database
  for leafs which are not given values.  If values were given before
  validation time, the system will not assign new values, but will
  honor these existing values.

"configuration default value" (CDV):  the default value used for
  configuration data.  If a list instance is created in the
  configuration database and the value for a leaf is not provided,
  then the CDV is the value which the system will use internally.
  This means that the behaviour of the running system using that
  CDV as the operational value is identical to the behaviour if
  that leaf had been explicitly configured with that value.  The
  CDV value must be a fixed value.

"operational default value" (ODV): the default value used for
  operational data.  This is the value used by the running
  system if a value was not configured.  It may not be fixed or
  easily described.  The value may be dynamic or even unpublished.

With these terms, we make the following rules:

(a) the YANG default statement can be used to provide a CDV.
(b) the YANG default statement cannot provide defaults for ODVs.
(c) the YANG default statement cannot provide defaults for ABS leafs.
(d) a server MAY choose to not send a leaf element if
    it is a configuration leaf ('config true') and the
    value of the leaf is the default value.
(e) ODVs MUST be sent for operational data, since the default
    statement applies only to configuration data.  In effect,
    operational data has no default values.
(f) ABS data is _real_ configuration data, since it appears
    in the configuration database and can be manipulated with
    the operation NETCONF/YANG operations.

So to address your concerns:

>The issue I believe Andy has, and I know I have, is with a "config true"
>which is given a value by the system, but where that value is not
>reported to a client application either in a regular get or in get with
>all defaults.

If "given a value by the system" means ABS, then there are no such
nodes.  When the system assigns a value to an ABS leaf, that leaf
and value are now part of the configuration database, and that value
will be returned to any client application (with the proviso that
(d) allows the server to not send the CDV).

If by "given a value by the system" you really mean ODVs, where the
system is used a value for a leaf that was not configured, then the
ODV will be sent, since the server MUST sent ODVs.

>If the system is using a value for a "config true" node,
>and that value is not reported, and that value is not the model defined
>default value, then we have an operability problem.
>If some systems report it one way, and some systems report it another
>way, then we probably have an interoperability problem.

If we are talking configuration data, then any client can retrieve
any configuration data that has been configured (with the proviso
above).

Consider an example:

    module users {
        container users-top {
            list user {
                key name;
                leaf name { type string; }
                leaf password {
                    type string;
                    default "*";
                }
                leaf uid {
                    type uint32;
                    assigned-by system;
                }
                leaf full-name {
                    type string;
                }
                leaf last-login {
                    type data-time;
                }
            }
        }
    }

If I make a user like:

    <edit-config>
        ...
        <config>
           <users-top>
               <user>
                   <name>phil</name>
               </user>
           </>
        </>
    </>

then at validate time, the system will assign an appropriate "uid"
value.  It will not assign a password leaf in the database, but
when an entry is made for the user in /etc/master.passwd, the line
will start with "phil:*:".

If I get this user, I'll see:

    <top-users>
        <user>
            <name>phil</name>
            <uid>2005</uid>
        </user>
    </top-users>

If I do a <get-operational-data>, I may see the <last-login> element
with an appropriate value.  I will not see a <full-name> element,
since there is no appropriate value.

So I'm hoping you can agree that there is no ghost configuration
data.

Thanks,
 Phil

From phil@juniper.net  Tue Sep  1 13:41:11 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0442A3A702C for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:41:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.574
X-Spam-Level: 
X-Spam-Status: No, score=-6.574 tagged_above=-999 required=5 tests=[AWL=0.025,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mmib0D+tci2t for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:41:09 -0700 (PDT)
Received: from exprod7og116.obsmtp.com (exprod7og116.obsmtp.com [64.18.2.219]) by core3.amsl.com (Postfix) with ESMTP id 964A63A6867 for <netmod@ietf.org>; Tue,  1 Sep 2009 13:41:08 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob116.postini.com ([64.18.6.12]) with SMTP ID DSNKSp2G8rPeJEJNNMlz1nhKCvKWn4N+r5ou@postini.com; Tue, 01 Sep 2009 13:41:24 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 1 Sep 2009 13:38:22 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 13:38:22 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 13:38:21 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 13:38:21 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n81KcKd28111; Tue, 1 Sep 2009 13:38:20 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n81KQGve094633; Tue, 1 Sep 2009 20:26:16 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909012026.n81KQGve094633@idle.juniper.net>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4A9D7AB2.90006@joelhalpern.com> 
Date: Tue, 1 Sep 2009 16:26:16 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 01 Sep 2009 20:38:21.0190 (UTC) FILETIME=[24FE5A60:01CA2B44]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 20:41:11 -0000

"Joel M. Halpern" writes:
>I was repeating myself because although when I said it last Phill had 
>strongly objected to that approach, it is what he seems to be suggesting 
>in the note I was responding to.

I strongly oppose mixing default values into the configuration
database.  If I get configuration data, I do not want default values.

>I think that this is somehow related to Phil's proposed new operation, 
>which I also did not understand.  <get-operational-data> sounds to me 
>like a <get> which happens to target only "config false" nodes.

No, it's a module-specific get operation, that returns config false
nodes in addition to config true ones.

The interesting bits are how such a scheme would describe the rules
or constraints which are true for config data, but do not hold for
operational data.  For example, the duplex may be "full", "half",
or "auto" for config, but for operational data, would be "full",
"half", and "down".

The strong constraint of config data, which we need to construct
config data that plays by the model's rules, are less important for
operational data.  How do we model the interaction and overlap
between operational and configuration data?  So far, we've really
only worried about config data, since that's the greenfield for
NETCONF/YANG.

Thanks,
 Phil

From phil@juniper.net  Tue Sep  1 13:43:46 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6E5803A67F9 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:43:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.974
X-Spam-Level: 
X-Spam-Status: No, score=-5.974 tagged_above=-999 required=5 tests=[AWL=-0.575, BAYES_00=-2.599, J_CHICKENPOX_64=0.6, J_CHICKENPOX_65=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I9Ol5K7Dz9st for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:43:45 -0700 (PDT)
Received: from exprod7og111.obsmtp.com (exprod7og111.obsmtp.com [64.18.2.175]) by core3.amsl.com (Postfix) with ESMTP id EFCB93A6912 for <netmod@ietf.org>; Tue,  1 Sep 2009 13:43:43 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob111.postini.com ([64.18.6.12]) with SMTP ID DSNKSp2HjRrL9lIbd7zSmc/uRieSfoq+L0bB@postini.com; Tue, 01 Sep 2009 13:43:59 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 1 Sep 2009 13:41:01 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 13:41:01 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 13:41:01 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 13:41:00 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n81Kexd29873; Tue, 1 Sep 2009 13:40:59 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n81KStRN094661; Tue, 1 Sep 2009 20:28:55 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909012028.n81KStRN094661@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9D7C9C.7040004@netconfcentral.com> 
Date: Tue, 1 Sep 2009 16:28:55 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 01 Sep 2009 20:41:00.0549 (UTC) FILETIME=[83FA9B50:01CA2B44]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 20:43:46 -0000

Andy Bierman writes:
>I cannot live with a solution where a
>YANG object that is config=true,
>but <*-config> operations do not work.
>
>Ditto for a solution where
>a YANG object that is config=false,
>but <*-config> operations do work.

I don't believe anyone is suggesting either of these concepts.

Thanks,
 Phil

From jmh@joelhalpern.com  Tue Sep  1 13:44:45 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E6CAA28C857 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:44:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.503
X-Spam-Level: 
X-Spam-Status: No, score=-3.503 tagged_above=-999 required=5 tests=[AWL=0.096,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jWg09IWsjYfy for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:44:21 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id AF77F28C8B6 for <netmod@ietf.org>; Tue,  1 Sep 2009 13:44:11 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 5218C4303D3; Tue,  1 Sep 2009 13:44:25 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [192.168.1.9] (pool-173-59-34-176.phlapa.fios.verizon.net [173.59.34.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 9A1F54303C2; Tue,  1 Sep 2009 13:44:24 -0700 (PDT)
Message-ID: <4A9D87A7.6050606@joelhalpern.com>
Date: Tue, 01 Sep 2009 16:44:23 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909012018.n81KIRof094517@idle.juniper.net>
In-Reply-To: <200909012018.n81KIRof094517@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 20:44:46 -0000

Well, I may be missing something, and others may disagree, but this 
looks like progress to me.

They key for me has always been how ODV (Operational Default Values as 
you describe them) show up.  I apparently misunderstood you as not 
wanting them reported in any <get> of any kind.

As long as they show up somewhere that is reasonably describable, I am 
happy.  To drive this down a level of detail, if we have a config 
variable ifMtu, and if in the absence of configuration it uses an ODV, 
how does the client (management system) get that ODV?  (I can think of 
several possible answers, but I think we need to pick one.)

Yours,
Joel

PS: To avoid the temptation to confuse them with defaults, would it make 
sense to render ODV as Operationally Determined Value, i.e. the device 
operation determined a value due to the absence of the configuration?

Phil Shafer wrote:
> "Joel M. Halpern" writes:
>> The issue I believe Andy has, and I know I have, is with a "config true"
>> which is given a value by the system, but where that value is not 
>> reported to a client application either in a regular get or in get with 
>> all defaults.
> 
> I believe this is a red herring.  There are no such nodes.  If you
> believe such nodes exist, then we are truly talking past each other.
> I will try in this email to describe why I believe this, and I hope
> at the end you will agree.
> 
>> If the system is using a value for a "config true" node,
>> and that value is not reported, and that value is not the model defined 
>> default value, then we have an operability problem.
>> If some systems report it one way, and some systems report it another 
>> way, then we probably have an interoperability problem.
> 
> The delicate terms is "the system is using a value".  This is an
> ambiguous term that may be the source of the trouble.  So let's
> start with some precise terminology:
> 
> "assigned-by system" (ABS): a behavior where the system will,
>   at validation time, assign values in the configuration database
>   for leafs which are not given values.  If values were given before
>   validation time, the system will not assign new values, but will
>   honor these existing values.
> 
> "configuration default value" (CDV):  the default value used for
>   configuration data.  If a list instance is created in the
>   configuration database and the value for a leaf is not provided,
>   then the CDV is the value which the system will use internally.
>   This means that the behaviour of the running system using that
>   CDV as the operational value is identical to the behaviour if
>   that leaf had been explicitly configured with that value.  The
>   CDV value must be a fixed value.
> 
> "operational default value" (ODV): the default value used for
>   operational data.  This is the value used by the running
>   system if a value was not configured.  It may not be fixed or
>   easily described.  The value may be dynamic or even unpublished.
> 
> With these terms, we make the following rules:
> 
> (a) the YANG default statement can be used to provide a CDV.
> (b) the YANG default statement cannot provide defaults for ODVs.
> (c) the YANG default statement cannot provide defaults for ABS leafs.
> (d) a server MAY choose to not send a leaf element if
>     it is a configuration leaf ('config true') and the
>     value of the leaf is the default value.
> (e) ODVs MUST be sent for operational data, since the default
>     statement applies only to configuration data.  In effect,
>     operational data has no default values.
> (f) ABS data is _real_ configuration data, since it appears
>     in the configuration database and can be manipulated with
>     the operation NETCONF/YANG operations.
> 
> So to address your concerns:
> 
>> The issue I believe Andy has, and I know I have, is with a "config true"
>> which is given a value by the system, but where that value is not
>> reported to a client application either in a regular get or in get with
>> all defaults.
> 
> If "given a value by the system" means ABS, then there are no such
> nodes.  When the system assigns a value to an ABS leaf, that leaf
> and value are now part of the configuration database, and that value
> will be returned to any client application (with the proviso that
> (d) allows the server to not send the CDV).
> 
> If by "given a value by the system" you really mean ODVs, where the
> system is used a value for a leaf that was not configured, then the
> ODV will be sent, since the server MUST sent ODVs.
> 
>> If the system is using a value for a "config true" node,
>> and that value is not reported, and that value is not the model defined
>> default value, then we have an operability problem.
>> If some systems report it one way, and some systems report it another
>> way, then we probably have an interoperability problem.
> 
> If we are talking configuration data, then any client can retrieve
> any configuration data that has been configured (with the proviso
> above).
> 
> Consider an example:
> 
>     module users {
>         container users-top {
>             list user {
>                 key name;
>                 leaf name { type string; }
>                 leaf password {
>                     type string;
>                     default "*";
>                 }
>                 leaf uid {
>                     type uint32;
>                     assigned-by system;
>                 }
>                 leaf full-name {
>                     type string;
>                 }
>                 leaf last-login {
>                     type data-time;
>                 }
>             }
>         }
>     }
> 
> If I make a user like:
> 
>     <edit-config>
>         ...
>         <config>
>            <users-top>
>                <user>
>                    <name>phil</name>
>                </user>
>            </>
>         </>
>     </>
> 
> then at validate time, the system will assign an appropriate "uid"
> value.  It will not assign a password leaf in the database, but
> when an entry is made for the user in /etc/master.passwd, the line
> will start with "phil:*:".
> 
> If I get this user, I'll see:
> 
>     <top-users>
>         <user>
>             <name>phil</name>
>             <uid>2005</uid>
>         </user>
>     </top-users>
> 
> If I do a <get-operational-data>, I may see the <last-login> element
> with an appropriate value.  I will not see a <full-name> element,
> since there is no appropriate value.
> 
> So I'm hoping you can agree that there is no ghost configuration
> data.
> 
> Thanks,
>  Phil
> 

From jmh@joelhalpern.com  Tue Sep  1 13:54:35 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3D38E28CA13 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:54:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.507
X-Spam-Level: 
X-Spam-Status: No, score=-3.507 tagged_above=-999 required=5 tests=[AWL=0.092,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZgAMtTo25qj8 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:54:24 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 29E9528CA26 for <netmod@ietf.org>; Tue,  1 Sep 2009 13:51:47 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 58FE74303D4; Tue,  1 Sep 2009 13:51:03 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [192.168.1.9] (pool-173-59-34-176.phlapa.fios.verizon.net [173.59.34.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id B2D864303CB; Tue,  1 Sep 2009 13:51:02 -0700 (PDT)
Message-ID: <4A9D8936.5060707@joelhalpern.com>
Date: Tue, 01 Sep 2009 16:51:02 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909012026.n81KQGve094633@idle.juniper.net>
In-Reply-To: <200909012026.n81KQGve094633@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 20:54:35 -0000

Based on the other note I responded to, I misunderstood you.  I 
apologize, and lets try to sort out this idea.

I must have missed some subtlety in the netconf spec.  I am not sure why 
there is a need for a module specific operation, or how this operation 
differs from <get> which is defined to return all running configuration 
and device state information.  (I tend to presume that ODVs, and other 
operational information, appear only in the running config?)

I am confused by your question about different data constraints. 
presumably, the config variable and the operational state variable are 
different.  Operation state variables are "config false", will tend to 
have few or no constraints (MUST statements), and will have value sets 
that cover the operationally availble values.

Yours,
Joel

Phil Shafer wrote:
> "Joel M. Halpern" writes:
>> I was repeating myself because although when I said it last Phill had 
>> strongly objected to that approach, it is what he seems to be suggesting 
>> in the note I was responding to.
> 
> I strongly oppose mixing default values into the configuration
> database.  If I get configuration data, I do not want default values.
> 
>> I think that this is somehow related to Phil's proposed new operation, 
>> which I also did not understand.  <get-operational-data> sounds to me 
>> like a <get> which happens to target only "config false" nodes.
> 
> No, it's a module-specific get operation, that returns config false
> nodes in addition to config true ones.
> 
> The interesting bits are how such a scheme would describe the rules
> or constraints which are true for config data, but do not hold for
> operational data.  For example, the duplex may be "full", "half",
> or "auto" for config, but for operational data, would be "full",
> "half", and "down".
> 
> The strong constraint of config data, which we need to construct
> config data that plays by the model's rules, are less important for
> operational data.  How do we model the interaction and overlap
> between operational and configuration data?  So far, we've really
> only worried about config data, since that's the greenfield for
> NETCONF/YANG.
> 
> Thanks,
>  Phil
> 

From phil@juniper.net  Tue Sep  1 13:55:48 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 66DAA3A6B9C for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:55:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.57
X-Spam-Level: 
X-Spam-Status: No, score=-6.57 tagged_above=-999 required=5 tests=[AWL=0.029,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SIefiKKALgjo for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 13:55:47 -0700 (PDT)
Received: from exprod7og125.obsmtp.com (exprod7og125.obsmtp.com [64.18.2.28]) by core3.amsl.com (Postfix) with ESMTP id 120C628C9DF for <netmod@ietf.org>; Tue,  1 Sep 2009 13:55:38 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob125.postini.com ([64.18.6.12]) with SMTP ID DSNKSp2KVvHYBkx/6jHhQw2kIpSevM3XLMGm@postini.com; Tue, 01 Sep 2009 13:55:53 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 1 Sep 2009 13:52:47 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 13:52:47 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 13:52:46 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 13:52:46 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n81Kqjd34995; Tue, 1 Sep 2009 13:52:45 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n81KefeE094806; Tue, 1 Sep 2009 20:40:41 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909012040.n81KefeE094806@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9D804A.2030207@netconfcentral.com> 
Date: Tue, 1 Sep 2009 16:40:41 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 01 Sep 2009 20:52:46.0310 (UTC) FILETIME=[28A53060:01CA2B46]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] meaning of default
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 20:55:48 -0000

Andy Bierman writes:
>We've been going in circles so much, we must be getting dizzy.

We're going in circles, because you keep repeating the same false
statements.  Please read the text Martin and I keep posting.

>1) this is not even true for YANG-default-stmt values,
>   because of deviations and no-revision-date modules.

A deviation is a claim from the device that it is behaving
in a non-standard way.  It is making an attempt to tell
you how broken it is, but you cannot claim that because
we have a mechanism for a device to announce this broken-ness,
we lack a standard way to behave.

>2) a server-created leaf that does not contain the
>   YANG-default-stmt value is not a default, so this text
>   is irrelevant wrt/ omitting other server-created instances
>   from <get*> operations.

An ABS leaf is not a default, and such a leaf cannot have
a default statement.  Once the leaf is created, it is normal
config data, but since there's no default value, the server
MUST emit the value for that leaf.

>That is what is allowed in :explicit
>   mode of the :with-defaults capability.  So this assertion
>   that :explicit is somehow covered, even if the server
>   does not implement :with-defaults is false.  It is only
>   covered *if* the server implements and advertises the
>   :with-defaults capability.

This is simply not true.  YANG allows the explicit behavour
in a way that it unlinked to with-defaults.  In addition,
this issue is unrelated to "assigned-by system".

The YANG spec says that if the value is the default value, the
server may choose to not emit it.  The "trim" behavior avoids
emitting leafs when the value is the default value.  The explcit
behavior emits values if the value was set by the user.  Both are
allowed under the text that Martin and I continue to point you to.
Please read it and let's stop circling this particular rat hole.

Thanks,
 Phil

From andy@netconfcentral.com  Tue Sep  1 14:00:40 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 85DE63A6AC6 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:00:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.202
X-Spam-Level: 
X-Spam-Status: No, score=-2.202 tagged_above=-999 required=5 tests=[AWL=-0.203, BAYES_00=-2.599, J_CHICKENPOX_64=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m8y+Nkzv8YFV for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:00:39 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id 305943A68A1 for <netmod@ietf.org>; Tue,  1 Sep 2009 14:00:39 -0700 (PDT)
Received: (qmail 40778 invoked from network); 1 Sep 2009 21:00:50 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 1 Sep 2009 21:00:50 -0000
X-YMail-OSG: 8E1dAy4VM1mYrUcSjyf3eQpAsAN80n7lehDlonQ2GqSK8YU8DEfqZUYrLjNKW3uMaZwkQacTwfJtr78xFmQzmHuGmHd1iQ0PPPrHEUikUUiGhwkQQ8yR3GPb3DUA7wyiBNQkEG0ZnooDNJe7.eAIzODMdcZn4SIzfZTV9K.lCSFr_C0GsyZWxBu7uNcojyN2NVWjkTCaa7zBIysXnHI_XhidKirWKTjSU5C_X8R5VtZs8ZJNUT.tsdxnJbD2hZBrt.jiNS0ekqH4auDS
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D8B92.5060407@netconfcentral.com>
Date: Tue, 01 Sep 2009 14:01:06 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909012018.n81KIRof094517@idle.juniper.net>
In-Reply-To: <200909012018.n81KIRof094517@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 21:00:40 -0000

Phil Shafer wrote:
> "Joel M. Halpern" writes:
>> The issue I believe Andy has, and I know I have, is with a "config true"
>> which is given a value by the system, but where that value is not 
>> reported to a client application either in a regular get or in get with 
>> all defaults.
> 
> I believe this is a red herring.  There are no such nodes.  If you
> believe such nodes exist, then we are truly talking past each other.
> I will try in this email to describe why I believe this, and I hope
> at the end you will agree.
> 
>> If the system is using a value for a "config true" node,
>> and that value is not reported, and that value is not the model defined 
>> default value, then we have an operability problem.
>> If some systems report it one way, and some systems report it another 
>> way, then we probably have an interoperability problem.
> 
> The delicate terms is "the system is using a value".  This is an
> ambiguous term that may be the source of the trouble.  So let's
> start with some precise terminology:
> 
> "assigned-by system" (ABS): a behavior where the system will,
>   at validation time, assign values in the configuration database
>   for leafs which are not given values.  If values were given before
>   validation time, the system will not assign new values, but will
>   honor these existing values.
> 
> "configuration default value" (CDV):  the default value used for
>   configuration data.  If a list instance is created in the
>   configuration database and the value for a leaf is not provided,
>   then the CDV is the value which the system will use internally.
>   This means that the behaviour of the running system using that
>   CDV as the operational value is identical to the behaviour if
>   that leaf had been explicitly configured with that value.  The
>   CDV value must be a fixed value.
> 
> "operational default value" (ODV): the default value used for
>   operational data.  This is the value used by the running
>   system if a value was not configured.  It may not be fixed or
>   easily described.  The value may be dynamic or even unpublished.
> 
> With these terms, we make the following rules:
> 
> (a) the YANG default statement can be used to provide a CDV.
> (b) the YANG default statement cannot provide defaults for ODVs.

why is there any correlation between the YANG
config-stmt and the YANG default-stmt?
This is the first I've heard that.


> (c) the YANG default statement cannot provide defaults for ABS leafs.
> (d) a server MAY choose to not send a leaf element if
>     it is a configuration leaf ('config true') and the
>     value of the leaf is the default value.


what does config=true have to do with it?

does (c) + (d) somehow == "the server can
omit any leaf it set instead of the client"?
If not, no problem.  If yes, big problem.

If the server set it, then it isn't 'explicitly set'.
That seems obvious.

But that is precisely what the 'explicit' mode allows to be filtered out.
So please explain how you reach the conclusion, that
filtering out everything except the explicitly set leafs
somehow is covered by the YANG draft text.


> (e) ODVs MUST be sent for operational data, since the default
>     statement applies only to configuration data.  In effect,
>     operational data has no default values.

this is not what YANG defines for a default+config=false.
I prefer what is already in the spec.


> Thanks,
>  Phil

Andy

From andy@netconfcentral.com  Tue Sep  1 14:02:04 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4BAB33A6A60 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:02:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.501
X-Spam-Level: 
X-Spam-Status: No, score=-2.501 tagged_above=-999 required=5 tests=[AWL=0.098,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XWYwMW-cfMwx for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:02:03 -0700 (PDT)
Received: from smtp102.sbc.mail.mud.yahoo.com (smtp102.sbc.mail.mud.yahoo.com [68.142.198.201]) by core3.amsl.com (Postfix) with SMTP id 3862B3A6C17 for <netmod@ietf.org>; Tue,  1 Sep 2009 14:01:54 -0700 (PDT)
Received: (qmail 89654 invoked from network); 1 Sep 2009 21:02:06 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 1 Sep 2009 21:02:06 -0000
X-YMail-OSG: cqLbi5wVM1m6GSoPbnZFr74Id077pnpMnt9LWcFH0D2VrAxhaGIjYrylvFCJ3IEMyuAD0jkrTvQNzIOAdEkCWjuqqh6rsFZ1ryeSzzz6j3puMsklPXxWMYwsf5.1bBwKj7IdVktEPXtWW4j.2AHY1uD3PUPeEaqETO_wyI7cV3DqDxWGdzlaSexU40oAHLeE19K8AaXGTiwklUVfUfsOVmzFe96H5WHCVULSjpvWgnmOnC_mMCzD.mC71KS_m8bw5V0JI8_mYdR7.o9L_KKMQik39UnSF_ICEa7bPy4P9tw3NOmphBgaKFXi7mNlcJ5XIosM7_HAyF86ag--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D8BDE.1030505@netconfcentral.com>
Date: Tue, 01 Sep 2009 14:02:22 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4A9D7BA2.8020803@netconfcentral.com>	<20090901.215800.167985517.mbj@tail-f.com>	<4A9D804A.2030207@netconfcentral.com> <20090901.222850.210872069.mbj@tail-f.com>
In-Reply-To: <20090901.222850.210872069.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] meaning of default
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 21:02:04 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Martin Bjorklund wrote:
>>> Andy Bierman <andy@netconfcentral.com> wrote:
>>>> Phil Shafer wrote:
>>>>> The current scheme in YANG allows the server to behave in any of
>>>>> the three styles listed in the with-defaults draft.  We have
>>>>> sufficient flexibility to allow you to work the way you want, and
>>>>> to allow others to work the way they work.  This is good.
>>>>>
>>>> no it does not allow for the 3 current schemes.
>>>> That is nonsense.  The draft clearly says that
>>>> database = leafs + YANG default-stmt leafs.
>>>> There is no text then even suggests anything
>>>> other than that.
>>> I don't understand this.  I agree with Phil that the current scheme
>>> allows the server to implement any of the 3 modes in the with-defaults
>>> ID.  The reason it does is that it says:
>>>
>>>   A NETCONF server that replies to a <get> or <get-config> request MAY
>>>   choose not to send the leaf element if its value is the default
>>>   value.  Thus, a client that receives an <rpc-reply> for a <get> or
>>>   <get-config> request, MUST be prepared to handle the case that a
>>>   leaf node with a default value is not present in the XML.  In this
>>>   case, the value used by the server is known to be the default value.
>>>
>>>
>> We've been going in circles so much, we must be getting dizzy.
>>
>> 1) this is not even true for YANG-default-stmt values,
>>    because of deviations and no-revision-date modules.
> 
> A deviation may change the leaf's default value, so the text still
> applies.  (this may or may not be a good idea, but that's a sepatate
> issue).
> 
> no-revision-date modules might be an issue, but I believe it can be
> solved (see Phil's email).
> 
> 
>> 2) a server-created leaf that does not contain the
>>    YANG-default-stmt value is not a default
> 
> Agreed.
> 
>>    so this text
>>    is irrelevant wrt/ omitting other server-created instances
>>    from <get*> operations.  That is what is allowed in :explicit
>>    mode of the :with-defaults capability.
> 
> Is it?  If so, the :with-defaults capability needs to be fixed.  Wait
> - you and I at least already agreed that it should be fixed.
> 
>>    So this assertion
>>    that :explicit is somehow covered, even if the server
>>    does not implement :with-defaults is false.  It is only
>>    covered *if* the server implements and advertises the
>>    :with-defaults capability.
> 
> Here I disagree.  If the server does not implement :with-defaults, the
> client knows what it means if a leaf with a default statement is not
> present in the reply.
> 
> 

There is no disagreement about leafs that contain
the YANG default statement value.  Move on.

As long as the server does not omit any leaf instance
that is not the YANG default statement value, there is
no problem.  Right?


> /martin
> 

Andy

From jmh@joelhalpern.com  Tue Sep  1 14:05:00 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7C6103A6A08 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:05:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.55
X-Spam-Level: 
X-Spam-Status: No, score=-3.55 tagged_above=-999 required=5 tests=[AWL=0.049,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ia3WaRU25Pbh for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:04:59 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id D16BE3A69AE for <netmod@ietf.org>; Tue,  1 Sep 2009 14:04:59 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 4C3724303D0; Tue,  1 Sep 2009 14:05:14 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [192.168.1.9] (pool-173-59-34-176.phlapa.fios.verizon.net [173.59.34.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id AD2F64303C4; Tue,  1 Sep 2009 14:05:13 -0700 (PDT)
Message-ID: <4A9D8C87.7060707@joelhalpern.com>
Date: Tue, 01 Sep 2009 17:05:11 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>
References: <200909012018.n81KIRof094517@idle.juniper.net> <4A9D8B92.5060407@netconfcentral.com>
In-Reply-To: <4A9D8B92.5060407@netconfcentral.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 21:05:00 -0000

?  You seem to be asking for "default value" statements to be allowed on 
"config false" nodes.  Why?  That is either a meaningless use of 
default, or it describes a constant node.  I suppose that there are some 
corner cases where a constant node might be useful, but it is quite a 
stretch.

I hope I have once again misunderstood.
Yours,
Joel


Andy Bierman wrote:
...
> this is not what YANG defines for a default+config=false.
> I prefer what is already in the spec.
> 
> 
>> Thanks,
>>  Phil
> 
> Andy
> 

From andy@netconfcentral.com  Tue Sep  1 14:09:00 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EF6603A6C53 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:09:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.502
X-Spam-Level: 
X-Spam-Status: No, score=-2.502 tagged_above=-999 required=5 tests=[AWL=0.097,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C9cnVgCjYYq6 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:09:00 -0700 (PDT)
Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by core3.amsl.com (Postfix) with SMTP id 1A7103A6BDE for <netmod@ietf.org>; Tue,  1 Sep 2009 14:09:00 -0700 (PDT)
Received: (qmail 62155 invoked from network); 1 Sep 2009 21:09:12 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 1 Sep 2009 21:09:11 -0000
X-YMail-OSG: pwAeSU0VM1mJalDS4pEaiAyOUbiMr7_uU0eEkeVPv6fR6BhWy34zoy8K.xNS21kOcy.pNYmWTJwIRfXfch4Z1h8JzDMWVtIPlCiQKAsYRC7MTULKd_0mKY4Pi0HndFspl5rsaPGjut7XD8WRKd5yf9nIVMl7CPXpyBkP.YUmwhgkND8Ia.wmphjtx62gxpy71QWILqpq07Qwjy5FfD5w_avf7jENIk1cLCzfI6qprrPINyYIjX2_I7jgOrm3B7vidlCEfovGUQib_S1t
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D8D86.7090106@netconfcentral.com>
Date: Tue, 01 Sep 2009 14:09:26 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "Joel M. Halpern" <jmh@joelhalpern.com>
References: <200909012018.n81KIRof094517@idle.juniper.net> <4A9D8B92.5060407@netconfcentral.com> <4A9D8C87.7060707@joelhalpern.com>
In-Reply-To: <4A9D8C87.7060707@joelhalpern.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 21:09:01 -0000

Joel M. Halpern wrote:
> ?  You seem to be asking for "default value" statements to be allowed on
> "config false" nodes.  Why?  That is either a meaningless use of
> default, or it describes a constant node.  I suppose that there are some
> corner cases where a constant node might be useful, but it is quite a
> stretch.
> 

you are right.

I sometimes confuse old SNMP days
where DEFVAL was not binding, and for
some read-only state objects, was relevant.

never mind...


> I hope I have once again misunderstood.
> Yours,
> Joel
> 

Andy

From andy@netconfcentral.com  Tue Sep  1 14:29:37 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9DC7D28C406 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:29:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.502
X-Spam-Level: 
X-Spam-Status: No, score=-2.502 tagged_above=-999 required=5 tests=[AWL=0.097,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ICyWgGxcpJ7z for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:29:36 -0700 (PDT)
Received: from n9a.bullet.mail.mud.yahoo.com (n9a.bullet.mail.mud.yahoo.com [209.191.87.108]) by core3.amsl.com (Postfix) with SMTP id 69DCF28C73A for <netmod@ietf.org>; Tue,  1 Sep 2009 14:28:24 -0700 (PDT)
Received: from [68.142.200.227] by n9.bullet.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 21:28:28 -0000
Received: from [68.142.201.243] by t8.bullet.mud.yahoo.com with NNFMP; 01 Sep 2009 21:28:28 -0000
Received: from [127.0.0.1] by omp404.mail.mud.yahoo.com with NNFMP; 01 Sep 2009 21:28:28 -0000
X-Yahoo-Newman-Id: 42583.3855.bm@omp404.mail.mud.yahoo.com
Received: (qmail 32739 invoked from network); 1 Sep 2009 21:28:27 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp106.sbc.mail.sp1.yahoo.com with SMTP; 1 Sep 2009 21:28:27 -0000
X-YMail-OSG: MBtB984VM1mTGQ1V77g2boIqYbUleRpXKa3vPOafm3cAD8KgnGM1515Rv5GYEfYS7X88JHrhkg0AUDUNL.emNjpnxjl_q8aci1CBRCmMPu5pvn.BrQZq3gbpnlGeqnGkD6B8BvZGJ__D69CcFGbsj.Iz81HfIQMLGoTwdRBE.LQj2XUzl2iABn36fqdroXyU9k_CamdnaZ3vENc-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D920B.30604@netconfcentral.com>
Date: Tue, 01 Sep 2009 14:28:43 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "Joel M. Halpern" <jmh@joelhalpern.com>
References: <200909012018.n81KIRof094517@idle.juniper.net>	<4A9D8B92.5060407@netconfcentral.com>	<4A9D8C87.7060707@joelhalpern.com> <4A9D8D86.7090106@netconfcentral.com>
In-Reply-To: <4A9D8D86.7090106@netconfcentral.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 21:29:37 -0000

Andy Bierman wrote:
> Joel M. Halpern wrote:
>> ?  You seem to be asking for "default value" statements to be allowed on
>> "config false" nodes.  Why?  That is either a meaningless use of
>> default, or it describes a constant node.  I suppose that there are some
>> corner cases where a constant node might be useful, but it is quite a
>> stretch.
>>
> 
> you are right.
> 
> I sometimes confuse old SNMP days
> where DEFVAL was not binding, and for
> some read-only state objects, was relevant.
> 
> never mind...
> 
> 

wait a minute...
I was thinking that default was the value
that applied if the server does not return it,
but if the server returned a value, it could
be different than the default.

   leaf operStatus {
      config false;
      type enumeration {
        enum normal;
        // followed by lots of abnormal status enums
      }
      default normal;
   }

In this case, it is really useful to omit all
the status leafs that have a value of 'normal'.
But default is not defined that way now.
However, the same justification for
omitting config leafs applies to state leafs.


>> I hope I have once again misunderstood.
>> Yours,
>> Joel
>>
> 
> Andy


Andy


From phil@juniper.net  Tue Sep  1 14:30:47 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E24303A70AA for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:30:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.57
X-Spam-Level: 
X-Spam-Status: No, score=-6.57 tagged_above=-999 required=5 tests=[AWL=0.029,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OiWDTQWvRH2n for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:30:47 -0700 (PDT)
Received: from exprod7og125.obsmtp.com (exprod7og125.obsmtp.com [64.18.2.28]) by core3.amsl.com (Postfix) with ESMTP id CE0063A6F94 for <netmod@ietf.org>; Tue,  1 Sep 2009 14:30:45 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob125.postini.com ([64.18.6.12]) with SMTP ID DSNKSp2SevXxSxzAVJURZJtAxgLxYeyp7SSd@postini.com; Tue, 01 Sep 2009 14:31:01 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 1 Sep 2009 14:28:16 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 14:28:16 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 14:28:16 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 14:28:15 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n81LSFd53284; Tue, 1 Sep 2009 14:28:15 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n81LGAKh095413; Tue, 1 Sep 2009 21:16:11 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909012116.n81LGAKh095413@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9D8B92.5060407@netconfcentral.com> 
Date: Tue, 1 Sep 2009 17:16:10 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 01 Sep 2009 21:28:15.0876 (UTC) FILETIME=[1DF72C40:01CA2B4B]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 21:30:48 -0000

Andy Bierman writes:
>If the server set it, then it isn't 'explicitly set'.
>That seems obvious.

Nope, if the server set the value for an ABS leaf, then that value
is real config data and must be treated as such.  YANG does not
allow the server to not emit configuration data, unless the value
is the default value.  Since ABS leafs should not have default
values, there is no overlap.  ABS leafs are config data, and
config data should be emitted.

If the term "explicit" is confusing to you, please suggest a new
name to use in the with-defaults draft.

>But that is precisely what the 'explicit' mode allows to be filtered out.
>So please explain how you reach the conclusion, that
>filtering out everything except the explicitly set leafs
>somehow is covered by the YANG draft text.

If a leaf is created in the configuration database, the server can
always emit it.  Either the leaf will have the CDV (which YANG
allows the server to emit), or the leaf will have a non-CDV (which
the server MUST emit).

If the leaf was not created in the database, then it has no value.
YANG allows the server to emit the default value, but does not
require it.

So if the leaf "foo" has a default of "3", and a client sets foo
to 3, then a server can still emit the value "3".  This is the
"explicit" behavior, where the server emits values that the user
has set, without caring whether those values are the CDV.

HTH....

Thanks,
 Phil

From andy@netconfcentral.com  Tue Sep  1 14:54:54 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 488D63A70A4 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:54:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.503
X-Spam-Level: 
X-Spam-Status: No, score=-2.503 tagged_above=-999 required=5 tests=[AWL=0.096,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n0MdqzC1OxGZ for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 14:54:53 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id 05C073A6A09 for <netmod@ietf.org>; Tue,  1 Sep 2009 14:54:52 -0700 (PDT)
Received: (qmail 11045 invoked from network); 1 Sep 2009 21:55:04 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 1 Sep 2009 21:55:04 -0000
X-YMail-OSG: u63yn48VM1mQgP5xd63iAaZjmOYcg5UF0kGi0FB8QwDygP2H5IqYiqlen4B4h3oAGk5o5v4gvPOPfyl9WSWIkRjuG7p4lo5td8dVqmjBxOxdyfZEnSKliuGZu2pwSdIeaDbuQhfWZ53qP3U_wLiOAyEP4060yXy3jCYjsCZGIe2CqGxcP8t_7oZNomxZB.mdSr9yrPyMl5asJ4aW1iAwn7Gz9.ffJoI2iP6dbhU_bsgXTsQ6yJ3bMubHJ6TmzQsJ0ggOlH60TBt8k_bq
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D9848.3030703@netconfcentral.com>
Date: Tue, 01 Sep 2009 14:55:20 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909012116.n81LGAKh095413@idle.juniper.net>
In-Reply-To: <200909012116.n81LGAKh095413@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 21:54:54 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> If the server set it, then it isn't 'explicitly set'.
>> That seems obvious.
> 
> Nope, if the server set the value for an ABS leaf, then that value
> is real config data and must be treated as such.  YANG does not
> allow the server to not emit configuration data, unless the value
> is the default value.  Since ABS leafs should not have default
> values, there is no overlap.  ABS leafs are config data, and
> config data should be emitted.

So an ABS leaf will always be retrievable on every server
because it does not have the YANG default value.

> 
> If the term "explicit" is confusing to you, please suggest a new
> name to use in the with-defaults draft.

Then with-defaults needs a lot of fine-tuning,
because it just says:

   o  report-all: All default data is always reported.
   o  trim: Values are not reported if they match the default.
   o  explicit: Report values if they are explicitly set.  For state
      data this has the same effect as report-all

The 3rd bullet is clearly wrong, because 'explicitly set' is never defined,
and you 'set by client or startup' is not what it means anyway.
It really means

   o  explicit: Report all leaf values, including those which are explicitly set,
      even if they are equal to the default value.  For state
      data this has the same effect as report-all.

Seems like for all data it has the same effect as 'report-all'.
What is filtered-out?  Leafs that have no instances?
We know that.


> 
>> But that is precisely what the 'explicit' mode allows to be filtered out.
>> So please explain how you reach the conclusion, that
>> filtering out everything except the explicitly set leafs
>> somehow is covered by the YANG draft text.
> 
> If a leaf is created in the configuration database, the server can
> always emit it.  Either the leaf will have the CDV (which YANG
> allows the server to emit), or the leaf will have a non-CDV (which
> the server MUST emit).

I prefer to stick with the 'YANG default-stmt == default'
definition we have now.

> 
> If the leaf was not created in the database, then it has no value.
> YANG allows the server to emit the default value, but does not
> require it.
> 
> So if the leaf "foo" has a default of "3", and a client sets foo
> to 3, then a server can still emit the value "3".  This is the
> "explicit" behavior, where the server emits values that the user
> has set, without caring whether those values are the CDV.
> 
> HTH....

yes -- the server MAY choose to emit a leaf with its
YANG default value.  Agreed.

> 
> Thanks,
>  Phil
> 


Andy


From andy@netconfcentral.com  Tue Sep  1 15:04:29 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 567D43A70B7 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 15:04:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.503
X-Spam-Level: 
X-Spam-Status: No, score=-2.503 tagged_above=-999 required=5 tests=[AWL=0.096,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2GkbwCcexC1W for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 15:04:28 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id 36FC928C7B0 for <netmod@ietf.org>; Tue,  1 Sep 2009 15:02:09 -0700 (PDT)
Received: (qmail 24738 invoked from network); 1 Sep 2009 22:02:23 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 1 Sep 2009 22:02:23 -0000
X-YMail-OSG: t23len4VM1nVmxZdkcMHxb8Yd18WLDWDYdKdUiG1FCFOWjbbBmUczsJ2xuLS_GCvZvTrCJYdmBaN6K5DlIPcQ4j3FHGrkoEH9JvRxib.132zpqgsE3ioPDPNDZu4mkeBCPvx0sfZmiTCMqR8zNbCT3XasH17jtbWPh.3ca1DS7TsM0SAGOvNb5IAWzWxg0GD6cvSkr_CHV7u_auUDb.eWUVopTq59vsHBc369ufFeJsUErDtb973EcSpMs_9QqxN_JzEYfwKxmFEP_Tg
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9D9986.1050602@netconfcentral.com>
Date: Tue, 01 Sep 2009 15:00:38 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909012116.n81LGAKh095413@idle.juniper.net> <4A9D9848.3030703@netconfcentral.com>
In-Reply-To: <4A9D9848.3030703@netconfcentral.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2009 22:04:29 -0000

Hi Phil,


> The 3rd bullet is clearly wrong, because 'explicitly set' is never defined,
> and you 'set by client or startup' is not what it means anyway.
> It really means
> 
>    o  explicit: Report all leaf values, including those which are explicitly set,
>       even if they are equal to the default value.  For state
>       data this has the same effect as report-all.
> 

I still got this wrong.
Can you write some normative text so the
capability makes sense?  A capability
where the server MAY do all the things the
protocol says it can do is pointless.

Let's get the normative text to say there are
actual differences between the 3 modes,
or remove redundant modes.

Andy

From randy_presuhn@mindspring.com  Tue Sep  1 17:50:26 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 673B33A7057 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 17:50:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.227
X-Spam-Level: 
X-Spam-Status: No, score=0.227 tagged_above=-999 required=5 tests=[AWL=-0.766,  BAYES_50=0.001, DATE_IN_PAST_12_24=0.992]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JegFX8GcKY8S for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 17:50:25 -0700 (PDT)
Received: from elasmtp-mealy.atl.sa.earthlink.net (elasmtp-mealy.atl.sa.earthlink.net [209.86.89.69]) by core3.amsl.com (Postfix) with ESMTP id A6DA93A6840 for <netmod@ietf.org>; Tue,  1 Sep 2009 17:50:25 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=Qa20e7p52+hPgdpUd9Eet69Ihy9VKJksJUMhrnMMOBCjrQwaAznpkdMBczJ7pI2W; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.33.94.65] (helo=oemcomputer) by elasmtp-mealy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1Mie3Z-0001rO-TI for netmod@ietf.org; Tue, 01 Sep 2009 20:50:38 -0400
Message-ID: <005001ca2a9e$ad027820$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: "NETMOD Working Group" <netmod@ietf.org>
References: <200909011009.16729.david.partain@ericsson.com> <4A9D2227.4060407@joelhalpern.com>
Date: Mon, 31 Aug 2009 17:53:51 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f906e7955804b3999330b1f5f1cfd8c87a350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.33.94.65
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 00:50:26 -0000

Hi -

> From: "Joel M. Halpern" <jmh@joelhalpern.com>
> To: "David Partain" <david.partain@ericsson.com>
> Cc: "NETMOD Working Group" <netmod@ietf.org>
> Sent: Tuesday, September 01, 2009 6:31 AM
> Subject: Re: [netmod] Issue: interpretation of 'default'
...
> A number of folks have argued that either
> a) the managed device is free to set the node to some other value, even 
> if it has a default definition,

undesirable - it means that if a client wants to be sure something has
the "default" value, the client must explicitly assign that value to it

> and to still treat that as a default 
> valued node

intolerable - this would mean that the client would not readily see that
the server was not adhering to the interface contract established by
the use of "default"

> b) the managed device is free to set nodes without default to some 
> value,

this is ok

> and not report that value in response to get requests of any kind.

intolerable -  this would prevent configuration backup / restore

Randy


From phil@juniper.net  Tue Sep  1 18:47:11 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CEB623A6A13 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 18:47:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.57
X-Spam-Level: 
X-Spam-Status: No, score=-6.57 tagged_above=-999 required=5 tests=[AWL=0.029,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NOyg5dQbkWkF for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 18:47:11 -0700 (PDT)
Received: from exprod7og118.obsmtp.com (exprod7og118.obsmtp.com [64.18.2.8]) by core3.amsl.com (Postfix) with ESMTP id ED86F3A690D for <netmod@ietf.org>; Tue,  1 Sep 2009 18:47:10 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob118.postini.com ([64.18.6.12]) with SMTP ID DSNKSp3OcewmDhXiYocMJ1YAUNX1kVPE5+bK@postini.com; Tue, 01 Sep 2009 18:47:26 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 1 Sep 2009 18:38:24 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 18:38:24 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 18:38:24 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Sep 2009 18:38:23 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n821cMd24845; Tue, 1 Sep 2009 18:38:22 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n821QFVn097471; Wed, 2 Sep 2009 01:26:15 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909020126.n821QFVn097471@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9D9848.3030703@netconfcentral.com> 
Date: Tue, 1 Sep 2009 21:26:15 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 01:38:23.0571 (UTC) FILETIME=[0F3FB230:01CA2B6E]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 01:47:11 -0000

Andy Bierman writes:
>So an ABS leaf will always be retrievable on every server
>because it does not have the YANG default value.

Yes.

>I prefer to stick with the 'YANG default-stmt == default'
>definition we have now.

This lack of common meaning has drawn out a lot of wasted
email.  I don't think we can use the definitions we have
now without some additional clarification.

>yes -- the server MAY choose to emit a leaf with its
>YANG default value.  Agreed.

Rah.  We're back to agreeing on what we agreed to when
we wrote the dang thing.

Thanks,
 Phil

From andy@netconfcentral.com  Tue Sep  1 19:15:41 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0D52E3A6873 for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 19:15:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.504
X-Spam-Level: 
X-Spam-Status: No, score=-2.504 tagged_above=-999 required=5 tests=[AWL=0.095,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9S8yQc5H257W for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 19:15:39 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id 6B94E3A6A13 for <netmod@ietf.org>; Tue,  1 Sep 2009 19:15:39 -0700 (PDT)
Received: (qmail 44514 invoked from network); 2 Sep 2009 02:02:27 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 2 Sep 2009 02:02:27 -0000
X-YMail-OSG: .SnNPhkVM1m56knMtdXTuWBfYqAUBZRRVVEXSZ3uY9wNj7NwzbrP5co_GYllC0EZJv4.aukaXokUvJVsq4OWBQLQK6gWzRRjadj6t.utRlIGAZjSQ0wq37IRgP1bFOHxhy1QBcA3Y36yr.RGviTbRJmWlM1WbNQf9WQ_bf_ARoNTe6Es3Rgb0GJ6CmEHyz9doHETVnEQNX.lRWl8CTMpOaVz.nMT.ZErGFjdkq09rmvl6JBTwuDMLvN9kHdlwqZIVlCZgV.D1cSkf.2W
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9DD1CA.8010702@netconfcentral.com>
Date: Tue, 01 Sep 2009 19:00:42 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909020126.n821QFVn097471@idle.juniper.net>
In-Reply-To: <200909020126.n821QFVn097471@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 02:15:41 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> So an ABS leaf will always be retrievable on every server
>> because it does not have the YANG default value.
> 
> Yes.
> 
>> I prefer to stick with the 'YANG default-stmt == default'
>> definition we have now.
> 
> This lack of common meaning has drawn out a lot of wasted
> email.  I don't think we can use the definitions we have
> now without some additional clarification.
> 

I like the current meaning because
it is a single value that MUST be valid for the data type.
It is a trivial implementation detail to exchange 'fred'
for <foo>fred</foo>, (assuming you consider having a perfect
view of the schema definitions used by the current server session
to be trivial).


>> yes -- the server MAY choose to emit a leaf with its
>> YANG default value.  Agreed.
> 
> Rah.  We're back to agreeing on what we agreed to when
> we wrote the dang thing.

no, because if the definition of explicit in with-defaults
was never right, so we were using different definitions
of 'explicitly set'.  Try these definitions

A default is defined as YANG default-stmt value for
YANG modules, and the 'default' attribute value for XSD:

   o  report-all: All default data MUST be reported.
   o  trim: Default data SHOULD NOT be reported.
   o  explicit: Default data MAY be reported.


> 
> Thanks,
>  Phil
> 

Andy

From mbj@tail-f.com  Tue Sep  1 23:54:52 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 84C3A3A68DC for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 23:54:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.01
X-Spam-Level: 
X-Spam-Status: No, score=-2.01 tagged_above=-999 required=5 tests=[AWL=0.036,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dv4S-tE+ixZx for <netmod@core3.amsl.com>; Tue,  1 Sep 2009 23:54:51 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id D046D3A6C48 for <netmod@ietf.org>; Tue,  1 Sep 2009 23:53:40 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id DB1F476C4E1; Wed,  2 Sep 2009 08:52:25 +0200 (CEST)
Date: Wed, 02 Sep 2009 08:52:25 +0200 (CEST)
Message-Id: <20090902.085225.250234213.mbj@tail-f.com>
To: lhotka@cesnet.cz
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <1251872580.12476.35.camel@missotis>
References: <1251825583.4542.24.camel@missotis> <20090901.215457.12686984.mbj@tail-f.com> <1251872580.12476.35.camel@missotis>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=utf-8
Content-Transfer-Encoding: base64
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 06:54:52 -0000

TGFkaXNsYXYgTGhvdGthIDxsaG90a2FAY2VzbmV0LmN6PiB3cm90ZToNCj4gTWFydGluIEJqb3Jr
bHVuZCBww63FoWUgdiDDmnQgMDEuIDA5LiAyMDA5IHYgMjE6NTQgKzAyMDA6DQo+ID4gTGFkaXNs
YXYgTGhvdGthIDxsaG90a2FAY2VzbmV0LmN6PiB3cm90ZToNCj4gPiA+IEpvZWwgTS4gSGFscGVy
biBww63FoWUgdiDDmnQgMDEuIDA5LiAyMDA5IHYgMTI6MjAgLTA0MDA6DQo+ID4gPiA+IFNvcnJ5
LCBJIGhhdmUgbm8gaWRlYSB3aGF0IHlvdSBhcmUgZ2V0dGluZyBhdCAvIGFza2luZyBmb3IuDQo+
ID4gPiA+IChJIGNhbiBwcm92aWRlIHR3byBwb3NzaWJsZSBpbnRlcnByZXRhdGlvbnMsIG9uZSBv
ZiB3aGljaCB3b3VsZCBiZSBmaW5lIA0KPiA+ID4gPiBhbmQgb25lIG9mIHdoaWNoIEkgd291bGQg
Y29tcGxldGVseSBkaXNhZ3JlZSB3aXRoLiAgQW5kIHdoYXQgeW91IG1lYW50IA0KPiA+ID4gPiBp
cyBwcm9iYWJseSBuZWl0aGVyIG9uZS4pDQo+ID4gPiA+IFdvdWxkIHlvdSBwbGVhc2UgY2xhcmlm
eSB0byB0aGUgbGlzdD8NCj4gPiA+IA0KPiA+ID4gTXkgcG9pbnQgc2ltcGx5IGlzIHRoYXQgdGhl
ICJzZXJ2ZXIgTVVTVCB1c2UiIGxhbmd1YWdlIG1pc2xlZCBtZSBpbnRvDQo+ID4gPiB0aGlua2lu
ZyB0aGF0IHRoZSAnZGVmYXVsdCcgc3RhdGVtZW50IHByZXZlbnRzIHRoZSBkZXZpY2UgZnJvbSBk
b2luZyBhKSwNCj4gPiA+IHdoaWNoIGlzIG5vdCB0aGUgY2FzZSwNCj4gPiANCj4gPiBXZWxsLCB0
aGF0IHdhcyB0aGUgaW50ZW50aW9uLiAgSWYgdGhlcmUgaXMgYSAnZGVmYXVsdCcgc3RhdGVtZW50
LCBpdA0KPiA+IHByZXZlbnRzIHRoZSBzZXJ2ZXIgZnJvbSBpZ25vcmluZyBpdC4gDQo+ID4gDQo+
ID4gV2h5IGRvIHNheSB0aGF0IHRoaXMgaXMgbm90IHRoZSBjYXNlPw0KPiANCj4gSG1tLCB0aGlz
IGlzIGdldHRpbmcgcmVhbGx5IGNvbmZ1c2luZywgc28gbGV0IG1lIHN0YXRlIGNsZWFybHkgbXkN
Cj4gcG9zaXRpb246DQo+IA0KPiAxLiBUaGUgJ2RlZmF1bHQnIHN0YXRlbWVudCBzYXlzIHRoYXQg
Y2VydGFpbiBwcmVjaXNlbHkgc3BlY2lmaWVkIA0KPiAgICBjaGFuZ2VzIHRvIHRoZSBkYXRhc3Rv
cmUgaW5mb3NldCBkbyBub3QgY2hhbmdlIHRoZSBtZWFuaW5nIG9mIHRoZSANCj4gICAgY29uZmln
dXJhdGlvbi4NCj4gDQo+IDIuIEluIHByaW5jaXBsZSwgdGhpcyBkb2VzIG5vdCBwcmV2ZW50IHRo
ZSBzZXJ2ZXIgZnJvbSBzZXR0aW5nIHN1Y2ggYSANCj4gICAgY29uZmlndXJhdGlvbiBwYXJhbWV0
ZXIgdG8gYW55IHZhbGlkIHZhbHVlLCBlLmcuIGluIGFuIGluaXRpYWwgDQo+ICAgIGNvbmZpZ3Vy
YXRpb24uIEhvd2V2ZXIsIGlmIHRoaXMgdmFsdWUgaXMgZGlmZmVyZW50IGZyb20gdGhlIGRlZmF1
bHQgDQo+ICAgIHNwZWNpZmllZCBieSB0aGUgZGF0YSBtb2RlbCwgaXQgbXVzdCBhbHdheXMgYmUg
c2hvd24gaW4gdGhlIA0KPiAgICBjb25maWd1cmF0aW9uLg0KPiANCj4gSSB1bmRlcnN0b29kIEpv
ZWwncyBpdGVtIGEpIG1lYW5zIHRoZSBzYW1lIGFzIDIuDQoNCkJ1dCBoZSB3cm90ZSAiYW5kIHN0
aWxsIHRyZWF0IHRoYXQgYXMgYSBkZWZhdWx0IHZhbHVlZCBub2RlIiwgd2hpY2ggaXMNCm5vdCB3
aGF0IHlvdSAoYW5kIG1lKSBhcmUgc2F5aW5nLiAgSnVzdCBhcyB5b3Ugc2F5LCBpZiBpdCBoYXMg
YSB2YWx1ZQ0KaXQgbXVzdCBiZSByZXR1cm5lZC4NCg0KDQovbWFydGluDQoNCg0KDQoNCg0KDQo+
IA0KPiBMYWRhDQo+IA0KPiA+IA0KPiA+IA0KPiA+IC9tYXJ0aW4NCj4gPiANCj4gPiA+ID4gTGFk
aXNsYXYgTGhvdGthIHdyb3RlOg0KPiA+ID4gPiA+IEpvZWwgTS4gSGFscGVybiBww63FoWUgdiDD
mnQgMDEuIDA5LiAyMDA5IHYgMDk6MzEgLTA0MDA6DQo+ID4gPiA+ID4+IFVuZm9ydHVuYXRlbHks
IHdoaWxlIEkgbGlrZSB0aGlzIGNhc2UsIGl0IGRvZXMgbm90LCBhcyBmYXIgYXMgSSBjYW4gDQo+
ID4gPiA+ID4+IHRlbGwsIHNvbHZlIHRoZSBwcm9ibGVtIGF0IGhhbmQuDQo+ID4gPiA+ID4+DQo+
ID4gPiA+ID4+IEEgbnVtYmVyIG9mIGZvbGtzIGhhdmUgYXJndWVkIHRoYXQgZWl0aGVyDQo+ID4g
PiA+ID4+IGEpIHRoZSBtYW5hZ2VkIGRldmljZSBpcyBmcmVlIHRvIHNldCB0aGUgbm9kZSB0byBz
b21lIG90aGVyIHZhbHVlLA0KPiA+ID4gPiA+PiBldmVuDQo+ID4gPiA+ID4+IGlmIGl0IGhhcyBh
IGRlZmF1bHQgZGVmaW5pdGlvbiwgYW5kIHRvIHN0aWxsIHRyZWF0IHRoYXQgYXMgYSBkZWZhdWx0
IA0KPiA+ID4gPiA+PiB2YWx1ZWQgbm9kZQ0KPiA+ID4gPiA+PiBiKSB0aGUgbWFuYWdlZCBkZXZp
Y2UgaXMgZnJlZSB0byBzZXQgbm9kZXMgd2l0aG91dCBkZWZhdWx0IHRvIHNvbWUgDQo+ID4gPiA+
ID4+IHZhbHVlLCBhbmQgbm90IHJlcG9ydCB0aGF0IHZhbHVlIGluIHJlc3BvbnNlIHRvIGdldCBy
ZXF1ZXN0cyBvZiBhbnkNCj4gPiA+ID4gPj4ga2luZC4NCj4gPiA+ID4gPiANCj4gPiA+ID4gPiBU
aGUgdGV4dCBub3cgc3BlY2lmaWVzIHRoYXQgdW5kZXIgY2VydGFpbiBjb25kaXRpb25zIHRoZSBj
b25maWd1cmF0aW9uDQo+ID4gPiA+ID4gd2l0aG91dCB0aGUgbGVhZiBpcyBlcXVpdmFsZW50IHRv
IG9uZSBpbiB3aGljaCB0aGUgbGVhZiBpcyBwcmVzZW50IGFuZA0KPiA+ID4gPiA+IHNldCB0byB0
aGUgZGVmYXVsdCB2YWx1ZS4gSG93ZXZlciwgZm9ybXVsYXRpb25zIGxpa2UgInNlcnZlciBNVVNU
IHVzZQ0KPiA+ID4gPiA+IHRoZSBkZWZhdWx0IiB2YWx1ZSBtYXkgYmUgdW5kZXJzdG9vZCBhcyBp
ZiB0aGUgc2VydmVyIGlzIG5vdCBhbGxvd2VkIHRvDQo+ID4gPiA+ID4gYXNzaWduIGEgdmFsdWUg
dW5pbGF0ZXJhbGx5LiBTbyBpdCBtaWdodCBiZSBhY3R1YWxseSBiZXR0ZXIgdG8gdGFsaw0KPiA+
ID4gPiA+IGFib3V0IGVxdWl2YWxlbmNlIG9mIGNvbmZpZ3VyYXRpb25zLCBhbHNvIGJlY2F1c2Ug
aXQgY2FuIGJlIGVhc2lseQ0KPiA+ID4gPiA+IGFwcGxpZWQgdG8gZGF0YXN0b3JlcyBvdGhlciB0
aGFuIHJ1bm5pbmcuDQo+ID4gPiA+ID4gDQo+ID4gPiA+ID4gTGFkYQ0KPiA+ID4gLS0gDQo+ID4g
PiBMYWRpc2xhdiBMaG90a2EsIENFU05FVA0KPiA+ID4gUEdQIEtleSBJRDogRTc0RThDMEMNCj4g
PiA+IA0KPiA+ID4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X18NCj4gPiA+IG5ldG1vZCBtYWlsaW5nIGxpc3QNCj4gPiA+IG5ldG1vZEBpZXRmLm9yZw0KPiA+
ID4gaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9uZXRtb2QNCj4gLS0gDQo+
IExhZGlzbGF2IExob3RrYSwgQ0VTTkVUDQo+IFBHUCBLZXkgSUQ6IEU3NEU4QzBDDQo+IA0K

From lhotka@cesnet.cz  Wed Sep  2 00:07:37 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DCEA13A68DC for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 00:07:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.19
X-Spam-Level: 
X-Spam-Status: No, score=-1.19 tagged_above=-999 required=5 tests=[AWL=0.060,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PL8c6PDEvdwK for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 00:07:37 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id B9F773A686A for <netmod@ietf.org>; Wed,  2 Sep 2009 00:07:36 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 2D5A8D800E8; Wed,  2 Sep 2009 09:07:13 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <20090902.085225.250234213.mbj@tail-f.com>
References: <1251825583.4542.24.camel@missotis> <20090901.215457.12686984.mbj@tail-f.com> <1251872580.12476.35.camel@missotis> <20090902.085225.250234213.mbj@tail-f.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 02 Sep 2009 09:07:11 +0200
Message-Id: <1251875231.12476.51.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 07:07:37 -0000

Martin Bjorklund píše v St 02. 09. 2009 v 08:52 +0200:

> > 
> > 1. The 'default' statement says that certain precisely specified 
> >    changes to the datastore infoset do not change the meaning of the 
> >    configuration.
> > 
> > 2. In principle, this does not prevent the server from setting such a 
> >    configuration parameter to any valid value, e.g. in an initial 
> >    configuration. However, if this value is different from the default 
> >    specified by the data model, it must always be shown in the 
> >    configuration.
> > 
> > I understood Joel's item a) means the same as 2.
> 
> But he wrote "and still treat that as a default valued node", which is
> not what you (and me) are saying.  Just as you say, if it has a value
> it must be returned.

These are the perils of shortcut formulations. My interpretation of "and
still treat that as a default valued node" was that the 'default'
statement for that node still applies, i.e. the 'default' statement that
the data model specifies for this node is not suddenly nullified by the
action.

Lada

> 
> 
> /martin
> 
> 
> 
> 
> 
> 
> > 
> > Lada
> > 
> > > 
> > > 
> > > /martin
> > > 
> > > > > Ladislav Lhotka wrote:
> > > > > > Joel M. Halpern píše v Út 01. 09. 2009 v 09:31 -0400:
> > > > > >> Unfortunately, while I like this case, it does not, as far as I can 
> > > > > >> tell, solve the problem at hand.
> > > > > >>
> > > > > >> A number of folks have argued that either
> > > > > >> a) the managed device is free to set the node to some other value,
> > > > > >> even
> > > > > >> if it has a default definition, and to still treat that as a default 
> > > > > >> valued node
> > > > > >> b) the managed device is free to set nodes without default to some 
> > > > > >> value, and not report that value in response to get requests of any
> > > > > >> kind.
> > > > > > 
> > > > > > The text now specifies that under certain conditions the configuration
> > > > > > without the leaf is equivalent to one in which the leaf is present and
> > > > > > set to the default value. However, formulations like "server MUST use
> > > > > > the default" value may be understood as if the server is not allowed to
> > > > > > assign a value unilaterally. So it might be actually better to talk
> > > > > > about equivalence of configurations, also because it can be easily
> > > > > > applied to datastores other than running.
> > > > > > 
> > > > > > Lada
> > > > -- 
> > > > Ladislav Lhotka, CESNET
> > > > PGP Key ID: E74E8C0C
> > > > 
> > > > _______________________________________________
> > > > netmod mailing list
> > > > netmod@ietf.org
> > > > https://www.ietf.org/mailman/listinfo/netmod
> > -- 
> > Ladislav Lhotka, CESNET
> > PGP Key ID: E74E8C0C
> > 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From phil@juniper.net  Wed Sep  2 00:08:47 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EF9113A686A for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 00:08:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.57
X-Spam-Level: 
X-Spam-Status: No, score=-6.57 tagged_above=-999 required=5 tests=[AWL=0.029,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p+5K4H54EA4L for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 00:08:47 -0700 (PDT)
Received: from exprod7og124.obsmtp.com (exprod7og124.obsmtp.com [64.18.2.26]) by core3.amsl.com (Postfix) with ESMTP id 12F2A3A6A1B for <netmod@ietf.org>; Wed,  2 Sep 2009 00:07:45 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob124.postini.com ([64.18.6.12]) with SMTP ID DSNKSp4ZnC6Qioc7/ZNDZg1W9Q7KkHYEAEan@postini.com; Wed, 02 Sep 2009 00:09:02 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 00:00:16 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 00:00:16 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 00:00:15 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 00:00:15 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82706d47939; Wed, 2 Sep 2009 00:00:13 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n826m1Ru099344; Wed, 2 Sep 2009 06:48:01 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909020648.n826m1Ru099344@idle.juniper.net>
To: WashamFan <Washam.Fan@huaweisymantec.com>
In-Reply-To: <fc4abfa2371b.4a9e7fb2@huaweisymantec.com> 
Date: Wed, 2 Sep 2009 02:48:01 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 07:00:15.0130 (UTC) FILETIME=[05D5BFA0:01CA2B9B]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 07:08:48 -0000

WashamFan writes:
>Below is my interpretation:

Here's my take:

report-all: The server MUST send the leaf element if the leaf has
a configured value or a default value.  If no value has been
configured, the default value is used as the leaf value.

trim:  The server MUST send the leaf element if the leaf has a
configured value and that value is different than the default value.

explicit:  The server MUST send the leaf element if the leaf has a
configured value.

Would "configured" be more meaningful than "explicit"?

Thanks,
 Phil

From Washam.Fan@huaweisymantec.com  Wed Sep  2 00:29:48 2009
Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 484623A6A80 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 00:29:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.266
X-Spam-Level: 
X-Spam-Status: No, score=-0.266 tagged_above=-999 required=5 tests=[AWL=0.229,  BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553,  RDNS_NONE=0.1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BtNKRTrOglsh for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 00:29:47 -0700 (PDT)
Received: from mta2.huaweisymantec.com (unknown [218.17.155.15]) by core3.amsl.com (Postfix) with ESMTP id 890643A6F97 for <netmod@ietf.org>; Wed,  2 Sep 2009 00:27:44 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml01-in.huaweisymantec.com ([172.26.3.42]) by hstga02-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KPB00AR2Z1UKB00@hstga02-in.huaweisymantec.com> for netmod@ietf.org; Wed, 02 Sep 2009 14:22:43 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KPB009L2Z1U8R10@hstml01-in.huaweisymantec.com> for netmod@ietf.org; Wed, 02 Sep 2009 14:22:42 +0800 (CST)
Received: from [10.27.154.141] by hstml01-in.huaweisymantec.com (mshttpd); Wed, 02 Sep 2009 14:22:42 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: Andy Bierman <andy@netconfcentral.com>
Message-id: <fc4abfa2371b.4a9e7fb2@huaweisymantec.com>
Date: Wed, 02 Sep 2009 14:22:42 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-8.03 (built Apr 24 2009; 32bit)
Content-language: en
X-Accept-Language: en
Priority: normal
In-reply-to: <4A9DD1CA.8010702@netconfcentral.com>
References: <200909020126.n821QFVn097471@idle.juniper.net> <4A9DD1CA.8010702@netconfcentral.com>
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 07:29:48 -0000

>  no, because if the definition of explicit in with-defaults
>  was never right, so we were using different definitions
>  of 'explicitly set'.  Try these definitions
>  
>  A default is defined as YANG default-stmt value for
>  YANG modules, and the 'default' attribute value for XSD:
>  
>     o  report-all: All default data MUST be reported.
>     o  trim: Default data SHOULD NOT be reported.
>     o  explicit: Default data MAY be reported.

Below is my interpretation:

     o  report-all: All default data MUST be reported.
     o  trim: Default data MUST NOT be reported.
     o  explicit: Default data MAY be reported. I.e., default data
         explicitly set by the client MUST be reported.

It is what I've been understood :with-defaults. And it is unambiguous.

Any comments?

washam

From david.partain@ericsson.com  Wed Sep  2 00:59:09 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 03C133A6FD2 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 00:59:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.701
X-Spam-Level: 
X-Spam-Status: No, score=-3.701 tagged_above=-999 required=5 tests=[AWL=-1.452, BAYES_00=-2.599, HELO_EQ_SE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lfFxyyRWzOL2 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 00:59:08 -0700 (PDT)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id 0248D3A6FB0 for <netmod@ietf.org>; Wed,  2 Sep 2009 00:56:42 -0700 (PDT)
X-AuditID: c1b4fb24-b7c01ae00000498b-54-4a9e18103ccd
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw5.ericsson.se (Symantec Brightmail Gateway) with SMTP id C9.49.18827.0181E9A4; Wed,  2 Sep 2009 09:00:32 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.174]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 09:00:31 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 09:00:31 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Wed, 2 Sep 2009 09:00:30 +0200
User-Agent: KMail/1.9.10
References: <4A9D7BA2.8020803@netconfcentral.com> <20090901.222850.210872069.mbj@tail-f.com> <4A9D8BDE.1030505@netconfcentral.com>
In-Reply-To: <4A9D8BDE.1030505@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909020900.31039.david.partain@ericsson.com>
X-OriginalArrivalTime: 02 Sep 2009 07:00:31.0398 (UTC) FILETIME=[0F880C60:01CA2B9B]
X-Brightmail-Tracker: AAAAAA==
Subject: [netmod] Supporting three styles of default handling in with-defaults (was meaning of default)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 07:59:09 -0000

Hi all,

We're treading in and out of NETCONF territory...

So, :with-defaults supports three ways of handling defaults (quoting...)

- report-all: All default data is always reported.
- trim: Values are not reported if they match the default.
- explicit: Report values if they are explicitly set.  For state data this has 
the same effect as report-all

Andy argues that YANG cannot support these three different modes.  Martin has 
agreed that there are issues that need to be addressed, but not that it's 
broken in the way Andy claims.  I see two things that need to happen:

1. If there are problems in the :with-defaults document, they should be fixed 
in NETCONF.  Proposals are, I'm sure, welcome.

2. If there are problems in the YANG spec that make it impossible (I'm 
unconvinced) to support all three, please provide textual proposals of what 
needs to change.

Thanks.

David

From dromasca@avaya.com  Wed Sep  2 01:04:36 2009
Return-Path: <dromasca@avaya.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 66CBC3A67B6 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 01:04:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.423
X-Spam-Level: 
X-Spam-Status: No, score=-2.423 tagged_above=-999 required=5 tests=[AWL=0.176,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mf+jBLGApUtE for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 01:04:35 -0700 (PDT)
Received: from nj300815-nj-outbound.net.avaya.com (nj300815-nj-outbound.net.avaya.com [198.152.12.100]) by core3.amsl.com (Postfix) with ESMTP id 4B3143A6AB3 for <netmod@ietf.org>; Wed,  2 Sep 2009 01:03:28 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.44,317,1249272000"; d="scan'208";a="172094991"
Received: from unknown (HELO co300216-co-erhwest.avaya.com) ([198.152.7.5]) by nj300815-nj-outbound.net.avaya.com with ESMTP; 02 Sep 2009 03:53:41 -0400
Received: from unknown (HELO 307622ANEX5.global.avaya.com) ([135.64.140.16]) by co300216-co-erhwest-out.avaya.com with ESMTP; 02 Sep 2009 03:53:40 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 2 Sep 2009 09:53:37 +0200
Message-ID: <EDC652A26FB23C4EB6384A4584434A04019CB482@307622ANEX5.global.avaya.com>
In-Reply-To: <20090901193508.GA9782@elstar.local>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [netmod] Configuration Data versus Operational State Data versusStatistics
Thread-Index: AcorO2f1FsmfB5+VR3emQe1o9HG5PQAZekFQ
References: <20090901193508.GA9782@elstar.local>
From: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
To: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>, <netmod@ietf.org>
Subject: Re: [netmod] Configuration Data versus Operational State Data versusStatistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 08:04:36 -0000

(speaking as a contributor)

I believe that this is an important subject, and it's good to deal with
it in the architecture document.=20

The scope seems to exceed NETCONF architecture. It's good to have the
distinction made and the concepts well defined. My question is however -
what is the role of NETCONF (and YANG) in retrieving or reporting
statistics information? I rather see a future network management
architecture using NETCONF for configuration data. I am not so sure
about operational state data - would it be NETCONF, or rather SNMP doe
operational status retrieval and notifications, or SYSLOG - if we deal
with alarms? Is there a good case to use anything else than SNMP to
retrieve statistics information?=20

Dan

> -----Original Message-----
> From: netmod-bounces@ietf.org=20
> [mailto:netmod-bounces@ietf.org] On Behalf Of Juergen Schoenwaelder
> Sent: Tuesday, September 01, 2009 10:35 PM
> To: netmod@ietf.org
> Subject: [netmod] Configuration Data versus Operational State=20
> Data versusStatistics
>=20
> Hi,
>=20
> I propose to add a section to the architecture document=20
> defining and discussing the difference between configuration=20
> data, operational state data, and statistics. I attaching=20
> some draft writeup explaining the background, providing a=20
> definition and some examples we discussed here on the list. I=20
> am also including a section discussing potential approaches=20
> to deal with operational state data. This is more for=20
> discussion rather than inclusion in the architecture document.
>=20
> /js
>=20
> --=20
> 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/>
>=20

From david.partain@ericsson.com  Wed Sep  2 01:15:29 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 729903A7073 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 01:15:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.556
X-Spam-Level: 
X-Spam-Status: No, score=-5.556 tagged_above=-999 required=5 tests=[AWL=0.693,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PGmrZd0pWAZd for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 01:15:28 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 4B2C23A6FEF for <netmod@ietf.org>; Wed,  2 Sep 2009 01:15:28 -0700 (PDT)
X-AuditID: c1b4fb3e-b7c00ae0000007bf-ea-4a9e25d72433
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id 5C.29.01983.7D52E9A4; Wed,  2 Sep 2009 09:59:19 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.175]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 09:59:19 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 09:59:19 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: NETMOD Working Group <netmod@ietf.org>
Date: Wed, 2 Sep 2009 09:59:18 +0200
User-Agent: KMail/1.9.10
References: <200909010959.59070.david.partain@ericsson.com> <4A9D0AD9.7020907@netconfcentral.com>
In-Reply-To: <4A9D0AD9.7020907@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909020959.19045.david.partain@ericsson.com>
X-OriginalArrivalTime: 02 Sep 2009 07:59:19.0598 (UTC) FILETIME=[4680A4E0:01CA2BA3]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 08:15:29 -0000

Hi,

On Tuesday 01 September 2009 13.51.53 Andy Bierman wrote:
> > David Partain wrote:
> > If the rough consensus appears to be to add it, I'll ask Martin to submit
> > a proposal with text.  We'll then discuss based on that text.
>
> I have not yet seen a complete and convincing problem statement,
> let alone a complete and convincing solution proposal.

The idea was (1) to find out if we should re-open the question and (2) 
_thereafter_ ask Martin to propose a solution to decide on.  I think that's 
what I wrote above.

Cheers,

David

From david.partain@ericsson.com  Wed Sep  2 01:18:23 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7E8BE3A6C51 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 01:18:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.619
X-Spam-Level: 
X-Spam-Status: No, score=-5.619 tagged_above=-999 required=5 tests=[AWL=0.630,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5XxUeo7u7TpK for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 01:18:22 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 8A5473A689B for <netmod@ietf.org>; Wed,  2 Sep 2009 01:18:22 -0700 (PDT)
X-AuditID: c1b4fb3e-b7c00ae0000007bf-ab-4a9e2685e191
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id 0F.89.01983.5862E9A4; Wed,  2 Sep 2009 10:02:13 +0200 (CEST)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 10:02:13 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 10:02:13 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Wed, 2 Sep 2009 10:02:12 +0200
User-Agent: KMail/1.9.10
References: <200909010959.59070.david.partain@ericsson.com> <004201ca2b20$e0b9c7e0$0601a8c0@allison> <20090901.220411.219341767.mbj@tail-f.com>
In-Reply-To: <20090901.220411.219341767.mbj@tail-f.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909021002.12971.david.partain@ericsson.com>
X-OriginalArrivalTime: 02 Sep 2009 08:02:13.0398 (UTC) FILETIME=[AE186B60:01CA2BA3]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 08:18:23 -0000

Hi,

I think there's been enough mail stating that a proposal would be good.  
Martin, could you please put together some text detailing "assigned-by 
system" (or some other name that is better -- suggestions welcome)?  

Once the text is on the table, y'all can all have at it.

Cheers,

David

From lhotka@cesnet.cz  Wed Sep  2 01:19:34 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 865923A69FD for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 01:19:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.19
X-Spam-Level: 
X-Spam-Status: No, score=-1.19 tagged_above=-999 required=5 tests=[AWL=0.060,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 47ORAcPF4eYg for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 01:19:33 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id A90C128C260 for <netmod@ietf.org>; Wed,  2 Sep 2009 01:19:33 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 0A762D800E8 for <netmod@ietf.org>; Wed,  2 Sep 2009 10:18:53 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 02 Sep 2009 10:18:52 +0200
Message-Id: <1251879533.12476.100.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Subject: [netmod] [Fwd: Re: Configuration Data versus Operational State Data versus Statistics]
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 08:19:34 -0000

Hi,

as if the chaos wasn't big enough yet, the mailing list had eaten up two
of my recent messages. So I am resending this one, and the important
part of the other one is in the subsequent discussion with Martin with
subject "Issue: interpretation of 'default'".

I am sorry for that,

Lada 

-------- Přeposlaná zpráva --------
Od: Ladislav Lhotka <lhotka@cesnet.cz>
Komu: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Kopie: netmod@ietf.org
Předmět: Re: [netmod] Configuration Data versus Operational State Data
versus Statistics
Datum: Wed, 02 Sep 2009 09:53:43 +0200

Juergen Schoenwaelder píše v Út 01. 09. 2009 v 21:35 +0200:
> Hi,
> 
> I propose to add a section to the architecture document defining and
> discussing the difference between configuration data, operational
> state data, and statistics. I attaching some draft writeup explaining

I support inclusion of this text in the architecture document. The
distinction between operational state data and statistics is crucial.

> the background, providing a definition and some examples we discussed
> here on the list. I am also including a section discussing potential
> approaches to deal with operational state data. This is more for
> discussion rather than inclusion in the architecture document.

In the second paragraph of Example 2 you write:

"However, there are usually provisions to overwrite the discovered
attributes with static configuration data, ..."

Depending on implementation, operational state and configuration
parameters may be so tightly coupled that they are effectively
indistinguishable. For example, I can directly write certain values in
the /proc filesystem, so they are by definition configuration data, but
the write immediately changes operational data in the kernel.
Conversely, any change of such a parameter in the kernel is immediately
reflected in the /proc filesystem.

Lada

> 
> /js
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From david.partain@ericsson.com  Wed Sep  2 01:22:58 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B4E7E28C416 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 01:22:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.672
X-Spam-Level: 
X-Spam-Status: No, score=-3.672 tagged_above=-999 required=5 tests=[AWL=-1.423, BAYES_00=-2.599, HELO_EQ_SE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CuSco1cIqFSW for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 01:22:58 -0700 (PDT)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id A7CBF3A68DB for <netmod@ietf.org>; Wed,  2 Sep 2009 01:21:53 -0700 (PDT)
X-AuditID: c1b4fb24-b7c01ae00000498b-77-4a9e27402586
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw5.ericsson.se (Symantec Brightmail Gateway) with SMTP id 77.1F.18827.0472E9A4; Wed,  2 Sep 2009 10:05:20 +0200 (CEST)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 10:05:19 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 10:05:19 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Wed, 2 Sep 2009 10:05:19 +0200
User-Agent: KMail/1.9.10
References: <200909012018.n81KIRof094517@idle.juniper.net>
In-Reply-To: <200909012018.n81KIRof094517@idle.juniper.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909021005.19240.david.partain@ericsson.com>
X-OriginalArrivalTime: 02 Sep 2009 08:05:19.0677 (UTC) FILETIME=[1D2056D0:01CA2BA4]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 08:22:58 -0000

Hi all,

On Tuesday 01 September 2009 22.18.27 Phil Shafer wrote:
> >If the system is using a value for a "config true" node,
> >and that value is not reported, and that value is not the model defined
> >default value, then we have an operability problem.
> >If some systems report it one way, and some systems report it another
> >way, then we probably have an interoperability problem.
>
> The delicate terms is "the system is using a value".  This is an
> ambiguous term that may be the source of the trouble.  So let's
> start with some precise terminology:
>
> "assigned-by system" (ABS): a behavior where the system will,
>   at validation time, assign values in the configuration database
>   for leafs which are not given values.  If values were given before
>   validation time, the system will not assign new values, but will
>   honor these existing values.
>
> "configuration default value" (CDV):  the default value used for
>   configuration data.  If a list instance is created in the
>   configuration database and the value for a leaf is not provided,
>   then the CDV is the value which the system will use internally.
>   This means that the behaviour of the running system using that
>   CDV as the operational value is identical to the behaviour if
>   that leaf had been explicitly configured with that value.  The
>   CDV value must be a fixed value.
>
> "operational default value" (ODV): the default value used for
>   operational data.  This is the value used by the running
>   system if a value was not configured.  It may not be fixed or
>   easily described.  The value may be dynamic or even unpublished.
>
> With these terms, we make the following rules:
>
> (a) the YANG default statement can be used to provide a CDV.
> (b) the YANG default statement cannot provide defaults for ODVs.
> (c) the YANG default statement cannot provide defaults for ABS leafs.
> (d) a server MAY choose to not send a leaf element if
>     it is a configuration leaf ('config true') and the
>     value of the leaf is the default value.
> (e) ODVs MUST be sent for operational data, since the default
>     statement applies only to configuration data.  In effect,
>     operational data has no default values.
> (f) ABS data is _real_ configuration data, since it appears
>     in the configuration database and can be manipulated with
>     the operation NETCONF/YANG operations.

Phil, are you proposing that this text be added to the YANG draft to then be 
used to help define 'default' behavior?

David

From andy@netconfcentral.com  Wed Sep  2 03:20:15 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0B1423A67A4 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:20:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.505
X-Spam-Level: 
X-Spam-Status: No, score=-2.505 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VKAxLGajxHad for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:20:13 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id 576423A6A02 for <netmod@ietf.org>; Wed,  2 Sep 2009 03:18:53 -0700 (PDT)
Received: (qmail 80460 invoked from network); 2 Sep 2009 10:16:56 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 2 Sep 2009 10:16:56 -0000
X-YMail-OSG: xnXuXKoVM1kc4nMP8Xxkr8ahA0FSjDdH8gd82OZlpuRy5PjDfceG0OP7AHpm8fy.xkaO5v_rPFeQQXm2E0pqHMLE4fuP5CGrcBEfDqi5j_b0HLm4n9ctLdOlCMdrtPz99fN5hY3O7hkHtO3_ZNZssU4ErNor_the5nxUNJZXGy.lAhyNHTHgIHjg9WGtqsk8h1VAuRr7B7FAU4Dcse1gl_TZUprPZpDWb_pImJlnSV28EKl7Y.J0hpMTrDyjVmUWZ_bTRQjOQ4MfLhOk
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9E45AF.6060007@netconfcentral.com>
Date: Wed, 02 Sep 2009 03:15:11 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909020648.n826m1Ru099344@idle.juniper.net>
In-Reply-To: <200909020648.n826m1Ru099344@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 10:20:15 -0000

Phil Shafer wrote:
> WashamFan writes:
>> Below is my interpretation:
> 
> Here's my take:
> 
> report-all: The server MUST send the leaf element if the leaf has
> a configured value or a default value.  If no value has been
> configured, the default value is used as the leaf value.
> 
> trim:  The server MUST send the leaf element if the leaf has a
> configured value and that value is different than the default value.
> 
> explicit:  The server MUST send the leaf element if the leaf has a
> configured value.
> 
> Would "configured" be more meaningful than "explicit"?
> 

provide a definition for 'configured', and we shall find out.

> Thanks,
>  Phil
> 

Andy

From lhotka@cesnet.cz  Wed Sep  2 03:40:38 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 098FF3A69E8 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:40:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.191
X-Spam-Level: 
X-Spam-Status: No, score=-1.191 tagged_above=-999 required=5 tests=[AWL=0.059,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 80-17u-vfYjM for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:40:37 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id D748928C2F2 for <netmod@ietf.org>; Wed,  2 Sep 2009 03:40:36 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 93976D800EF; Wed,  2 Sep 2009 09:53:43 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
In-Reply-To: <20090901193508.GA9782@elstar.local>
References: <20090901193508.GA9782@elstar.local>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 02 Sep 2009 09:53:42 +0200
Message-Id: <1251878022.12476.77.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 10:40:38 -0000

Juergen Schoenwaelder píše v Út 01. 09. 2009 v 21:35 +0200:
> Hi,
> 
> I propose to add a section to the architecture document defining and
> discussing the difference between configuration data, operational
> state data, and statistics. I attaching some draft writeup explaining

I support inclusion of this text in the architecture document. The
distinction between operational state data and statistics is crucial.

> the background, providing a definition and some examples we discussed
> here on the list. I am also including a section discussing potential
> approaches to deal with operational state data. This is more for
> discussion rather than inclusion in the architecture document.

In the second paragraph of Example 2 you write:

"However, there are usually provisions to overwrite the discovered
attributes with static configuration data, ..."

Depending on implementation, operational state and configuration
parameters may be so tightly coupled that they are effectively
indistinguishable. For example, I can directly write certain values in
the /proc filesystem, so they are by definition configuration data, but
the write immediately changes operational data in the kernel.
Conversely, any change of such a parameter in the kernel is immediately
reflected in the /proc filesystem.

Lada

> 
> /js
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From david.partain@ericsson.com  Wed Sep  2 03:50:38 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 36EA63A69A1 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:50:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.562
X-Spam-Level: 
X-Spam-Status: No, score=-5.562 tagged_above=-999 required=5 tests=[AWL=0.687,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WsFy8s6s2B0c for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:50:37 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 393C93A676A for <netmod@ietf.org>; Wed,  2 Sep 2009 03:50:37 -0700 (PDT)
X-AuditID: c1b4fb3c-b7b6eae000001984-50-4a9e4dc8b96e
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id C8.E5.06532.8CD4E9A4; Wed,  2 Sep 2009 12:49:44 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.174]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 12:49:44 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 12:49:44 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Wed, 2 Sep 2009 12:49:43 +0200
User-Agent: KMail/1.9.10
References: <4A95EB78.7000009@netconfcentral.com> <20090827.163003.130650426.mbj@tail-f.com> <4A96ACF7.6010204@netconfcentral.com>
In-Reply-To: <4A96ACF7.6010204@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909021249.43871.david.partain@ericsson.com>
X-OriginalArrivalTime: 02 Sep 2009 10:49:44.0528 (UTC) FILETIME=[15092500:01CA2BBB]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 10:50:38 -0000

On Thursday 27 August 2009 17.57.43 Andy Bierman wrote:
> If this filtering was just limited to YANG default-stmts,
> then it would be fine, but it is not.

I just be really thick, but I thought that's _exactly_ what it was limited to.  

We need to work on the interaction between this and :with-defaults (which 
should be done in NETCONF...), but I've never seen anyone suggesting the 
server should just magically decide what it will or will not send.

David

From cfinss@dial.pipex.com  Wed Sep  2 03:54:56 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 41D233A6E94 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:54:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.275
X-Spam-Level: 
X-Spam-Status: No, score=-2.275 tagged_above=-999 required=5 tests=[AWL=0.324,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kKyhdYz8LYCE for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:54:55 -0700 (PDT)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by core3.amsl.com (Postfix) with ESMTP id 3A92E3A6AF2 for <netmod@ietf.org>; Wed,  2 Sep 2009 03:54:55 -0700 (PDT)
X-Trace: 135628355/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.166/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.166
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap0EAIvpnUo+vGmm/2dsb2JhbACDLUCNT8kiCYQSBQ
X-IronPort-AV: E=Sophos;i="4.44,317,1249254000"; d="scan'208";a="135628355"
X-IP-Direction: IN
Received: from 1cust166.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.166]) by smtp.pipex.tiscali.co.uk with SMTP; 02 Sep 2009 11:46:33 +0100
Message-ID: <000b01ca2bb2$11b925c0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Randy Presuhn" <randy_presuhn@mindspring.com>, "NETMOD Working Group" <netmod@ietf.org>
References: <200909011009.16729.david.partain@ericsson.com><4A9D2227.4060407@joelhalpern.com> <005001ca2a9e$ad027820$6801a8c0@oemcomputer>
Date: Wed, 2 Sep 2009 11:30:42 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 10:54:56 -0000

Randy

Good to hear from you; see inline

Tom Petch


----- Original Message ----- 
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
Sent: Tuesday, September 01, 2009 2:53 AM

> > From: "Joel M. Halpern" <jmh@joelhalpern.com>
> > Sent: Tuesday, September 01, 2009 6:31 AM

> ...
> > A number of folks have argued that either
> > a) the managed device is free to set the node to some other value, even 
> > if it has a default definition,
> 
> undesirable - it means that if a client wants to be sure something has
> the "default" value, the client must explicitly assign that value to it
> 
> > and to still treat that as a default 
> > valued node
> 
> intolerable - this would mean that the client would not readily see that
> the server was not adhering to the interface contract established by
> the use of "default"
> 
> > b) the managed device is free to set nodes without default to some 
> > value,
> 
> this is ok
> 
> > and not report that value in response to get requests of any kind.
> 
> intolerable -  this would prevent configuration backup / restore

Crunch; yes, there MUST be an option (preferrably a mandatory 
one) to get back such data.

Tom Petch

> 
> Randy

From cfinss@dial.pipex.com  Wed Sep  2 03:54:57 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0CEE73A6E94 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:54:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.282
X-Spam-Level: 
X-Spam-Status: No, score=-2.282 tagged_above=-999 required=5 tests=[AWL=0.317,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g3N6-cXimI48 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:54:56 -0700 (PDT)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by core3.amsl.com (Postfix) with ESMTP id E24DC3A6E5C for <netmod@ietf.org>; Wed,  2 Sep 2009 03:54:55 -0700 (PDT)
X-Trace: 135628364/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.166/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.166
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap0EAIvpnUo+vGmm/2dsb2JhbACDLUCNT8kiCYQSBQ
X-IronPort-AV: E=Sophos;i="4.44,317,1249254000"; d="scan'208";a="135628364"
X-IP-Direction: IN
Received: from 1cust166.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.166]) by smtp.pipex.tiscali.co.uk with SMTP; 02 Sep 2009 11:46:34 +0100
Message-ID: <000c01ca2bb2$127040c0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "David Partain" <david.partain@ericsson.com>, <netmod@ietf.org>
References: <4A9D7BA2.8020803@netconfcentral.com><20090901.222850.210872069.mbj@tail-f.com><4A9D8BDE.1030505@netconfcentral.com> <200909020900.31039.david.partain@ericsson.com>
Date: Wed, 2 Sep 2009 11:30:48 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Subject: Re: [netmod] Supporting three styles of default handling inwith-defaults (was meaning of default)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 10:54:57 -0000

----- Original Message -----
From: "David Partain" <david.partain@ericsson.com>
Sent: Wednesday, September 02, 2009 9:00 AM

> Hi all,
>
> We're treading in and out of NETCONF territory...
>
> So, :with-defaults supports three ways of handling defaults (quoting...)
>
> - report-all: All default data is always reported.
> - trim: Values are not reported if they match the default.
> - explicit: Report values if they are explicitly set.  For state data this has
> the same effect as report-all

Depends what you mean by 'explicitly set'.  If it is only by Netconf, (which
is what the with-defaults I-D suggests to me)
then I think this too narrow to be useful.  I want it to include CLI, SNMP
etc since this is the data that needs to be available for configuration
backup/restore, as Randy referred to.

But if it includes data set by operations - IP FIB, Bridge forwarding table,
BGP RIB, OSPF adjacencies and LS database - then I find that too
wide to be useful.

I see this last case as yang independent; there is nothing in yang that records
whether or not something has been explicitly set.  It is currently just a matter
for Netconf.

Tom Petch

> Andy argues that YANG cannot support these three different modes.  Martin has
> agreed that there are issues that need to be addressed, but not that it's
> broken in the way Andy claims.  I see two things that need to happen:
>
> 1. If there are problems in the :with-defaults document, they should be fixed
> in NETCONF.  Proposals are, I'm sure, welcome.
>
> 2. If there are problems in the YANG spec that make it impossible (I'm
> unconvinced) to support all three, please provide textual proposals of what
> needs to change.
>
> Thanks.
>
> David
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod


From cfinss@dial.pipex.com  Wed Sep  2 03:54:57 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D21A93A6E5C for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:54:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.288
X-Spam-Level: 
X-Spam-Status: No, score=-2.288 tagged_above=-999 required=5 tests=[AWL=0.311,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nIVXpUmf25cs for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:54:56 -0700 (PDT)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by core3.amsl.com (Postfix) with ESMTP id 976DF3A6AF2 for <netmod@ietf.org>; Wed,  2 Sep 2009 03:54:56 -0700 (PDT)
X-Trace: 135628377/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.166/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.166
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap0EAIvpnUo+vGmm/2dsb2JhbACDLUCNT7hwCZApAgeCQ4FPBQ
X-IronPort-AV: E=Sophos;i="4.44,317,1249254000"; d="scan'208";a="135628377"
X-IP-Direction: IN
Received: from 1cust166.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.166]) by smtp.pipex.tiscali.co.uk with SMTP; 02 Sep 2009 11:46:36 +0100
Message-ID: <000d01ca2bb2$1385f680$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>, <netmod@ietf.org>
References: <20090901193508.GA9782@elstar.local>
Date: Wed, 2 Sep 2009 11:31:25 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Subject: Re: [netmod] Configuration Data versus Operational State Data versusStatistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 10:54:57 -0000

Juergen

Promising.

The problem I have is that the primary focus of YANG is the schema tree and
I find the data tree, which I assume is the focus here, ill-defined.  When
people
give definitions in terms of a configuration database, I cannot relate it to
the data tree.  Here the reference is to datastores which, in YANG, only really
figure in the text we have tidied up as part of XPath.

How simple this is in SMI; I need something more tangible here.

What is the data tree made of ?  Is it a pre-requisite that there is a data node
in the schema tree?

Is there a distinction between its constituent and the value thereof?

When do its constituents come into being?

Um

Tom Petch

----- Original Message -----
From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
To: <netmod@ietf.org>
Sent: Tuesday, September 01, 2009 9:35 PM
Subject: [netmod] Configuration Data versus Operational State Data
versusStatistics


> Hi,
>
> I propose to add a section to the architecture document defining and
> discussing the difference between configuration data, operational
> state data, and statistics. I attaching some draft writeup explaining
> the background, providing a definition and some examples we discussed
> here on the list. I am also including a section discussing potential
> approaches to deal with operational state data. This is more for
> discussion rather than inclusion in the architecture document.
>
> /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/>
>


--------------------------------------------------------------------------------


> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>


From cfinss@dial.pipex.com  Wed Sep  2 03:54:58 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B7EEC28C773 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:54:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.295
X-Spam-Level: 
X-Spam-Status: No, score=-2.295 tagged_above=-999 required=5 tests=[AWL=0.304,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ge3aWEcblfMu for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 03:54:54 -0700 (PDT)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by core3.amsl.com (Postfix) with ESMTP id 862443A6A92 for <netmod@ietf.org>; Wed,  2 Sep 2009 03:54:54 -0700 (PDT)
X-Trace: 135628341/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.166/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.166
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap0EAIvpnUo+vGmm/2dsb2JhbACDLUCNT8kiCYQSBYFX
X-IronPort-AV: E=Sophos;i="4.44,317,1249254000"; d="scan'208";a="135628341"
X-IP-Direction: IN
Received: from 1cust166.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.166]) by smtp.pipex.tiscali.co.uk with SMTP; 02 Sep 2009 11:46:31 +0100
Message-ID: <000a01ca2bb2$10ce2980$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Martin Bjorklund" <mbj@tail-f.com>
References: <200909010959.59070.david.partain@ericsson.com><004201ca2b20$e0b9c7e0$0601a8c0@allison> <20090901.220411.219341767.mbj@tail-f.com>
Date: Wed, 2 Sep 2009 11:30:32 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 10:54:58 -0000

---- Original Message -----
From: "Martin Bjorklund" <mbj@tail-f.com>
Sent: Tuesday, September 01, 2009 10:04 PM

> "tom.petch" <cfinss@dial.pipex.com> wrote:
> > ----- Original Message -----
> > From: "David Partain" <david.partain@ericsson.com>
> > Sent: Tuesday, September 01, 2009 9:59 AM
> > >
> > > There has been significant debate about whether to reopen the question of
> > > having 'assigned-by system'.  See this mail thread -
> > > http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html
> > >
> > > The discussion has been in the "agent-default -- new 3rd state" thread
(and
> > > probably elsewhere).
> > >
> > > Martin wrote in the message referenced above: "The idea is that if a leaf
is
> > > marked as assigned-by system, then the client MAY choose to not set a
value
> > > for the leaf when its parent instance is created.  In this case the system
> > > will assign a suitable value for the leaf."
> >
> > I am unclear.  I take it this is created in the data tree but is it as
> > config or operational state (which affects how it can be retrieved)
> > and is an instance being created or is this one of those thingies
> > which seem neither dead nor alive?
>
> No magic is supposed to happen here.  If the defintion is:
>
>    leaf uid {
>       type int32;
>       config true;
>       assigned-by system;
>    }
>
> I hope it is obvious that we're talking about configuration data?

Yes:-)

> 'assigned-by' and 'config false' cannot be used together -- a client
> can never create config false data (directly).
>
> > This harks back to Phil
> > differentiating uid from mtu and  Joel not seeing the difference.
> > I am afraid I have yet to see the difference:-(  Martin said
> > 'So "if an instance exists because the server created it" then it *is*
> > config. '  Um, leaves me none the wiser.
> >
> > And what's the parent instance got to do with it?  It sounds like
> > an assumption is built in there (and not the usual case or
> > non-presence container issues) that I am missing.
>
> Extending the example a bit:
>
>   list user {
>     ...
>     leaf uid {
>        ...
>        assigned-by system;
>     }
>   }

> We need to make it clear that the 'uid' is not spontanesoulsy created
> for non-existing users.  The 'uid' leaf will be created by the system
> when a new user is created (its "parent" -- note this is not a term we
> have used, and we will have to find the right language to describe
> this).

Right (why do I often need a second lesson from you to understand:-(

So is this 'system will assign' a MAY, MUST, SHOULD?

And is it immediate ancestor only?  I am thinking of the complex
nested stack one gets with physical and logical interfaces, with the
server allocating VCs at the bottom of the stack.

Last time around, we spent time discussing the interaction with
default and mandatory, but I see these two as incompatible
with assigned-by-system
if default means a value that the server MUST use and mandatory
means the client MUST supply (disagree with these two, but suspect
that these are the current view).

Tom Petch

> Another example:
>
>    container foo {
>      presence "...";
>      leaf bar {
>        ...
>        assigned-by system;
>      }
>    }
>
> /foo/bar is created by the system when the client creates /foo.
>
> /martin


From lhotka@cesnet.cz  Wed Sep  2 04:11:13 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2FC193A6B2C for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 04:11:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.192
X-Spam-Level: 
X-Spam-Status: No, score=-1.192 tagged_above=-999 required=5 tests=[AWL=0.058,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 76iQA+kNnRaq for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 04:11:12 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id C3F913A6B2B for <netmod@ietf.org>; Wed,  2 Sep 2009 04:11:11 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 5A781D800CE; Wed,  2 Sep 2009 08:23:01 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <20090901.215457.12686984.mbj@tail-f.com>
References: <1251821133.4542.13.camel@missotis> <4A9D49D5.6060806@joelhalpern.com> <1251825583.4542.24.camel@missotis> <20090901.215457.12686984.mbj@tail-f.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 02 Sep 2009 08:23:00 +0200
Message-Id: <1251872580.12476.35.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 11:11:13 -0000

Martin Bjorklund píše v Út 01. 09. 2009 v 21:54 +0200:
> Ladislav Lhotka <lhotka@cesnet.cz> wrote:
> > Joel M. Halpern píše v Út 01. 09. 2009 v 12:20 -0400:
> > > Sorry, I have no idea what you are getting at / asking for.
> > > (I can provide two possible interpretations, one of which would be fine 
> > > and one of which I would completely disagree with.  And what you meant 
> > > is probably neither one.)
> > > Would you please clarify to the list?
> > 
> > My point simply is that the "server MUST use" language misled me into
> > thinking that the 'default' statement prevents the device from doing a),
> > which is not the case,
> 
> Well, that was the intention.  If there is a 'default' statement, it
> prevents the server from ignoring it. 
> 
> Why do say that this is not the case?

Hmm, this is getting really confusing, so let me state clearly my
position:

1. The 'default' statement says that certain precisely specified 
   changes to the datastore infoset do not change the meaning of the 
   configuration.

2. In principle, this does not prevent the server from setting such a 
   configuration parameter to any valid value, e.g. in an initial 
   configuration. However, if this value is different from the default 
   specified by the data model, it must always be shown in the 
   configuration.

I understood Joel's item a) means the same as 2.

Lada

> 
> 
> /martin
> 
> > > Ladislav Lhotka wrote:
> > > > Joel M. Halpern píše v Út 01. 09. 2009 v 09:31 -0400:
> > > >> Unfortunately, while I like this case, it does not, as far as I can 
> > > >> tell, solve the problem at hand.
> > > >>
> > > >> A number of folks have argued that either
> > > >> a) the managed device is free to set the node to some other value, even 
> > > >> if it has a default definition, and to still treat that as a default 
> > > >> valued node
> > > >> b) the managed device is free to set nodes without default to some 
> > > >> value, and not report that value in response to get requests of any kind.
> > > > 
> > > > The text now specifies that under certain conditions the configuration
> > > > without the leaf is equivalent to one in which the leaf is present and
> > > > set to the default value. However, formulations like "server MUST use
> > > > the default" value may be understood as if the server is not allowed to
> > > > assign a value unilaterally. So it might be actually better to talk
> > > > about equivalence of configurations, also because it can be easily
> > > > applied to datastores other than running.
> > > > 
> > > > Lada
> > -- 
> > Ladislav Lhotka, CESNET
> > PGP Key ID: E74E8C0C
> > 
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From david.partain@ericsson.com  Wed Sep  2 04:29:24 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 72D5C28C2F2 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 04:29:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.611
X-Spam-Level: 
X-Spam-Status: No, score=-5.611 tagged_above=-999 required=5 tests=[AWL=0.638,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7HR6Z0uTdMUd for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 04:29:23 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id EF5A43A70A9 for <netmod@ietf.org>; Wed,  2 Sep 2009 04:26:26 -0700 (PDT)
X-AuditID: c1b4fb3e-b7c00ae0000007bf-f4-4a9e52b4e4d2
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id DB.3C.01983.4B25E9A4; Wed,  2 Sep 2009 13:10:44 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 13:10:41 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 13:10:41 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Wed, 2 Sep 2009 13:10:40 +0200
User-Agent: KMail/1.9.10
References: <200908280510.n7S5ApVq031830@idle.juniper.net> <4A978928.3070802@netconfcentral.com>
In-Reply-To: <4A978928.3070802@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909021310.40777.david.partain@ericsson.com>
X-OriginalArrivalTime: 02 Sep 2009 11:10:41.0186 (UTC) FILETIME=[020FF020:01CA2BBE]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 11:29:24 -0000

Hi,

On Friday 28 August 2009 09.37.12 Andy Bierman wrote:
> Phil Shafer wrote:
> > Andy Bierman writes:
> >> If the server can synthesize the value of a leaf for the purposes
> >> of validation and XPath, that it can do the same for the
> >> purposes of retrieval.
> >
> > We've traveled this road before.  The issue isn't that the server
> > cannot supply default values, it's that it should not supply them.
>
> Again -- it is up to the client to decide what
> the client wants to retrieve, not the server.

My take is that we really need :with-defaults...

> Again -- documentation for what the server should contain
> is not the same as retrieval of the data that the server actually contains.
> Documentation is purely optional in YANG anyway.

Andy, you keep talking about "offline documentation" or "vendor 
documentation".  I'm clearly missing something.  I don't see that we're 
talking about "vendor documentation" but rather the YANG data model.  You 
can't do anything rational with SNMP without the MIB, either. If the client 
doesn't have the YANG data model, we're trashed anyway, aren't we?  Why is it 
so onerous to look at what 'default' statements are in the data model?

Thanks.

David

From mbj@tail-f.com  Wed Sep  2 04:29:30 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4666628C6E4 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 04:29:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.948
X-Spam-Level: 
X-Spam-Status: No, score=-1.948 tagged_above=-999 required=5 tests=[AWL=0.098,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NgS8WW2v+hNO for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 04:29:29 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 469D33A70C9 for <netmod@ietf.org>; Wed,  2 Sep 2009 04:26:39 -0700 (PDT)
Received: from localhost (de-0316.d.ipeer.se [213.180.79.212]) by mail.tail-f.com (Postfix) with ESMTPA id 85E5076C4E1; Wed,  2 Sep 2009 13:16:11 +0200 (CEST)
Date: Wed, 02 Sep 2009 13:16:12 +0200 (CEST)
Message-Id: <20090902.131612.177280550.mbj@tail-f.com>
To: cfinss@dial.pipex.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <000a01ca2bb2$10ce2980$0601a8c0@allison>
References: <004201ca2b20$e0b9c7e0$0601a8c0@allison> <20090901.220411.219341767.mbj@tail-f.com> <000a01ca2bb2$10ce2980$0601a8c0@allison>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 11:29:30 -0000

"tom.petch" <cfinss@dial.pipex.com> wrote:
> So is this 'system will assign' a MAY, MUST, SHOULD?

Open question.  See below.

> And is it immediate ancestor only?  I am thinking of the complex
> nested stack one gets with physical and logical interfaces, with the
> server allocating VCs at the bottom of the stack.

Yes, ancestor only (modulo NP-containers).

> Last time around, we spent time discussing the interaction with
> default and mandatory, but I see these two as incompatible
> with assigned-by-system
> if default means a value that the server MUST use and mandatory
> means the client MUST supply (disagree with these two, but suspect
> that these are the current view).

(See also
http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html) 

Here are some alternatives:

  A.  Keep the current text about mandatory, and allow the combination
      assigned-by system and mandatory true.  The combination then
      means that the server MUST assign a value if the client doesn't.
      If assigned-by system mandatory is false, the server MAY assign a value.

      In this case, default would be ok if mandatory is false.  If the
      server did not assign a value the default applies.

  B.  Change mandatory to mean that the client MUST set it.  This
      rules out the combination assigned-by system and mandatory true.

    B.1  B +  assigned-by system means MUST assign
         This rules out the combination assigned-by system and default
          
    B.2  B +  assigned-by system means MAY assign
         The combination assigned-by system and default would be ok.


A gives most flexibility, but is also more error-prone.  B.1 seems to
be the most straight forward solution if we don't want to do A.


/martin

From andy@netconfcentral.com  Wed Sep  2 04:34:36 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E9A073A6864 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 04:34:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.338
X-Spam-Level: 
X-Spam-Status: No, score=-2.338 tagged_above=-999 required=5 tests=[AWL=-0.073, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PFv07EB-edwK for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 04:34:36 -0700 (PDT)
Received: from smtp127.sbc.mail.sp1.yahoo.com (smtp127.sbc.mail.sp1.yahoo.com [69.147.65.186]) by core3.amsl.com (Postfix) with SMTP id A8A2F28C0DD for <netmod@ietf.org>; Wed,  2 Sep 2009 04:32:11 -0700 (PDT)
Received: (qmail 71685 invoked from network); 2 Sep 2009 11:19:40 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp127.sbc.mail.sp1.yahoo.com with SMTP; 2 Sep 2009 11:19:40 -0000
X-YMail-OSG: uqGTbEgVM1nC4Ez4JdjeqmZThe5NM6VBVACLnyaIEmEkbIobPdvABypU0i3UUYNL6DsKiPr03MiR_TEftyVqiyUDlj8qPJRvuFgOt8urOuRU79M81ygTxHFZbqbxAdB1awShlqsJrAQB7kxfEYhTKlYOMeyGVak2xF4D2n9ce3Xj.pcKGhJwDKbV_ldLshR7DxYjKUoZAuubd6g-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9E54DD.1010002@netconfcentral.com>
Date: Wed, 02 Sep 2009 04:19:57 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: David Partain <david.partain@ericsson.com>
References: <4A95EB78.7000009@netconfcentral.com>	<20090827.163003.130650426.mbj@tail-f.com>	<4A96ACF7.6010204@netconfcentral.com> <200909021249.43871.david.partain@ericsson.com>
In-Reply-To: <200909021249.43871.david.partain@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 11:34:37 -0000

David Partain wrote:
> On Thursday 27 August 2009 17.57.43 Andy Bierman wrote:
>> If this filtering was just limited to YANG default-stmts,
>> then it would be fine, but it is not.
> 
> I just be really thick, but I thought that's _exactly_ what it was limited to.  
> 

maybe you should catch up on the mail threads.
We are trying to resolve terminology errors in
the with-defaults spec.  We were combining
poorly written text in with-defaults
with the inherently complex YANG document definitions
and they did not align correctly.

I am not convinced the complexity we continue
to pile onto YANG is directly proportional to
its usefulness, but one could have
said that at 50 pages, 80 pages, 120 pages...

> We need to work on the interaction between this and :with-defaults (which 
> should be done in NETCONF...), but I've never seen anyone suggesting the 
> server should just magically decide what it will or will not send.
> 


> David


Andy

From j.schoenwaelder@jacobs-university.de  Wed Sep  2 04:55:25 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 270673A68DA for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 04:55:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.154
X-Spam-Level: 
X-Spam-Status: No, score=-2.154 tagged_above=-999 required=5 tests=[AWL=0.095,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EAoxXaCXWthW for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 04:55:24 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 0061E3A67AC for <netmod@ietf.org>; Wed,  2 Sep 2009 04:55:23 -0700 (PDT)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 88A1BC0063; Wed,  2 Sep 2009 13:53:25 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id DSwB4UnFNeZ1; Wed,  2 Sep 2009 13:53:24 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 03D26C0065; Wed,  2 Sep 2009 13:53:23 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 821A4C8CE51; Wed,  2 Sep 2009 13:53:22 +0200 (CEST)
Date: Wed, 2 Sep 2009 13:53:22 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
Message-ID: <20090902115322.GD10753@elstar.local>
Mail-Followup-To: "Romascanu, Dan (Dan)" <dromasca@avaya.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <20090901193508.GA9782@elstar.local> <EDC652A26FB23C4EB6384A4584434A04019CB482@307622ANEX5.global.avaya.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <EDC652A26FB23C4EB6384A4584434A04019CB482@307622ANEX5.global.avaya.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Configuration Data versus Operational State Data versusStatistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 11:55:25 -0000

On Wed, Sep 02, 2009 at 09:53:37AM +0200, Romascanu, Dan (Dan) wrote:
> (speaking as a contributor)
> 
> I believe that this is an important subject, and it's good to deal with
> it in the architecture document. 
> 
> The scope seems to exceed NETCONF architecture. It's good to have the
> distinction made and the concepts well defined. My question is however -
> what is the role of NETCONF (and YANG) in retrieving or reporting
> statistics information? I rather see a future network management
> architecture using NETCONF for configuration data. I am not so sure
> about operational state data - would it be NETCONF, or rather SNMP doe
> operational status retrieval and notifications, or SYSLOG - if we deal
> with alarms? Is there a good case to use anything else than SNMP to
> retrieve statistics information? 

There is no explicit NETCONF architecture I am aware of. Second, RFC
4741 explicitely spells out support for configuration data and state
data retrieval - this is why we have get and get-config.

I think the IETF is ill advised if it wants to mandate which protocol
to use for certain data since this will remain a deployment issue
taking into account tools available to an operator, the familiarity
with protocols and supporting tools, authentication and security
issues, ...

/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/>

From david.partain@ericsson.com  Wed Sep  2 04:57:50 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5007528C49B for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 04:57:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.654
X-Spam-Level: 
X-Spam-Status: No, score=-5.654 tagged_above=-999 required=5 tests=[AWL=0.595,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R0UGq328OlH0 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 04:57:49 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id EDA9128C6E4 for <netmod@ietf.org>; Wed,  2 Sep 2009 04:56:46 -0700 (PDT)
X-AuditID: c1b4fb3e-b7c00ae0000007bf-21-4a9e597653ef
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id 6C.AE.01983.6795E9A4; Wed,  2 Sep 2009 13:39:34 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 13:39:34 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 13:39:34 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Wed, 2 Sep 2009 13:39:33 +0200
User-Agent: KMail/1.9.10
References: <4A9815FA.9060306@netconfcentral.com> <4A983E80.5090508@netconfcentral.com> <20090828.224008.212827189.mbj@tail-f.com>
In-Reply-To: <20090828.224008.212827189.mbj@tail-f.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909021339.33850.david.partain@ericsson.com>
X-OriginalArrivalTime: 02 Sep 2009 11:39:34.0391 (UTC) FILETIME=[0B220870:01CA2BC2]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 11:57:50 -0000

On Friday 28 August 2009 22.40.08 Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
> > Martin Bjorklund wrote:
> > > Andy Bierman <andy@netconfcentral.com> wrote:
> > >> We all agree that only actual instances of a leaf object
> > >> matter here.  The whole premise behind filter='explicit'
> > >> is that the client does not need to know the server
> > >> selected values of these instances because the exact
> > >> value the server has selected is described somehow in
> > >> the optional-to-use user documentation.
> > >
> > > You keep saying this, and we keep saying that this is not the way it
> > > works.  The premise is that the client knows the (static) default
> > > value from the "default" statement (if it needs to know it at all).
> >
> > if this is true, then why does the 'explicit' mode
> > of with-defaults just look at whether the leaf was
> > explicitly set and not the YANG default?
>
> I didn't write that draft - you did ;)  But I assume that it is
> supposed to be DML-agnostic?  For me it would be fine to make it
> YANG-specific, or at least be very specific that *if* the data model
> is written in YANG, it means that it applies to leafs with the
> "default" statement that are not explicitly set.

Hi all,

I agree with Martin here.  If we need to add YANGish clarifications 
to :with-defaults, let's do so (but please talk about it in NETCONF...)

Cheers,

David

From j.schoenwaelder@jacobs-university.de  Wed Sep  2 05:04:08 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9A93B3A6AC4 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:04:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.155
X-Spam-Level: 
X-Spam-Status: No, score=-2.155 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4VNtOjtTlyiV for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:04:07 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 920FD28C79A for <netmod@ietf.org>; Wed,  2 Sep 2009 05:03:14 -0700 (PDT)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 433F2C005A; Wed,  2 Sep 2009 14:00:46 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id NGZ6KNT6n4Lc; Wed,  2 Sep 2009 14:00:42 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id B10D0C007C; Wed,  2 Sep 2009 14:00:42 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 7741EC8CF22; Wed,  2 Sep 2009 14:00:36 +0200 (CEST)
Date: Wed, 2 Sep 2009 14:00:36 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: David Partain <david.partain@ericsson.com>
Message-ID: <20090902120036.GE10753@elstar.local>
Mail-Followup-To: David Partain <david.partain@ericsson.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <4A9D7BA2.8020803@netconfcentral.com> <20090901.222850.210872069.mbj@tail-f.com> <4A9D8BDE.1030505@netconfcentral.com> <200909020900.31039.david.partain@ericsson.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200909020900.31039.david.partain@ericsson.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Supporting three styles of default handling in with-defaults (was meaning of default)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 12:04:08 -0000

On Wed, Sep 02, 2009 at 09:00:30AM +0200, David Partain wrote:
> Hi all,
> 
> We're treading in and out of NETCONF territory...
> 
> So, :with-defaults supports three ways of handling defaults (quoting...)
> 
> - report-all: All default data is always reported.
> - trim: Values are not reported if they match the default.
> - explicit: Report values if they are explicitly set.  For state data this has 
> the same effect as report-all
> 
> Andy argues that YANG cannot support these three different modes.  Martin has 
> agreed that there are issues that need to be addressed, but not that it's 
> broken in the way Andy claims.  I see two things that need to happen:
> 
> 1. If there are problems in the :with-defaults document, they should be fixed 
> in NETCONF.  Proposals are, I'm sure, welcome.
> 
> 2. If there are problems in the YANG spec that make it impossible (I'm 
> unconvinced) to support all three, please provide textual proposals of what 
> needs to change.

I like to find agreement that NETCONF/YANG lacks proper mechanisms to
deal with the distinction of configuration data and operational state
data called out for by the operators in RFC 3535.

If we can agree on this, we can discuss what needs to be done to solve
this problem. For YANG, this might imply that "config true/false" is
too simplistic. For NETCONF, it might mean that three different ways
to deal with-defaults are not needed - instead we create a proper and
clean way to retrieve operational state separately from config state.

But the first step is to agree that the problem is of a much more
fundamental nature and requires fixes affecting both NETCONF and
NETMOD.

/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/>

From andy@netconfcentral.com  Wed Sep  2 05:09:35 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9F9D03A69D2 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:09:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.505
X-Spam-Level: 
X-Spam-Status: No, score=-2.505 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4QLkqh+a-TjT for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:09:34 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id E72AC3A6B16 for <netmod@ietf.org>; Wed,  2 Sep 2009 05:07:16 -0700 (PDT)
Received: (qmail 79075 invoked from network); 2 Sep 2009 12:05:02 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 2 Sep 2009 12:05:02 -0000
X-YMail-OSG: BGSJdIQVM1nmHjUtdglG7Fi6PbHZAFDA8dkaaf7UGALf4JGw3eCxMvj6z9aDCiSoTEcH0G7vhZsp12iZ82t6QPgd_RbB8RZT9lg1GaQAHA5a5WW5toWV0Wqo7QRMp7160TMElar2gUAdiHaOmBkVP69wAs3Lm7sA9IR5BtojXAipuOgCMcZW8xBN6HUlb4orNu95XET.Rxs4avCfcgSiF.wucuqFvuF7MUbt5ntqmySlAAgwdesDRv5FNgCAd7Uz7a2OqtVtQtrKf92b93K1V24O85zcYwsCRKso82nrNs6M0y_o
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9E5F7F.1090002@netconfcentral.com>
Date: Wed, 02 Sep 2009 05:05:19 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "tom.petch" <cfinss@dial.pipex.com>
References: <20090901193508.GA9782@elstar.local> <000d01ca2bb2$1385f680$0601a8c0@allison>
In-Reply-To: <000d01ca2bb2$1385f680$0601a8c0@allison>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration Data versus Operational State Data	versusStatistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 12:09:35 -0000

tom.petch wrote:
> Juergen
> 
> Promising.
> 
> The problem I have is that the primary focus of YANG is the schema tree and
> I find the data tree, which I assume is the focus here, ill-defined.  When
> people
> give definitions in terms of a configuration database, I cannot relate it to
> the data tree.  Here the reference is to datastores which, in YANG, only really
> figure in the text we have tidied up as part of XPath.
> 
> How simple this is in SMI; I need something more tangible here.
> 

amen to that!

I am not convinced at all that the database management model
we have created, laden and dependent on so much meta-cruft,
is going to provide any interoperability improvement beyond
where we are now with SNMP/SMIv2.   It may get much worse instead.
I do not agree that SMIv2/SNMP experience and BCPs are
irrelevant to NETCONF/YANG.

I do not consider a default value to be so special that it
warrants all the complexity it is adding to the protocol.
There are going to be so many kinds of default data, mandatory data,
and optional data, it may be too hard for newbies to learn.


> What is the data tree made of ?  Is it a pre-requisite that there is a data node
> in the schema tree?
> 
> Is there a distinction between its constituent and the value thereof?
> 
> When do its constituents come into being?
> 
> Um
> 
> Tom Petch

Andy

> 
> ----- Original Message -----
> From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
> To: <netmod@ietf.org>
> Sent: Tuesday, September 01, 2009 9:35 PM
> Subject: [netmod] Configuration Data versus Operational State Data
> versusStatistics
> 
> 
>> Hi,
>>
>> I propose to add a section to the architecture document defining and
>> discussing the difference between configuration data, operational
>> state data, and statistics. I attaching some draft writeup explaining
>> the background, providing a definition and some examples we discussed
>> here on the list. I am also including a section discussing potential
>> approaches to deal with operational state data. This is more for
>> discussion rather than inclusion in the architecture document.
>>
>> /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/>
>>
> 
> 
> --------------------------------------------------------------------------------
> 
> 
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
>>
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 


From j.schoenwaelder@jacobs-university.de  Wed Sep  2 05:09:50 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 341F928C0E9 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:09:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.156
X-Spam-Level: 
X-Spam-Status: No, score=-2.156 tagged_above=-999 required=5 tests=[AWL=0.093,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1AGwraLHUei6 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:09:49 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id EFB163A6A0A for <netmod@ietf.org>; Wed,  2 Sep 2009 05:09:48 -0700 (PDT)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 5318FC0068; Wed,  2 Sep 2009 14:08:47 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id kCj+HyU2Na0u; Wed,  2 Sep 2009 14:08:46 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 08F1AC005A; Wed,  2 Sep 2009 14:08:45 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 8E6C3C8CFAA; Wed,  2 Sep 2009 14:08:44 +0200 (CEST)
Date: Wed, 2 Sep 2009 14:08:44 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Phil Shafer <phil@juniper.net>
Message-ID: <20090902120844.GF10753@elstar.local>
Mail-Followup-To: Phil Shafer <phil@juniper.net>, "tom.petch" <cfinss@dial.pipex.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <200909011824.n81IOXLk092470@idle.juniper.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200909011824.n81IOXLk092470@idle.juniper.net>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 12:09:50 -0000

On Tue, Sep 01, 2009 at 08:24:33PM +0200, Phil Shafer wrote:
> 
> There are huge issues with the overlap between config data and
> operational data.  Trying to model these both in a single YANG
> module will be difficult and will introduce some annoying bits of
> hackery (like "mtu-configured" .vs. "mtu-right-now").
> 
> Instead, I propose a new operation for YANG-based models.  The
> <get-operational-data> RPC will return operational data associated
> with a YANG module.  The module name is a mandatory argument to the
> RPC, with an optional "revision" argument.  In addition, a filter
> argument will take a stock NETCONF filter hierarchy.

A constructive proposal - thanks! I am not sure why you want to pass
the module name; we do not scope get-config by module name either and
you can use a filter on the module's namespace. Seems duplicated and
also limiting - why can I not retrieve operational state from two
related modules in one call?
 
> In response, the server will return a set of XML elements that
> follow many of the constraints of the YANG module, but are
> freed from a few, in order to allow useful data to be returned.
> 
> A union's "type" statement and the "enum" statement will accept a
> "config" statement indicating if this branch of the union will be
> accepted for configuration data or only for operational data.
> 
>     module foo {
>         ...
>         container foo-top {
>             list interface {
>                 key name;
>                 leaf name { type string; }
>                 leaf mtu {
>                     type int;
>                     default 1024;
>                 }
>                 leaf duplex {
>                     type enumeration {
>                         enum full;
>                         enum half;
>                         enum auto { config true; }
>                         default auto;
>                     }
>                 }
>             }
>         }
>     }
> 
> Alternative: "config" here could be replaced with "operational" and
> the value inverted.

Is list interface config true or false here? We have to be careful
about the usage of keywords since enum auto { config true; } likely is
very different from leaf duplex { config true; ... } - I assume this
needs more thought to get right.

/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/>

From andy@netconfcentral.com  Wed Sep  2 05:18:44 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 464B128C553 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:18:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.505
X-Spam-Level: 
X-Spam-Status: No, score=-2.505 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8YzPuC-YYATM for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:18:43 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id 75C8D28C6E4 for <netmod@ietf.org>; Wed,  2 Sep 2009 05:18:43 -0700 (PDT)
Received: (qmail 97002 invoked from network); 2 Sep 2009 12:10:20 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 2 Sep 2009 12:10:19 -0000
X-YMail-OSG: 5RP9T1wVM1l9bFW2UhIIqeUh1L3Ryr4KkrNk.iLHOXvHV6I_vI.HOc75rXyJk4eEOuQWAii89hw.yFLHoKzEYCtVzoa7LCCkxrM1SOI4TurQMN.kI1H7N2WXupwxsvtgCQt4a8..BfwSUiZVeevyaq7uDyqs5pFc032jFdhxM4DiXzPH_XLk63S3UqNltxhCDTnR9UvOfNpgeufTUDf9wY0Mi_mEGr.ncyenbCnmT7obYD4arbMLW8HZ0hu0AnTRWcbwp.tha7GG__uKduQyES2b1Tsl0SEeldHi005uon1d5fqQWvR7j41XfKyFTww9QvDqRTqU.6wJQw--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9E60BC.9030900@netconfcentral.com>
Date: Wed, 02 Sep 2009 05:10:36 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: David Partain <david.partain@ericsson.com>
References: <4A9815FA.9060306@netconfcentral.com>	<4A983E80.5090508@netconfcentral.com>	<20090828.224008.212827189.mbj@tail-f.com> <200909021339.33850.david.partain@ericsson.com>
In-Reply-To: <200909021339.33850.david.partain@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 12:18:44 -0000

David Partain wrote:
> On Friday 28 August 2009 22.40.08 Martin Bjorklund wrote:
>> Andy Bierman <andy@netconfcentral.com> wrote:
>>> Martin Bjorklund wrote:
>>>> Andy Bierman <andy@netconfcentral.com> wrote:
>>>>> We all agree that only actual instances of a leaf object
>>>>> matter here.  The whole premise behind filter='explicit'
>>>>> is that the client does not need to know the server
>>>>> selected values of these instances because the exact
>>>>> value the server has selected is described somehow in
>>>>> the optional-to-use user documentation.
>>>> You keep saying this, and we keep saying that this is not the way it
>>>> works.  The premise is that the client knows the (static) default
>>>> value from the "default" statement (if it needs to know it at all).
>>> if this is true, then why does the 'explicit' mode
>>> of with-defaults just look at whether the leaf was
>>> explicitly set and not the YANG default?


>> I didn't write that draft - you did ;)  

Actually, the draft I submitted was much simpler and
much more clear than what the WG has now.
It was a simple boolean for a simple concept
(do you want the defaults or not?)


But I assume that it is
>> supposed to be DML-agnostic?  For me it would be fine to make it
>> YANG-specific, or at least be very specific that *if* the data model
>> is written in YANG, it means that it applies to leafs with the
>> "default" statement that are not explicitly set.
> 
> Hi all,
> 
> I agree with Martin here.  If we need to add YANGish clarifications 
> to :with-defaults, let's do so (but please talk about it in NETCONF...)
> 

sure -- but IMO what mailing list we use is irrelevant.
The with-defaults draft needs to align with YANG
definitions, so do we send an email to NETCONF
if we just refer to the <with-defaults> parameter,
but send the email to NETMOD if we ask about the
meaning of a default?


> Cheers,
> 
> David

Andy

From lhotka@cesnet.cz  Wed Sep  2 05:34:35 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1C0CC3A68EE for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:34:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.193
X-Spam-Level: 
X-Spam-Status: No, score=-1.193 tagged_above=-999 required=5 tests=[AWL=0.057,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sPjyrbnASPB8 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:34:34 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 438133A68BE for <netmod@ietf.org>; Wed,  2 Sep 2009 05:34:34 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 05E1FD800CE; Wed,  2 Sep 2009 14:03:20 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
In-Reply-To: <20090902114347.GC10753@elstar.local>
References: <20090901193508.GA9782@elstar.local> <1251878022.12476.77.camel@missotis> <20090902114347.GC10753@elstar.local>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 02 Sep 2009 14:03:18 +0200
Message-Id: <1251892998.12476.119.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 12:34:35 -0000

Juergen Schoenwaelder píše v St 02. 09. 2009 v 13:43 +0200:
> On Wed, Sep 02, 2009 at 09:53:42AM +0200, Ladislav Lhotka wrote:
> 
> > 
> > In the second paragraph of Example 2 you write:
> > 
> > "However, there are usually provisions to overwrite the discovered
> > attributes with static configuration data, ..."
> > 
> > Depending on implementation, operational state and configuration
> > parameters may be so tightly coupled that they are effectively
> > indistinguishable. For example, I can directly write certain values in
> > the /proc filesystem, so they are by definition configuration data, but
> > the write immediately changes operational data in the kernel.
> > Conversely, any change of such a parameter in the kernel is immediately
> > reflected in the /proc filesystem.
> 
> Writing to /proc changes operational state - the act of writing to
> /proc does not consitute creation of configuration. Writing to /proc
> becomes configuration if you create a persistent config file that
> writes to /proc again when the box reloads its configuration.

If an in-memory database is allowed as the configuration datastore, it
could be coupled with the internal parameters in a similar way as in
the /proc filesystem, and persistence can be also guaranteed.

Perhaps we should really treat configuration as a "config file", or XML
document in the NETCONF context.

Lada

> 
> /js
> 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From david.partain@ericsson.com  Wed Sep  2 05:44:30 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4F3EC3A67AC for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:44:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.691
X-Spam-Level: 
X-Spam-Status: No, score=-3.691 tagged_above=-999 required=5 tests=[AWL=-1.442, BAYES_00=-2.599, HELO_EQ_SE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HRr6J8XKFEyC for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:44:29 -0700 (PDT)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id 901943A6AB2 for <netmod@ietf.org>; Wed,  2 Sep 2009 05:42:26 -0700 (PDT)
X-AuditID: c1b4fb24-b7c01ae00000498b-ff-4a9e5b0640bc
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw5.ericsson.se (Symantec Brightmail Gateway) with SMTP id 9A.81.18827.60B5E9A4; Wed,  2 Sep 2009 13:46:14 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.175]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 13:46:13 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 13:46:13 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Wed, 2 Sep 2009 13:46:13 +0200
User-Agent: KMail/1.9.10
References: <4A95EB78.7000009@netconfcentral.com> <200909021249.43871.david.partain@ericsson.com> <4A9E54DD.1010002@netconfcentral.com>
In-Reply-To: <4A9E54DD.1010002@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909021346.13387.david.partain@ericsson.com>
X-OriginalArrivalTime: 02 Sep 2009 11:46:13.0905 (UTC) FILETIME=[F9430810:01CA2BC2]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 12:44:30 -0000

On Wednesday 02 September 2009 13.19.57 Andy Bierman wrote:
> David Partain wrote:
> > On Thursday 27 August 2009 17.57.43 Andy Bierman wrote:
> >> If this filtering was just limited to YANG default-stmts,
> >> then it would be fine, but it is not.
> >
> > I just be really thick, but I thought that's _exactly_ what it was
> > limited to.
>
> maybe you should catch up on the mail threads.
> We are trying to resolve terminology errors in
> the with-defaults spec.  We were combining
> poorly written text in with-defaults
> with the inherently complex YANG document definitions
> and they did not align correctly.

Thanks, Andy.  I'm perfectly aware of what the discussion is about.

David

From lhotka@cesnet.cz  Wed Sep  2 05:51:58 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 636273A6AB7 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:51:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.193
X-Spam-Level: 
X-Spam-Status: No, score=-1.193 tagged_above=-999 required=5 tests=[AWL=0.057,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i6SFNz18y3hn for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:51:57 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id C1CE63A68EE for <netmod@ietf.org>; Wed,  2 Sep 2009 05:51:39 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id D0FCCD800EF; Wed,  2 Sep 2009 14:16:37 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <20090902.134448.165255613.mbj@tail-f.com>
References: <000a01ca2bb2$10ce2980$0601a8c0@allison> <20090902.131612.177280550.mbj@tail-f.com> <1251891606.12476.104.camel@missotis> <20090902.134448.165255613.mbj@tail-f.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 02 Sep 2009 14:16:36 +0200
Message-Id: <1251893796.12476.129.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 12:51:58 -0000

Martin Bjorklund píše v St 02. 09. 2009 v 13:44 +0200:
> Ladislav Lhotka <lhotka@cesnet.cz> wrote:
> > Martin Bjorklund píše v St 02. 09. 2009 v 13:16 +0200:
> > > "tom.petch" <cfinss@dial.pipex.com> wrote:
> > > > So is this 'system will assign' a MAY, MUST, SHOULD?
> > > 
> > > Open question.  See below.
> > > 
> > > > And is it immediate ancestor only?  I am thinking of the complex
> > > > nested stack one gets with physical and logical interfaces, with the
> > > > server allocating VCs at the bottom of the stack.
> > > 
> > > Yes, ancestor only (modulo NP-containers).
> > > 
> > > > Last time around, we spent time discussing the interaction with
> > > > default and mandatory, but I see these two as incompatible
> > > > with assigned-by-system
> > > > if default means a value that the server MUST use and mandatory
> > > > means the client MUST supply (disagree with these two, but suspect
> > > > that these are the current view).
> > > 
> > > (See also
> > > http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html) 
> > > 
> > > Here are some alternatives:
> > > 
> > >   A.  Keep the current text about mandatory, and allow the combination
> > >       assigned-by system and mandatory true.  The combination then
> > >       means that the server MUST assign a value if the client doesn't.
> > >       If assigned-by system mandatory is false, the server MAY assign a
> > >       value.
> > > 
> > >       In this case, default would be ok if mandatory is false.  If the
> > >       server did not assign a value the default applies.
> > > 
> > >   B.  Change mandatory to mean that the client MUST set it.  This
> > >       rules out the combination assigned-by system and mandatory true.
> > > 
> > >     B.1  B +  assigned-by system means MUST assign
> > >          This rules out the combination assigned-by system and default
> > >           
> > >     B.2  B +  assigned-by system means MAY assign
> > >          The combination assigned-by system and default would be ok.
> > > 
> > > 
> > > A gives most flexibility, but is also more error-prone.  B.1 seems to
> > > be the most straight forward solution if we don't want to do A.
> > 
> > I want to do A. Why is it error-prone?
> 
> It adds complexity, and the interactions may be subtle.

IMO, it is exactly the case A where interactions are minimal or none -
'mandatory' and 'default' address static configurations whereas
'assigned-by' addresses workflow. In particular, 'assigned-by' is
irrelevant for the validation of a configuration.

Lada

> 
> This said, I prefer A as well.
> 
> 
> 
> /martin
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From andy@netconfcentral.com  Wed Sep  2 05:54:40 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5F7473A6AF6 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:54:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.339
X-Spam-Level: 
X-Spam-Status: No, score=-2.339 tagged_above=-999 required=5 tests=[AWL=-0.074, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wEUsAkyTSKc5 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 05:54:39 -0700 (PDT)
Received: from smtp127.sbc.mail.sp1.yahoo.com (smtp127.sbc.mail.sp1.yahoo.com [69.147.65.186]) by core3.amsl.com (Postfix) with SMTP id A2B843A68DA for <netmod@ietf.org>; Wed,  2 Sep 2009 05:54:39 -0700 (PDT)
Received: (qmail 1319 invoked from network); 2 Sep 2009 12:47:12 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp127.sbc.mail.sp1.yahoo.com with SMTP; 2 Sep 2009 12:47:11 -0000
X-YMail-OSG: a4wtnoEVM1kB6LCRkQj_EdZ7rv2R5SA4JoAUpshrAb9oYbH2zAu4xZLj3UXIayUM.o7ZMJow1EMM2e0Sh0sYcXKM93ivFja_AY6ivV_Hp.1lDpvJtm.xOmej4.CAd588YGzQpOJoUH96egKQZESj8gTlKy9YVET6HMHg5h5PmOsX_6XoRBxrQrIaQjdMnqIj.jrn6nTB.6bs9sk-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9E68E7.3030801@netconfcentral.com>
Date: Wed, 02 Sep 2009 05:45:27 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: David Partain <david.partain@ericsson.com>
References: <200908280510.n7S5ApVq031830@idle.juniper.net>	<4A978928.3070802@netconfcentral.com> <200909021310.40777.david.partain@ericsson.com>
In-Reply-To: <200909021310.40777.david.partain@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 12:54:40 -0000

David Partain wrote:
> Hi,
> 
> On Friday 28 August 2009 09.37.12 Andy Bierman wrote:
>> Phil Shafer wrote:
>>> Andy Bierman writes:
>>>> If the server can synthesize the value of a leaf for the purposes
>>>> of validation and XPath, that it can do the same for the
>>>> purposes of retrieval.
>>> We've traveled this road before.  The issue isn't that the server
>>> cannot supply default values, it's that it should not supply them.
>> Again -- it is up to the client to decide what
>> the client wants to retrieve, not the server.
> 
> My take is that we really need :with-defaults...
> 

I think it was much cleaner as a boolean.
Retrieve YANG defaults? (yes/no) [d:no]

>> Again -- documentation for what the server should contain
>> is not the same as retrieval of the data that the server actually contains.
>> Documentation is purely optional in YANG anyway.
> 
> Andy, you keep talking about "offline documentation" or "vendor 
> documentation".  I'm clearly missing something.  I don't see that we're 
> talking about "vendor documentation" but rather the YANG data model.  You 
> can't do anything rational with SNMP without the MIB, either. If the client 
> doesn't have the YANG data model, we're trashed anyway, aren't we?  Why is it 
> so onerous to look at what 'default' statements are in the data model?
> 

IMO, this is more complicated to use, and not nearly as robust as SNMP.

As Tom alluded to, you have to save the server capabilities
and extracted defaults out of the YANG modules+deviations,
along with the 'real' data, just to backup a configuration.

You need very complicated software and a deterministic set of
meta-data just to extract the current configuration/state/whatever
from a device.

The only way to be sure a device is using the default is to set
every server-assigned leaf to its default, just so you can read back
the value you set.  This is extra work on both ends for no reason.

The deviations and no-revision-is-OK problems make the meta-data set
almost deterministic and almost complete, at best.  That's not good
enough for backup purposes.

I have not met anybody (so far) that believes for a second
that vendors will publish their deviation files, so relying
on deviations (especially in the critical path) seems
problematic to me.


> Thanks.
> 
> David

Andy

From andy@netconfcentral.com  Wed Sep  2 06:03:05 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7C62C28C6DD for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 06:03:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.505
X-Spam-Level: 
X-Spam-Status: No, score=-2.505 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IuEx8-1YwvDT for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 06:03:04 -0700 (PDT)
Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by core3.amsl.com (Postfix) with SMTP id C092128C0FA for <netmod@ietf.org>; Wed,  2 Sep 2009 06:02:37 -0700 (PDT)
Received: (qmail 77221 invoked from network); 2 Sep 2009 13:01:42 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 2 Sep 2009 13:01:42 -0000
X-YMail-OSG: oleJj3AVM1k7LWLJSKzxvrx5yntYWB6GIaG1NZ7JVzfHpWBcO6QtrrrmnJIo3X5x7DCdV7ovUd4IyjT606iZ7AFPzrPf4syIVpK2eO9tZ8POkGXDN83eVBELohvA6p_X8xrrGwsOhpbILKN6NION7vKjfIsnpMerrgunsYhzsMt8ZQYS9dsLwv4wVQuEBS.v9DmSwaoQJPwWgMZ1swx3Zyc.00hRWZFP7AAphh6U3B9PwU9S2QGw1CiAU6GeK_xn6awEY2g8WomsT.0_
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9E6C4F.6090108@netconfcentral.com>
Date: Wed, 02 Sep 2009 05:59:59 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: David Partain <david.partain@ericsson.com>
References: <4A95EB78.7000009@netconfcentral.com>	<200909021249.43871.david.partain@ericsson.com>	<4A9E54DD.1010002@netconfcentral.com> <200909021346.13387.david.partain@ericsson.com>
In-Reply-To: <200909021346.13387.david.partain@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 13:03:05 -0000

David Partain wrote:
> On Wednesday 02 September 2009 13.19.57 Andy Bierman wrote:
>> David Partain wrote:
>>> On Thursday 27 August 2009 17.57.43 Andy Bierman wrote:
>>>> If this filtering was just limited to YANG default-stmts,
>>>> then it would be fine, but it is not.
>>> I just be really thick, but I thought that's _exactly_ what it was
>>> limited to.
>> maybe you should catch up on the mail threads.
>> We are trying to resolve terminology errors in
>> the with-defaults spec.  We were combining
>> poorly written text in with-defaults
>> with the inherently complex YANG document definitions
>> and they did not align correctly.
> 
> Thanks, Andy.  I'm perfectly aware of what the discussion is about.
> 

great then -- glad you can join us.

The threads are way too long and repetitive.
It would be great if they were resolved sooner.

I am having a hard time believing that Joel and I
misinterpreted the meaning of 'explicit' with-defaults
retrieval so incorrectly.

We repeatedly asked if this referred just to nodes
set by the client, and were told yes.
We asked, will server-created leaf instances that do not
contain the YANG default-stmt value be returned?
We were told no.

Now we are told the opposite, that 'explicit'
means set by the client AND the server (who's left?)
and all server-created leaf instances are returned
in a <get-config>.

Explicit just means: "if the client set it, return it,
even if the value is the YANG default".  This was not made clear
until recently.


> David

Andy


From j.schoenwaelder@jacobs-university.de  Wed Sep  2 06:31:18 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A4BBA3A6B4F for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 06:31:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.156
X-Spam-Level: 
X-Spam-Status: No, score=-2.156 tagged_above=-999 required=5 tests=[AWL=0.093,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tUXlAMQ9Yqzk for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 06:31:17 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id A2C413A6C0F for <netmod@ietf.org>; Wed,  2 Sep 2009 06:31:17 -0700 (PDT)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 0F3D9C0059; Wed,  2 Sep 2009 13:43:50 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id stvwFlVJiA9y; Wed,  2 Sep 2009 13:43:48 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id B357BC0019; Wed,  2 Sep 2009 13:43:48 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 45E59C8CE09; Wed,  2 Sep 2009 13:43:47 +0200 (CEST)
Date: Wed, 2 Sep 2009 13:43:47 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@cesnet.cz>
Message-ID: <20090902114347.GC10753@elstar.local>
Mail-Followup-To: Ladislav Lhotka <lhotka@cesnet.cz>, "netmod@ietf.org" <netmod@ietf.org>
References: <20090901193508.GA9782@elstar.local> <1251878022.12476.77.camel@missotis>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1251878022.12476.77.camel@missotis>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 13:31:18 -0000

On Wed, Sep 02, 2009 at 09:53:42AM +0200, Ladislav Lhotka wrote:

> 
> In the second paragraph of Example 2 you write:
> 
> "However, there are usually provisions to overwrite the discovered
> attributes with static configuration data, ..."
> 
> Depending on implementation, operational state and configuration
> parameters may be so tightly coupled that they are effectively
> indistinguishable. For example, I can directly write certain values in
> the /proc filesystem, so they are by definition configuration data, but
> the write immediately changes operational data in the kernel.
> Conversely, any change of such a parameter in the kernel is immediately
> reflected in the /proc filesystem.

Writing to /proc changes operational state - the act of writing to
/proc does not consitute creation of configuration. Writing to /proc
becomes configuration if you create a persistent config file that
writes to /proc again when the box reloads its configuration.

/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/>

From phil@juniper.net  Wed Sep  2 07:09:53 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 252A13A6C8A for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:09:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.571
X-Spam-Level: 
X-Spam-Status: No, score=-6.571 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pd9FboiRSs9F for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:09:52 -0700 (PDT)
Received: from exprod7og120.obsmtp.com (exprod7og120.obsmtp.com [64.18.2.18]) by core3.amsl.com (Postfix) with ESMTP id EE7623A6824 for <netmod@ietf.org>; Wed,  2 Sep 2009 07:09:51 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob120.postini.com ([64.18.6.12]) with SMTP ID DSNKSp58kG3KpvgiIBraWX4SDhywd3x6t59i@postini.com; Wed, 02 Sep 2009 07:10:08 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 06:59:24 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 06:59:24 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 06:59:24 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 06:59:23 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82DxMd44311; Wed, 2 Sep 2009 06:59:23 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n82DlHsa004215; Wed, 2 Sep 2009 13:47:17 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909021347.n82DlHsa004215@idle.juniper.net>
To: Ladislav Lhotka <lhotka@cesnet.cz>
In-Reply-To: <1251878022.12476.77.camel@missotis> 
Date: Wed, 2 Sep 2009 09:47:17 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 13:59:23.0561 (UTC) FILETIME=[9377C990:01CA2BD5]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 14:09:53 -0000

Ladislav Lhotka writes:
>Depending on implementation, operational state and configuration
>parameters may be so tightly coupled that they are effectively
>indistinguishable. For example, I can directly write certain values in
>the /proc filesystem, so they are by definition configuration data, but
>the write immediately changes operational data in the kernel.
>Conversely, any change of such a parameter in the kernel is immediately
>reflected in the /proc filesystem.

There is writable data that is not configuration data.
Examples:
- file system contents
- software images
- EPROM contents
- the time in "shutdown at <time>"
- counters that can be cleared
- non-config copies of config data (like I can say "hostname foo",
  but the real configured value for hostname remains in /etc/rc.conf).

/proc would follow this, since the values you are writing aren't
really configuration data.  Register values in a running process
are not configuration data.

The flow from configuration data into operational data is not
a straight-forward path.  There are twists and turns, and
often out-right hacks.  I think the scenarios where configuration
parameters and operational state are coupled by Goldberg-esque
machinery are more common that the tightly coupled cases.

  http://dashboards.tv/images/rube-goldberg.jpg

So what do we call this writable non-configuration data?

Thanks,
 Phil

From Washam.Fan@huaweisymantec.com  Wed Sep  2 07:13:25 2009
Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 078963A6E32 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:13:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.732
X-Spam-Level: 
X-Spam-Status: No, score=-1.732 tagged_above=-999 required=5 tests=[AWL=0.867,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F7zfWymUBuSu for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:13:24 -0700 (PDT)
Received: from mta2.huaweisymantec.com (mta2.huaweisymantec.com [218.17.155.15]) by core3.amsl.com (Postfix) with ESMTP id 2DA2B3A6CB7 for <netmod@ietf.org>; Wed,  2 Sep 2009 07:13:24 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml02-in.huaweisymantec.com ([172.26.3.42]) by hstga02-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KPC0091RKRBR070@hstga02-in.huaweisymantec.com> for netmod@ietf.org; Wed, 02 Sep 2009 22:11:35 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml02-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KPC0059MKRBY120@hstml02-in.huaweisymantec.com> for netmod@ietf.org; Wed, 02 Sep 2009 22:11:35 +0800 (CST)
Received: from [117.79.65.106] by hstml02-in.huaweisymantec.com (mshttpd); Wed, 02 Sep 2009 22:11:35 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: Martin Bjorklund <mbj@tail-f.com>
Message-id: <fc9cbc31119a.4a9eed97@huaweisymantec.com>
Date: Wed, 02 Sep 2009 22:11:35 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-8.03 (built Apr 24 2009; 32bit)
Content-language: en
X-Accept-Language: en
Priority: normal
In-reply-to: <20090902.131612.177280550.mbj@tail-f.com>
References: <004201ca2b20$e0b9c7e0$0601a8c0@allison> <20090901.220411.219341767.mbj@tail-f.com> <000a01ca2bb2$10ce2980$0601a8c0@allison> <20090902.131612.177280550.mbj@tail-f.com>
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 14:13:25 -0000

 
> Here are some alternatives:
> 
>   A.  Keep the current text about mandatory, and allow the combination
>       assigned-by system and mandatory true.  The combination then
>       means that the server MUST assign a value if the client doesn't.
>       If assigned-by system mandatory is false, the server MAY assign 
> a value.
> 
>       In this case, default would be ok if mandatory is false.  If the
>       server did not assign a value the default applies.

I prefer A, except the last sentence. I'd like, rule out the combination
assigned-by system and default. I.e., unless the client explicit set
it, the default value MUST be used.

washam

>   B.  Change mandatory to mean that the client MUST set it.  This
>       rules out the combination assigned-by system and mandatory true.
> 
>     B.1  B +  assigned-by system means MUST assign
>          This rules out the combination assigned-by system and default
>           
>     B.2  B +  assigned-by system means MAY assign
>          The combination assigned-by system and default would be ok.
> 
> 
> A gives most flexibility, but is also more error-prone.  B.1 seems to
> be the most straight forward solution if we don't want to do A.
> 
> 
> /martin
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

From david.partain@ericsson.com  Wed Sep  2 07:18:00 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4BE1728C0F3 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:18:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.606
X-Spam-Level: 
X-Spam-Status: No, score=-3.606 tagged_above=-999 required=5 tests=[AWL=-1.357, BAYES_00=-2.599, HELO_EQ_SE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k2h9Ow65VUDH for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:17:59 -0700 (PDT)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id 39BDB3A6BFD for <netmod@ietf.org>; Wed,  2 Sep 2009 07:16:36 -0700 (PDT)
X-AuditID: c1b4fb24-b7c01ae00000498b-24-4a9e7e0c651d
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw5.ericsson.se (Symantec Brightmail Gateway) with SMTP id 3E.0D.18827.C0E7E9A4; Wed,  2 Sep 2009 16:15:40 +0200 (CEST)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 16:15:40 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 16:15:39 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Wed, 2 Sep 2009 16:15:39 +0200
User-Agent: KMail/1.9.10
References: <4A9815FA.9060306@netconfcentral.com> <200909021339.33850.david.partain@ericsson.com> <4A9E60BC.9030900@netconfcentral.com>
In-Reply-To: <4A9E60BC.9030900@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909021615.39431.david.partain@ericsson.com>
X-OriginalArrivalTime: 02 Sep 2009 14:15:39.0814 (UTC) FILETIME=[D95C2C60:01CA2BD7]
X-Brightmail-Tracker: AAAAAA==
Subject: [netmod] Working on :with-defaults (was Configuration nodes was Re: meaning of defau)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 14:18:00 -0000

Hi,


> > I agree with Martin here.  If we need to add YANGish clarifications
> > to :with-defaults, let's do so (but please talk about it in NETCONF...)
>
> sure -- but IMO what mailing list we use is irrelevant.

In principle, I agree since it's the same people in both places.  I just hope 
the (other) NETCONF folks are all watching.

> The with-defaults draft needs to align with YANG definitions

We agree.  So let's do that.

Cheers,

David

From david.partain@ericsson.com  Wed Sep  2 07:24:25 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1933428C36C for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:24:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.531
X-Spam-Level: 
X-Spam-Status: No, score=-5.531 tagged_above=-999 required=5 tests=[AWL=0.718,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SBiU4eYn0W6g for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:24:24 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 6946C3A6AC6 for <netmod@ietf.org>; Wed,  2 Sep 2009 07:24:23 -0700 (PDT)
X-AuditID: c1b4fb3e-b7c00ae0000007bf-da-4a9e7fe1c795
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id 3B.EC.01983.1EF7E9A4; Wed,  2 Sep 2009 16:23:29 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.175]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 16:23:28 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 16:23:27 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: "netmod@ietf.org" <netmod@ietf.org>
Date: Wed, 2 Sep 2009 16:23:27 +0200
User-Agent: KMail/1.9.10
References: <4A9D7BA2.8020803@netconfcentral.com> <200909020900.31039.david.partain@ericsson.com> <20090902120036.GE10753@elstar.local>
In-Reply-To: <20090902120036.GE10753@elstar.local>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909021623.27499.david.partain@ericsson.com>
X-OriginalArrivalTime: 02 Sep 2009 14:23:27.0990 (UTC) FILETIME=[F06A2960:01CA2BD8]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] Supporting three styles of default handling in with-defaults (was meaning of default)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 14:24:25 -0000

Howdy,

On Wednesday 02 September 2009 14.00.36 Juergen Schoenwaelder wrote:
> On Wed, Sep 02, 2009 at 09:00:30AM +0200, David Partain wrote:
> > Hi all,
> >
> > We're treading in and out of NETCONF territory...
> >
> > So, :with-defaults supports three ways of handling defaults (quoting...)
> >
> > - report-all: All default data is always reported.
> > - trim: Values are not reported if they match the default.
> > - explicit: Report values if they are explicitly set.  For state data
> > this has the same effect as report-all
> >
> > Andy argues that YANG cannot support these three different modes.  Martin
> > has agreed that there are issues that need to be addressed, but not that
> > it's broken in the way Andy claims.  I see two things that need to
> > happen:
> >
> > 1. If there are problems in the :with-defaults document, they should be
> > fixed in NETCONF.  Proposals are, I'm sure, welcome.
> >
> > 2. If there are problems in the YANG spec that make it impossible (I'm
> > unconvinced) to support all three, please provide textual proposals of
> > what needs to change.
>
> I like to find agreement that NETCONF/YANG lacks proper mechanisms to
> deal with the distinction of configuration data and operational state
> data called out for by the operators in RFC 3535.

And I think that discussion is appropriately happening in "Configuration Data 
versus Operational State Data versus Statistics".  Thank you for writing 
that.

> If we can agree on this, we can discuss what needs to be done to solve
> this problem. For YANG, this might imply that "config true/false" is
> too simplistic. For NETCONF, it might mean that three different ways
> to deal with-defaults are not needed - instead we create a proper and
> clean way to retrieve operational state separately from config state.
>
> But the first step is to agree that the problem is of a much more
> fundamental nature and requires fixes affecting both NETCONF and
> NETMOD.

Fair enough.  See you in the other thread.  We'll have to revisit this one 
later, though...

Cheers,

David

From phil@juniper.net  Wed Sep  2 07:29:31 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8BE7B3A6B10 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:29:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.571
X-Spam-Level: 
X-Spam-Status: No, score=-6.571 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JrxQg0Wd-5cs for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:29:30 -0700 (PDT)
Received: from exprod7og106.obsmtp.com (exprod7og106.obsmtp.com [64.18.2.165]) by core3.amsl.com (Postfix) with ESMTP id 6727E3A68E3 for <netmod@ietf.org>; Wed,  2 Sep 2009 07:28:01 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob106.postini.com ([64.18.6.12]) with SMTP ID DSNKSp6AaQBVBonOWOfLkEtwBrRok4h8JsLz@postini.com; Wed, 02 Sep 2009 07:28:18 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 07:21:10 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 07:21:11 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 07:21:09 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 07:21:09 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82EL8d54357; Wed, 2 Sep 2009 07:21:08 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n82E93SE004470; Wed, 2 Sep 2009 14:09:03 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909021409.n82E93SE004470@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9E6C4F.6090108@netconfcentral.com> 
Date: Wed, 2 Sep 2009 10:09:03 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 14:21:09.0615 (UTC) FILETIME=[9DEFCFF0:01CA2BD8]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 14:29:31 -0000

Andy Bierman writes:
>Explicit just means: "if the client set it, return it,
>even if the value is the YANG default".  This was not made clear
>until recently.

In any event, let's stop with the finger pointing and be happy that
we've finally arrived back at the same concensus we arrived at last
time.  Take a moment, enjoy the calm.

Thanks,
 Phil

From lhotka@cesnet.cz  Wed Sep  2 07:32:04 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4A8A33A69E9 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:32:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.194
X-Spam-Level: 
X-Spam-Status: No, score=-1.194 tagged_above=-999 required=5 tests=[AWL=0.056,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ya4eNEzX473B for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:32:03 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 1DE7C3A6915 for <netmod@ietf.org>; Wed,  2 Sep 2009 07:32:03 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 038DDD800E8; Wed,  2 Sep 2009 13:40:08 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <20090902.131612.177280550.mbj@tail-f.com>
References: <004201ca2b20$e0b9c7e0$0601a8c0@allison> <20090901.220411.219341767.mbj@tail-f.com> <000a01ca2bb2$10ce2980$0601a8c0@allison> <20090902.131612.177280550.mbj@tail-f.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 02 Sep 2009 13:40:06 +0200
Message-Id: <1251891606.12476.104.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 14:32:04 -0000

Martin Bjorklund píše v St 02. 09. 2009 v 13:16 +0200:
> "tom.petch" <cfinss@dial.pipex.com> wrote:
> > So is this 'system will assign' a MAY, MUST, SHOULD?
> 
> Open question.  See below.
> 
> > And is it immediate ancestor only?  I am thinking of the complex
> > nested stack one gets with physical and logical interfaces, with the
> > server allocating VCs at the bottom of the stack.
> 
> Yes, ancestor only (modulo NP-containers).
> 
> > Last time around, we spent time discussing the interaction with
> > default and mandatory, but I see these two as incompatible
> > with assigned-by-system
> > if default means a value that the server MUST use and mandatory
> > means the client MUST supply (disagree with these two, but suspect
> > that these are the current view).
> 
> (See also
> http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html) 
> 
> Here are some alternatives:
> 
>   A.  Keep the current text about mandatory, and allow the combination
>       assigned-by system and mandatory true.  The combination then
>       means that the server MUST assign a value if the client doesn't.
>       If assigned-by system mandatory is false, the server MAY assign a value.
> 
>       In this case, default would be ok if mandatory is false.  If the
>       server did not assign a value the default applies.
> 
>   B.  Change mandatory to mean that the client MUST set it.  This
>       rules out the combination assigned-by system and mandatory true.
> 
>     B.1  B +  assigned-by system means MUST assign
>          This rules out the combination assigned-by system and default
>           
>     B.2  B +  assigned-by system means MAY assign
>          The combination assigned-by system and default would be ok.
> 
> 
> A gives most flexibility, but is also more error-prone.  B.1 seems to
> be the most straight forward solution if we don't want to do A.

I want to do A. Why is it error-prone?

Lada

> 
> 
> /martin
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From david.partain@ericsson.com  Wed Sep  2 07:45:24 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 49E3328C4B8 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:45:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.569
X-Spam-Level: 
X-Spam-Status: No, score=-3.569 tagged_above=-999 required=5 tests=[AWL=-1.319, BAYES_00=-2.599, HELO_EQ_SE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cP5mTBDp6FqH for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:45:23 -0700 (PDT)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id 22C133A68C4 for <netmod@ietf.org>; Wed,  2 Sep 2009 07:45:22 -0700 (PDT)
X-AuditID: c1b4fb24-b7c01ae00000498b-b0-4a9e81149960
Received: from esealmw128.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw5.ericsson.se (Symantec Brightmail Gateway) with SMTP id E8.ED.18827.4118E9A4; Wed,  2 Sep 2009 16:28:36 +0200 (CEST)
Received: from esealmw128.eemea.ericsson.se ([153.88.254.176]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 16:28:05 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 16:28:05 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Wed, 2 Sep 2009 16:28:04 +0200
User-Agent: KMail/1.9.10
References: <200909011920.n81JKT1I093197@idle.juniper.net>
In-Reply-To: <200909011920.n81JKT1I093197@idle.juniper.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909021628.04656.david.partain@ericsson.com>
X-OriginalArrivalTime: 02 Sep 2009 14:28:05.0698 (UTC) FILETIME=[95F10A20:01CA2BD9]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] issue: adding defaults in new revisions [was Re: database + defaults = broken]
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 14:45:24 -0000

On Tuesday 01 September 2009 21.20.29 Phil Shafer wrote:
> Andy Bierman writes:
> >Revisions are optional, and a default can
> >be added over time.
>
> The overriding rule is:
>
>    ... However, changes are not allowed if they have any potential
>    to cause interoperability problems between a client using an
>    original specification and a server using an updated specification.
>
> Proposals:
>
> (a) Default statements cannot be added in new revisions of a module.
>
> (b) Default statements cannot be added in new revisions of a module
> unless that module contains a revision statement.
>
> (c) No changes can be made to a module unless it contains a revision
> statement.
>
> (b) and (c) could be done with by changing:
>
>    For any published change, a new "revision" statement (^revision^)
> -  SHOULD be included in front of the existing revision statements.
> +  MUST be included in front of the existing revision statements.

Greetings,

I would be in favor of this change (SHOULD to MUST).  I like clarity about 
revision history.

David

From jmh@joelhalpern.com  Wed Sep  2 07:55:19 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9DE313A68E3 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:55:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.779
X-Spam-Level: 
X-Spam-Status: No, score=-2.779 tagged_above=-999 required=5 tests=[AWL=-0.514, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wwcjGB1Mc7hS for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:55:18 -0700 (PDT)
Received: from morbo.mail.tigertech.net (morbo.mail.tigertech.net [67.131.251.54]) by core3.amsl.com (Postfix) with ESMTP id D56C93A6B42 for <netmod@ietf.org>; Wed,  2 Sep 2009 07:55:18 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by morbo.tigertech.net (Postfix) with ESMTP id 1D615A3754 for <netmod@ietf.org>; Wed,  2 Sep 2009 07:38:15 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 08A6E430465; Wed,  2 Sep 2009 07:37:45 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-226.clppva.btas.verizon.net [71.161.51.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 5C7C143044F; Wed,  2 Sep 2009 07:37:43 -0700 (PDT)
Message-ID: <4A9E8335.1050402@joelhalpern.com>
Date: Wed, 02 Sep 2009 10:37:41 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <004201ca2b20$e0b9c7e0$0601a8c0@allison>	<20090901.220411.219341767.mbj@tail-f.com>	<000a01ca2bb2$10ce2980$0601a8c0@allison> <20090902.131612.177280550.mbj@tail-f.com>
In-Reply-To: <20090902.131612.177280550.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 14:55:19 -0000

I was going to object to the combination of mandatory and assigned-by 
system.  However, the more I think about it, I can live with it.
BUT...
If we allow that combination, then we need to be very clear that a 
mandatory node that is not marked "assigned-by system" really needs to 
be provided by the client.

I think I agree with the second part of A, but the wording keeps getting 
me crossed up.  I believe what you are saying there is that if a not is 
"assigned-by system" and is NOT mandatory (mandatory false or 
unspecified, which equals false), then the system may create a value.

The only point to clarify then is that if a node is not, has a default, 
and has assigned-by system, then if the system is going to use any value 
other than the default, it needs to consider that node to exist, and to 
return it when the configuration is requested.

I believe that specifying things this way will get out of my persistent 
confusion about what Lada is asking for, as I think this would allow 
representing the cases he has tried to describe.

However, can I repeat my request to change the term.
I realize that "assigned-by system" is what was proposed a long time 
ago.  However, I think it creates some confusion.
Could we use "system-assignable {true | false}"?

Yours,
Joel

Martin Bjorklund wrote:
> "tom.petch" <cfinss@dial.pipex.com> wrote:
>> So is this 'system will assign' a MAY, MUST, SHOULD?
> 
> Open question.  See below.
> 
>> And is it immediate ancestor only?  I am thinking of the complex
>> nested stack one gets with physical and logical interfaces, with the
>> server allocating VCs at the bottom of the stack.
> 
> Yes, ancestor only (modulo NP-containers).
> 
>> Last time around, we spent time discussing the interaction with
>> default and mandatory, but I see these two as incompatible
>> with assigned-by-system
>> if default means a value that the server MUST use and mandatory
>> means the client MUST supply (disagree with these two, but suspect
>> that these are the current view).
> 
> (See also
> http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html) 
> 
> Here are some alternatives:
> 
>   A.  Keep the current text about mandatory, and allow the combination
>       assigned-by system and mandatory true.  The combination then
>       means that the server MUST assign a value if the client doesn't.
>       If assigned-by system mandatory is false, the server MAY assign a value.
> 
>       In this case, default would be ok if mandatory is false.  If the
>       server did not assign a value the default applies.
> 
>   B.  Change mandatory to mean that the client MUST set it.  This
>       rules out the combination assigned-by system and mandatory true.
> 
>     B.1  B +  assigned-by system means MUST assign
>          This rules out the combination assigned-by system and default
>           
>     B.2  B +  assigned-by system means MAY assign
>          The combination assigned-by system and default would be ok.
> 
> 
> A gives most flexibility, but is also more error-prone.  B.1 seems to
> be the most straight forward solution if we don't want to do A.
> 
> 
> /martin
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 

From phil@juniper.net  Wed Sep  2 07:59:31 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6E6F63A6A64 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:59:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.571
X-Spam-Level: 
X-Spam-Status: No, score=-6.571 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2Z6m6LYf7ncF for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 07:59:30 -0700 (PDT)
Received: from exprod7og121.obsmtp.com (exprod7og121.obsmtp.com [64.18.2.20]) by core3.amsl.com (Postfix) with ESMTP id A7C0E3A695D for <netmod@ietf.org>; Wed,  2 Sep 2009 07:56:31 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob121.postini.com ([64.18.6.12]) with SMTP ID DSNKSp6HUi8juluXy/l1bKEXhqFLAsRVh1JL@postini.com; Wed, 02 Sep 2009 07:56:48 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 07:50:53 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 07:50:53 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 07:50:53 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 07:50:52 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82Eoqd67907; Wed, 2 Sep 2009 07:50:52 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n82EckdW004766; Wed, 2 Sep 2009 14:38:47 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909021438.n82EckdW004766@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9E68E7.3030801@netconfcentral.com> 
Date: Wed, 2 Sep 2009 10:38:46 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 14:50:52.0635 (UTC) FILETIME=[C4B312B0:01CA2BDC]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 14:59:31 -0000

Andy Bierman writes:
>You need very complicated software and a deterministic set of
>meta-data just to extract the current configuration/state/whatever
>from a device.

I know I've said this before, but I guess it's been a while....

There is a lot of complexity in configuration management.  There
is no pixie dust that will remove that complexity.  The only
question is where do we want that complexity to live.

Previous attempts have always tried to push the devices into a
single model, allowing the application to make simple assumptions
about how a device can be treated.  This puts the complexity
for deciding how to deal with differences between the model
and the device rules onto the device side.

Complexity on the device side has a number of costs:
(a) stale software
    no one upgrades deployed devices to fix NM software
    ex: JUNOS has an ancient SNMP bug.  Customers report it
    but do not upgrade to get a fix.  The risk/reward isn't
    there.
(b) ambiguity
    if the model doesn't match how the device works, the
    device must make assumptions to wedge the model into
    the device's mode of operation
    ex: distinct startup; if I make a config change on
    a box with distinct startup, should that change be
    written to startup?  If the app isn't aware of the
    :district-startup capability, how can the device
    know enough to do the right thing?
(c) flexibility
    if the device is more flexible than the model, the
    device has to map the model into its native capabilities.
    This is not a trivial job and impossible to do right.
    ex: JUNOS has 5 ways of doing firewalling, with tradeoffs
    for speed and features (line rate for looking at packet
    headers, but smart card/embedded processor for deep packet
    or flow-based filtering).  If a client makes a filter, the
    device would guess which features are needed and which type
    of filter to use, but not easily.  Add multiple smart cards
    and guessing at load balancing is impossible.
(d) constraints
    if the model allows something that the device simply cannot
    do, the device can either fake it, or not support the model.
    ex: if the model has a counter which the device hardware does
    not contain, the device will not have a value for that counter.

In NETCONF/YANG, the operating model is different.  We are saying
that putting complexity into the client application is a Good Thing.
Allowing the device to express its native capabilities is a Good
Thing.  Letting the application know explicitly how the device works
and what needs to be done to get the device to behave in the way
the application wants is a Good Thing.

By shifting the complexity to the device, we knock out all these issues.

Yes, the client side may be more complex, but this is only true if
the client was simple enough that it never needed to understand
what was really going on in the device.  And what value is a
config app that doesn't grok distinct-startup or candidate?

So it's not a matter of "mandatory true" adding complexity, but a
victory in that both sides of the exchange can understand that this
is mandatory and behave accordingly.

Are you sure I can't put these thoughts back in the arch draft?

>The only way to be sure a device is using the default is to set
>every server-assigned leaf to its default, just so you can read back
>the value you set.  This is extra work on both ends for no reason.

ABS leafs do not have default values.  Leafs with default values
never need to have that default value assigned.  There is no extra
work on either end.

>I have not met anybody (so far) that believes for a second
>that vendors will publish their deviation files, so relying
>on deviations (especially in the critical path) seems
>problematic to me.

So start deviations-central.com and have folks contribute open
source deviation files.  When the list is made, there's no value
in having the vendors mask their own deviations.  It's not a secret,
so the impact of publishing it is low.

In other words, having a mechanism for describing what's broken
allows the list of what's broken to be maintained by any responsible
party.  Such a list allows the application to have a better feel
for what will work and what won't.

Thanks,
 Phil

From jmh@joelhalpern.com  Wed Sep  2 08:07:21 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 927DF3A6C5D for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:07:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.44
X-Spam-Level: 
X-Spam-Status: No, score=-3.44 tagged_above=-999 required=5 tests=[AWL=0.159,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uvKeUbalJ7ON for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:07:20 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 753523A708E for <netmod@ietf.org>; Wed,  2 Sep 2009 08:02:01 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 5929B43041B; Wed,  2 Sep 2009 08:01:11 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-226.clppva.btas.verizon.net [71.161.51.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 5474D43008C; Wed,  2 Sep 2009 08:01:10 -0700 (PDT)
Message-ID: <4A9E88B4.4090405@joelhalpern.com>
Date: Wed, 02 Sep 2009 11:01:08 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <004201ca2b20$e0b9c7e0$0601a8c0@allison>	<20090901.220411.219341767.mbj@tail-f.com>	<000a01ca2bb2$10ce2980$0601a8c0@allison> <20090902.131612.177280550.mbj@tail-f.com>
In-Reply-To: <20090902.131612.177280550.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 15:07:21 -0000

(Resending, to fix at least some of the typos.)

I was going to object to the combination of mandatory and assigned-by
system.  However, the more I think about it, I can live with it.
BUT...
If we allow that combination, then we need to be very clear that a
mandatory node that is not marked "assigned-by system" really needs to
be provided by the client.

I think I agree with the second part of A, but the wording keeps getting
me crossed up.  I believe what you are saying there is that if a node is
"assigned-by system" and is NOT mandatory (mandatory false or
unspecified, which equals false), then the system may create a value.

The only point to clarify then is that if a node is not mandatory, has a 
default, and has assigned-by system, then if the system is going to use 
any value other than the default, it needs to consider that node to 
exist, and to return it when the configuration is requested.

I believe that specifying things this way will get out of my persistent
confusion about what Lada is asking for, as I think this would allow
representing the cases he has tried to describe.


However, can I repeat my request to change the term.
I realize that "assigned-by system" is what was proposed a long time
ago.  However, I think it creates some confusion.
Could we use "system-assignable {true | false}"?

Yours,
Joel

Martin Bjorklund wrote:
> "tom.petch" <cfinss@dial.pipex.com> wrote:
>> So is this 'system will assign' a MAY, MUST, SHOULD?
> 
> Open question.  See below.
> 
>> And is it immediate ancestor only?  I am thinking of the complex
>> nested stack one gets with physical and logical interfaces, with the
>> server allocating VCs at the bottom of the stack.
> 
> Yes, ancestor only (modulo NP-containers).
> 
>> Last time around, we spent time discussing the interaction with
>> default and mandatory, but I see these two as incompatible
>> with assigned-by-system
>> if default means a value that the server MUST use and mandatory
>> means the client MUST supply (disagree with these two, but suspect
>> that these are the current view).
> 
> (See also
> http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html) 
> 
> Here are some alternatives:
> 
>   A.  Keep the current text about mandatory, and allow the combination
>       assigned-by system and mandatory true.  The combination then
>       means that the server MUST assign a value if the client doesn't.
>       If assigned-by system mandatory is false, the server MAY assign a value.
> 
>       In this case, default would be ok if mandatory is false.  If the
>       server did not assign a value the default applies.
> 
>   B.  Change mandatory to mean that the client MUST set it.  This
>       rules out the combination assigned-by system and mandatory true.
> 
>     B.1  B +  assigned-by system means MUST assign
>          This rules out the combination assigned-by system and default
>           
>     B.2  B +  assigned-by system means MAY assign
>          The combination assigned-by system and default would be ok.
> 
> 
> A gives most flexibility, but is also more error-prone.  B.1 seems to
> be the most straight forward solution if we don't want to do A.
> 
> 
> /martin
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 


From lhotka@cesnet.cz  Wed Sep  2 08:07:31 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DE8863A6C18 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:07:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.195
X-Spam-Level: 
X-Spam-Status: No, score=-1.195 tagged_above=-999 required=5 tests=[AWL=0.055,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cdgcdvlESEhL for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:07:31 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 785723A70E9 for <netmod@ietf.org>; Wed,  2 Sep 2009 08:04:45 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 77972D800F0; Wed,  2 Sep 2009 16:30:06 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Phil Shafer <phil@juniper.net>
In-Reply-To: <200909021347.n82DlHsa004215@idle.juniper.net>
References: <200909021347.n82DlHsa004215@idle.juniper.net>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 02 Sep 2009 16:30:04 +0200
Message-Id: <1251901804.12476.137.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 15:07:32 -0000

Phil Shafer píše v St 02. 09. 2009 v 09:47 -0400:
> Ladislav Lhotka writes:
> >Depending on implementation, operational state and configuration
> >parameters may be so tightly coupled that they are effectively
> >indistinguishable. For example, I can directly write certain values in
> >the /proc filesystem, so they are by definition configuration data, but
> >the write immediately changes operational data in the kernel.
> >Conversely, any change of such a parameter in the kernel is immediately
> >reflected in the /proc filesystem.
> 
> There is writable data that is not configuration data.

Sure, but in the definition of "configuration data" from RFC 4741 the
only distinguishing feature is that they are writable. It is really hard
to tell what configuration data is in general, also because "initial
default state" can mean different things. What we could say though is
that a valid configuration for a given device is an XML document that
conforms to the advertised YANG modules.

Lada


> Examples:
> - file system contents
> - software images
> - EPROM contents
> - the time in "shutdown at <time>"
> - counters that can be cleared
> - non-config copies of config data (like I can say "hostname foo",
>   but the real configured value for hostname remains in /etc/rc.conf).
> 
> /proc would follow this, since the values you are writing aren't
> really configuration data.  Register values in a running process
> are not configuration data.
> 
> The flow from configuration data into operational data is not
> a straight-forward path.  There are twists and turns, and
> often out-right hacks.  I think the scenarios where configuration
> parameters and operational state are coupled by Goldberg-esque
> machinery are more common that the tightly coupled cases.
> 
>   http://dashboards.tv/images/rube-goldberg.jpg
> 
> So what do we call this writable non-configuration data?
> 
> Thanks,
>  Phil
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From andy@netconfcentral.com  Wed Sep  2 08:12:04 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8EF793A6A44 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:12:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.506
X-Spam-Level: 
X-Spam-Status: No, score=-2.506 tagged_above=-999 required=5 tests=[AWL=0.093,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0InvtJUDy5B9 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:12:02 -0700 (PDT)
Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by core3.amsl.com (Postfix) with SMTP id D9A7B3A67A7 for <netmod@ietf.org>; Wed,  2 Sep 2009 08:12:02 -0700 (PDT)
Received: (qmail 20936 invoked from network); 2 Sep 2009 15:10:57 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 2 Sep 2009 15:10:57 -0000
X-YMail-OSG: .rVYKuoVM1n3O1cB70SKX1N5pD1RHCFLVtXzEAaD5vtco.gz4qbgBwKVjMuTBXDfINBVLlQ4jqeSCyPgUoS9kNLL3QW7lLnkDYCgQVtqmD_N_Sx2A0.ssJBSkTFzI2jzHx4qZXhRI_xZnNJu.PCeAqEzemUTQBMto3FudeZWQRG62tX7HDsOjHYu2FSIIyBqPYo2KzE_zWrgi5yWM_foG_KAxJAUgb.ONR3W8cmrPzagP8xfA5DxbucUQ2l_G7foab5wBof2JarDjfsc
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9E8A97.9020307@netconfcentral.com>
Date: Wed, 02 Sep 2009 08:09:11 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: David Partain <david.partain@ericsson.com>
References: <200909011920.n81JKT1I093197@idle.juniper.net> <200909021628.04656.david.partain@ericsson.com>
In-Reply-To: <200909021628.04656.david.partain@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] issue: adding defaults in new revisions [was Re:	database + defaults = broken]
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 15:12:04 -0000

David Partain wrote:
> On Tuesday 01 September 2009 21.20.29 Phil Shafer wrote:
>> Andy Bierman writes:
>>> Revisions are optional, and a default can
>>> be added over time.
>> The overriding rule is:
>>
>>    ... However, changes are not allowed if they have any potential
>>    to cause interoperability problems between a client using an
>>    original specification and a server using an updated specification.
>>
>> Proposals:
>>
>> (a) Default statements cannot be added in new revisions of a module.
>>
>> (b) Default statements cannot be added in new revisions of a module
>> unless that module contains a revision statement.
>>
>> (c) No changes can be made to a module unless it contains a revision
>> statement.
>>
>> (b) and (c) could be done with by changing:
>>
>>    For any published change, a new "revision" statement (^revision^)
>> -  SHOULD be included in front of the existing revision statements.
>> +  MUST be included in front of the existing revision statements.
> 
> Greetings,
> 
> I would be in favor of this change (SHOULD to MUST).  I like clarity about 
> revision history.
> 

I agree -- I wanted it to be MUST at the interim meeting.

The complete list of accurate module capabilities in the <hello>
is also a MUST, or none of this actually works.
The name 'foo' in deviations=foo or import foo
is useless without a namespace URI to go with it.

If we are going to tightly couple the YANG language
to the NETCONF protocol, let's at least do it right.


> David

Andy

From saperia@jdscons.com  Wed Sep  2 08:23:48 2009
Return-Path: <saperia@jdscons.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DB4833A683B for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:23:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f6xr81V2z7kc for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:23:48 -0700 (PDT)
Received: from rs40.luxsci.com (rs40.luxsci.com [65.61.166.82]) by core3.amsl.com (Postfix) with ESMTP id DC3863A67B0 for <netmod@ietf.org>; Wed,  2 Sep 2009 08:23:47 -0700 (PDT)
Received: from [192.168.0.5] (ip-66-80-236-122.bos.megapath.net [66.80.236.122]) (authenticated bits=0) by rs40.luxsci.com (8.13.1/8.13.7) with ESMTP id n82FMTLv011182 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 2 Sep 2009 10:22:30 -0500
Message-Id: <77E782FE-D70D-4982-B2B4-1F1C4799EEF3@jdscons.com>
From: Jon Saperia <saperia@jdscons.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4A9E8335.1050402@joelhalpern.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Wed, 2 Sep 2009 11:22:28 -0400
References: <004201ca2b20$e0b9c7e0$0601a8c0@allison>	<20090901.220411.219341767.mbj@tail-f.com>	<000a01ca2bb2$10ce2980$0601a8c0@allison> <20090902.131612.177280550.mbj@tail-f.com> <4A9E8335.1050402@joelhalpern.com>
X-Mailer: Apple Mail (2.936)
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 15:23:48 -0000

Joel, I would want to know for sure that it was or was not assigned by  
the system which in my mind is separate from its status as mandatory.

/jon
On Sep 2, 2009, at 10:37 AM, Joel M. Halpern wrote:

> I was going to object to the combination of mandatory and assigned- 
> by system.  However, the more I think about it, I can live with it.
> BUT...
> If we allow that combination, then we need to be very clear that a  
> mandatory node that is not marked "assigned-by system" really needs  
> to be provided by the client.
>
> I think I agree with the second part of A, but the wording keeps  
> getting me crossed up.  I believe what you are saying there is that  
> if a not is "assigned-by system" and is NOT mandatory (mandatory  
> false or unspecified, which equals false), then the system may  
> create a value.
>
> The only point to clarify then is that if a node is not, has a  
> default, and has assigned-by system, then if the system is going to  
> use any value other than the default, it needs to consider that node  
> to exist, and to return it when the configuration is requested.
>
> I believe that specifying things this way will get out of my  
> persistent confusion about what Lada is asking for, as I think this  
> would allow representing the cases he has tried to describe.
>
> However, can I repeat my request to change the term.
> I realize that "assigned-by system" is what was proposed a long time  
> ago.  However, I think it creates some confusion.
> Could we use "system-assignable {true | false}"?
>
> Yours,
> Joel
>
> Martin Bjorklund wrote:
>> "tom.petch" <cfinss@dial.pipex.com> wrote:
>>> So is this 'system will assign' a MAY, MUST, SHOULD?
>> Open question.  See below.
>>> And is it immediate ancestor only?  I am thinking of the complex
>>> nested stack one gets with physical and logical interfaces, with the
>>> server allocating VCs at the bottom of the stack.
>> Yes, ancestor only (modulo NP-containers).
>>> Last time around, we spent time discussing the interaction with
>>> default and mandatory, but I see these two as incompatible
>>> with assigned-by-system
>>> if default means a value that the server MUST use and mandatory
>>> means the client MUST supply (disagree with these two, but suspect
>>> that these are the current view).
>> (See also
>> http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html)  
>> Here are some alternatives:
>>  A.  Keep the current text about mandatory, and allow the combination
>>      assigned-by system and mandatory true.  The combination then
>>      means that the server MUST assign a value if the client doesn't.
>>      If assigned-by system mandatory is false, the server MAY  
>> assign a value.
>>      In this case, default would be ok if mandatory is false.  If the
>>      server did not assign a value the default applies.
>>  B.  Change mandatory to mean that the client MUST set it.  This
>>      rules out the combination assigned-by system and mandatory true.
>>    B.1  B +  assigned-by system means MUST assign
>>         This rules out the combination assigned-by system and default
>>              B.2  B +  assigned-by system means MAY assign
>>         The combination assigned-by system and default would be ok.
>> A gives most flexibility, but is also more error-prone.  B.1 seems to
>> be the most straight forward solution if we don't want to do A.
>> /martin
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>


From andy@netconfcentral.com  Wed Sep  2 08:27:50 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B54BA3A6B46 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:27:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.206
X-Spam-Level: 
X-Spam-Status: No, score=-2.206 tagged_above=-999 required=5 tests=[AWL=-0.207, BAYES_00=-2.599, J_CHICKENPOX_65=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dVlWgZZdhGim for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:27:50 -0700 (PDT)
Received: from n18.bullet.mail.mud.yahoo.com (n18.bullet.mail.mud.yahoo.com [68.142.206.145]) by core3.amsl.com (Postfix) with SMTP id 9B0CD3A6BB0 for <netmod@ietf.org>; Wed,  2 Sep 2009 08:27:18 -0700 (PDT)
Received: from [68.142.200.225] by n18.bullet.mail.mud.yahoo.com with NNFMP; 02 Sep 2009 15:26:23 -0000
Received: from [68.142.201.241] by t6.bullet.mud.yahoo.com with NNFMP; 02 Sep 2009 15:26:23 -0000
Received: from [127.0.0.1] by omp402.mail.mud.yahoo.com with NNFMP; 02 Sep 2009 15:26:23 -0000
X-Yahoo-Newman-Id: 340829.77748.bm@omp402.mail.mud.yahoo.com
Received: (qmail 59963 invoked from network); 2 Sep 2009 15:26:22 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp109.sbc.mail.sp1.yahoo.com with SMTP; 2 Sep 2009 15:26:22 -0000
X-YMail-OSG: _R7DtIoVM1kLVnXOJW9ePSJ60bHVUxDiwuekI_EMfhE7KfurTca7mcRP3pUW_9IxrxG5kR8h1ghd91bgZ_CtSsxZNZaLJEwHgteySZbxNeCnk.MKOcQXgIZ8vhBOWN1xGpEWQ3VgpHYIhJkuXn4fAlHBT86sQCwnSrANu_K4wFm506kerQAf2PU5bGXCJTV4z4XY0XY2lcVSD3I-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9E8E38.9000202@netconfcentral.com>
Date: Wed, 02 Sep 2009 08:24:40 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909021438.n82EckdW004766@idle.juniper.net>
In-Reply-To: <200909021438.n82EckdW004766@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 15:27:50 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> You need very complicated software and a deterministic set of
>> meta-data just to extract the current configuration/state/whatever
>>from a device.
> 
> I know I've said this before, but I guess it's been a while....
> 


Being able to retrieve all the data from a device
is not supposed to be this complicated.  Using any
software at all to synthesize data instead of collecting
it doesn't even count as an backup or a verification mechanism.

If you have the naming and the all raw data, you can enable
archiving, and history collection, etc., on dumb
little middleware devices, and use the complex bloated code
to analyze the collected data.  Even if monitoring does
not matter, a full snapshot of the config+state does matter.

Instead, in YANG/NETCONF, you have to save the data,
save all the <hello> information (w/ features, deviations, revisions),
make sure all those YANG modules are available, compile the YANG modules,
process the <hello> PDU, apply the deviation patches,
and enable the advertised features, synthesize the missing
leafs, and then insert them where they go in the tree.

All this, for what?
To save bandwidth?

If operators have to rely this heavily on tools
just to get the data, they can rely on tools
just as much to read the data.  The application
can prune the defaults, color them orange, or whatever.

I don't understand why we are trying so hard
to solve a presentation layer problem in
the configuration protocol.  The result is
a complicated mess.


Andy


From phil@juniper.net  Wed Sep  2 08:34:07 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 69F2C3A68C3 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:34:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.571
X-Spam-Level: 
X-Spam-Status: No, score=-6.571 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WzXUAmELUcTS for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:34:01 -0700 (PDT)
Received: from exprod7og124.obsmtp.com (exprod7og124.obsmtp.com [64.18.2.26]) by core3.amsl.com (Postfix) with ESMTP id 8DADD3A69AA for <netmod@ietf.org>; Wed,  2 Sep 2009 08:32:09 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob124.postini.com ([64.18.6.12]) with SMTP ID DSNKSp6PZiyTnLQoGUPg6hWrj67D75S0/qpW@postini.com; Wed, 02 Sep 2009 08:32:26 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 07:57:31 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 07:57:32 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 07:57:31 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 07:57:31 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82EvUd71272; Wed, 2 Sep 2009 07:57:30 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n82EjPPt004944; Wed, 2 Sep 2009 14:45:25 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909021445.n82EjPPt004944@idle.juniper.net>
To: Ladislav Lhotka <lhotka@cesnet.cz>
In-Reply-To: <1251901804.12476.137.camel@missotis> 
Date: Wed, 2 Sep 2009 10:45:25 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 14:57:31.0148 (UTC) FILETIME=[B23B54C0:01CA2BDD]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 15:34:07 -0000

Ladislav Lhotka writes:
>> There is writable data that is not configuration data.
>Sure, but in the definition of "configuration data" from RFC 4741 the
>only distinguishing feature is that they are writable. It is really hard
>to tell what configuration data is in general, also because "initial
>default state" can mean different things. What we could say though is
>that a valid configuration for a given device is an XML document that
>conforms to the advertised YANG modules.

We can clarify "initial default state" in 4741bis, but the idea
that configuration is instructions to tell the box to get into
a desired state should be the basis.  I don't think we can
define configuration in terms of YANG module content or compliance.

Thanks,
 Phil

From cfinss@dial.pipex.com  Wed Sep  2 08:44:53 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 197FC3A6A44 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:44:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.32
X-Spam-Level: 
X-Spam-Status: No, score=-2.32 tagged_above=-999 required=5 tests=[AWL=0.279,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IFSRLSheTkfV for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:44:52 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id 04A573A6B46 for <netmod@ietf.org>; Wed,  2 Sep 2009 08:44:51 -0700 (PDT)
X-Trace: 246204097/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.147/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.147
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ah4FAKkvnko+vGmT/2dsb2JhbACDLUAhjS+6EwmQJAIHgkOBTwU
X-IronPort-AV: E=Sophos;i="4.44,318,1249254000"; d="scan'208";a="246204097"
X-IP-Direction: IN
Received: from 1cust147.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.147]) by smtp.pipex.tiscali.co.uk with SMTP; 02 Sep 2009 16:43:33 +0100
Message-ID: <000201ca2bdb$8fad1e40$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>, "David Partain" <david.partain@ericsson.com>
References: <4A9D7BA2.8020803@netconfcentral.com><20090901.222850.210872069.mbj@tail-f.com><4A9D8BDE.1030505@netconfcentral.com><200909020900.31039.david.partain@ericsson.com> <20090902120036.GE10753@elstar.local>
Date: Wed, 2 Sep 2009 15:53:34 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] Supporting three styles of default handling in with-defaults (was meaning of default)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 15:44:53 -0000

---- Original Message ----- 
From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
To: "David Partain" <david.partain@ericsson.com>
Cc: <netmod@ietf.org>
Sent: Wednesday, September 02, 2009 2:00 PM

<snip>
> 
> I like to find agreement that NETCONF/YANG lacks proper mechanisms to
> deal with the distinction of configuration data and operational state
> data called out for by the operators in RFC 3535.

Yes, I agree

I would look to a three way split, adding statistics, as RFC3535 suggests, 
but  a two-way split would be good progress.

Tom Petch

> If we can agree on this, we can discuss what needs to be done to solve
> this problem. For YANG, this might imply that "config true/false" is
> too simplistic. For NETCONF, it might mean that three different ways
> to deal with-defaults are not needed - instead we create a proper and
> clean way to retrieve operational state separately from config state.
> 
> But the first step is to agree that the problem is of a much more
> fundamental nature and requires fixes affecting both NETCONF and
> NETMOD.
> 
> /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/>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

From cfinss@dial.pipex.com  Wed Sep  2 08:44:53 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B0BC73A6B46 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:44:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.325
X-Spam-Level: 
X-Spam-Status: No, score=-2.325 tagged_above=-999 required=5 tests=[AWL=0.274,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bp2v3DLfMPl6 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:44:53 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id A70D63A683B for <netmod@ietf.org>; Wed,  2 Sep 2009 08:44:52 -0700 (PDT)
X-Trace: 246204099/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.147/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.147
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ah4FAKkvnko+vGmT/2dsb2JhbACDLUAhjS/KQAmEEgWCRw
X-IronPort-AV: E=Sophos;i="4.44,318,1249254000"; d="scan'208";a="246204099"
X-IP-Direction: IN
Received: from 1cust147.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.147]) by smtp.pipex.tiscali.co.uk with SMTP; 02 Sep 2009 16:43:35 +0100
Message-ID: <000301ca2bdb$907688c0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "David Partain" <david.partain@ericsson.com>, <netmod@ietf.org>
References: <200908280510.n7S5ApVq031830@idle.juniper.net><4A978928.3070802@netconfcentral.com> <200909021310.40777.david.partain@ericsson.com>
Date: Wed, 2 Sep 2009 16:03:19 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 15:44:53 -0000

----- Original Message -----
From: "David Partain" <david.partain@ericsson.com>
To: <netmod@ietf.org>
Sent: Wednesday, September 02, 2009 1:10 PM
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau


> Andy, you keep talking about "offline documentation" or "vendor
> documentation".  I'm clearly missing something.  I don't see that we're
> talking about "vendor documentation" but rather the YANG data model.  You
> can't do anything rational with SNMP without the MIB, either.

Well, I have, when trouble shooting.  Given a MIB walk, I can get objects
defined in a proprietary MIB module, name, OID, syntax, value, construct
tables where necessary and, assuming the MIB module writer thinks the
same way as I do (might have been AB), take a view on what is going on.

I much prefer to be able to download the MIB module from the web and
compile it, which is mostly possibly nowadays, and if the DESCRIPTION
clauses are good, then I can do more.  And if the tool writer has already
done that and given me a GUI, better still.

Netconf/YANG, as currently proposed, will give me much less data
which, when everything is working perfectly is fine, but when things
are going wrong, I prefer more to less.

This is Operations Management.  Configuration Management is
different - there I want the device to tell me what has been set
so I can backup and restore a configuration; for that, a MIB walk
is a nightmare.

Tom Petch

>
If the client
> doesn't have the YANG data model, we're trashed anyway, aren't we?  Why is it
> so onerous to look at what 'default' statements are in the data model?
>
> Thanks.
>
> David
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod


From cfinss@dial.pipex.com  Wed Sep  2 08:44:54 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5C3AF28C11F for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:44:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.33
X-Spam-Level: 
X-Spam-Status: No, score=-2.33 tagged_above=-999 required=5 tests=[AWL=0.269,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48xoCMCcpUvS for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:44:53 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id 56D8A3A6A44 for <netmod@ietf.org>; Wed,  2 Sep 2009 08:44:53 -0700 (PDT)
X-Trace: 246204109/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.147/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.147
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ah4FAKkvnko+vGmT/2dsb2JhbACDLUAhjS/KQAmEEgU
X-IronPort-AV: E=Sophos;i="4.44,318,1249254000"; d="scan'208";a="246204109"
X-IP-Direction: IN
Received: from 1cust147.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.147]) by smtp.pipex.tiscali.co.uk with SMTP; 02 Sep 2009 16:43:36 +0100
Message-ID: <000401ca2bdb$9150bc20$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Martin Bjorklund" <mbj@tail-f.com>
References: <200909011009.16729.david.partain@ericsson.com><004301ca2b20$e193fb40$0601a8c0@allison> <20090901.221918.226622597.mbj@tail-f.com>
Date: Wed, 2 Sep 2009 16:20:19 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 15:44:54 -0000

---- Original Message ----- 
From: "Martin Bjorklund" <mbj@tail-f.com>
Sent: Tuesday, September 01, 2009 10:19 PM

> "tom.petch" <cfinss@dial.pipex.com> wrote:
<snip>
> > 
> > And 'explicitly set'; to me, that MUST be set by anyone, CLI, SNMP,
> > Netconf, ....  It is no use having a Netconf/YANG that pretends that
> > nothing else in the world exists as far as configuration management
> > is concerned and so can be ignored. 
> 
> Absolutely.  
> 
> > Again, an issue touched on but not resolved.
> 
> I am not sure what sort of text you expect, if any.

I am thinking of eg with-defaults which currently says 

"Explicitly set default data: Data that is explicitly set by the
      NETCONF client to its default value. " 

where I want the reference to 'the NETCONF client' excised or
replaced by something more generic (CLI, SNMP..).

I get a sense from this and from some posts that this is another issue
that needs more work, that for configuration management to
work, then there is a category of data that is set by anyone
which needs to be identified in NETCONF, perhaps in YANG.

And I read this as an implicit requirement in RFC3535.

And I see Phil arguing 
"I strongly oppose mixing default values into the configuration
database.  If I get configuration data, I do not want default values."

Well no and yes.  I want to be able to get only set values, but
I do not want a 'configuration database' to be limited to that alone.
I want the configuration part of the data tree to be closer to
everything writable.

Tom Petch
> 
> /martin

From phil@juniper.net  Wed Sep  2 08:45:49 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AA05128C3C9 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:45:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.571
X-Spam-Level: 
X-Spam-Status: No, score=-6.571 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3rwVXsib9cMf for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:45:48 -0700 (PDT)
Received: from exprod7og126.obsmtp.com (exprod7og126.obsmtp.com [64.18.2.206]) by core3.amsl.com (Postfix) with ESMTP id 7B97B28C378 for <netmod@ietf.org>; Wed,  2 Sep 2009 08:45:48 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob126.postini.com ([64.18.6.12]) with SMTP ID DSNKSp6TAY7jg0wKu+DLFsYSxDjpnhRuUO1J@postini.com; Wed, 02 Sep 2009 08:46:04 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.71) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 08:41:45 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 08:41:45 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 08:41:44 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 08:41:44 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82Ffhd92388; Wed, 2 Sep 2009 08:41:43 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n82FTbSl005328; Wed, 2 Sep 2009 15:29:38 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909021529.n82FTbSl005328@idle.juniper.net>
To: Ladislav Lhotka <lhotka@cesnet.cz>
In-Reply-To: <1251891606.12476.104.camel@missotis> 
Date: Wed, 2 Sep 2009 11:29:37 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 15:41:44.0116 (UTC) FILETIME=[DF861F40:01CA2BE3]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 15:45:49 -0000

Ladislav Lhotka writes:
>I want to do A. Why is it error-prone?

It adds complexity to "mandatory" (a common statement)
for "assigned-by system" (a very rare statement).  The rarity of
ABS means that code will be written that only tests mandatory without
caring about ABS.  So this will be a source of coding errors.

More importantly, it means you need to understand a rare
concept in order to fully grok a common one.

I vote for "MAY assign", since that's the simplest, most
flexible option.

Thanks,
 Phil

From mbj@tail-f.com  Wed Sep  2 08:47:02 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E782E28C79E for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:47:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.953
X-Spam-Level: 
X-Spam-Status: No, score=-1.953 tagged_above=-999 required=5 tests=[AWL=0.093,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m2F0gv+qcZuc for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:47:02 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 8DCA13A68C3 for <netmod@ietf.org>; Wed,  2 Sep 2009 08:46:57 -0700 (PDT)
Received: from localhost (de-0316.d.ipeer.se [213.180.79.212]) by mail.tail-f.com (Postfix) with ESMTPA id 2A27876C4E1; Wed,  2 Sep 2009 13:44:47 +0200 (CEST)
Date: Wed, 02 Sep 2009 13:44:48 +0200 (CEST)
Message-Id: <20090902.134448.165255613.mbj@tail-f.com>
To: lhotka@cesnet.cz
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <1251891606.12476.104.camel@missotis>
References: <000a01ca2bb2$10ce2980$0601a8c0@allison> <20090902.131612.177280550.mbj@tail-f.com> <1251891606.12476.104.camel@missotis>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=utf-8
Content-Transfer-Encoding: base64
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 15:47:03 -0000

TGFkaXNsYXYgTGhvdGthIDxsaG90a2FAY2VzbmV0LmN6PiB3cm90ZToNCj4gTWFydGluIEJqb3Jr
bHVuZCBww63FoWUgdiBTdCAwMi4gMDkuIDIwMDkgdiAxMzoxNiArMDIwMDoNCj4gPiAidG9tLnBl
dGNoIiA8Y2ZpbnNzQGRpYWwucGlwZXguY29tPiB3cm90ZToNCj4gPiA+IFNvIGlzIHRoaXMgJ3N5
c3RlbSB3aWxsIGFzc2lnbicgYSBNQVksIE1VU1QsIFNIT1VMRD8NCj4gPiANCj4gPiBPcGVuIHF1
ZXN0aW9uLiAgU2VlIGJlbG93Lg0KPiA+IA0KPiA+ID4gQW5kIGlzIGl0IGltbWVkaWF0ZSBhbmNl
c3RvciBvbmx5PyAgSSBhbSB0aGlua2luZyBvZiB0aGUgY29tcGxleA0KPiA+ID4gbmVzdGVkIHN0
YWNrIG9uZSBnZXRzIHdpdGggcGh5c2ljYWwgYW5kIGxvZ2ljYWwgaW50ZXJmYWNlcywgd2l0aCB0
aGUNCj4gPiA+IHNlcnZlciBhbGxvY2F0aW5nIFZDcyBhdCB0aGUgYm90dG9tIG9mIHRoZSBzdGFj
ay4NCj4gPiANCj4gPiBZZXMsIGFuY2VzdG9yIG9ubHkgKG1vZHVsbyBOUC1jb250YWluZXJzKS4N
Cj4gPiANCj4gPiA+IExhc3QgdGltZSBhcm91bmQsIHdlIHNwZW50IHRpbWUgZGlzY3Vzc2luZyB0
aGUgaW50ZXJhY3Rpb24gd2l0aA0KPiA+ID4gZGVmYXVsdCBhbmQgbWFuZGF0b3J5LCBidXQgSSBz
ZWUgdGhlc2UgdHdvIGFzIGluY29tcGF0aWJsZQ0KPiA+ID4gd2l0aCBhc3NpZ25lZC1ieS1zeXN0
ZW0NCj4gPiA+IGlmIGRlZmF1bHQgbWVhbnMgYSB2YWx1ZSB0aGF0IHRoZSBzZXJ2ZXIgTVVTVCB1
c2UgYW5kIG1hbmRhdG9yeQ0KPiA+ID4gbWVhbnMgdGhlIGNsaWVudCBNVVNUIHN1cHBseSAoZGlz
YWdyZWUgd2l0aCB0aGVzZSB0d28sIGJ1dCBzdXNwZWN0DQo+ID4gPiB0aGF0IHRoZXNlIGFyZSB0
aGUgY3VycmVudCB2aWV3KS4NCj4gPiANCj4gPiAoU2VlIGFsc28NCj4gPiBodHRwOi8vd3d3Lmll
dGYub3JnL21haWwtYXJjaGl2ZS93ZWIvbmV0bW9kL2N1cnJlbnQvbXNnMDE2MjIuaHRtbCkgDQo+
ID4gDQo+ID4gSGVyZSBhcmUgc29tZSBhbHRlcm5hdGl2ZXM6DQo+ID4gDQo+ID4gICBBLiAgS2Vl
cCB0aGUgY3VycmVudCB0ZXh0IGFib3V0IG1hbmRhdG9yeSwgYW5kIGFsbG93IHRoZSBjb21iaW5h
dGlvbg0KPiA+ICAgICAgIGFzc2lnbmVkLWJ5IHN5c3RlbSBhbmQgbWFuZGF0b3J5IHRydWUuICBU
aGUgY29tYmluYXRpb24gdGhlbg0KPiA+ICAgICAgIG1lYW5zIHRoYXQgdGhlIHNlcnZlciBNVVNU
IGFzc2lnbiBhIHZhbHVlIGlmIHRoZSBjbGllbnQgZG9lc24ndC4NCj4gPiAgICAgICBJZiBhc3Np
Z25lZC1ieSBzeXN0ZW0gbWFuZGF0b3J5IGlzIGZhbHNlLCB0aGUgc2VydmVyIE1BWSBhc3NpZ24g
YQ0KPiA+ICAgICAgIHZhbHVlLg0KPiA+IA0KPiA+ICAgICAgIEluIHRoaXMgY2FzZSwgZGVmYXVs
dCB3b3VsZCBiZSBvayBpZiBtYW5kYXRvcnkgaXMgZmFsc2UuICBJZiB0aGUNCj4gPiAgICAgICBz
ZXJ2ZXIgZGlkIG5vdCBhc3NpZ24gYSB2YWx1ZSB0aGUgZGVmYXVsdCBhcHBsaWVzLg0KPiA+IA0K
PiA+ICAgQi4gIENoYW5nZSBtYW5kYXRvcnkgdG8gbWVhbiB0aGF0IHRoZSBjbGllbnQgTVVTVCBz
ZXQgaXQuICBUaGlzDQo+ID4gICAgICAgcnVsZXMgb3V0IHRoZSBjb21iaW5hdGlvbiBhc3NpZ25l
ZC1ieSBzeXN0ZW0gYW5kIG1hbmRhdG9yeSB0cnVlLg0KPiA+IA0KPiA+ICAgICBCLjEgIEIgKyAg
YXNzaWduZWQtYnkgc3lzdGVtIG1lYW5zIE1VU1QgYXNzaWduDQo+ID4gICAgICAgICAgVGhpcyBy
dWxlcyBvdXQgdGhlIGNvbWJpbmF0aW9uIGFzc2lnbmVkLWJ5IHN5c3RlbSBhbmQgZGVmYXVsdA0K
PiA+ICAgICAgICAgICANCj4gPiAgICAgQi4yICBCICsgIGFzc2lnbmVkLWJ5IHN5c3RlbSBtZWFu
cyBNQVkgYXNzaWduDQo+ID4gICAgICAgICAgVGhlIGNvbWJpbmF0aW9uIGFzc2lnbmVkLWJ5IHN5
c3RlbSBhbmQgZGVmYXVsdCB3b3VsZCBiZSBvay4NCj4gPiANCj4gPiANCj4gPiBBIGdpdmVzIG1v
c3QgZmxleGliaWxpdHksIGJ1dCBpcyBhbHNvIG1vcmUgZXJyb3ItcHJvbmUuICBCLjEgc2VlbXMg
dG8NCj4gPiBiZSB0aGUgbW9zdCBzdHJhaWdodCBmb3J3YXJkIHNvbHV0aW9uIGlmIHdlIGRvbid0
IHdhbnQgdG8gZG8gQS4NCj4gDQo+IEkgd2FudCB0byBkbyBBLiBXaHkgaXMgaXQgZXJyb3ItcHJv
bmU/DQoNCkl0IGFkZHMgY29tcGxleGl0eSwgYW5kIHRoZSBpbnRlcmFjdGlvbnMgbWF5IGJlIHN1
YnRsZS4NCg0KVGhpcyBzYWlkLCBJIHByZWZlciBBIGFzIHdlbGwuDQoNCg0KDQovbWFydGluDQo=

From andy@netconfcentral.com  Wed Sep  2 08:55:10 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9581A3A6CB4 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:55:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.505
X-Spam-Level: 
X-Spam-Status: No, score=-2.505 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E1WWegWC3DoF for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 08:55:09 -0700 (PDT)
Received: from n18.bullet.mail.mud.yahoo.com (n18.bullet.mail.mud.yahoo.com [68.142.206.145]) by core3.amsl.com (Postfix) with SMTP id B31A43A68EE for <netmod@ietf.org>; Wed,  2 Sep 2009 08:55:09 -0700 (PDT)
Received: from [68.142.200.225] by n18.bullet.mail.mud.yahoo.com with NNFMP; 02 Sep 2009 15:54:32 -0000
Received: from [68.142.201.71] by t6.bullet.mud.yahoo.com with NNFMP; 02 Sep 2009 15:54:32 -0000
Received: from [127.0.0.1] by omp423.mail.mud.yahoo.com with NNFMP; 02 Sep 2009 15:54:32 -0000
X-Yahoo-Newman-Id: 767568.30375.bm@omp423.mail.mud.yahoo.com
Received: (qmail 83253 invoked from network); 2 Sep 2009 15:54:32 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp105.sbc.mail.sp1.yahoo.com with SMTP; 2 Sep 2009 15:54:32 -0000
X-YMail-OSG: yyycyk4VM1kBIxOFFHo2CgCHt5N6Y0wMsszUWrZUMSJSL5Ghj8Rb2d3KLUv.RtAgMs8pb9xgC5kXx5FqTPuUPKy86fGPv6XQ53zSX5jNYdQVg2GJIdJGThc093BJTMzTfmEUWqTFW_sqegqZZ8NP8gkojcEkcf7wua8H2tpkL9nNs4cJt6OGs5krEk1zRhXuduahhTueqJaLXxo-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9E94CF.5010104@netconfcentral.com>
Date: Wed, 02 Sep 2009 08:52:47 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909021445.n82EjPPt004944@idle.juniper.net>
In-Reply-To: <200909021445.n82EjPPt004944@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration Data versus Operational State Data	versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 15:55:10 -0000

Phil Shafer wrote:
> Ladislav Lhotka writes:
>>> There is writable data that is not configuration data.
>> Sure, but in the definition of "configuration data" from RFC 4741 the
>> only distinguishing feature is that they are writable. It is really hard
>> to tell what configuration data is in general, also because "initial
>> default state" can mean different things. What we could say though is
>> that a valid configuration for a given device is an XML document that
>> conforms to the advertised YANG modules.
> 
> We can clarify "initial default state" in 4741bis, but the idea
> that configuration is instructions to tell the box to get into
> a desired state should be the basis.  I don't think we can
> define configuration in terms of YANG module content or compliance.
> 

To me -- that is the problem. The protocol needs to
be made more complicated to match YANG.

I do not agree with you at all that a leaf instance
that happens to contain a default value somehow
changes from data to meta-data, then back to data
again when the value is not the default.

I think what we have now is good enough.
Description statements can deal with all
this complexity for now.

I do not see any value in coupling the CM protocol
to the DML, such that simple OPS procedures require
perfectly accurate schema definitions and meta-data
to synthesize the leaf instances that happen to contain
their default value at the moment.

It is one thing to tag the object definitions
with more and more meta-data (is assigned-by the
last, or just the last for this month?).

It is quite another to impose this as MUST meta-data on the
NETCONF protocol, because operators do not want to see the data all
the time.  That is a presentation layer problem.

CM bandwidth is a fraction of the bandwidth for monitoring.
I don't think we are helping operators by suppressing YANG defaults.

> Thanks,
>  Phil

Andy


From phil@juniper.net  Wed Sep  2 09:13:34 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B9AE528C15A for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 09:13:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.571
X-Spam-Level: 
X-Spam-Status: No, score=-6.571 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JOCKGkrUdGBD for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 09:13:33 -0700 (PDT)
Received: from exprod7og113.obsmtp.com (exprod7og113.obsmtp.com [64.18.2.179]) by core3.amsl.com (Postfix) with ESMTP id A81AB28C136 for <netmod@ietf.org>; Wed,  2 Sep 2009 09:13:33 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob113.postini.com ([64.18.6.12]) with SMTP ID DSNKSp6ZIVGaSzl30AWYDnkTOmFbyMNFAvJt@postini.com; Wed, 02 Sep 2009 09:13:50 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 08:57:04 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 08:57:05 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 08:57:04 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 08:57:03 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82Fv3d98661; Wed, 2 Sep 2009 08:57:03 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n82Fiw46005775; Wed, 2 Sep 2009 15:44:58 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909021544.n82Fiw46005775@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9E8E38.9000202@netconfcentral.com> 
Date: Wed, 2 Sep 2009 11:44:56 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 15:57:03.0836 (UTC) FILETIME=[03B841C0:01CA2BE6]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 16:13:34 -0000

Andy Bierman writes:
>Being able to retrieve all the data from a device
>is not supposed to be this complicated.

Sorry, but YANG doesn't make retrieving configuration data complicated.
The stock <get-config> operation works perfectly.

But retrieving is trivial.  The meta-data is meant to answer questions
like "what does it take to make a valid member of this particular
list".  To answer that, you need keys, mandatory, musts, etc.  YANG
gives you all that.

>I don't understand why we are trying so hard
>to solve a presentation layer problem in
>the configuration protocol.  The result is
>a complicated mess.

The question "what is the configuration data for this box" isn't a
presentation layer issue.  And I disagree with your conclusion.  If
you just want config for archival and restoring, use the stock
NETCONF <*-config> operations and be happy.  If you need richer
meta-data, use the YANG modules and be very happy.

Thanks,
 Phil

From david.partain@ericsson.com  Wed Sep  2 09:18:03 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EE2103A68E3 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 09:18:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.503
X-Spam-Level: 
X-Spam-Status: No, score=-5.503 tagged_above=-999 required=5 tests=[AWL=0.746,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zmjIZ9oMpqU5 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 09:18:03 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 7D7083A6A63 for <netmod@ietf.org>; Wed,  2 Sep 2009 09:16:58 -0700 (PDT)
X-AuditID: c1b4fb3e-b7c00ae0000007bf-aa-4a9e7ee9b7d8
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id 28.7C.01983.9EE7E9A4; Wed,  2 Sep 2009 16:19:21 +0200 (CEST)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 16:19:21 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 16:19:20 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Wed, 2 Sep 2009 16:19:20 +0200
User-Agent: KMail/1.9.10
References: <4A95EB78.7000009@netconfcentral.com> <200909021346.13387.david.partain@ericsson.com> <4A9E6C4F.6090108@netconfcentral.com>
In-Reply-To: <4A9E6C4F.6090108@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909021619.20425.david.partain@ericsson.com>
X-OriginalArrivalTime: 02 Sep 2009 14:19:20.0889 (UTC) FILETIME=[5D218A90:01CA2BD8]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 16:18:04 -0000

Hi,

On Wednesday 02 September 2009 14.59.59 Andy Bierman wrote:
> David Partain wrote:
> > On Wednesday 02 September 2009 13.19.57 Andy Bierman wrote:
> >> David Partain wrote:
> >>> On Thursday 27 August 2009 17.57.43 Andy Bierman wrote:
> >>>> If this filtering was just limited to YANG default-stmts,
> >>>> then it would be fine, but it is not.
> >>>
> >>> I just be really thick, but I thought that's _exactly_ what it was
> >>> limited to.
> >>
> >> maybe you should catch up on the mail threads.
> >> We are trying to resolve terminology errors in
> >> the with-defaults spec.  We were combining
> >> poorly written text in with-defaults
> >> with the inherently complex YANG document definitions
> >> and they did not align correctly.
> >
> > Thanks, Andy.  I'm perfectly aware of what the discussion is about.
>
> The threads are way too long and repetitive.
> It would be great if they were resolved sooner.

That's not _just_ my job...  That's why I'm nagging at people to be as 
succinct as possible, use relevant subject lines, etc. etc.

> I am having a hard time believing that Joel and I
> misinterpreted the meaning of 'explicit' with-defaults
> retrieval so incorrectly.
>
> We repeatedly asked if this referred just to nodes
> set by the client, and were told yes.
> We asked, will server-created leaf instances that do not
> contain the YANG default-stmt value be returned?
> We were told no.
>
> Now we are told the opposite, that 'explicit'
> means set by the client AND the server (who's left?)
> and all server-created leaf instances are returned
> in a <get-config>.
>
> Explicit just means: "if the client set it, return it,
> even if the value is the YANG default".  This was not made clear
> until recently.

OK.  That's how I understood it all along, but clearly everyone didn't.  So, 
can we put that text in the right place in :with-defaults and take (at least) 
that confusion off the table?

Thanks.

David

From dromasca@avaya.com  Wed Sep  2 09:20:13 2009
Return-Path: <dromasca@avaya.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8E6273A6B16 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 09:20:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.425
X-Spam-Level: 
X-Spam-Status: No, score=-2.425 tagged_above=-999 required=5 tests=[AWL=0.174,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bap2bZ88ahRK for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 09:20:12 -0700 (PDT)
Received: from co300216-co-outbound.net.avaya.com (co300216-co-outbound.net.avaya.com [198.152.13.100]) by core3.amsl.com (Postfix) with ESMTP id 6F7483A67B0 for <netmod@ietf.org>; Wed,  2 Sep 2009 09:20:12 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.44,318,1249272000"; d="scan'208";a="182050424"
Received: from unknown (HELO co300216-co-erhwest.avaya.com) ([198.152.7.5]) by co300216-co-outbound.net.avaya.com with ESMTP; 02 Sep 2009 12:19:12 -0400
Received: from unknown (HELO 307622ANEX5.global.avaya.com) ([135.64.140.16]) by co300216-co-erhwest-out.avaya.com with ESMTP; 02 Sep 2009 12:19:12 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 2 Sep 2009 18:18:59 +0200
Message-ID: <EDC652A26FB23C4EB6384A4584434A04019CB66E@307622ANEX5.global.avaya.com>
In-Reply-To: <20090902115322.GD10753@elstar.local>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [netmod] Configuration Data versus Operational State Data versusStatistics
Thread-Index: Acorw/xh9Se291XPRZqJ06JMhLhLmQAJErlA
References: <20090901193508.GA9782@elstar.local> <EDC652A26FB23C4EB6384A4584434A04019CB482@307622ANEX5.global.avaya.com> <20090902115322.GD10753@elstar.local>
From: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
To: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration Data versus Operational State Data versusStatistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 16:20:13 -0000

I do not disagree with any of those. I am just making the observation
that the set of categories that you started to define exceed the scope
of NETCONF. After all we do not want to have configuration data,
operational state, and statistics redefined again and again for each
protocol.=20

While mandating which protocol is used for certain data seems to be a
futile exercise, proving some guidance about what tools are fit for
specific operations can be expected to happen at some stage. After all
we are not designing all protocols (NETCONF included) as good and fit
for all kinds of management operations.=20

Dan


> -----Original Message-----
> From: Juergen Schoenwaelder=20
> [mailto:j.schoenwaelder@jacobs-university.de]=20
> Sent: Wednesday, September 02, 2009 2:53 PM
> To: Romascanu, Dan (Dan)
> Cc: netmod@ietf.org
> Subject: Re: [netmod] Configuration Data versus Operational=20
> State Data versusStatistics
>=20
> On Wed, Sep 02, 2009 at 09:53:37AM +0200, Romascanu, Dan (Dan) wrote:
> > (speaking as a contributor)
> >=20
> > I believe that this is an important subject, and it's good to deal=20
> > with it in the architecture document.
> >=20
> > The scope seems to exceed NETCONF architecture. It's good=20
> to have the=20
> > distinction made and the concepts well defined. My question=20
> is however=20
> > - what is the role of NETCONF (and YANG) in retrieving or reporting=20
> > statistics information? I rather see a future network management=20
> > architecture using NETCONF for configuration data. I am not so sure=20
> > about operational state data - would it be NETCONF, or=20
> rather SNMP doe=20
> > operational status retrieval and notifications, or SYSLOG -=20
> if we deal=20
> > with alarms? Is there a good case to use anything else than SNMP to=20
> > retrieve statistics information?
>=20
> There is no explicit NETCONF architecture I am aware of. Second, RFC
> 4741 explicitely spells out support for configuration data=20
> and state data retrieval - this is why we have get and get-config.
>=20
> I think the IETF is ill advised if it wants to mandate which=20
> protocol to use for certain data since this will remain a=20
> deployment issue taking into account tools available to an=20
> operator, the familiarity with protocols and supporting=20
> tools, authentication and security issues, ...
>=20
> /js
>=20
> --=20
> 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/>
>=20

From phil@juniper.net  Wed Sep  2 09:20:31 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0DBF13A67B0 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 09:20:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.572
X-Spam-Level: 
X-Spam-Status: No, score=-6.572 tagged_above=-999 required=5 tests=[AWL=0.027,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LqB0EWXpStFm for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 09:20:30 -0700 (PDT)
Received: from exprod7og119.obsmtp.com (exprod7og119.obsmtp.com [64.18.2.16]) by core3.amsl.com (Postfix) with ESMTP id 1C73D28C0F0 for <netmod@ietf.org>; Wed,  2 Sep 2009 09:20:30 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob119.postini.com ([64.18.6.12]) with SMTP ID DSNKSp6bHUquHRR/Q5uSNsTCVAh1LB1zGgJz@postini.com; Wed, 02 Sep 2009 09:20:46 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 09:08:13 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 09:08:14 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 09:08:13 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 09:08:13 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82G89d03715; Wed, 2 Sep 2009 09:08:11 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n82Fu4u4006072; Wed, 2 Sep 2009 15:56:04 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909021556.n82Fu4u4006072@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9E94CF.5010104@netconfcentral.com> 
Date: Wed, 2 Sep 2009 11:56:04 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 16:08:13.0127 (UTC) FILETIME=[92A5F570:01CA2BE7]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 16:20:31 -0000

Andy Bierman writes:
>I do not agree with you at all that a leaf instance
>that happens to contain a default value somehow
>changes from data to meta-data, then back to data
>again when the value is not the default.

Wait, we just agreed on all this after a month of noise.  Please
don't start sliding back into poor terminology and confusion.

A leaf instance in the configuration database does not change from
data to meta-data.  Meta-data describes the data, so a default value
for a leaf is meta-data.  A configured value for a leaf is data.
If there is no configured value for a leaf, then there is no data.
The leaf instance does not change, it either exists or it doesn't.

>I don't think we are helping operators by suppressing YANG defaults.

We're circling again:  this is your opinion, not shared by the
entire WG.  We have flexibility on the YANG spec to allow your code
to work in this way, while allowing others to work in more traditional,
simpler ways.

Thanks,
 Phil

From phil@juniper.net  Wed Sep  2 11:46:59 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 113AC3A6A45 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 11:46:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.572
X-Spam-Level: 
X-Spam-Status: No, score=-6.572 tagged_above=-999 required=5 tests=[AWL=0.027,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hv2OG68MsIYh for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 11:46:58 -0700 (PDT)
Received: from exprod7og121.obsmtp.com (exprod7og121.obsmtp.com [64.18.2.20]) by core3.amsl.com (Postfix) with ESMTP id C43553A6F8C for <netmod@ietf.org>; Wed,  2 Sep 2009 11:46:56 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob121.postini.com ([64.18.6.12]) with SMTP ID DSNKSp69WdhKDNzA3bVsrhOn+Dlzgi1JQ0g/@postini.com; Wed, 02 Sep 2009 11:47:13 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 11:40:35 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 11:40:35 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 11:40:35 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 11:40:33 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82IeUd75788; Wed, 2 Sep 2009 11:40:32 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n82ISOYE007368; Wed, 2 Sep 2009 18:28:24 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909021828.n82ISOYE007368@idle.juniper.net>
To: Ladislav Lhotka <lhotka@cesnet.cz>
In-Reply-To: <1251892998.12476.119.camel@missotis> 
Date: Wed, 2 Sep 2009 14:28:24 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 18:40:33.0788 (UTC) FILETIME=[DAE823C0:01CA2BFC]
MIME-Version: 1.0
Content-Type: text/plain
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 18:46:59 -0000

Ladislav Lhotka writes:
>Perhaps we should really treat configuration as a "config file", or XML
>document in the NETCONF context.

This is essentially what we've done, but left breadcrumbs to allow
the same organization to be used to retrieve operational data.  The
details of how these breadcrumbs works are fairly weak, and I'm not
sure we'll be able to work them out via email.

Thanks,
 Phil

From lhotka@cesnet.cz  Wed Sep  2 11:54:17 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7C7713A70F7 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 11:54:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.195
X-Spam-Level: 
X-Spam-Status: No, score=-1.195 tagged_above=-999 required=5 tests=[AWL=0.055,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WWnhHAjB1iOl for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 11:54:16 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id B1FD73A70F3 for <netmod@ietf.org>; Wed,  2 Sep 2009 11:54:16 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id A2228D800CE; Wed,  2 Sep 2009 20:53:28 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Phil Shafer <phil@juniper.net>
In-Reply-To: <200909021529.n82FTbSl005328@idle.juniper.net>
References: <200909021529.n82FTbSl005328@idle.juniper.net>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 02 Sep 2009 20:53:26 +0200
Message-Id: <1251917606.12476.142.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 18:54:17 -0000

Phil Shafer píše v St 02. 09. 2009 v 11:29 -0400:
> Ladislav Lhotka writes:
> >I want to do A. Why is it error-prone?
> 
> It adds complexity to "mandatory" (a common statement)
> for "assigned-by system" (a very rare statement).  The rarity of

Why does it add complexity? IMO "mandatory" means as before  that a
configuration is valid only if this value is present (modulo conditions
on ancestor nodes), no matter who set it.

Lada

> ABS means that code will be written that only tests mandatory without
> caring about ABS.  So this will be a source of coding errors.
> 
> More importantly, it means you need to understand a rare
> concept in order to fully grok a common one.
> 
> I vote for "MAY assign", since that's the simplest, most
> flexible option.
> 
> Thanks,
>  Phil
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From phil@juniper.net  Wed Sep  2 12:04:51 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5821C28C8FE for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 12:04:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.572
X-Spam-Level: 
X-Spam-Status: No, score=-6.572 tagged_above=-999 required=5 tests=[AWL=0.027,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xGJBdM7DEuuF for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 12:04:50 -0700 (PDT)
Received: from exprod7og106.obsmtp.com (exprod7og106.obsmtp.com [64.18.2.165]) by core3.amsl.com (Postfix) with ESMTP id 313AE28C926 for <netmod@ietf.org>; Wed,  2 Sep 2009 12:04:03 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob106.postini.com ([64.18.6.12]) with SMTP ID DSNKSp7BeSkCyxej+/m6mTq0B5ABLcN3s2a4@postini.com; Wed, 02 Sep 2009 12:04:22 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 11:58:52 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 11:58:52 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 11:58:52 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 11:58:51 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82Iwod84110; Wed, 2 Sep 2009 11:58:50 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n82Ikjgs007583; Wed, 2 Sep 2009 18:46:45 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909021846.n82Ikjgs007583@idle.juniper.net>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
In-Reply-To: <20090902120844.GF10753@elstar.local> 
Date: Wed, 2 Sep 2009 14:46:44 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 18:58:51.0518 (UTC) FILETIME=[693471E0:01CA2BFF]
MIME-Version: 1.0
Content-Type: text/plain
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 19:04:51 -0000

Juergen Schoenwaelder writes:
>A constructive proposal - thanks! I am not sure why you want to pass
>the module name; we do not scope get-config by module name either and
>you can use a filter on the module's namespace. Seems duplicated and
>also limiting - why can I not retrieve operational state from two
>related modules in one call?

My goal was to avoid the "return all data available on the device"
that we have with <get> to limit it to start at the top of a
particular model.  Namespace could be used also.  I guess we have
this with <filter> on <get> now, but adding a specific operation
for this type of data would be worthwhile imho.

>Is list interface config true or false here?

config defaults to true, so it remains there from container foo.
Apologies for the mistakes in my example.  Let me try again:

     module foo {
         ...
         container foo-top {
             list interface {
                 key name;
                 leaf name { type string; }
                 leaf mtu {
                     type int;
                     default 1024;
                 }
                 leaf duplex {
                     type enumeration {
                         enum full;
                         enum half;
                         enum auto { operational false; }
                         enum down { config false; }
                         default auto;
                     }
                 }
             }
         }
     }

Two changes are required to YANG:

(a) The new "operational" statement indicates whether the leaf, container,
list, enum, or union or choice member is returned in operational
data.  It defaults to "true", similar to "config", and is inherited
by child nodes in the schema tree.  So if a choice member is
"operational false", then all children of that choice are not
returned as operational data.

When you retrieve configuration data, "name" MUST appear, and "mtu"
and "duplex" MAY appear.  "duplex" MUST NOT have the value "down".

When you retrieve operational data, "name" MUST appear, and "mtu"
and "duplex" MAY appear.  "duplex" MUST NOT have the value "auto".

(b) The "config" statement can appear in a number of new locations
including enums and unions.

There are also impacts on other constraints, but I've not
thought thru them (if a "must" for a knob requires duplex
be "auto", then that constraint can't be enforced for operational
data.

>I assume this
>needs more thought to get right.

Amen to that!!  I'm just scratching the surface to see if (a) YANG
can handle this as is (I don't think so) and (b) if we really want
to wander off into this area for a while (not sure).

Thanks,
 Phil

From jmh@joelhalpern.com  Wed Sep  2 12:16:22 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E283028C1DA for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 12:16:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.434
X-Spam-Level: 
X-Spam-Status: No, score=-3.434 tagged_above=-999 required=5 tests=[AWL=0.165,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1PsAw75Lxm6a for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 12:16:22 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 19CA128C1DE for <netmod@ietf.org>; Wed,  2 Sep 2009 12:16:22 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id BE373430763; Wed,  2 Sep 2009 12:15:33 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-226.clppva.btas.verizon.net [71.161.51.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 96457430748; Wed,  2 Sep 2009 12:15:32 -0700 (PDT)
Message-ID: <4A9EC453.10102@joelhalpern.com>
Date: Wed, 02 Sep 2009 15:15:31 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909021846.n82Ikjgs007583@idle.juniper.net>
In-Reply-To: <200909021846.n82Ikjgs007583@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 19:16:23 -0000

If I am reading this correctly, you are saying that if we define this 
operation then the same leaf (path, including leaf) will designate the 
configuration variable in one get and the operational variable with a 
different rpc?
While that solves the problem of how to couple the two sets of 
information, it seems to be a dangerous and misleading approach.

In a given protocol, a single name ought to clearly name a single piece 
of information.  It seems to me it should not name the configured value 
in a <get-config> and a potentially different operational value in a 
<get-operational>

(Fortunately, while this is related to the previous discussion, it seems 
to be separable.  This seems to be an effort to answer the question 
"where to ODVs appear."  As long as we agree that the answer has to be 
somewhere, rather than nowhere, we are still making progress.)

Yours,
Joel

Phil Shafer wrote:
> Juergen Schoenwaelder writes:
>> A constructive proposal - thanks! I am not sure why you want to pass
>> the module name; we do not scope get-config by module name either and
>> you can use a filter on the module's namespace. Seems duplicated and
>> also limiting - why can I not retrieve operational state from two
>> related modules in one call?
> 
> My goal was to avoid the "return all data available on the device"
> that we have with <get> to limit it to start at the top of a
> particular model.  Namespace could be used also.  I guess we have
> this with <filter> on <get> now, but adding a specific operation
> for this type of data would be worthwhile imho.
> 
>> Is list interface config true or false here?
> 
> config defaults to true, so it remains there from container foo.
> Apologies for the mistakes in my example.  Let me try again:
> 
>      module foo {
>          ...
>          container foo-top {
>              list interface {
>                  key name;
>                  leaf name { type string; }
>                  leaf mtu {
>                      type int;
>                      default 1024;
>                  }
>                  leaf duplex {
>                      type enumeration {
>                          enum full;
>                          enum half;
>                          enum auto { operational false; }
>                          enum down { config false; }
>                          default auto;
>                      }
>                  }
>              }
>          }
>      }
> 
> Two changes are required to YANG:
> 
> (a) The new "operational" statement indicates whether the leaf, container,
> list, enum, or union or choice member is returned in operational
> data.  It defaults to "true", similar to "config", and is inherited
> by child nodes in the schema tree.  So if a choice member is
> "operational false", then all children of that choice are not
> returned as operational data.
> 
> When you retrieve configuration data, "name" MUST appear, and "mtu"
> and "duplex" MAY appear.  "duplex" MUST NOT have the value "down".
> 
> When you retrieve operational data, "name" MUST appear, and "mtu"
> and "duplex" MAY appear.  "duplex" MUST NOT have the value "auto".
> 
> (b) The "config" statement can appear in a number of new locations
> including enums and unions.
> 
> There are also impacts on other constraints, but I've not
> thought thru them (if a "must" for a knob requires duplex
> be "auto", then that constraint can't be enforced for operational
> data.
> 
>> I assume this
>> needs more thought to get right.
> 
> Amen to that!!  I'm just scratching the surface to see if (a) YANG
> can handle this as is (I don't think so) and (b) if we really want
> to wander off into this area for a while (not sure).
> 
> Thanks,
>  Phil
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 

From andy@netconfcentral.com  Wed Sep  2 12:16:23 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DC78128C1DE for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 12:16:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.339
X-Spam-Level: 
X-Spam-Status: No, score=-2.339 tagged_above=-999 required=5 tests=[AWL=-0.074, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id as31Nsn-+00N for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 12:16:23 -0700 (PDT)
Received: from smtp125.sbc.mail.sp1.yahoo.com (smtp125.sbc.mail.sp1.yahoo.com [69.147.65.184]) by core3.amsl.com (Postfix) with SMTP id 31A2C28C1DA for <netmod@ietf.org>; Wed,  2 Sep 2009 12:16:23 -0700 (PDT)
Received: (qmail 47000 invoked from network); 2 Sep 2009 19:15:52 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp125.sbc.mail.sp1.yahoo.com with SMTP; 2 Sep 2009 19:15:51 -0000
X-YMail-OSG: fe6uOasVM1nrsjfBiPhOkuO_K1VyvFGlJzwtfWwPvQR9gXcykQJqGqX3zYVzNCbH6ECyBqP_BUQdGI12GsAnSMOMMbt5RB3uNp56WQ2mHN8q0oA48zSigLnt9GgtVOEQ6X8JU9gLRfUkWhHmjR4dUFYrViQKRys9_3Q9deV89VugzFJXU21DfpTC2VI5H79b2q9xng2j3IZrK4s-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9EC479.1070008@netconfcentral.com>
Date: Wed, 02 Sep 2009 12:16:09 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909021828.n82ISOYE007368@idle.juniper.net>
In-Reply-To: <200909021828.n82ISOYE007368@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Configuration Data versus Operational State Data	versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 19:16:23 -0000

Phil Shafer wrote:
> Ladislav Lhotka writes:
>> Perhaps we should really treat configuration as a "config file", or XML
>> document in the NETCONF context.
> 
> This is essentially what we've done, but left breadcrumbs to allow
> the same organization to be used to retrieve operational data.  The
> details of how these breadcrumbs works are fairly weak, and I'm not
> sure we'll be able to work them out via email.
> 

I don't think breadcrumbs are a good substitute for
retrieving operational data.  Perhaps the no-revision-module
can be fixed, but the complexity, reliance on a complete
set of meta-data, and deviations-redefined-defaults are all too
fragile.

An operator will read the YANG module, see that the default
that is never allowed to change is set to '10'.  The number '10'
will get plugged into hardwired scripts to deal with
NETCONF's lack of basic support for complete data retrieval.

Except '10' will not be correct if there are any deviations
which break the contract.

The YANG-default + synthesis-of-all-deviations is not intuitive,
and turns the YANG-default from a constant into a
complicated-to-derive variable that is potentially different for
every session.

The YANG default needs to be a true constant, never affected
by anything like the deviation-stmt.  The server must remember
any original defayult (or lack of one), and use that as its
test for filtering defaults.  This has a much higher
chance of interoperability and usability.

> Thanks,
>  Phil


Andy

From phil@juniper.net  Wed Sep  2 12:29:33 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 60E2328C8E6 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 12:29:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.572
X-Spam-Level: 
X-Spam-Status: No, score=-6.572 tagged_above=-999 required=5 tests=[AWL=0.027,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ri6ZOvToQGBK for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 12:29:32 -0700 (PDT)
Received: from exprod7og105.obsmtp.com (exprod7og105.obsmtp.com [64.18.2.163]) by core3.amsl.com (Postfix) with ESMTP id 2A47428C93E for <netmod@ietf.org>; Wed,  2 Sep 2009 12:28:35 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob105.postini.com ([64.18.6.12]) with SMTP ID DSNKSp7HP5JYZAhZM8KZNJgjD7Wb41qOmHbB@postini.com; Wed, 02 Sep 2009 12:29:49 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 12:23:39 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 12:23:39 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 12:23:39 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 12:23:38 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82JNbd95233; Wed, 2 Sep 2009 12:23:37 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n82JBWxl007810; Wed, 2 Sep 2009 19:11:32 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909021911.n82JBWxl007810@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9E45AF.6060007@netconfcentral.com> 
Date: Wed, 2 Sep 2009 15:11:31 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 19:23:38.0127 (UTC) FILETIME=[DF4AF9F0:01CA2C02]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 19:29:33 -0000

Andy Bierman writes:
>> explicit:  The server MUST send the leaf element if the leaf has a
>> configured value.
>> Would "configured" be more meaningful than "explicit"?
>
>provide a definition for 'configured', and we shall find out.

So in previous email, we had the definition:

||  "configuration default value" (CDV):  the default value used for
||    configuration data.  If a list instance is created in the
||    configuration database and the value for a leaf is not provided,
||    then the CDV is the value which the system will use internally.
||    This means that the behaviour of the running system using that
||    CDV as the operational value is identical to the behaviour if
||    that leaf had been explicitly configured with that value.  The
||    CDV value must be a fixed value.

So "configured" would mean something like:

configured value (CV): the value for a leaf that has be created or
  set in the configuration database.  A CV is typically created or
  set by an explicit action on the part of a user or client
  application.  The value of an ABS leaf is considered a CV but a
  default value for a leaf that has not been created in the database
  is not a CV.

Hmmm..... problems with the CDV definition above.  If the default
value from the YANG module is not a valid operational value, then
the third sentence is nonsense.  For example "auto" is a great
default value for "duplex" but is not a valid operational value.
How about:

"configuration default value" (CDV):  the default value used for
  a leaf node with "config" set to "true".  If a list instance
  is created in the configuration database and the value for a
  leaf is not provided, then the CDV is the value which the system
  will use internally.  This means that the behaviour of the
  running system using that CDV as the internal value is
  identical to the behaviour if that leaf had been explicitly
  configured with that value.  The CDV value must be a fixed
  value.

Thanks,
 Phil

From phil@juniper.net  Wed Sep  2 12:30:51 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C33D53A67AF for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 12:30:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.272
X-Spam-Level: 
X-Spam-Status: No, score=-6.272 tagged_above=-999 required=5 tests=[AWL=-0.273, BAYES_00=-2.599, J_CHICKENPOX_14=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U9kGTDHK3vwK for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 12:30:51 -0700 (PDT)
Received: from exprod7og127.obsmtp.com (exprod7og127.obsmtp.com [64.18.2.210]) by core3.amsl.com (Postfix) with ESMTP id DFD8828C93E for <netmod@ietf.org>; Wed,  2 Sep 2009 12:30:50 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob127.postini.com ([64.18.6.12]) with SMTP ID DSNKSp7Hs69w7/eHKDzG359KCm1XQYgdVZG6@postini.com; Wed, 02 Sep 2009 12:31:07 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 12:25:14 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 12:25:14 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 12:25:13 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 12:25:13 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82JPCd96351; Wed, 2 Sep 2009 12:25:12 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n82JD74j007826; Wed, 2 Sep 2009 19:13:07 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909021913.n82JD74j007826@idle.juniper.net>
To: David Partain <david.partain@ericsson.com>
In-Reply-To: <200909021005.19240.david.partain@ericsson.com> 
Date: Wed, 2 Sep 2009 15:13:07 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 19:25:13.0140 (UTC) FILETIME=[17ECCF40:01CA2C03]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 19:30:51 -0000

David Partain writes:
x>Phil, are you proposing that this text be added to the YANG draft to then be 
>used to help define 'default' behavior?

Yes, with the change from my last email.  I'm normal wary of
overcrafting words, but the confusion and frustration need
to be solved, so if clear and crisp terminology can help,
I'm more than happy to see it.

Thanks,
 Phil

From mbj@tail-f.com  Wed Sep  2 12:58:29 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A8DE028C926 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 12:58:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[AWL=0.035,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VV7-mr0NAU3g for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 12:58:29 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id D0C4C28C1E7 for <netmod@ietf.org>; Wed,  2 Sep 2009 12:58:28 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 3793476C4E1; Wed,  2 Sep 2009 21:56:18 +0200 (CEST)
Date: Wed, 02 Sep 2009 21:56:17 +0200 (CEST)
Message-Id: <20090902.215617.23305975.mbj@tail-f.com>
To: jmh@joelhalpern.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4A9E88B4.4090405@joelhalpern.com>
References: <000a01ca2bb2$10ce2980$0601a8c0@allison> <20090902.131612.177280550.mbj@tail-f.com> <4A9E88B4.4090405@joelhalpern.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 19:58:29 -0000

"Joel M. Halpern" <jmh@joelhalpern.com> wrote:
> (Resending, to fix at least some of the typos.)
> 
> I was going to object to the combination of mandatory and assigned-by
> system.  However, the more I think about it, I can live with it.
> BUT...
> If we allow that combination, then we need to be very clear that a
> mandatory node that is not marked "assigned-by system" really needs to
> be provided by the client.

I think we need to make this very clear regardless of which option we
choose.  I.e. if a node is not marked as 'assignable-by system', it
MUST NOT be created by the server.

> I think I agree with the second part of A, but the wording keeps getting
> me crossed up.  I believe what you are saying there is that if a node is
> "assigned-by system" and is NOT mandatory (mandatory false or
> unspecified, which equals false), then the system may create a value.

Yes.

> However, can I repeat my request to change the term.
> I realize that "assigned-by system" is what was proposed a long time
> ago.  However, I think it creates some confusion.
> Could we use "system-assignable {true | false}"?

Fine with me.


/martin

From andy@netconfcentral.com  Wed Sep  2 13:02:51 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 527913A6C80 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 13:02:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.205
X-Spam-Level: 
X-Spam-Status: No, score=-2.205 tagged_above=-999 required=5 tests=[AWL=-0.206, BAYES_00=-2.599, J_CHICKENPOX_14=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sdPNjU-PTNig for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 13:02:50 -0700 (PDT)
Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by core3.amsl.com (Postfix) with SMTP id 5D0183A69D2 for <netmod@ietf.org>; Wed,  2 Sep 2009 13:02:12 -0700 (PDT)
Received: (qmail 57319 invoked from network); 2 Sep 2009 20:01:24 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 2 Sep 2009 20:01:24 -0000
X-YMail-OSG: eWDU5iMVM1k1cRWG_ONU_OrjVRptxZkSxqxgLRZF.mr.dQ9GSbreq.d077lhDZA1uAnkMCltjEgHMAJw0Ck8aELUsLEn7LWVjVxiROXzxLueiSkJV6jlj9c_vZBoxmBbpv83gEjMdqFmDfI5CkQFU3XB4UijyqGp3TM9TCjzvFNySBGbr9CmJvKaCIFkvxJL6cDp803vc137J5FirLSADo.w21Dd1q8DBJYQ0C44QkoBgb2zPtlHgGgPblj0nIW0eMWvQ3uj17ZHc5AS
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9ECF26.5010902@netconfcentral.com>
Date: Wed, 02 Sep 2009 13:01:42 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909021913.n82JD74j007826@idle.juniper.net>
In-Reply-To: <200909021913.n82JD74j007826@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 20:02:51 -0000

Phil Shafer wrote:
> David Partain writes:
> x>Phil, are you proposing that this text be added to the YANG draft to then be 
>> used to help define 'default' behavior?
> 
> Yes, with the change from my last email.  I'm normal wary of
> overcrafting words, but the confusion and frustration need
> to be solved, so if clear and crisp terminology can help,
> I'm more than happy to see it.
> 

I don't think everybody wants or needs a complex
definition of all kinds of data, with lots of
new terms to exactly fit your definition of all
this data.

Not everybody wants to do build the exact same
application(s) that you have in mind.
It seems like it it exactly matches your server,
it is a must-have, and otherwise it should be
an optional feature that the protocol can do without.

A brand new complex and confusing modeling language,
plus incomplete data-sets, are not a combination
for robustness, which is what I need in the
applications of interest to me.


> Thanks,
>  Phil

Andy

From phil@juniper.net  Wed Sep  2 13:11:17 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 41BC63A70FA for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 13:11:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.571
X-Spam-Level: 
X-Spam-Status: No, score=-6.571 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Yao+04-+CKH for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 13:11:16 -0700 (PDT)
Received: from exprod7og115.obsmtp.com (exprod7og115.obsmtp.com [64.18.2.217]) by core3.amsl.com (Postfix) with ESMTP id F281D3A7023 for <netmod@ietf.org>; Wed,  2 Sep 2009 13:11:13 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob115.postini.com ([64.18.6.12]) with SMTP ID DSNKSp7REKUbB+sCAZ2jCa8KYWMaGRiDII03@postini.com; Wed, 02 Sep 2009 13:11:31 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 13:06:16 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 13:06:15 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 13:06:15 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 13:06:14 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82K6Ed14770; Wed, 2 Sep 2009 13:06:14 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n82Js8EG008196; Wed, 2 Sep 2009 19:54:08 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909021954.n82Js8EG008196@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9EC479.1070008@netconfcentral.com> 
Date: Wed, 2 Sep 2009 15:54:08 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 20:06:14.0686 (UTC) FILETIME=[D31EEBE0:01CA2C08]
MIME-Version: 1.0
Content-Type: text/plain
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 20:11:17 -0000

Andy Bierman writes:
>Except '10' will not be correct if there are any deviations
>which break the contract.

We're circling again:  a deviation is a declaration of broken-ness.
If your application wants to assume that none of your devices are
broken, ignore deviaations completely.

Thanks,
 Phil

From phil@juniper.net  Wed Sep  2 13:23:34 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4AF543A684D for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 13:23:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.571
X-Spam-Level: 
X-Spam-Status: No, score=-6.571 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id um2dfFVy4dc6 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 13:23:33 -0700 (PDT)
Received: from exprod7og118.obsmtp.com (exprod7og118.obsmtp.com [64.18.2.8]) by core3.amsl.com (Postfix) with ESMTP id 63C953A63CB for <netmod@ietf.org>; Wed,  2 Sep 2009 13:23:33 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob118.postini.com ([64.18.6.12]) with SMTP ID DSNKSp7T1TSUzRamJ5kRdgQ3QSZtxduJG6lb@postini.com; Wed, 02 Sep 2009 13:23:50 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 2 Sep 2009 12:36:24 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 12:36:24 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 12:36:23 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 12:36:23 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n82JaMd01478; Wed, 2 Sep 2009 12:36:22 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n82JOHSg007990; Wed, 2 Sep 2009 19:24:17 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909021924.n82JOHSg007990@idle.juniper.net>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4A9D8936.5060707@joelhalpern.com> 
Date: Wed, 2 Sep 2009 15:24:17 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 02 Sep 2009 19:36:23.0259 (UTC) FILETIME=[A758DAB0:01CA2C04]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 20:23:34 -0000

"Joel M. Halpern" writes:
>I must have missed some subtlety in the netconf spec.  I am not sure why 
>there is a need for a module specific operation, or how this operation 
>differs from <get> which is defined to return all running configuration 
>and device state information.  (I tend to presume that ODVs, and other 
>operational information, appear only in the running config?)

This is actually the part I want to avoid.  If I've got an "mtu"
leaf, can't the operational value of that leaf just be available
from a different source, but in the same hierarchy/name?  I dislike
the idea of "mtu-configured" and "mtu-right-now".  I'd rather get
the config with <get-config> and the operational data with
<get-operational-data> and keep the same leafs, reusing them to
hold operational values.

This idea clearly needs some work.  But having to double every leaf
in every YANG module to get operational values makes my skin crawl.

Thanks,
 Phil

From mbj@tail-f.com  Wed Sep  2 13:30:23 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9D65D3A6A3C for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 13:30:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[AWL=0.035,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nu26AxWda0-b for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 13:30:22 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id C77E63A6358 for <netmod@ietf.org>; Wed,  2 Sep 2009 13:30:22 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 0755676C4E1; Wed,  2 Sep 2009 22:05:27 +0200 (CEST)
Date: Wed, 02 Sep 2009 22:05:26 +0200 (CEST)
Message-Id: <20090902.220526.28505746.mbj@tail-f.com>
To: phil@juniper.net
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <200909021846.n82Ikjgs007583@idle.juniper.net>
References: <20090902120844.GF10753@elstar.local> <200909021846.n82Ikjgs007583@idle.juniper.net>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 20:30:23 -0000

Phil Shafer <phil@juniper.net> wrote:
> >I assume this
> >needs more thought to get right.
> 
> Amen to that!!  I'm just scratching the surface to see if (a) YANG
> can handle this as is (I don't think so) and (b) if we really want
> to wander off into this area for a while (not sure).

I do not want us to do this now.  As Dan pointed out, it extends the
scope of NETCONF, and as you pointed out we need to carefully think
about how all this will work.

I prefer to finish what we're doing now, and then look at this.  I
also believe that since both NETCONF and YANG are extensible, we can
add things w/o breaking what we have (if nothing else this would be a
good exercise for our extensibility mechansims :)


/martin
 

From lhotka@cesnet.cz  Wed Sep  2 13:38:33 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A82183A68A8 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 13:38:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.896
X-Spam-Level: 
X-Spam-Status: No, score=-0.896 tagged_above=-999 required=5 tests=[AWL=-0.246, BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904, J_CHICKENPOX_14=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QHuFQzBhrV28 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 13:38:32 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id C19823A67F7 for <netmod@ietf.org>; Wed,  2 Sep 2009 13:38:32 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id B8926D800EE; Wed,  2 Sep 2009 22:08:35 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4A9ECF26.5010902@netconfcentral.com>
References: <200909021913.n82JD74j007826@idle.juniper.net> <4A9ECF26.5010902@netconfcentral.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 02 Sep 2009 22:08:33 +0200
Message-Id: <1251922113.10100.15.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 20:38:33 -0000

Andy Bierman píše v St 02. 09. 2009 v 13:01 -0700:
> Phil Shafer wrote:
> > David Partain writes:
> > x>Phil, are you proposing that this text be added to the YANG draft to then be 
> >> used to help define 'default' behavior?
> > 
> > Yes, with the change from my last email.  I'm normal wary of
> > overcrafting words, but the confusion and frustration need
> > to be solved, so if clear and crisp terminology can help,
> > I'm more than happy to see it.
> > 
> 
> I don't think everybody wants or needs a complex
> definition of all kinds of data, with lots of
> new terms to exactly fit your definition of all
> this data.
> 
> Not everybody wants to do build the exact same
> application(s) that you have in mind.
> It seems like it it exactly matches your server,
> it is a must-have, and otherwise it should be
> an optional feature that the protocol can do without.

Well, I suspect we all approach it this way, since our applications
shape our minds. :-)

> 
> A brand new complex and confusing modeling language,
> plus incomplete data-sets, are not a combination
> for robustness, which is what I need in the
> applications of interest to me.

I am in favor of simplicity, too.

Lada
 
> 
> 
> > Thanks,
> >  Phil
> 
> Andy
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From lhotka@cesnet.cz  Wed Sep  2 13:38:53 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B5D913A69AB for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 13:38:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.193
X-Spam-Level: 
X-Spam-Status: No, score=-1.193 tagged_above=-999 required=5 tests=[AWL=0.057,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MXR0E1tecgNL for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 13:38:53 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id D4E443A68A8 for <netmod@ietf.org>; Wed,  2 Sep 2009 13:38:52 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id A080DD800CE; Wed,  2 Sep 2009 22:03:13 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <20090902.215617.23305975.mbj@tail-f.com>
References: <000a01ca2bb2$10ce2980$0601a8c0@allison> <20090902.131612.177280550.mbj@tail-f.com> <4A9E88B4.4090405@joelhalpern.com> <20090902.215617.23305975.mbj@tail-f.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 02 Sep 2009 22:03:11 +0200
Message-Id: <1251921791.10100.11.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 20:38:53 -0000

Martin Bjorklund píše v St 02. 09. 2009 v 21:56 +0200:
> "Joel M. Halpern" <jmh@joelhalpern.com> wrote:
> > (Resending, to fix at least some of the typos.)
> > 
> > I was going to object to the combination of mandatory and assigned-by
> > system.  However, the more I think about it, I can live with it.
> > BUT...
> > If we allow that combination, then we need to be very clear that a
> > mandatory node that is not marked "assigned-by system" really needs to
> > be provided by the client.
> 
> I think we need to make this very clear regardless of which option we
> choose.  I.e. if a node is not marked as 'assignable-by system', it
> MUST NOT be created by the server.

So it means it mustn't be e.g. a mandatory top-level leaf, if we assume
that the server starts with a valid configuration, right?

Lada
 
> 
> > I think I agree with the second part of A, but the wording keeps getting
> > me crossed up.  I believe what you are saying there is that if a node is
> > "assigned-by system" and is NOT mandatory (mandatory false or
> > unspecified, which equals false), then the system may create a value.
> 
> Yes.
> 
> > However, can I repeat my request to change the term.
> > I realize that "assigned-by system" is what was proposed a long time
> > ago.  However, I think it creates some confusion.
> > Could we use "system-assignable {true | false}"?
> 
> Fine with me.
> 
> 
> /martin
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From andy@netconfcentral.com  Wed Sep  2 14:34:25 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E839328C207 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 14:34:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.204
X-Spam-Level: 
X-Spam-Status: No, score=-2.204 tagged_above=-999 required=5 tests=[AWL=-0.205, BAYES_00=-2.599, J_CHICKENPOX_14=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OeWQqqGyWxYZ for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 14:34:24 -0700 (PDT)
Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by core3.amsl.com (Postfix) with SMTP id D817E28C23B for <netmod@ietf.org>; Wed,  2 Sep 2009 14:32:52 -0700 (PDT)
Received: (qmail 13794 invoked from network); 2 Sep 2009 21:31:05 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 2 Sep 2009 21:31:05 -0000
X-YMail-OSG: RIUkRe4VM1lOp10cD_bXOi2lRnfrUpRzNDFtwx_.Zc4BHbe7eUTfODgR4eQtrnyEGigFTeGsppO5UfxVigaS5BUezsF82.GLre137yXgKDw5TptMXBU7UIcLbgPFwZdTA_qQ75ri2wa9jylGYe67o.ZvI88uTQLKgyX4w3OhG1RGUvLj7PPAzMXFu43hiEe6hsN97Bh.9BTMED6nMzqefcarhaHiBhyGTVbvLPkvEz.xo99dLf_hDqZ.Vdx9wlGv40Kz3TmQeyidYlS5
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9EE42B.8070008@netconfcentral.com>
Date: Wed, 02 Sep 2009 14:31:23 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
References: <200909021913.n82JD74j007826@idle.juniper.net>	 <4A9ECF26.5010902@netconfcentral.com> <1251922113.10100.15.camel@missotis>
In-Reply-To: <1251922113.10100.15.camel@missotis>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 21:34:25 -0000

Ladislav Lhotka wrote:
> Andy Bierman píše v St 02. 09. 2009 v 13:01 -0700:
>> Phil Shafer wrote:
>>> David Partain writes:
>>> x>Phil, are you proposing that this text be added to the YANG draft to then be 
>>>> used to help define 'default' behavior?
>>> Yes, with the change from my last email.  I'm normal wary of
>>> overcrafting words, but the confusion and frustration need
>>> to be solved, so if clear and crisp terminology can help,
>>> I'm more than happy to see it.
>>>
>> I don't think everybody wants or needs a complex
>> definition of all kinds of data, with lots of
>> new terms to exactly fit your definition of all
>> this data.
>>
>> Not everybody wants to do build the exact same
>> application(s) that you have in mind.
>> It seems like it it exactly matches your server,
>> it is a must-have, and otherwise it should be
>> an optional feature that the protocol can do without.
> 
> Well, I suspect we all approach it this way, since our applications
> shape our minds. :-)
> 
>> A brand new complex and confusing modeling language,
>> plus incomplete data-sets, are not a combination
>> for robustness, which is what I need in the
>> applications of interest to me.
> 
> I am in favor of simplicity, too.
> 

The IETF has a different definition of simplicity
than the one most people know.

I hardly think the authors and the people
working on the spec for 2 years straight
are the ones to judge whether YANG is simple or not.

I also have a different definition of 'interoperability'
and 'robustness' than the WG.  I think layering matters.
We designed NETCONF with an independent content layer on purpose.
The protocol was supposed to have content-neutral operations
on the suitcase full of data.

My concern about forming a NETMOD WG in the first place was
that we would take forever to design (on paper) what
should be the perfect DML for standards-base management,
all before we barely standardize 'hello world'.

There is nothing interoperable about N proprietary CLIs,
so following 'the CLI' instead of SNMP for guidance
on interoperability is never going to work.


> Lada

Andy

From randy_presuhn@mindspring.com  Wed Sep  2 15:56:18 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 599AE3A6CDE for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 15:56:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.185
X-Spam-Level: 
X-Spam-Status: No, score=-0.185 tagged_above=-999 required=5 tests=[BAYES_40=-0.185]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yzK6vQX1TQoD for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 15:56:17 -0700 (PDT)
Received: from elasmtp-curtail.atl.sa.earthlink.net (elasmtp-curtail.atl.sa.earthlink.net [209.86.89.64]) by core3.amsl.com (Postfix) with ESMTP id 912A33A6CD5 for <netmod@ietf.org>; Wed,  2 Sep 2009 15:56:17 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=Zf9NlPcNLaXLXmUYKqFsan3dZhtU44d4BZ96kA33umOmG2Qu5OsvCClZKRYQwCUO; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.30.224.216] (helo=oemcomputer) by elasmtp-curtail.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1Mix0H-00082a-OE for netmod@ietf.org; Wed, 02 Sep 2009 17:04:30 -0400
Message-ID: <001e01ca2c10$f5293da0$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netmod@ietf.org>
References: <200909021911.n82JBWxl007810@idle.juniper.net>
Date: Wed, 2 Sep 2009 14:04:26 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f91f645475fd345add66adf7ba2dc03bb6350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.30.224.216
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 22:56:18 -0000

Hi -

> From: "Phil Shafer" <phil@juniper.net>
> To: "Andy Bierman" <andy@netconfcentral.com>
> Cc: <netmod@ietf.org>
> Sent: Wednesday, September 02, 2009 12:11 PM
> Subject: Re: [netmod] proposal: no defaults for non-config data
...
> Hmmm..... problems with the CDV definition above.  If the default
> value from the YANG module is not a valid operational value, then
> the third sentence is nonsense.  For example "auto" is a great
> default value for "duplex" but is not a valid operational value.

This is a good example of where trying to munge the configuration
and operational values together would be a bad idea.  A configuration
backup should retrieve "auto" (if that is what has been configured)
rather than whatever the operational value is at the moment.  Otherwise,
a subsequent "restore" of the configuration could end up doing the
wrong thing.

Duplex, interface speeds, and protocol options are just a few examples
where things analogous to "auto" are legitimate configurations, and need
to be kept distinct from (useful) operational data about what the device /
interface is actually doing at the moment.  This will happen whenever
there is a legitimate need to configure something to make its own operational
decision from some set of possibilities.

Randy


From david.partain@ericsson.com  Wed Sep  2 17:37:00 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C4C013A6A8D for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 17:37:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.57
X-Spam-Level: 
X-Spam-Status: No, score=-5.57 tagged_above=-999 required=5 tests=[AWL=0.679,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GmYfzdhrUPx9 for <netmod@core3.amsl.com>; Wed,  2 Sep 2009 17:37:00 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 0DA603A69DA for <netmod@ietf.org>; Wed,  2 Sep 2009 17:36:49 -0700 (PDT)
X-AuditID: c1b4fb3c-b7b6eae000001984-07-4a9e2ccb5d3f
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id C4.F9.06532.CCC2E9A4; Wed,  2 Sep 2009 10:29:00 +0200 (CEST)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 10:28:59 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 2 Sep 2009 10:28:59 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Wed, 2 Sep 2009 10:28:58 +0200
User-Agent: KMail/1.9.10
References: <200909011009.16729.david.partain@ericsson.com> <004301ca2b20$e193fb40$0601a8c0@allison> <20090901.221918.226622597.mbj@tail-f.com>
In-Reply-To: <20090901.221918.226622597.mbj@tail-f.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909021028.59089.david.partain@ericsson.com>
X-OriginalArrivalTime: 02 Sep 2009 08:28:59.0643 (UTC) FILETIME=[6B7DF4B0:01CA2BA7]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] Issue: interpretation of 'default'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 00:37:00 -0000

Hi,

> > Again, an issue touched on but not resolved.
>
> I am not sure what sort of text you expect, if any.

I think it would be helpful if those who write mail about the suggested text 
at the beginning of the thread and do _not_ think it's sufficient please 
offer suggestions of text to cover things they don't think are covered or 
offer corrections to the suggested text to correct what they think is wrong.

It'll make the discussion easier.

Thanks.

David

From david.partain@ericsson.com  Thu Sep  3 05:21:21 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 582FE3A6BDE for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 05:21:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.6
X-Spam-Level: 
X-Spam-Status: No, score=-3.6 tagged_above=-999 required=5 tests=[AWL=-1.351,  BAYES_00=-2.599, HELO_EQ_SE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zxLayyfkwFN1 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 05:21:20 -0700 (PDT)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id 5C3963A67AA for <netmod@ietf.org>; Thu,  3 Sep 2009 05:21:20 -0700 (PDT)
X-AuditID: c1b4fb24-b7c01ae00000498b-21-4a9fb46a700e
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw5.ericsson.se (Symantec Brightmail Gateway) with SMTP id 41.51.18827.A64BF9A4; Thu,  3 Sep 2009 14:19:54 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.175]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 3 Sep 2009 14:19:54 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 3 Sep 2009 14:19:53 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Thu, 3 Sep 2009 14:19:53 +0200
User-Agent: KMail/1.9.10
References: <20090902120844.GF10753@elstar.local> <200909021846.n82Ikjgs007583@idle.juniper.net> <20090902.220526.28505746.mbj@tail-f.com>
In-Reply-To: <20090902.220526.28505746.mbj@tail-f.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909031419.53598.david.partain@ericsson.com>
X-OriginalArrivalTime: 03 Sep 2009 12:19:54.0008 (UTC) FILETIME=[D7C00980:01CA2C90]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 12:21:21 -0000

On Wednesday 02 September 2009 22.05.26 Martin Bjorklund wrote:
> Phil Shafer <phil@juniper.net> wrote:
> > >I assume this
> > >needs more thought to get right.
> >
> > Amen to that!!  I'm just scratching the surface to see if (a) YANG
> > can handle this as is (I don't think so) and (b) if we really want
> > to wander off into this area for a while (not sure).
>
> I do not want us to do this now.  As Dan pointed out, it extends the
> scope of NETCONF, and as you pointed out we need to carefully think
> about how all this will work.
>
> I prefer to finish what we're doing now, and then look at this.  I
> also believe that since both NETCONF and YANG are extensible, we can
> add things w/o breaking what we have (if nothing else this would be a
> good exercise for our extensibility mechansims :)

(contributor hat on)

I agree with Martin.  I want to ship things and then start thinking about 
extensions.   We seem to have enough to wrestle with at the moment...

Cheers,

David

From david.partain@ericsson.com  Thu Sep  3 05:31:25 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8D77E3A6B58 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 05:31:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.544
X-Spam-Level: 
X-Spam-Status: No, score=-5.544 tagged_above=-999 required=5 tests=[AWL=0.705,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EGz6S3JbybSV for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 05:31:24 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 48A6828C16C for <netmod@ietf.org>; Thu,  3 Sep 2009 05:31:23 -0700 (PDT)
X-AuditID: c1b4fb3c-b7b6eae000001984-18-4a9fa9e4cf3e
Received: from esealmw128.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 27.1D.06532.4E9AF9A4; Thu,  3 Sep 2009 13:35:00 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.170]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 3 Sep 2009 13:34:00 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 3 Sep 2009 13:34:00 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Thu, 3 Sep 2009 13:33:59 +0200
User-Agent: KMail/1.9.10
References: <200909021913.n82JD74j007826@idle.juniper.net> <4A9ECF26.5010902@netconfcentral.com>
In-Reply-To: <4A9ECF26.5010902@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909031334.00096.david.partain@ericsson.com>
X-OriginalArrivalTime: 03 Sep 2009 11:34:00.0326 (UTC) FILETIME=[6E6D8260:01CA2C8A]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 12:31:25 -0000

Greetings,

On Wednesday 02 September 2009 22.01.42 Andy Bierman wrote:
> Phil Shafer wrote:
> > David Partain writes:
> > Phil, are you proposing that this text be added to the YANG draft to
> > then be used to help define 'default' behavior?
> >
> > Yes, with the change from my last email.  I'm normal wary of
> > overcrafting words, but the confusion and frustration need
> > to be solved, so if clear and crisp terminology can help,
> > I'm more than happy to see it.
>
> I don't think everybody wants or needs a complex
> definition of all kinds of data, with lots of
> new terms to exactly fit your definition of all
> this data.

We've been arguing about things surrounding this terminology for weeks now.  
If definitions will help clarify what we all mean so that we stop talking 
past each other, then they may well be worth adding.  I'm waiting to see what 
others say about the text that Phil is suggesting.

> Not everybody wants to do build the exact same
> application(s) that you have in mind.
> It seems like it it exactly matches your server,
> it is a must-have, and otherwise it should be
> an optional feature that the protocol can do without.

Let's discuss text, please, and keep this discussion constructive.  
Finger-pointing doesn't seem helpful to me.

> A brand new complex and confusing modeling language,
> plus incomplete data-sets, are not a combination
> for robustness, which is what I need in the
> applications of interest to me.

Repeatedly claiming that YANG is too complex doesn't solve anything.  If you 
(or anyone else) has suggestions for simplification, bring 'em on.

Cheers,

David

From david.partain@ericsson.com  Thu Sep  3 05:31:26 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 480E83A6B58 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 05:31:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.572
X-Spam-Level: 
X-Spam-Status: No, score=-5.572 tagged_above=-999 required=5 tests=[AWL=0.677,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ViW+IpxK1iQY for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 05:31:25 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 2CDE93A68E7 for <netmod@ietf.org>; Thu,  3 Sep 2009 05:31:25 -0700 (PDT)
X-AuditID: c1b4fb3c-b7b6eae000001984-2e-4a9fabf81f96
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 47.AD.06532.8FBAF9A4; Thu,  3 Sep 2009 13:43:52 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 3 Sep 2009 13:43:51 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 3 Sep 2009 13:43:51 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Thu, 3 Sep 2009 13:43:51 +0200
User-Agent: KMail/1.9.10
References: <200909021911.n82JBWxl007810@idle.juniper.net> <001e01ca2c10$f5293da0$6801a8c0@oemcomputer>
In-Reply-To: <001e01ca2c10$f5293da0$6801a8c0@oemcomputer>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909031343.51189.david.partain@ericsson.com>
X-OriginalArrivalTime: 03 Sep 2009 11:43:51.0551 (UTC) FILETIME=[CED348F0:01CA2C8B]
X-Brightmail-Tracker: AAAAAA==
Subject: [netmod] Terminology discussion (was Re: proposal: no defaults for non-config data)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 12:31:26 -0000

Hi,

Phil suggested some definitions to use in other discussions.  Just to make it 
easier to follow, here's the updated text (based on the subsequent mail 
thread) and a new thread.  Phil, please sanity check that I got it all..

Comments on this text?  Do people want to put it into the YANG spec (arch 
doc?) or not?

Thanks, 

David

"assigned-by system" (ABS): a behavior where the system will, at
validation time, assign values in the configuration database for
leafs which are not given values.  If values were given before
validation time, the system will not assign new values, but will
honor these existing values.

"configuration default value" (CDV):  the default value used for
a leaf node with "config" set to "true".  If a list instance is
created in the configuration database and the value for a leaf is
not provided, then the CDV is the value which the system will use
internally.  This means that the behaviour of the running system
using that CDV as the internal value is identical to the
behaviour if that leaf had been explicitly configured with that
value.  The CDV value must be a fixed value.

"operational default value" (ODV): the default value used for
operational data.  This is the value used by the running system
if a value was not configured.  It may not be fixed or easily
described.  The value may be dynamic or even unpublished.

"configured value" (CV): the value for a leaf that has be created
or set in the configuration database.  A CV is typically created
or set by an explicit action on the part of a user or client
application.  The value of an ABS leaf is considered a CV but a
default value for a leaf that has not been created in the
database is not a CV.

With these terms, we make the following rules:

(a) the YANG default statement can be used to provide a CDV.

(b) the YANG default statement cannot provide defaults for ODVs.

(c) the YANG default statement cannot provide defaults for ABS
leafs.

(d) a server MAY choose to not send a leaf element if it is a
configuration leaf ('config true') and the value of the leaf is
the default value.

(e) ODVs MUST be sent for operational data, since the default
statement applies only to configuration data.  In effect,
operational data has no default values.

(f) ABS data is _real_ configuration data, since it appears in
the configuration database and can be manipulated with the
operation NETCONF/YANG operations.

From j.schoenwaelder@jacobs-university.de  Thu Sep  3 05:52:49 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 97CBB3A6B91 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 05:52:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.157
X-Spam-Level: 
X-Spam-Status: No, score=-2.157 tagged_above=-999 required=5 tests=[AWL=0.092,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NBgP9MitGnqO for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 05:52:48 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 970BF3A6AB8 for <netmod@ietf.org>; Thu,  3 Sep 2009 05:52:48 -0700 (PDT)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id 8B60AC013F; Thu,  3 Sep 2009 14:49:18 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id ttYXCfu2pJDk; Thu,  3 Sep 2009 14:48:49 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 0E00EC00C4; Thu,  3 Sep 2009 14:48:49 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id B02B7C8F05E; Thu,  3 Sep 2009 14:48:47 +0200 (CEST)
Date: Thu, 3 Sep 2009 14:48:47 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Martin Bjorklund <mbj@tail-f.com>
Message-ID: <20090903124847.GA13240@elstar.local>
Mail-Followup-To: Martin Bjorklund <mbj@tail-f.com>, "phil@juniper.net" <phil@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
References: <20090902120844.GF10753@elstar.local> <200909021846.n82Ikjgs007583@idle.juniper.net> <20090902.220526.28505746.mbj@tail-f.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20090902.220526.28505746.mbj@tail-f.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 12:52:49 -0000

On Wed, Sep 02, 2009 at 10:05:26PM +0200, Martin Bjorklund wrote:
> Phil Shafer <phil@juniper.net> wrote:
> > >I assume this
> > >needs more thought to get right.
> > 
> > Amen to that!!  I'm just scratching the surface to see if (a) YANG
> > can handle this as is (I don't think so) and (b) if we really want
> > to wander off into this area for a while (not sure).
> 
> I do not want us to do this now.  As Dan pointed out, it extends the
> scope of NETCONF, and as you pointed out we need to carefully think
> about how all this will work.
> 
> I prefer to finish what we're doing now, and then look at this.  I
> also believe that since both NETCONF and YANG are extensible, we can
> add things w/o breaking what we have (if nothing else this would be a
> good exercise for our extensibility mechansims :)

I believe we make a mistake if we can't clearly point out how
NETCONF/YANG deals with the distinction of configuration and
operational state data. There are people working on YANG data models
and the way we solve this issue will likely have some impact on how
they are modeling things.

I do understand the procedural complications since two WGs are
involved (but with the same contributors) and the desire of meeting
deadlines and moving forward in small steps. But getting the
distinction between config and operational state right is for me very
fundamental so that I prefer to delay YANG for say three months and I
would be OK with making 4741bis actually NETCONF 1.1 (reducing some
optional capabilities, providing retrieval support for operational
state data). And we might not need the with-defaults document anymore.

/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/>

From lhotka@cesnet.cz  Thu Sep  3 05:57:28 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 590A03A6AD7 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 05:57:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.194
X-Spam-Level: 
X-Spam-Status: No, score=-1.194 tagged_above=-999 required=5 tests=[AWL=0.056,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7vknUIWh8+Gk for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 05:57:27 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id D3C2E3A6AB8 for <netmod@ietf.org>; Thu,  3 Sep 2009 05:56:46 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 2BA63D800E8; Thu,  3 Sep 2009 14:55:26 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
In-Reply-To: <20090903124847.GA13240@elstar.local>
References: <20090902120844.GF10753@elstar.local> <200909021846.n82Ikjgs007583@idle.juniper.net> <20090902.220526.28505746.mbj@tail-f.com> <20090903124847.GA13240@elstar.local>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Thu, 03 Sep 2009 14:55:24 +0200
Message-Id: <1251982524.12620.50.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 12:57:28 -0000

Juergen Schoenwaelder píše v Čt 03. 09. 2009 v 14:48 +0200:
> On Wed, Sep 02, 2009 at 10:05:26PM +0200, Martin Bjorklund wrote:
> > Phil Shafer <phil@juniper.net> wrote:
> > > >I assume this
> > > >needs more thought to get right.
> > > 
> > > Amen to that!!  I'm just scratching the surface to see if (a) YANG
> > > can handle this as is (I don't think so) and (b) if we really want
> > > to wander off into this area for a while (not sure).
> > 
> > I do not want us to do this now.  As Dan pointed out, it extends the
> > scope of NETCONF, and as you pointed out we need to carefully think
> > about how all this will work.
> > 
> > I prefer to finish what we're doing now, and then look at this.  I
> > also believe that since both NETCONF and YANG are extensible, we can
> > add things w/o breaking what we have (if nothing else this would be a
> > good exercise for our extensibility mechansims :)
> 
> I believe we make a mistake if we can't clearly point out how
> NETCONF/YANG deals with the distinction of configuration and
> operational state data. There are people working on YANG data models
> and the way we solve this issue will likely have some impact on how
> they are modeling things.
> 
> I do understand the procedural complications since two WGs are
> involved (but with the same contributors) and the desire of meeting
> deadlines and moving forward in small steps. But getting the
> distinction between config and operational state right is for me very
> fundamental so that I prefer to delay YANG for say three months and I
> would be OK with making 4741bis actually NETCONF 1.1 (reducing some
> optional capabilities, providing retrieval support for operational
> state data). And we might not need the with-defaults document anymore.

+1

Lada

> 
> /js
> 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From jmh@joelhalpern.com  Thu Sep  3 06:23:38 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8FC913A6B9D for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 06:23:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.429
X-Spam-Level: 
X-Spam-Status: No, score=-3.429 tagged_above=-999 required=5 tests=[AWL=0.170,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hRNvc0MoPoGm for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 06:23:37 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id BC8763A684A for <netmod@ietf.org>; Thu,  3 Sep 2009 06:23:37 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 9767E4300AB; Thu,  3 Sep 2009 06:21:43 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-226.clppva.btas.verizon.net [71.161.51.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id E543043009D; Thu,  3 Sep 2009 06:21:42 -0700 (PDT)
Message-ID: <4A9FC2E5.10509@joelhalpern.com>
Date: Thu, 03 Sep 2009 09:21:41 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: David Partain <david.partain@ericsson.com>
References: <200909021911.n82JBWxl007810@idle.juniper.net>	<001e01ca2c10$f5293da0$6801a8c0@oemcomputer> <200909031343.51189.david.partain@ericsson.com>
In-Reply-To: <200909031343.51189.david.partain@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Terminology discussion (was Re: proposal: no defaults for	non-config data)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 13:23:38 -0000

I find these terms and definitions very helpful, and would like to see 
them in the YANG document itself.

As a minor tweak, I suggest reading ODV as "Operationally Determined 
Value" meaning that when a value is not configured, the system will 
operationally determine a value to use.

Yours,
Joel

David Partain wrote:
> Hi,
> 
> Phil suggested some definitions to use in other discussions.  Just to make it 
> easier to follow, here's the updated text (based on the subsequent mail 
> thread) and a new thread.  Phil, please sanity check that I got it all..
> 
> Comments on this text?  Do people want to put it into the YANG spec (arch 
> doc?) or not?
> 
> Thanks, 
> 
> David
> 
> "assigned-by system" (ABS): a behavior where the system will, at
> validation time, assign values in the configuration database for
> leafs which are not given values.  If values were given before
> validation time, the system will not assign new values, but will
> honor these existing values.
> 
> "configuration default value" (CDV):  the default value used for
> a leaf node with "config" set to "true".  If a list instance is
> created in the configuration database and the value for a leaf is
> not provided, then the CDV is the value which the system will use
> internally.  This means that the behaviour of the running system
> using that CDV as the internal value is identical to the
> behaviour if that leaf had been explicitly configured with that
> value.  The CDV value must be a fixed value.
> 
> "operational default value" (ODV): the default value used for
> operational data.  This is the value used by the running system
> if a value was not configured.  It may not be fixed or easily
> described.  The value may be dynamic or even unpublished.
> 
> "configured value" (CV): the value for a leaf that has be created
> or set in the configuration database.  A CV is typically created
> or set by an explicit action on the part of a user or client
> application.  The value of an ABS leaf is considered a CV but a
> default value for a leaf that has not been created in the
> database is not a CV.
> 
> With these terms, we make the following rules:
> 
> (a) the YANG default statement can be used to provide a CDV.
> 
> (b) the YANG default statement cannot provide defaults for ODVs.
> 
> (c) the YANG default statement cannot provide defaults for ABS
> leafs.
> 
> (d) a server MAY choose to not send a leaf element if it is a
> configuration leaf ('config true') and the value of the leaf is
> the default value.
> 
> (e) ODVs MUST be sent for operational data, since the default
> statement applies only to configuration data.  In effect,
> operational data has no default values.
> 
> (f) ABS data is _real_ configuration data, since it appears in
> the configuration database and can be manipulated with the
> operation NETCONF/YANG operations.
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 

From jmh@joelhalpern.com  Thu Sep  3 06:30:05 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 568583A691B for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 06:30:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.763
X-Spam-Level: 
X-Spam-Status: No, score=-2.763 tagged_above=-999 required=5 tests=[AWL=-0.498, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hNs9rR2HDwoh for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 06:30:04 -0700 (PDT)
Received: from morbo.mail.tigertech.net (morbo.mail.tigertech.net [67.131.251.54]) by core3.amsl.com (Postfix) with ESMTP id 9A7353A6816 for <netmod@ietf.org>; Thu,  3 Sep 2009 06:30:04 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by morbo.tigertech.net (Postfix) with ESMTP id E1CB6A3A12 for <netmod@ietf.org>; Thu,  3 Sep 2009 06:24:57 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id D22D14300BB; Thu,  3 Sep 2009 06:24:27 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-226.clppva.btas.verizon.net [71.161.51.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 0F19F4300AB; Thu,  3 Sep 2009 06:24:26 -0700 (PDT)
Message-ID: <4A9FC389.1080606@joelhalpern.com>
Date: Thu, 03 Sep 2009 09:24:25 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>, "phil@juniper.net" <phil@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
References: <20090902120844.GF10753@elstar.local>	<200909021846.n82Ikjgs007583@idle.juniper.net>	<20090902.220526.28505746.mbj@tail-f.com> <20090903124847.GA13240@elstar.local>
In-Reply-To: <20090903124847.GA13240@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 13:30:05 -0000

To phrase this differently, I think the question of where and how ODVs 
are made visible to the Netmod / Netconf client (the managing 
application) is important.  They need to be visible somehow.
As I have said, I do not particularly like this approach of overloading 
the leaf names to provide two different values for the same leaf in 
different operations.

This does leave me (us) with the problem that I do not have a good 
answer to where the information should appear.

Yours,
Joel

Juergen Schoenwaelder wrote:
> On Wed, Sep 02, 2009 at 10:05:26PM +0200, Martin Bjorklund wrote:
>> Phil Shafer <phil@juniper.net> wrote:
>>>> I assume this
>>>> needs more thought to get right.
>>> Amen to that!!  I'm just scratching the surface to see if (a) YANG
>>> can handle this as is (I don't think so) and (b) if we really want
>>> to wander off into this area for a while (not sure).
>> I do not want us to do this now.  As Dan pointed out, it extends the
>> scope of NETCONF, and as you pointed out we need to carefully think
>> about how all this will work.
>>
>> I prefer to finish what we're doing now, and then look at this.  I
>> also believe that since both NETCONF and YANG are extensible, we can
>> add things w/o breaking what we have (if nothing else this would be a
>> good exercise for our extensibility mechansims :)
> 
> I believe we make a mistake if we can't clearly point out how
> NETCONF/YANG deals with the distinction of configuration and
> operational state data. There are people working on YANG data models
> and the way we solve this issue will likely have some impact on how
> they are modeling things.
> 
> I do understand the procedural complications since two WGs are
> involved (but with the same contributors) and the desire of meeting
> deadlines and moving forward in small steps. But getting the
> distinction between config and operational state right is for me very
> fundamental so that I prefer to delay YANG for say three months and I
> would be OK with making 4741bis actually NETCONF 1.1 (reducing some
> optional capabilities, providing retrieval support for operational
> state data). And we might not need the with-defaults document anymore.
> 
> /js
> 

From j.schoenwaelder@jacobs-university.de  Thu Sep  3 07:04:40 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 07FF53A6D0C for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 07:04:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.157
X-Spam-Level: 
X-Spam-Status: No, score=-2.157 tagged_above=-999 required=5 tests=[AWL=0.092,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iiq7DdGs9Cpi for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 07:04:39 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 1853428C1E1 for <netmod@ietf.org>; Thu,  3 Sep 2009 07:04:39 -0700 (PDT)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 2563AC0101; Thu,  3 Sep 2009 16:01:26 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id U-SPvIkMwdXu; Thu,  3 Sep 2009 16:01:25 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id B12A7C00DA; Thu,  3 Sep 2009 16:01:24 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 57802C8F33C; Thu,  3 Sep 2009 16:01:23 +0200 (CEST)
Date: Thu, 3 Sep 2009 16:01:23 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
Message-ID: <20090903140123.GC13343@elstar.local>
Mail-Followup-To: "Joel M. Halpern" <jmh@joelhalpern.com>, Martin Bjorklund <mbj@tail-f.com>, "phil@juniper.net" <phil@juniper.net>, "netmod@ietf.org" <netmod@ietf.org>
References: <20090902120844.GF10753@elstar.local> <200909021846.n82Ikjgs007583@idle.juniper.net> <20090902.220526.28505746.mbj@tail-f.com> <20090903124847.GA13240@elstar.local> <4A9FC389.1080606@joelhalpern.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4A9FC389.1080606@joelhalpern.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 14:04:40 -0000

On Thu, Sep 03, 2009 at 03:24:25PM +0200, Joel M. Halpern wrote:

> To phrase this differently, I think the question of where and how
> ODVs are made visible to the Netmod / Netconf client (the managing
> application) is important.  They need to be visible somehow.  As I
> have said, I do not particularly like this approach of overloading
> the leaf names to provide two different values for the same leaf in
> different operations.

It is a matter how things are scoped, right? In SNMP land, we scope
OIDs to a context (contextEngineID, contextName). We are living in XML
land now and have other tools at our disposal - but somehow there
should be a solution possible that addresses your concerns. But even
today, you can do get-config() on running and candidate and what you
retrieve is already scoped to a 'datastore'...

/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/>

From jmh@joelhalpern.com  Thu Sep  3 07:29:46 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BA1E628C252 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 07:29:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.759
X-Spam-Level: 
X-Spam-Status: No, score=-2.759 tagged_above=-999 required=5 tests=[AWL=-0.494, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1DQL9qzz-sq8 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 07:29:46 -0700 (PDT)
Received: from morbo.mail.tigertech.net (morbo.mail.tigertech.net [67.131.251.54]) by core3.amsl.com (Postfix) with ESMTP id 02D4F28C259 for <netmod@ietf.org>; Thu,  3 Sep 2009 07:29:45 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by morbo.tigertech.net (Postfix) with ESMTP id CF5F4A3A70 for <netmod@ietf.org>; Thu,  3 Sep 2009 07:19:45 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id B6D424300D0 for <netmod@ietf.org>; Thu,  3 Sep 2009 07:19:15 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-226.clppva.btas.verizon.net [71.161.51.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 3B2BE4300B9 for <netmod@ietf.org>; Thu,  3 Sep 2009 07:19:15 -0700 (PDT)
Message-ID: <4A9FD061.9020203@joelhalpern.com>
Date: Thu, 03 Sep 2009 10:19:13 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: "netmod@ietf.org" <netmod@ietf.org>
References: <20090902120844.GF10753@elstar.local> <200909021846.n82Ikjgs007583@idle.juniper.net> <20090902.220526.28505746.mbj@tail-f.com> <20090903124847.GA13240@elstar.local> <4A9FC389.1080606@joelhalpern.com> <20090903140123.GC13343@elstar.local>
In-Reply-To: <20090903140123.GC13343@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 14:29:46 -0000

Maybe it is just a deficiency of my mental model.
I have no problem with the idea that if I ask for the value of foo in 
store-a, that I get a different value than if I ask in store-b.
I can see the parallel you are drawing with asking for foo with two 
different operations.
But, at least for me, there are large differences.
The conceptual semantics of the foo in store-a and store-b are the same. 
  They are both the configured value for foo, when that store of 
configuration is in effect.  In contrast, with the get-operational 
approach, we are naming two conceptually different things (as evinced by 
the fact that their validity range is not even the same) with the same name.

I guess I am particularly sensitive to this kind of overloading, because 
it has caused problems in other contexts.  (There is a strong argument 
that one of the strong contributors to the scaling problems in routing 
names is that the same name is used  both for the identity and for its 
location in the topology.)

Yours,
Joel


Juergen Schoenwaelder wrote:
> On Thu, Sep 03, 2009 at 03:24:25PM +0200, Joel M. Halpern wrote:
> 
>> To phrase this differently, I think the question of where and how
>> ODVs are made visible to the Netmod / Netconf client (the managing
>> application) is important.  They need to be visible somehow.  As I
>> have said, I do not particularly like this approach of overloading
>> the leaf names to provide two different values for the same leaf in
>> different operations.
> 
> It is a matter how things are scoped, right? In SNMP land, we scope
> OIDs to a context (contextEngineID, contextName). We are living in XML
> land now and have other tools at our disposal - but somehow there
> should be a solution possible that addresses your concerns. But even
> today, you can do get-config() on running and candidate and what you
> retrieve is already scoped to a 'datastore'...
> 
> /js
> 

From andy@netconfcentral.com  Thu Sep  3 08:29:59 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EB73528C26B for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 08:29:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.503
X-Spam-Level: 
X-Spam-Status: No, score=-2.503 tagged_above=-999 required=5 tests=[AWL=0.096,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LfdAfMhzw0IT for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 08:29:59 -0700 (PDT)
Received: from n8.bullet.mail.mud.yahoo.com (n8.bullet.mail.mud.yahoo.com [209.191.86.156]) by core3.amsl.com (Postfix) with SMTP id 0BECF28C1ED for <netmod@ietf.org>; Thu,  3 Sep 2009 08:29:58 -0700 (PDT)
Received: from [68.142.200.224] by n8.bullet.mail.mud.yahoo.com with NNFMP; 03 Sep 2009 15:28:29 -0000
Received: from [68.142.201.252] by t5.bullet.mud.yahoo.com with NNFMP; 03 Sep 2009 15:28:29 -0000
Received: from [127.0.0.1] by omp413.mail.mud.yahoo.com with NNFMP; 03 Sep 2009 15:28:28 -0000
X-Yahoo-Newman-Id: 998911.2943.bm@omp413.mail.mud.yahoo.com
Received: (qmail 21710 invoked from network); 3 Sep 2009 15:28:28 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp102.sbc.mail.sp1.yahoo.com with SMTP; 3 Sep 2009 15:28:28 -0000
X-YMail-OSG: VaroOssVM1ka9vwuJqS_01pDLV4ybaXmvqrBmHUb6rPNOI0ma6hKtQ8mPZ5ivi.rgvkYPB6yOtxGX8el_lj7l_dbQ8sKm3fbwg.fMP862sDYkCH9hqd.tVpvfJ7qyHPrhYX.OsCLwh7f.b_uDFKlB33hUL6YtKEkcJW7EU_YerbU0gd9JTVWFSGayNJ_8pI7OUSsbhYDM9DCKCg-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4A9FE036.10501@netconfcentral.com>
Date: Thu, 03 Sep 2009 08:26:46 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: David Partain <david.partain@ericsson.com>
References: <200909021913.n82JD74j007826@idle.juniper.net>	<4A9ECF26.5010902@netconfcentral.com> <200909031334.00096.david.partain@ericsson.com>
In-Reply-To: <200909031334.00096.david.partain@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal: no defaults for non-config data
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 15:30:00 -0000

David Partain wrote:
> Greetings,
> 
> On Wednesday 02 September 2009 22.01.42 Andy Bierman wrote:
>> Phil Shafer wrote:
>>> David Partain writes:
>>> Phil, are you proposing that this text be added to the YANG draft to
>>> then be used to help define 'default' behavior?
>>>
>>> Yes, with the change from my last email.  I'm normal wary of
>>> overcrafting words, but the confusion and frustration need
>>> to be solved, so if clear and crisp terminology can help,
>>> I'm more than happy to see it.
>> I don't think everybody wants or needs a complex
>> definition of all kinds of data, with lots of
>> new terms to exactly fit your definition of all
>> this data.
> 
> We've been arguing about things surrounding this terminology for weeks now.  
> If definitions will help clarify what we all mean so that we stop talking 
> past each other, then they may well be worth adding.  I'm waiting to see what 
> others say about the text that Phil is suggesting.
> 
>> Not everybody wants to do build the exact same
>> application(s) that you have in mind.
>> It seems like it it exactly matches your server,
>> it is a must-have, and otherwise it should be
>> an optional feature that the protocol can do without.
> 
> Let's discuss text, please, and keep this discussion constructive.  
> Finger-pointing doesn't seem helpful to me.
> 
>> A brand new complex and confusing modeling language,
>> plus incomplete data-sets, are not a combination
>> for robustness, which is what I need in the
>> applications of interest to me.
> 
> Repeatedly claiming that YANG is too complex doesn't solve anything.  If you 
> (or anyone else) has suggestions for simplification, bring 'em on.
> 

Repeatedly insisting that YANG is simple, and
ignoring the technical issues I keep raising
doesn't solve anything either.

Make all leaf instances available for retrieval on
all servers at all times, instead of trying to come
up with complex mechanisms and excuses for why the client
doesn't need to retrieve all data from the server.


> Cheers,
> 
> David

Andy


From mark@ellisonsoftware.com  Thu Sep  3 09:54:53 2009
Return-Path: <mark@ellisonsoftware.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9B23C3A6D9C for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 09:54:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.848
X-Spam-Level: 
X-Spam-Status: No, score=-101.848 tagged_above=-999 required=5 tests=[AWL=0.129, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e5Movwt8c4rT for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 09:54:52 -0700 (PDT)
Received: from mail-vw0-f177.google.com (mail-vw0-f177.google.com [209.85.212.177]) by core3.amsl.com (Postfix) with ESMTP id 624723A6D9B for <netmod@ietf.org>; Thu,  3 Sep 2009 09:54:52 -0700 (PDT)
Received: by vws7 with SMTP id 7so99743vws.29 for <netmod@ietf.org>; Thu, 03 Sep 2009 09:53:48 -0700 (PDT)
MIME-Version: 1.0
Sender: mark@ellisonsoftware.com
Received: by 10.150.47.16 with SMTP id u16mr15308750ybu.214.1251996828093;  Thu, 03 Sep 2009 09:53:48 -0700 (PDT)
In-Reply-To: <200909031343.51189.david.partain@ericsson.com>
References: <200909021911.n82JBWxl007810@idle.juniper.net> <001e01ca2c10$f5293da0$6801a8c0@oemcomputer> <200909031343.51189.david.partain@ericsson.com>
Date: Thu, 3 Sep 2009 12:53:48 -0400
X-Google-Sender-Auth: ee42cce893b7d445
Message-ID: <8a0268750909030953i72fdbe93w6c942269769395ad@mail.gmail.com>
From: Mark Ellison <ellison@ieee.org>
To: David Partain <david.partain@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: netmod@ietf.org
Subject: Re: [netmod] Terminology discussion (was Re: proposal: no defaults for non-config data)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 16:54:53 -0000

Hi David,

On Thu, Sep 3, 2009 at 7:43 AM, David Partain<david.partain@ericsson.com> w=
rote:
> Hi,
>
> Phil suggested some definitions to use in other discussions. =A0Just to m=
ake it
> easier to follow, here's the updated text (based on the subsequent mail
> thread) and a new thread. =A0Phil, please sanity check that I got it all.=
.
>
> Comments on this text? =A0Do people want to put it into the YANG spec (ar=
ch
> doc?) or not?

After catching up on the long and winding NETMOD email threads, the
following text looks like real progress.  I have added notes inline
where some minor edits may improve readability and consistency.
Hopefully these edits stay consistent with intended meanings.


> Thanks,
>
> David
>
> "assigned-by system" (ABS): a behavior where the system will, at
> validation time, assign values in the configuration database for
> leafs which are not given values. =A0If values were given before

s/which are not given values/which are not given a configured value
and for which no CDV applies/

> validation time, the system will not assign new values, but will
> honor these existing values.



> "configuration default value" (CDV): =A0the default value used for
> a leaf node with "config" set to "true". =A0If a list instance is
> created in the configuration database and the value for a leaf is

s/the value for/a configured value (CV) for/

> not provided, then the CDV is the value which the system will use
> internally. =A0This means that the behaviour of the running system
> using that CDV as the internal value is identical to the
> behaviour if that leaf had been explicitly configured with that

s/behaviour if that leaf/behaviour of the running system if that leaf/

> value. =A0The CDV value must be a fixed value.

s/configured with that value/configured with the CDV/



> "operational default value" (ODV): the default value used for
> operational data. =A0This is the value used by the running system
> if a value was not configured. =A0It may not be fixed or easily

s/if a value was not configured/if a configured value (CV) was given
and no CDV applies/

> described. =A0The value may be dynamic or even unpublished.


> "configured value" (CV): the value for a leaf that has be created
> or set in the configuration database. =A0A CV is typically created
> or set by an explicit action on the part of a user or client
> application. =A0The value of an ABS leaf is considered a CV but a
> default value for a leaf that has not been created in the
> database is not a CV.
>
> With these terms, we make the following rules:
>
> (a) the YANG default statement can be used to provide a CDV.
>
> (b) the YANG default statement cannot provide defaults for ODVs.
>
> (c) the YANG default statement cannot provide defaults for ABS
> leafs.
>
> (d) a server MAY choose to not send a leaf element if it is a
> configuration leaf ('config true') and the value of the leaf is
> the default value.

s/the default value/the configured default value (CDV)/


Regards,

Mark
-------

>
> (e) ODVs MUST be sent for operational data, since the default
> statement applies only to configuration data. =A0In effect,
> operational data has no default values.
>
> (f) ABS data is _real_ configuration data, since it appears in
> the configuration database and can be manipulated with the
> operation NETCONF/YANG operations.
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>

From j.schoenwaelder@jacobs-university.de  Thu Sep  3 11:18:42 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D31B73A6851 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 11:18:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.158
X-Spam-Level: 
X-Spam-Status: No, score=-2.158 tagged_above=-999 required=5 tests=[AWL=0.091,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RtjUvuF8xQtg for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 11:18:42 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id E13AE3A67F2 for <netmod@ietf.org>; Thu,  3 Sep 2009 11:18:38 -0700 (PDT)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 87659C007D; Thu,  3 Sep 2009 20:17:05 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id XaN7JVYjo1Wj; Thu,  3 Sep 2009 20:17:04 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 7B911C007B; Thu,  3 Sep 2009 20:17:04 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id EE79CC8F74E; Thu,  3 Sep 2009 20:17:02 +0200 (CEST)
Date: Thu, 3 Sep 2009 20:17:02 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.com>
Message-ID: <20090903181702.GA13460@elstar.local>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.com>, David Partain <david.partain@ericsson.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <4A95EB78.7000009@netconfcentral.com> <200909021249.43871.david.partain@ericsson.com> <4A9E54DD.1010002@netconfcentral.com> <200909021346.13387.david.partain@ericsson.com> <4A9E6C4F.6090108@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4A9E6C4F.6090108@netconfcentral.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Configuration nodes was Re: meaning of defau
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 18:18:43 -0000

On Wed, Sep 02, 2009 at 02:59:59PM +0200, Andy Bierman wrote:
 
> Explicit just means: "if the client set it, return it,
> even if the value is the YANG default".  This was not made clear
> until recently.

Not sure this is correct since it does not matter who or what created
the config leaf. But note that this does not mean operational state is
config. This is where the communication problem is.

/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/>

From j.schoenwaelder@jacobs-university.de  Thu Sep  3 12:22:51 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 96CDB3A6831 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 12:22:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.158
X-Spam-Level: 
X-Spam-Status: No, score=-2.158 tagged_above=-999 required=5 tests=[AWL=0.091,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NvuYQLL4Xe58 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 12:22:50 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 637F33A6882 for <netmod@ietf.org>; Thu,  3 Sep 2009 12:22:50 -0700 (PDT)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id A54DEC007D; Thu,  3 Sep 2009 21:06:56 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id yUQBcyNonLtJ; Thu,  3 Sep 2009 21:06:55 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id C604AC0023; Thu,  3 Sep 2009 21:06:55 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 04546C8FD0D; Thu,  3 Sep 2009 21:06:53 +0200 (CEST)
Date: Thu, 3 Sep 2009 21:06:53 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
Message-ID: <20090903190653.GB13581@elstar.local>
Mail-Followup-To: "Romascanu, Dan (Dan)" <dromasca@avaya.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <20090901193508.GA9782@elstar.local> <EDC652A26FB23C4EB6384A4584434A04019CB482@307622ANEX5.global.avaya.com> <20090902115322.GD10753@elstar.local> <EDC652A26FB23C4EB6384A4584434A04019CB66E@307622ANEX5.global.avaya.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <EDC652A26FB23C4EB6384A4584434A04019CB66E@307622ANEX5.global.avaya.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Configuration Data versus Operational State Data versusStatistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 19:22:51 -0000

On Wed, Sep 02, 2009 at 06:18:59PM +0200, Romascanu, Dan (Dan) wrote:
> I do not disagree with any of those. I am just making the observation
> that the set of categories that you started to define exceed the scope
> of NETCONF. After all we do not want to have configuration data,
> operational state, and statistics redefined again and again for each
> protocol. 

RFC 3535 explains that SNMP failed to make the necessary distinction.
We are trying to learn from this mistake and make a proper distinction
between configuration and operational state data now. I am concerned
if we are being told that we should not make this step because going
forward might overlap with some other protocols (that failed to make
this distinction).

> While mandating which protocol is used for certain data seems to be a
> futile exercise, proving some guidance about what tools are fit for
> specific operations can be expected to happen at some stage. After all
> we are not designing all protocols (NETCONF included) as good and fit
> for all kinds of management operations. 

I am all in favour of documenting properties of protocols so that
people can easily make informed implementation / deployment decision.
And it is also good to declare dead protocols dead (this reminds me of
COPS-PR and SPPI).

/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/>

From andy@netconfcentral.com  Thu Sep  3 13:32:48 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8286A3A68DF for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 13:32:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.337
X-Spam-Level: 
X-Spam-Status: No, score=-2.337 tagged_above=-999 required=5 tests=[AWL=-0.072, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E47J9WiNb97o for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 13:32:47 -0700 (PDT)
Received: from smtp127.sbc.mail.sp1.yahoo.com (smtp127.sbc.mail.sp1.yahoo.com [69.147.65.186]) by core3.amsl.com (Postfix) with SMTP id B932C3A68DE for <netmod@ietf.org>; Thu,  3 Sep 2009 13:32:47 -0700 (PDT)
Received: (qmail 49008 invoked from network); 3 Sep 2009 20:25:13 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp127.sbc.mail.sp1.yahoo.com with SMTP; 3 Sep 2009 20:25:12 -0000
X-YMail-OSG: GB4mJRkVM1nCWxfOH59DQiv4IcM6zRv1ETokCOgvFiK70e_7XGTLIxYEk3Sp8OweH6p4J8sqX2LBQRAlJ9sbgJq2dv0jaBmLC6n5u9xXJ_au8RFEZI0m2OLOA29k0mPZUKC5SZ68_4jNl5VOUkwfIec.vmp47H65a6WqjXIYm.vn8tw5OhJJ2t2mzH0ZGX9KjVU5EuSB.y4c.2wSkQQbkEgihwfREv_GABYC68TtTkNZB0U-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA0263C.2020906@netconfcentral.com>
Date: Thu, 03 Sep 2009 13:25:32 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <000a01ca2bb2$10ce2980$0601a8c0@allison>	<20090902.131612.177280550.mbj@tail-f.com>	<1251891606.12476.104.camel@missotis> <20090902.134448.165255613.mbj@tail-f.com>
In-Reply-To: <20090902.134448.165255613.mbj@tail-f.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Issue: add 'assigned-by system'
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2009 20:32:48 -0000

Martin Bjorklund wrote:
> Ladislav Lhotka <lhotka@cesnet.cz> wrote:
>> Martin Bjorklund píše v St 02. 09. 2009 v 13:16 +0200:
>>> "tom.petch" <cfinss@dial.pipex.com> wrote:
>>>> So is this 'system will assign' a MAY, MUST, SHOULD?
>>> Open question.  See below.
>>>
>>>> And is it immediate ancestor only?  I am thinking of the complex
>>>> nested stack one gets with physical and logical interfaces, with the
>>>> server allocating VCs at the bottom of the stack.
>>> Yes, ancestor only (modulo NP-containers).
>>>
>>>> Last time around, we spent time discussing the interaction with
>>>> default and mandatory, but I see these two as incompatible
>>>> with assigned-by-system
>>>> if default means a value that the server MUST use and mandatory
>>>> means the client MUST supply (disagree with these two, but suspect
>>>> that these are the current view).
>>> (See also
>>> http://www.ietf.org/mail-archive/web/netmod/current/msg01622.html) 
>>>
>>> Here are some alternatives:
>>>
>>>   A.  Keep the current text about mandatory, and allow the combination
>>>       assigned-by system and mandatory true.  The combination then
>>>       means that the server MUST assign a value if the client doesn't.
>>>       If assigned-by system mandatory is false, the server MAY assign a
>>>       value.
>>>
>>>       In this case, default would be ok if mandatory is false.  If the
>>>       server did not assign a value the default applies.
>>>
>>>   B.  Change mandatory to mean that the client MUST set it.  This
>>>       rules out the combination assigned-by system and mandatory true.
>>>
>>>     B.1  B +  assigned-by system means MUST assign
>>>          This rules out the combination assigned-by system and default
>>>           
>>>     B.2  B +  assigned-by system means MAY assign
>>>          The combination assigned-by system and default would be ok.
>>>
>>>
>>> A gives most flexibility, but is also more error-prone.  B.1 seems to
>>> be the most straight forward solution if we don't want to do A.
>> I want to do A. Why is it error-prone?
> 
> It adds complexity, and the interactions may be subtle.
> 
> This said, I prefer A as well.
> 

I prefer (A).
The wording should be clarified to say that the
server MUST set the value in a valid configuration
if mandatory=true, or generate the appropriate <rpc-error>.
You can't force the server to provide a value every time.
Top-level mandatory nodes are still unsafe.



> 
> 
> /martin

Andy

From david.partain@ericsson.com  Thu Sep  3 17:09:48 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 39C083A67F9 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 17:09:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[AWL=-1.349, BAYES_00=-2.599, HELO_EQ_SE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sioUaVfG6BKb for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 17:09:47 -0700 (PDT)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id 122843A659B for <netmod@ietf.org>; Thu,  3 Sep 2009 17:09:45 -0700 (PDT)
X-AuditID: c1b4fb24-b7c01ae00000498b-1d-4a9f7b3f4a42
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw5.ericsson.se (Symantec Brightmail Gateway) with SMTP id 6B.B3.18827.F3B7F9A4; Thu,  3 Sep 2009 10:16:00 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 3 Sep 2009 10:15:59 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 3 Sep 2009 10:15:59 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Thu, 3 Sep 2009 10:15:58 +0200
User-Agent: KMail/1.9.10
References: <4A9D410F.8020109@netconfcentral.com>
In-Reply-To: <4A9D410F.8020109@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909031015.58968.david.partain@ericsson.com>
X-OriginalArrivalTime: 03 Sep 2009 08:15:59.0508 (UTC) FILETIME=[C4E88D40:01CA2C6E]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] module capabilities section
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 00:09:48 -0000

Good day, 

Thanks, Andy, for the thorough analysis of the module capabilities section.  
Would it be possible for you to provide "OLD" -> "NEW" suggestions?  I find 
it easier to understand what you want to change with a concrete proposal.

Thanks.

David

On Tuesday 01 September 2009 17.43.11 Andy Bierman wrote:
> I think sec. 5.6.4 should be more clear about
> the conformance for the module capability content.
> This is a critical component of the many complex
> features, and it MUST be complete and correct
> for NETCONF/YANG to have any real chance at interoperability.
>
> Sec 5.6.4.1:
>
> All revisions of all modules that are used within
> the server MUST be announced in the <hello> because
> import-by-revision and include-by-revision are optional
> to use, and therefore ambiguous.
>
> Even all 'typedef' modules like ietf-yang-types are not
> safe to use without a revision date.  Assuming the client
> will guess the right file for 'import footypes' is broken.
> Without a namespace, there is no way to verify that the
> client and server both picked the same 'footypes'.
>
> The current text says:
>
>    Modules that do not contribute any data definitions, rpcs,
>    notifications, or deviations to the device MAY be advertised in the
>    <hello> message.
>
> This is incomplete and non-deterministic data.
> Maybe humans don't care about that, but it is a big deal
> to automation-based applications.
> (Some humans have noticed that incomplete and
> non-deterministic data wastes time.)
>
> Sec 5.6.4.2:
>
> It should be clear that the server MUST announce all features
> it supports for a given module, if any.
>
> Sec 5.6.4.3:
>
> It should be clear that the server MUST announce all deviations
> it has loaded for a given module, if any.
>
> The deviation module MUST be advertised as a capability.
> It cannot just be identified as deviations=foo'.
> It should be obvious that these modules are subject to
> the same module name collisions as any other module.
>
> Not so obvious -- the server MUST support every mandatory-to-implement
> YANG construct in a deviations module, since it is just like any other.
>
>
>    <capability>
>      
> string-for-uri-nobody-can-remember:module=X&revision=2009-02-01&deviations=
>Y </capability>
>
>    <capability>
>       string-for-uri-nobody-can-remember:module=Y&revision=2009-02-01
>    </capability>
>
> ------------------------------
>
> General:
>
> Using a complete and deterministic data-set is
> fundamental to automation of manual IT labor.
> If others want to use NETCONF as a human interface
> that's fine, but that should not be the limit of NETCONF's utility.
>
> Many classes of applications are not just simple
> front-ends for a human to read and type,
> and incomplete data is a killer for all those apps.
> IMO, the amount of bandwidth being saved is
> a million times cheaper than the labor hours for
> looking up all the missing data, or over-paying experts
> to know all the esoteric details without looking them up.

From andy@netconfcentral.com  Thu Sep  3 17:59:49 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CBBB33A69E7 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 17:59:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.503
X-Spam-Level: 
X-Spam-Status: No, score=-2.503 tagged_above=-999 required=5 tests=[AWL=0.096,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3+OiHvSgckrR for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 17:59:48 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id CF6CE3A67A1 for <netmod@ietf.org>; Thu,  3 Sep 2009 17:59:48 -0700 (PDT)
Received: (qmail 50956 invoked from network); 4 Sep 2009 00:59:22 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 4 Sep 2009 00:59:21 -0000
X-YMail-OSG: moI4srUVM1mjKPzLEhbrQ_EjlIxIChopbav9h2c1slAawQT_.Vo6Us88fNaZ_H2niAcB7p2EALNmWuIZOcNfIHqvsitkSmie_YxgNSSR5T9bCTaMJv_3bN9l57m6ZemNnh3fSvF4Qn_GmH7b9ldLWzzHZRz0II20wEq8omPzfNHry5QmmxTHv247Vryp0ZKScyWWrTtG.Ip0PGdrFmzoUJt2wzHFpKc1fnB_yIhahCWDUh3zpI96rems09.dBLPcMHFE2jlsny_cOZ_e
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA0667C.8090701@netconfcentral.com>
Date: Thu, 03 Sep 2009 17:59:40 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] 2 new interoperability issues
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 00:59:49 -0000

Hi,

yang-07, 7.18.3:


   Device deviations are strongly discouraged and SHOULD only be used as
   a last resort.  Telling the application how a device fails to follow
   the standard is no substitute for implementing the standard
   correctly.

IMO, s/SHOULD/MUST/


RFC 2026, 4.1.2:

   The requirement for at least two independent and interoperable
   implementations applies to all of the options and features of the
   specification.  In cases in which one or more options or features
   have not been demonstrated in at least two interoperable
   implementations, the specification may advance to the Draft Standard
   level only if those options or features are removed.

I do not think that adequate interoperability verification
of YANG module server implementations can be done, because
the standard will allow server implementations to substitute
the module capability (+ whatever deviations) as a retrieved value.
Essentially, every server gets to arbitrarily rewrite the
contract specified by the standard, by using deviations.

RFC 2026 requires interoperability verification on
all features.  I do not see how this is possible
if deviations are part of the contract, and some of the
server values for specific YANG leafs are not available
for retrieval.

Advertisement of a module capability is not good
enough for interoperability testing, and YANG is not
standards-worthy if it cannot meet the same direct verification
requirements that SNMP MIB modules are expected
to follow for standards-track advancement.


Andy





From Washam.Fan@huaweisymantec.com  Thu Sep  3 18:39:00 2009
Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1A50F3A63CB for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 18:39:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.325
X-Spam-Level: 
X-Spam-Status: No, score=-1.325 tagged_above=-999 required=5 tests=[AWL=1.274,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nj6eTDcpft-c for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 18:38:59 -0700 (PDT)
Received: from mta1.huaweisymantec.com (mta1.huaweisymantec.com [218.17.155.14]) by core3.amsl.com (Postfix) with ESMTP id 0F71E3A68A8 for <netmod@ietf.org>; Thu,  3 Sep 2009 18:38:59 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml01-in.huaweisymantec.com ([172.26.3.41]) by hstga01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KPF00ECLB8NU540@hstga01-in.huaweisymantec.com> for netmod@ietf.org; Fri, 04 Sep 2009 09:38:48 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KPF00JXMB8N6X00@hstml01-in.huaweisymantec.com> for netmod@ietf.org; Fri, 04 Sep 2009 09:38:47 +0800 (CST)
Received: from [10.27.154.141] by hstml01-in.huaweisymantec.com (mshttpd); Fri, 04 Sep 2009 09:38:47 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
Message-id: <fc7bf3e6513.4aa0e027@huaweisymantec.com>
Date: Fri, 04 Sep 2009 09:38:47 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-8.03 (built Apr 24 2009; 32bit)
Content-language: en
X-Accept-Language: en
Priority: normal
In-reply-to: <4A9FD061.9020203@joelhalpern.com>
References: <20090902120844.GF10753@elstar.local> <200909021846.n82Ikjgs007583@idle.juniper.net> <20090902.220526.28505746.mbj@tail-f.com> <20090903124847.GA13240@elstar.local> <4A9FC389.1080606@joelhalpern.com> <20090903140123.GC13343@elstar.local> <4A9FD061.9020203@joelhalpern.com>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 01:39:00 -0000

Hi,

> Maybe it is just a deficiency of my mental model.
>  I have no problem with the idea that if I ask for the value of foo in 
> 
>  store-a, that I get a different value than if I ask in store-b.

Does <get-operational-data> work in this way? Or if you apply 
<get-operational-data> to the datastore, the datastore reply you
the operational data, if you apply <get-config> to the same datastore,
same node, it will reply you the config value. Is there two datastores,
or one datastore allowing two retrieval ways?

washam

>  I can see the parallel you are drawing with asking for foo with two 
>  different operations.
>  But, at least for me, there are large differences.
>  The conceptual semantics of the foo in store-a and store-b are the 
> same. 
>    They are both the configured value for foo, when that store of 
>  configuration is in effect.  In contrast, with the get-operational 
>  approach, we are naming two conceptually different things (as evinced 
> by 
>  the fact that their validity range is not even the same) with the 
> same name.
>  
>  I guess I am particularly sensitive to this kind of overloading, 
> because 
>  it has caused problems in other contexts.  (There is a strong 
> argument 
>  that one of the strong contributors to the scaling problems in 
> routing 
>  names is that the same name is used  both for the identity and for 
> its 
>  location in the topology.)
>  
>  Yours,
>  Joel
>  
>  
>  Juergen Schoenwaelder wrote:
>  > On Thu, Sep 03, 2009 at 03:24:25PM +0200, Joel M. Halpern wrote:
>  > 
>  >> To phrase this differently, I think the question of where and how
>  >> ODVs are made visible to the Netmod / Netconf client (the managing
>  >> application) is important.  They need to be visible somehow.  As I
>  >> have said, I do not particularly like this approach of overloading
>  >> the leaf names to provide two different values for the same leaf in
>  >> different operations.
>  > 
>  > It is a matter how things are scoped, right? In SNMP land, we scope
>  > OIDs to a context (contextEngineID, contextName). We are living in 
> XML
>  > land now and have other tools at our disposal - but somehow there
>  > should be a solution possible that addresses your concerns. But even
>  > today, you can do get-config() on running and candidate and what you
>  > retrieve is already scoped to a 'datastore'...
>  > 
>  > /js
>  > 
>  _______________________________________________
>  netmod mailing list
>  netmod@ietf.org
>  https://www.ietf.org/mailman/listinfo/netmod
>  

From andy@netconfcentral.com  Thu Sep  3 19:39:15 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E1DE13A68D4 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 19:39:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.337
X-Spam-Level: 
X-Spam-Status: No, score=-2.337 tagged_above=-999 required=5 tests=[AWL=-0.072, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28xKtEJ2wSFV for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 19:39:15 -0700 (PDT)
Received: from smtp126.sbc.mail.sp1.yahoo.com (smtp126.sbc.mail.sp1.yahoo.com [69.147.65.185]) by core3.amsl.com (Postfix) with SMTP id 186433A683E for <netmod@ietf.org>; Thu,  3 Sep 2009 19:39:15 -0700 (PDT)
Received: (qmail 88669 invoked from network); 4 Sep 2009 02:37:44 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp126.sbc.mail.sp1.yahoo.com with SMTP; 4 Sep 2009 02:37:44 -0000
X-YMail-OSG: XEdtMUQVM1kGL9lb_8vl4eO86INLR1DNeJ8dko4zZN4UaVieVH1IoKGeV0PWA9i_6Kj6kMAghp.1h4SZnsNhQjq7AtenP6B973pTyezazQLbMZXF9Ba1feGPBgxL0AoLZgGKDhWd2.Rr7ncuO1bDULMcKumSMPsMOC0OFzPMP.SfEWZVwCrjlMUvY3RxglRD9hBNkPNo8ePVLpQWWtkiocUgQD_2fLmorhOdPnjIcD2zP83BsMPmgil2
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA07D8C.5070607@netconfcentral.com>
Date: Thu, 03 Sep 2009 19:38:04 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 02:39:16 -0000

Hi,

Here are the requested edits for yang-07, 5.6.4:

5.6.4.1:  (replace some text in entire section)

OLD:

   Devices indicate the names of supported modules via the <hello>
   message.  Module namespaces are encoded as the base URI in the
   capability string, and the module name is encoded as the "module"
   parameter to the base URI.

   Modules that do not contribute any data definitions, rpcs,
   notifications, or deviations to the device MAY be advertised in the
   <hello> message.

NEW:

   Devices indicate the names and revision dates of supported modules
   via the <hello> message.  The module namespace MUST be encoded
   as the base URI in the capability string.  The module name MUST be
   encoded as the "module" parameter, and the most recent revision-date
   MUST be encoded as the "revision" parameter, to the base URI.

   All revisions of all modules used by the server MUST be advertised
   in the <hello> message.


5.6.4.2, para 1: (add new last sentence)

OLD:

   Devices indicate the names of supported features via the <hello>
   message.  In hello messages, the features are encoded in the
   "features" parameter within the URI.  The value of this parameter is
   a comma-separated list of feature names which the device supports for
   the specific module.

NEW:

   Devices indicate the names of supported features via the <hello>
   message.  In hello messages, the features are encoded in the
   "features" parameter within the URI.  The value of this parameter is
   a comma-separated list of feature names which the device supports for
   the specific module.  All features supported by the server MUST be
   advertised in the <hello> message.

5.6.4.3, para 1: (add new last sentence)

OLD:

   Device deviations are announced via the "deviations" parameter.  The
   value of the deviations parameter is a comma-separated list of
   modules containing deviations from the capability's module.

NEW:

   Device deviations are announced via the "deviations" parameter.  The
   value of the deviations parameter is a comma-separated list of
   modules containing deviations from the capability's module.
   All deviations used by the server MUST be advertised in the
   <hello> message.

7.1.9, para 1: (s/SHOULD/MUST)

OLD:

   The "revision" statement specifies the editorial revision history of
   the module, including the initial revision.  A series of revisions
   statements detail the changes in the module's definition.  The
   argument is a date string in the format "YYYY-MM-DD", followed by a
   block of substatements that holds detailed revision information.  A
   module SHOULD have at least one initial "revision" statement.  For
   every published editorial change, a new one SHOULD be added in front
   of the revisions sequence, so that all revisions are in reverse
   chronological order.

NEW:

   The "revision" statement specifies the editorial revision history of
   the module, including the initial revision.  A series of revisions
   statements detail the changes in the module's definition.  The
   argument is a date string in the format "YYYY-MM-DD", followed by a
   block of substatements that holds detailed revision information.  A
   module MUST have at least one initial "revision" statement.  For
   every published editorial change, a new one SHOULD be added in front
   of the revisions sequence, so that all revisions are in reverse
   chronological order.

7.18.3, para 4: (s/SHOULD/MUST)

OLD:

   Device deviations are strongly discouraged and SHOULD only be used as
   a last resort.  Telling the application how a device fails to follow
   the standard is no substitute for implementing the standard
   correctly.

NEW:

   Device deviations are strongly discouraged and MUST only be used as
   a last resort.  Telling the application how a device fails to follow
   the standard is no substitute for implementing the standard
   correctly.



Andy

From david.partain@ericsson.com  Thu Sep  3 23:24:01 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B595D3A6935 for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 23:24:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.548
X-Spam-Level: 
X-Spam-Status: No, score=-3.548 tagged_above=-999 required=5 tests=[AWL=-1.299, BAYES_00=-2.599, HELO_EQ_SE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id csbv2+lIWm6O for <netmod@core3.amsl.com>; Thu,  3 Sep 2009 23:24:01 -0700 (PDT)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id D32B13A677D for <netmod@ietf.org>; Thu,  3 Sep 2009 23:24:00 -0700 (PDT)
X-AuditID: c1b4fb24-b7c01ae00000498b-b8-4aa0b22b69a9
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw5.ericsson.se (Symantec Brightmail Gateway) with SMTP id E3.1C.18827.B22B0AA4; Fri,  4 Sep 2009 08:22:35 +0200 (CEST)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 4 Sep 2009 08:22:35 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 4 Sep 2009 08:22:35 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Fri, 4 Sep 2009 08:22:34 +0200
User-Agent: KMail/1.9.10
References: <4AA0667C.8090701@netconfcentral.com>
In-Reply-To: <4AA0667C.8090701@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909040822.34555.david.partain@ericsson.com>
X-OriginalArrivalTime: 04 Sep 2009 06:22:35.0159 (UTC) FILETIME=[179D0A70:01CA2D28]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] 2 new interoperability issues
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 06:24:01 -0000

On Friday 04 September 2009 02.59.40 Andy Bierman wrote:
> Hi,
>
> yang-07, 7.18.3:
>
>
>    Device deviations are strongly discouraged and SHOULD only be used as
>    a last resort.  Telling the application how a device fails to follow
>    the standard is no substitute for implementing the standard
>    correctly.
>
> IMO, s/SHOULD/MUST/

Hi,

(contrib hat on)

I agree with Andy,

Cheers,

David


From andy@netconfcentral.com  Fri Sep  4 00:00:49 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DBF363A67F2 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 00:00:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.336
X-Spam-Level: 
X-Spam-Status: No, score=-2.336 tagged_above=-999 required=5 tests=[AWL=-0.071, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h0kpDNADD9XQ for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 00:00:49 -0700 (PDT)
Received: from smtp126.sbc.mail.sp1.yahoo.com (smtp126.sbc.mail.sp1.yahoo.com [69.147.65.185]) by core3.amsl.com (Postfix) with SMTP id 38C1D3A6407 for <netmod@ietf.org>; Fri,  4 Sep 2009 00:00:49 -0700 (PDT)
Received: (qmail 27005 invoked from network); 4 Sep 2009 06:59:50 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp126.sbc.mail.sp1.yahoo.com with SMTP; 4 Sep 2009 06:59:50 -0000
X-YMail-OSG: wVvSfS4VM1m57_rcPYBaHyrrQr3BmU8Xllz16gj3_8hfjacJls2iZE8HP8NiJhpGRV.J7h5iO1W7y9ABQZp11NVwCprHGkPFDppP08OHUSSKEQWpYwr.iq1gr08CK1X8iMY7bcs1.xOfuxtvfX16ogZnj2hJCf4T71zOakoEeLinBqhBkfSb4lNEVVgdP25EgCQGkhA_OCi5sbs-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA0BA7F.4030607@netconfcentral.com>
Date: Thu, 03 Sep 2009 23:58:07 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] import-no-revision breaks default
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 07:00:49 -0000

Hi,

Even with all the changed from MAY/SHOULD to MUST,
the <hello> message is still not deterministic.

In the example below, for leaf B_leaf and C_leaf
the client can determine that the default for
B_leaf == '10' and C_leaf has no default.
However, it is impossible for the client to
determine if there is a default for D_leaf.
This is because import-by-revision and include-by-revision
are optional-to-use.



Andy

--------------------------------------------------------------------

module A {
   ...

   revision 2009-01-01 {
      description "initial version";
   }

   typedef A_type {
      type int32;
   }
}

module A {
   ...

   revision 2009-05-01 {
      description "add default to A_type";
   }


   revision 2009-01-01 {
      description "initial version";
   }

   typedef A_type {
      type int32;
      default 10;
   }

}

module B {
  ...
   import A {
      prefix A;
      revision-date 2009-05-01;
   }

   revision 2009-06-01 {
      description "initial version";
   }

   leaf B_leaf {
      type A:A_type;
   }
}

module C {
  ...
   import A {
      prefix A;
      revision-date 2009-01-01;
   }

   revision 2009-06-01 {
      description "initial version";
   }

   leaf C_leaf {
      type A:A_type;
   }
}

module D {
  ...
   import A {
      prefix A;
   }

   revision 2009-06-01 {
      description "initial version";
   }

   leaf D_leaf {
      type A:A_type;
   }
}



From j.schoenwaelder@jacobs-university.de  Fri Sep  4 00:12:45 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BB5B63A693F for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 00:12:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.159
X-Spam-Level: 
X-Spam-Status: No, score=-2.159 tagged_above=-999 required=5 tests=[AWL=0.090,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UP60cYXbZcJE for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 00:12:45 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id B06A53A68A9 for <netmod@ietf.org>; Fri,  4 Sep 2009 00:12:44 -0700 (PDT)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id E145CC0085; Fri,  4 Sep 2009 09:08:38 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id nCtFQBzag4ze; Fri,  4 Sep 2009 09:08:38 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id E3FBBC001E; Fri,  4 Sep 2009 09:08:37 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id A09C2C9084F; Fri,  4 Sep 2009 09:08:36 +0200 (CEST)
Date: Fri, 4 Sep 2009 09:08:36 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.com>
Message-ID: <20090904070836.GA14293@elstar.local>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.com>, NETMOD Working Group <netmod@ietf.org>
References: <4AA07D8C.5070607@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4AA07D8C.5070607@netconfcentral.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 07:12:45 -0000

On Fri, Sep 04, 2009 at 04:38:04AM +0200, Andy Bierman wrote:

> 7.1.9, para 1: (s/SHOULD/MUST)
> 
> OLD:
> 
>    The "revision" statement specifies the editorial revision history of
>    the module, including the initial revision.  A series of revisions
>    statements detail the changes in the module's definition.  The
>    argument is a date string in the format "YYYY-MM-DD", followed by a
>    block of substatements that holds detailed revision information.  A
>    module SHOULD have at least one initial "revision" statement.  For
>    every published editorial change, a new one SHOULD be added in front
>    of the revisions sequence, so that all revisions are in reverse
>    chronological order.
> 
> NEW:
> 
>    The "revision" statement specifies the editorial revision history of
>    the module, including the initial revision.  A series of revisions
>    statements detail the changes in the module's definition.  The
>    argument is a date string in the format "YYYY-MM-DD", followed by a
>    block of substatements that holds detailed revision information.  A
>    module MUST have at least one initial "revision" statement.  For
>    every published editorial change, a new one SHOULD be added in front
>    of the revisions sequence, so that all revisions are in reverse
>    chronological order.

Should "editorial change" not have been "non-editorial change"?
Affects OLD as well as NEW.

/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/>

From phil@juniper.net  Fri Sep  4 00:22:01 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BBFBC3A67F2 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 00:22:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.571
X-Spam-Level: 
X-Spam-Status: No, score=-6.571 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1H2y0JAhFr9E for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 00:22:00 -0700 (PDT)
Received: from exprod7og116.obsmtp.com (exprod7og116.obsmtp.com [64.18.2.219]) by core3.amsl.com (Postfix) with ESMTP id E65423A676A for <netmod@ietf.org>; Fri,  4 Sep 2009 00:21:59 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob116.postini.com ([64.18.6.12]) with SMTP ID DSNKSqC/Bgk6h6BZ1SsH7ecgspbr9mbUbcfy@postini.com; Fri, 04 Sep 2009 00:22:21 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.71) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Fri, 4 Sep 2009 00:15:50 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 00:15:50 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 00:15:49 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 00:15:49 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n847Fmd14789; Fri, 4 Sep 2009 00:15:49 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8473g7H022061; Fri, 4 Sep 2009 07:03:42 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909040703.n8473g7H022061@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AA0BA7F.4030607@netconfcentral.com> 
Date: Fri, 4 Sep 2009 03:03:42 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 04 Sep 2009 07:15:49.0225 (UTC) FILETIME=[876CD590:01CA2D2F]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] import-no-revision breaks default
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 07:22:01 -0000

Andy Bierman writes:
>Even with all the changed from MAY/SHOULD to MUST,
>the <hello> message is still not deterministic.

Deja vu:

>>The overriding rule is:
>>
>>   ... However, changes are not allowed if they have any potential
>>   to cause interoperability problems between a client using an
>>   original specification and a server using an updated specification.
>>
>>Proposals:
>>
>>(a) Default statements cannot be added in new revisions of a module.
>>
>>(b) Default statements cannot be added in new revisions of a module
>>unless that module contains a revision statement.
>>
>>(c) No changes can be made to a module unless it contains a revision
>>statement.
>>
>>(b) and (c) could be done with by changing:
>>
>>   For any published change, a new "revision" statement (^revision^)
>>-  SHOULD be included in front of the existing revision statements.
>>+  MUST be included in front of the existing revision statements.
>>
>>or making two classes of ways a module can be changed, and requiring
>>revisions for any changes with a potential to cause interoperability
>>problems.

So are you saying only (a) can work?

Thanks,
 Phil

From phil@juniper.net  Fri Sep  4 00:36:24 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1B2563A693E for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 00:36:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.571
X-Spam-Level: 
X-Spam-Status: No, score=-6.571 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0wE9Ow5159OQ for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 00:36:23 -0700 (PDT)
Received: from exprod7og126.obsmtp.com (exprod7og126.obsmtp.com [64.18.2.206]) by core3.amsl.com (Postfix) with ESMTP id CAE113A677D for <netmod@ietf.org>; Fri,  4 Sep 2009 00:36:22 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob126.postini.com ([64.18.6.12]) with SMTP ID DSNKSqDDF15cX5dEvnV2SnoQ8espSnjy/Lrp@postini.com; Fri, 04 Sep 2009 00:36:43 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.71) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Fri, 4 Sep 2009 00:10:07 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 00:10:08 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 00:10:07 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 00:10:06 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n847A6d12732; Fri, 4 Sep 2009 00:10:06 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n846vxoG021955; Fri, 4 Sep 2009 06:57:59 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909040657.n846vxoG021955@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AA07D8C.5070607@netconfcentral.com> 
Date: Fri, 4 Sep 2009 02:57:59 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 04 Sep 2009 07:10:06.0720 (UTC) FILETIME=[BB46B800:01CA2D2E]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 07:36:24 -0000

Andy Bierman writes:
>5.6.4.1:  (replace some text in entire section)
>
>OLD:
>
>   Devices indicate the names of supported modules via the <hello>
>   message.  Module namespaces are encoded as the base URI in the
>   capability string, and the module name is encoded as the "module"
>   parameter to the base URI.
>
>   Modules that do not contribute any data definitions, rpcs,
>   notifications, or deviations to the device MAY be advertised in the
>   <hello> message.
>
>NEW:
>
>   Devices indicate the names and revision dates of supported modules
>   via the <hello> message.  The module namespace MUST be encoded
>   as the base URI in the capability string.  The module name MUST be
>   encoded as the "module" parameter, and the most recent revision-date
>   MUST be encoded as the "revision" parameter, to the base URI.
>
>   All revisions of all modules used by the server MUST be advertised
>   in the <hello> message.

-1, since advertising multiple copies of the same module which are
only need for other modules (groupings, types, etc) is confusing.

-1, since we support revision-less modules.

-1, since MUST should not be applied like paint.  "namespaces are
encoded" is sufficient.  2119 says "used with care and sparingly".

>5.6.4.2, para 1: (add new last sentence)
>
>OLD:
>
>   Devices indicate the names of supported features via the <hello>
>   message.  In hello messages, the features are encoded in the
>   "features" parameter within the URI.  The value of this parameter is
>   a comma-separated list of feature names which the device supports for
>   the specific module.
>
>NEW:
>
>   Devices indicate the names of supported features via the <hello>
>   message.  In hello messages, the features are encoded in the
>   "features" parameter within the URI.  The value of this parameter is
>   a comma-separated list of feature names which the device supports for
>   the specific module.  All features supported by the server MUST be
>   advertised in the <hello> message.

So if my code supports a feature that I don't want to advertise,
then I'm in violation of the spec?  Do we need to debate the term
"supports"?  Isn't the act of announcing I support feature X enough?
If I don't announce a feature, how can I claim to support it?

>5.6.4.3, para 1: (add new last sentence)
>
>OLD:
>
>   Device deviations are announced via the "deviations" parameter.  The
>   value of the deviations parameter is a comma-separated list of
>   modules containing deviations from the capability's module.
>
>NEW:
>
>   Device deviations are announced via the "deviations" parameter.  The
>   value of the deviations parameter is a comma-separated list of
>   modules containing deviations from the capability's module.
>   All deviations used by the server MUST be advertised in the
>   <hello> message.

This one's odd, since the deviation means the server admits that
something is not implemented according to the contract of the module.
Requiring all deviations to be announced means that the servers
not announcing their broken-ness are broken.  True, but is it helpful?

>7.1.9, para 1: (s/SHOULD/MUST)
>
>OLD:
>
>   The "revision" statement specifies the editorial revision history of
>   the module, including the initial revision.  A series of revisions
>   statements detail the changes in the module's definition.  The
>   argument is a date string in the format "YYYY-MM-DD", followed by a
>   block of substatements that holds detailed revision information.  A
>   module SHOULD have at least one initial "revision" statement.  For
>   every published editorial change, a new one SHOULD be added in front
>   of the revisions sequence, so that all revisions are in reverse
>   chronological order.
>
>NEW:
>
>   The "revision" statement specifies the editorial revision history of
>   the module, including the initial revision.  A series of revisions
>   statements detail the changes in the module's definition.  The
>   argument is a date string in the format "YYYY-MM-DD", followed by a
>   block of substatements that holds detailed revision information.  A
>   module MUST have at least one initial "revision" statement.  For
>   every published editorial change, a new one SHOULD be added in front
>   of the revisions sequence, so that all revisions are in reverse
>   chronological order.

-1, since this issue was already decided by the WG.

>7.18.3, para 4: (s/SHOULD/MUST)
>
>OLD:
>
>   Device deviations are strongly discouraged and SHOULD only be used as
>   a last resort.  Telling the application how a device fails to follow
>   the standard is no substitute for implementing the standard
>   correctly.
>
>NEW:
>
>   Device deviations are strongly discouraged and MUST only be used as
>   a last resort.  Telling the application how a device fails to follow
>   the standard is no substitute for implementing the standard
>   correctly.

"MUST" implied you are in violation of the YANG spec if you used a
deviation but it wasn't really your last resort.  How is this
helpful?  How will we know that this really wasn't your last resort?
Doesn't using "MUST" imply some sort of real rule that it at
least vaguely enforcible?

Thanks,
 Phil

From andy@netconfcentral.com  Fri Sep  4 00:43:54 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 16A943A6890 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 00:43:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.503
X-Spam-Level: 
X-Spam-Status: No, score=-2.503 tagged_above=-999 required=5 tests=[AWL=0.096,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R2V2kPomt50O for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 00:43:53 -0700 (PDT)
Received: from n14.bullet.mail.mud.yahoo.com (n14.bullet.mail.mud.yahoo.com [68.142.206.41]) by core3.amsl.com (Postfix) with SMTP id CBEB73A676A for <netmod@ietf.org>; Fri,  4 Sep 2009 00:43:52 -0700 (PDT)
Received: from [209.191.108.97] by n14.bullet.mail.mud.yahoo.com with NNFMP; 04 Sep 2009 07:32:59 -0000
Received: from [68.142.201.247] by t4.bullet.mud.yahoo.com with NNFMP; 04 Sep 2009 07:32:59 -0000
Received: from [127.0.0.1] by omp408.mail.mud.yahoo.com with NNFMP; 04 Sep 2009 07:32:59 -0000
X-Yahoo-Newman-Id: 512377.32723.bm@omp408.mail.mud.yahoo.com
Received: (qmail 12750 invoked from network); 4 Sep 2009 07:32:59 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp103.sbc.mail.sp1.yahoo.com with SMTP; 4 Sep 2009 07:32:58 -0000
X-YMail-OSG: BFwaGUgVM1n7VJmQH2V4nBI9.iSmsVGSFN2BDF9hnSh.jd05GCuvxCDR11wu_813GQSw8T_1lJT6lpAZZcvxDiWq13bbHP93B4o0reqVPPoFuJM4VzlZD7ZiyA2RywxwU5ew7b4MMwc9fTB_9tahN9r3BsOyXs4F4pH_RilAE9IDeFQAHcSCsxYWbgdkAG68e_oN9JVCGuBrMhwDaPHmn38KU0arhd8HiHAAaWbbBMm.4xKeXqHxo82Z
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA0C2BE.3090509@netconfcentral.com>
Date: Fri, 04 Sep 2009 00:33:18 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909040657.n846vxoG021955@idle.juniper.net>
In-Reply-To: <200909040657.n846vxoG021955@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 07:43:54 -0000

Phil Shafer wrote:


Unless the replacement for data retrieval
of YANG defaults is deterministic, it is not
good enough to achieve interoperability,
or measure interoperability for standards-track advancement.

Even if the IESG does not care about the
complexity, they might care about the inability
to measure interoperability for RFC 2026 purposes.


Andy

> Andy Bierman writes:
>> 5.6.4.1:  (replace some text in entire section)
>>
>> OLD:
>>
>>   Devices indicate the names of supported modules via the <hello>
>>   message.  Module namespaces are encoded as the base URI in the
>>   capability string, and the module name is encoded as the "module"
>>   parameter to the base URI.
>>
>>   Modules that do not contribute any data definitions, rpcs,
>>   notifications, or deviations to the device MAY be advertised in the
>>   <hello> message.
>>
>> NEW:
>>
>>   Devices indicate the names and revision dates of supported modules
>>   via the <hello> message.  The module namespace MUST be encoded
>>   as the base URI in the capability string.  The module name MUST be
>>   encoded as the "module" parameter, and the most recent revision-date
>>   MUST be encoded as the "revision" parameter, to the base URI.
>>
>>   All revisions of all modules used by the server MUST be advertised
>>   in the <hello> message.
> 
> -1, since advertising multiple copies of the same module which are
> only need for other modules (groupings, types, etc) is confusing.
> 
> -1, since we support revision-less modules.
> 
> -1, since MUST should not be applied like paint.  "namespaces are
> encoded" is sufficient.  2119 says "used with care and sparingly".
> 
>> 5.6.4.2, para 1: (add new last sentence)
>>
>> OLD:
>>
>>   Devices indicate the names of supported features via the <hello>
>>   message.  In hello messages, the features are encoded in the
>>   "features" parameter within the URI.  The value of this parameter is
>>   a comma-separated list of feature names which the device supports for
>>   the specific module.
>>
>> NEW:
>>
>>   Devices indicate the names of supported features via the <hello>
>>   message.  In hello messages, the features are encoded in the
>>   "features" parameter within the URI.  The value of this parameter is
>>   a comma-separated list of feature names which the device supports for
>>   the specific module.  All features supported by the server MUST be
>>   advertised in the <hello> message.
> 
> So if my code supports a feature that I don't want to advertise,
> then I'm in violation of the spec?  Do we need to debate the term
> "supports"?  Isn't the act of announcing I support feature X enough?
> If I don't announce a feature, how can I claim to support it?
> 
>> 5.6.4.3, para 1: (add new last sentence)
>>
>> OLD:
>>
>>   Device deviations are announced via the "deviations" parameter.  The
>>   value of the deviations parameter is a comma-separated list of
>>   modules containing deviations from the capability's module.
>>
>> NEW:
>>
>>   Device deviations are announced via the "deviations" parameter.  The
>>   value of the deviations parameter is a comma-separated list of
>>   modules containing deviations from the capability's module.
>>   All deviations used by the server MUST be advertised in the
>>   <hello> message.
> 
> This one's odd, since the deviation means the server admits that
> something is not implemented according to the contract of the module.
> Requiring all deviations to be announced means that the servers
> not announcing their broken-ness are broken.  True, but is it helpful?
> 
>> 7.1.9, para 1: (s/SHOULD/MUST)
>>
>> OLD:
>>
>>   The "revision" statement specifies the editorial revision history of
>>   the module, including the initial revision.  A series of revisions
>>   statements detail the changes in the module's definition.  The
>>   argument is a date string in the format "YYYY-MM-DD", followed by a
>>   block of substatements that holds detailed revision information.  A
>>   module SHOULD have at least one initial "revision" statement.  For
>>   every published editorial change, a new one SHOULD be added in front
>>   of the revisions sequence, so that all revisions are in reverse
>>   chronological order.
>>
>> NEW:
>>
>>   The "revision" statement specifies the editorial revision history of
>>   the module, including the initial revision.  A series of revisions
>>   statements detail the changes in the module's definition.  The
>>   argument is a date string in the format "YYYY-MM-DD", followed by a
>>   block of substatements that holds detailed revision information.  A
>>   module MUST have at least one initial "revision" statement.  For
>>   every published editorial change, a new one SHOULD be added in front
>>   of the revisions sequence, so that all revisions are in reverse
>>   chronological order.
> 
> -1, since this issue was already decided by the WG.
> 
>> 7.18.3, para 4: (s/SHOULD/MUST)
>>
>> OLD:
>>
>>   Device deviations are strongly discouraged and SHOULD only be used as
>>   a last resort.  Telling the application how a device fails to follow
>>   the standard is no substitute for implementing the standard
>>   correctly.
>>
>> NEW:
>>
>>   Device deviations are strongly discouraged and MUST only be used as
>>   a last resort.  Telling the application how a device fails to follow
>>   the standard is no substitute for implementing the standard
>>   correctly.
> 
> "MUST" implied you are in violation of the YANG spec if you used a
> deviation but it wasn't really your last resort.  How is this
> helpful?  How will we know that this really wasn't your last resort?
> Doesn't using "MUST" imply some sort of real rule that it at
> least vaguely enforcible?
> 
> Thanks,
>  Phil
> 



From mbj@tail-f.com  Fri Sep  4 01:01:41 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 280C93A69AB for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 01:01:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.955
X-Spam-Level: 
X-Spam-Status: No, score=-1.955 tagged_above=-999 required=5 tests=[AWL=0.091,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mR+eQFQYRR+3 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 01:01:40 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 035693A696F for <netmod@ietf.org>; Fri,  4 Sep 2009 01:01:39 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id F061476C4E1; Fri,  4 Sep 2009 09:59:57 +0200 (CEST)
Date: Fri, 04 Sep 2009 09:59:57 +0200 (CEST)
Message-Id: <20090904.095957.142825559.mbj@tail-f.com>
To: phil@juniper.net
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <200909040657.n846vxoG021955@idle.juniper.net>
References: <4AA07D8C.5070607@netconfcentral.com> <200909040657.n846vxoG021955@idle.juniper.net>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 08:01:41 -0000

Phil Shafer <phil@juniper.net> wrote:
> Andy Bierman writes:
> >7.18.3, para 4: (s/SHOULD/MUST)
> >
> >OLD:
> >
> >   Device deviations are strongly discouraged and SHOULD only be used as
> >   a last resort.  Telling the application how a device fails to follow
> >   the standard is no substitute for implementing the standard
> >   correctly.
> >
> >NEW:
> >
> >   Device deviations are strongly discouraged and MUST only be used as
> >   a last resort.  Telling the application how a device fails to follow
> >   the standard is no substitute for implementing the standard
> >   correctly.
> 
> "MUST" implied you are in violation of the YANG spec if you used a
> deviation but it wasn't really your last resort.  How is this
> helpful?  How will we know that this really wasn't your last resort?
> Doesn't using "MUST" imply some sort of real rule that it at
> least vaguely enforcible?

I agree with Phil's reasoning, and further I think we should do
s/SHOULD/should/ - also SHOULD implies a rule that at least can be
verified.


/martin

From per@tail-f.com  Fri Sep  4 03:33:11 2009
Return-Path: <per@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EFF353A69F5 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 03:33:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.046
X-Spam-Level: 
X-Spam-Status: No, score=-2.046 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sMXhriL0rVPp for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 03:33:11 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 256B13A65A6 for <netmod@ietf.org>; Fri,  4 Sep 2009 03:33:10 -0700 (PDT)
Received: from mars.tail-f.com (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id ABBC876C4E1; Fri,  4 Sep 2009 12:30:24 +0200 (CEST)
Message-ID: <4AA0EC3F.8000506@tail-f.com>
Date: Fri, 04 Sep 2009 12:30:23 +0200
From: Per Hedeland <per@tail-f.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090423)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909040657.n846vxoG021955@idle.juniper.net>
In-Reply-To: <200909040657.n846vxoG021955@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 10:33:12 -0000

On 2009-09-04 08:57, Phil Shafer wrote:
>
> -1, since MUST should not be applied like paint.  "namespaces are
> encoded" is sufficient.  2119 says "used with care and sparingly".

+1 to that -1 (= -2?) Wholesale replacement of is/are with MUST in text
that amounts to basic description of a protocol only makes it harder to
read and dilutes the MUST. It's simply pointless if there isn't some
alternative that an implementation might reasonably choose if the MUST
is absent.

--Per Hedeland

From per@tail-f.com  Fri Sep  4 03:36:06 2009
Return-Path: <per@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 788743A6813 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 03:36:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.046
X-Spam-Level: 
X-Spam-Status: No, score=-2.046 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qR8eTdiKG+Bx for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 03:36:05 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id B2E1B3A65A6 for <netmod@ietf.org>; Fri,  4 Sep 2009 03:36:05 -0700 (PDT)
Received: from mars.tail-f.com (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id 546B076C5E5; Fri,  4 Sep 2009 12:33:22 +0200 (CEST)
Message-ID: <4AA0ECF1.10901@tail-f.com>
Date: Fri, 04 Sep 2009 12:33:21 +0200
From: Per Hedeland <per@tail-f.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090423)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AA07D8C.5070607@netconfcentral.com>	<200909040657.n846vxoG021955@idle.juniper.net> <20090904.095957.142825559.mbj@tail-f.com>
In-Reply-To: <20090904.095957.142825559.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 10:36:06 -0000

On 2009-09-04 09:59, Martin Bjorklund wrote:
> Phil Shafer <phil@juniper.net> wrote:
>> Andy Bierman writes:
>>> 7.18.3, para 4: (s/SHOULD/MUST)
>>>
>>> OLD:
>>>
>>>   Device deviations are strongly discouraged and SHOULD only be used as
>>>   a last resort.  Telling the application how a device fails to follow
>>>   the standard is no substitute for implementing the standard
>>>   correctly.
>>>
>>> NEW:
>>>
>>>   Device deviations are strongly discouraged and MUST only be used as
>>>   a last resort.  Telling the application how a device fails to follow
>>>   the standard is no substitute for implementing the standard
>>>   correctly.
>> "MUST" implied you are in violation of the YANG spec if you used a
>> deviation but it wasn't really your last resort.  How is this
>> helpful?  How will we know that this really wasn't your last resort?
>> Doesn't using "MUST" imply some sort of real rule that it at
>> least vaguely enforcible?
>
> I agree with Phil's reasoning, and further I think we should do
> s/SHOULD/should/ - also SHOULD implies a rule that at least can be
> verified.

I agree with both of you, but offer s/SHOULD/must/ as a possible
improvement.

--Per Hedeland

From mbj@tail-f.com  Fri Sep  4 04:10:56 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 11DD83A6860 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 04:10:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.958
X-Spam-Level: 
X-Spam-Status: No, score=-1.958 tagged_above=-999 required=5 tests=[AWL=0.088,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UDg-QHIqzGWg for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 04:10:55 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 106F73A680E for <netmod@ietf.org>; Fri,  4 Sep 2009 04:10:54 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id A419276C4E1; Fri,  4 Sep 2009 13:09:23 +0200 (CEST)
Date: Fri, 04 Sep 2009 13:09:22 +0200 (CEST)
Message-Id: <20090904.130922.101323544.mbj@tail-f.com>
To: jmh@joelhalpern.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4A9FD061.9020203@joelhalpern.com>
References: <4A9FC389.1080606@joelhalpern.com> <20090903140123.GC13343@elstar.local> <4A9FD061.9020203@joelhalpern.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 11:10:56 -0000

"Joel M. Halpern" <jmh@joelhalpern.com> wrote:
> Maybe it is just a deficiency of my mental model.
> I have no problem with the idea that if I ask for the value of foo in store-a,
> that I get a different value than if I ask in store-b.
> I can see the parallel you are drawing with asking for foo with two different
> operations.
> But, at least for me, there are large differences.
> The conceptual semantics of the foo in store-a and store-b are the same. They
> are both the configured value for foo, when that store of configuration is in
> effect.  In contrast, with the get-operational approach, we are naming two
> conceptually different things (as evinced by the fact that their validity range
> is not even the same) with the same name.
> 
> I guess I am particularly sensitive to this kind of overloading, because it has
> caused problems in other contexts.  (There is a strong argument that one of the
> strong contributors to the scaling problems in routing names is that the same
> name is used both for the identity and for its location in the topology.)

Are you saying that it might actually be a feature, not a bug, to have
two objects, duplex and duplex-oper?

In this particular example, the connection between the configured
value and operational impact is pretty simple, but another example is
if your configure dhcp, and it operationally affect the ip-address,
mask, etc.  How do you specify this in the data model?

I am worried that adding this explicit support (in the protocol and
modeling langauge) is a pretty big project, and it is better to finish
something so people can start to use it.  In the worst case, YANG gets
very popular and lots of modules gets published, and some have
foo-oper like constructs, and these modules may then have to be
updated if we add new support for operational data.  I am more
concerned that we never finish b/c we want to publish a perfect
solution for all kinds of problems at day 1.


/martin

From david.partain@ericsson.com  Fri Sep  4 04:55:23 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1088B3A680E for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 04:55:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.502
X-Spam-Level: 
X-Spam-Status: No, score=-5.502 tagged_above=-999 required=5 tests=[AWL=0.747,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q+atiEseP7wb for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 04:55:22 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id F338F3A684B for <netmod@ietf.org>; Fri,  4 Sep 2009 04:55:21 -0700 (PDT)
X-AuditID: c1b4fb3e-b7c00ae0000007bf-0a-4aa100146813
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id 9D.B9.01983.41001AA4; Fri,  4 Sep 2009 13:55:00 +0200 (CEST)
Received: from esealmw128.eemea.ericsson.se ([153.88.254.172]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 4 Sep 2009 13:54:58 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 4 Sep 2009 13:54:59 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Fri, 4 Sep 2009 13:54:58 +0200
User-Agent: KMail/1.9.10
References: <200909040657.n846vxoG021955@idle.juniper.net>
In-Reply-To: <200909040657.n846vxoG021955@idle.juniper.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909041354.58108.david.partain@ericsson.com>
X-OriginalArrivalTime: 04 Sep 2009 11:54:59.0151 (UTC) FILETIME=[8728B5F0:01CA2D56]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 11:55:23 -0000

On Friday 04 September 2009 08.57.59 Phil Shafer wrote:
> Andy Bierman writes:
> >5.6.4.1:  (replace some text in entire section)
> >
> >OLD:
> >
> >   Devices indicate the names of supported modules via the <hello>
> >   message.  Module namespaces are encoded as the base URI in the
> >   capability string, and the module name is encoded as the "module"
> >   parameter to the base URI.
> >
> >   Modules that do not contribute any data definitions, rpcs,
> >   notifications, or deviations to the device MAY be advertised in the
> >   <hello> message.
> >
> >NEW:
> >
> >   Devices indicate the names and revision dates of supported modules
> >   via the <hello> message.  The module namespace MUST be encoded
> >   as the base URI in the capability string.  The module name MUST be
> >   encoded as the "module" parameter, and the most recent revision-date
> >   MUST be encoded as the "revision" parameter, to the base URI.
> >
> >   All revisions of all modules used by the server MUST be advertised
> >   in the <hello> message.
>
> -1, since advertising multiple copies of the same module which are
> only need for other modules (groupings, types, etc) is confusing.
>
> -1, since we support revision-less modules.

Would acceptance of 
http://www.ietf.org/mail-archive/web/netmod/current/msg03920.html
change that last -1?

David

From andy@netconfcentral.com  Fri Sep  4 05:03:11 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E1CDA3A6928 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 05:03:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.504
X-Spam-Level: 
X-Spam-Status: No, score=-2.504 tagged_above=-999 required=5 tests=[AWL=0.095,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FzkpDw1+Tx0l for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 05:03:11 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id D2CFF3A67F1 for <netmod@ietf.org>; Fri,  4 Sep 2009 05:03:10 -0700 (PDT)
Received: (qmail 59547 invoked from network); 4 Sep 2009 11:50:45 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 4 Sep 2009 11:50:45 -0000
X-YMail-OSG: qet0mtkVM1kFnhsUD25vVn1FJ88zsY5_6FAioN9s4ZB6BhWkcfMcXnw6.KcY8FQjB0QuVp2QUf.Ps.y4tMbaXwWVWzB1mGuIv5TD5P2hvri1Xge2j3xKbjXbM9qkm_8zkQ3eBejWYbJw_KC_mYw2kF7XEuYROSadi5jfuNfh2kpx7kA6L7eieL1LlOHL3IJjv5kZfNJ57.HSQYfOF8nKCOTQR3QQjMQjsegKcnV5VIoMB.eubLapQV3pp6_EG54hktH8KevCxhVwxCrV1tiEuheCnJ313dhtdGHsuw_NcWwAgkOgxTeJ
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA0FF2A.80901@netconfcentral.com>
Date: Fri, 04 Sep 2009 04:51:06 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Per Hedeland <per@tail-f.com>
References: <4AA07D8C.5070607@netconfcentral.com>	<200909040657.n846vxoG021955@idle.juniper.net>	<20090904.095957.142825559.mbj@tail-f.com> <4AA0ECF1.10901@tail-f.com>
In-Reply-To: <4AA0ECF1.10901@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 12:03:12 -0000

Per Hedeland wrote:
> On 2009-09-04 09:59, Martin Bjorklund wrote:
>> Phil Shafer <phil@juniper.net> wrote:
>>> Andy Bierman writes:
>>>> 7.18.3, para 4: (s/SHOULD/MUST)
>>>>
>>>> OLD:
>>>>
>>>>   Device deviations are strongly discouraged and SHOULD only be used as
>>>>   a last resort.  Telling the application how a device fails to follow
>>>>   the standard is no substitute for implementing the standard
>>>>   correctly.
>>>>
>>>> NEW:
>>>>
>>>>   Device deviations are strongly discouraged and MUST only be used as
>>>>   a last resort.  Telling the application how a device fails to follow
>>>>   the standard is no substitute for implementing the standard
>>>>   correctly.
>>> "MUST" implied you are in violation of the YANG spec if you used a
>>> deviation but it wasn't really your last resort.  How is this
>>> helpful?  How will we know that this really wasn't your last resort?
>>> Doesn't using "MUST" imply some sort of real rule that it at
>>> least vaguely enforcible?
>> I agree with Phil's reasoning, and further I think we should do
>> s/SHOULD/should/ - also SHOULD implies a rule that at least can be
>> verified.
> 
> I agree with both of you, but offer s/SHOULD/must/ as a possible
> improvement.
> 

No -- this is not going to solve the problem.
Avoiding 2119 language just adds more confusion.

I hope it is clear to the IESG that a deterministic
mechanism, such as direct data retrieval, is needed to
detect data model compliance.

There are about 10 ways that the 'rock-solid' YANG default-stmt
is not deterministic --> 'not reliable', --> 'not always correct',
--> 'sometimes wrong'.



> --Per Hedeland

Andy

From mbj@tail-f.com  Fri Sep  4 05:22:37 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 244753A69D9 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 05:22:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.96
X-Spam-Level: 
X-Spam-Status: No, score=-1.96 tagged_above=-999 required=5 tests=[AWL=0.086,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RSlDhjrRSsi3 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 05:22:35 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 92C953A6821 for <netmod@ietf.org>; Fri,  4 Sep 2009 05:22:35 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id 2543076C4E1; Fri,  4 Sep 2009 14:21:31 +0200 (CEST)
Date: Fri, 04 Sep 2009 14:21:30 +0200 (CEST)
Message-Id: <20090904.142130.134035787.mbj@tail-f.com>
To: david.partain@ericsson.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <200909041354.58108.david.partain@ericsson.com>
References: <200909040657.n846vxoG021955@idle.juniper.net> <200909041354.58108.david.partain@ericsson.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 12:22:37 -0000

David Partain <david.partain@ericsson.com> wrote:
> On Friday 04 September 2009 08.57.59 Phil Shafer wrote:
> > Andy Bierman writes:
> > >5.6.4.1:  (replace some text in entire section)
> > >
> > >OLD:
> > >
> > >   Devices indicate the names of supported modules via the <hello>
> > >   message.  Module namespaces are encoded as the base URI in the
> > >   capability string, and the module name is encoded as the "module"
> > >   parameter to the base URI.
> > >
> > >   Modules that do not contribute any data definitions, rpcs,
> > >   notifications, or deviations to the device MAY be advertised in the
> > >   <hello> message.
> > >
> > >NEW:
> > >
> > >   Devices indicate the names and revision dates of supported modules
> > >   via the <hello> message.  The module namespace MUST be encoded
> > >   as the base URI in the capability string.  The module name MUST be
> > >   encoded as the "module" parameter, and the most recent revision-date
> > >   MUST be encoded as the "revision" parameter, to the base URI.
> > >
> > >   All revisions of all modules used by the server MUST be advertised
> > >   in the <hello> message.
> >
> > -1, since advertising multiple copies of the same module which are
> > only need for other modules (groupings, types, etc) is confusing.
> >
> > -1, since we support revision-less modules.
> 
> Would acceptance of 
> http://www.ietf.org/mail-archive/web/netmod/current/msg03920.html
> change that last -1?

No, but maybe acceptance of that + this text would work:

  Devices indicate the names and revision dates of supported modules
  via the <hello> message.  The module namespace MUST be encoded
  as the base URI in the capability string.  The module name MUST be
  encoded as the "module" parameter, and the most recent
  revision-date, if present, MUST be encoded as the "revision"
  parameter, to the base URI.


/martin


From cfinss@dial.pipex.com  Fri Sep  4 06:06:37 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 128163A69C2 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 06:06:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.335
X-Spam-Level: 
X-Spam-Status: No, score=-2.335 tagged_above=-999 required=5 tests=[AWL=0.264,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1t-ITLunAkt0 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 06:06:36 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id D3A3A3A677E for <netmod@ietf.org>; Fri,  4 Sep 2009 06:06:35 -0700 (PDT)
X-Trace: 246723788/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.100.20/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.100.20
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ar0EAB+toEo+vGQU/2dsb2JhbACDLWGNM8dnCYQSBQ
X-IronPort-AV: E=Sophos;i="4.44,332,1249254000"; d="scan'208";a="246723788"
X-IP-Direction: IN
Received: from 1cust20.tnt1.lnd9.gbr.da.uu.net (HELO allison) ([62.188.100.20]) by smtp.pipex.tiscali.co.uk with SMTP; 04 Sep 2009 14:06:03 +0100
Message-ID: <017801ca2d57$e23c7ca0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "David Partain" <david.partain@ericsson.com>, <netmod@ietf.org>
References: <200909021911.n82JBWxl007810@idle.juniper.net><001e01ca2c10$f5293da0$6801a8c0@oemcomputer> <200909031343.51189.david.partain@ericsson.com>
Date: Fri, 4 Sep 2009 14:01:09 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Subject: Re: [netmod] Terminology discussion (was Re: proposal: no defaults fornon-config data)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 13:06:37 -0000

---- Original Message -----
From: "David Partain" <david.partain@ericsson.com>
To: <netmod@ietf.org>
Sent: Thursday, September 03, 2009 1:43 PM
Subject: [netmod] Terminology discussion (was Re: proposal: no defaults
fornon-config data)


> Hi,
>
> Phil suggested some definitions to use in other discussions.  Just to make it
> easier to follow, here's the updated text (based on the subsequent mail
> thread) and a new thread.  Phil, please sanity check that I got it all..
>
> Comments on this text?

Terminology!

'Configuration database' is not defined in YANG or NETCONF (NETCONF
even hints that this is something on the client).  Is this a reference to
the running configuration datastore?

There is a mixture of 'leaf', 'leaf instance', 'list instance'; I think leaf
node
should only be part of the schema tree, using instance for data tree.  Leaf
nodes
have config and default substatements, instances have values.

Tom Petch

>                     Do people want to put it into the YANG spec (arch
> doc?) or not?
>
> Thanks,
>
> David
>
> "assigned-by system" (ABS): a behavior where the system will, at
> validation time, assign values in the configuration database for
> leafs which are not given values.  If values were given before
> validation time, the system will not assign new values, but will
> honor these existing values.
>
> "configuration default value" (CDV):  the default value used for
> a leaf node with "config" set to "true".  If a list instance is
> created in the configuration database and the value for a leaf is
> not provided, then the CDV is the value which the system will use
> internally.  This means that the behaviour of the running system
> using that CDV as the internal value is identical to the
> behaviour if that leaf had been explicitly configured with that
> value.  The CDV value must be a fixed value.
>
> "operational default value" (ODV): the default value used for
> operational data.  This is the value used by the running system
> if a value was not configured.  It may not be fixed or easily
> described.  The value may be dynamic or even unpublished.
>
> "configured value" (CV): the value for a leaf that has be created
> or set in the configuration database.  A CV is typically created
> or set by an explicit action on the part of a user or client
> application.  The value of an ABS leaf is considered a CV but a
> default value for a leaf that has not been created in the
> database is not a CV.
>
> With these terms, we make the following rules:
>
> (a) the YANG default statement can be used to provide a CDV.
>
> (b) the YANG default statement cannot provide defaults for ODVs.
>
> (c) the YANG default statement cannot provide defaults for ABS
> leafs.
>
> (d) a server MAY choose to not send a leaf element if it is a
> configuration leaf ('config true') and the value of the leaf is
> the default value.
>
> (e) ODVs MUST be sent for operational data, since the default
> statement applies only to configuration data.  In effect,
> operational data has no default values.
>
> (f) ABS data is _real_ configuration data, since it appears in
> the configuration database and can be manipulated with the
> operation NETCONF/YANG operations.
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod


From phil@juniper.net  Fri Sep  4 07:13:56 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DACAE3A69F7 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 07:13:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.571
X-Spam-Level: 
X-Spam-Status: No, score=-6.571 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M7Ib22JPD9Xk for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 07:13:56 -0700 (PDT)
Received: from exprod7og116.obsmtp.com (exprod7og116.obsmtp.com [64.18.2.219]) by core3.amsl.com (Postfix) with ESMTP id 3BA863A679F for <netmod@ietf.org>; Fri,  4 Sep 2009 07:13:55 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob116.postini.com ([64.18.6.12]) with SMTP ID DSNKSqEggU8bZMP5S7W9kbQN2vziyyuF+HAf@postini.com; Fri, 04 Sep 2009 07:14:17 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Fri, 4 Sep 2009 07:08:53 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 07:08:54 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 07:08:53 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 07:08:53 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n84E8qd94299; Fri, 4 Sep 2009 07:08:52 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n84Dujmb023868; Fri, 4 Sep 2009 13:56:45 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909041356.n84Dujmb023868@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AA0C2BE.3090509@netconfcentral.com> 
Date: Fri, 4 Sep 2009 09:56:45 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 04 Sep 2009 14:08:53.0075 (UTC) FILETIME=[3BC03A30:01CA2D69]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 14:13:57 -0000

Andy Bierman writes:
>Unless the replacement for data retrieval
>of YANG defaults is deterministic, it is not
>good enough to achieve interoperability,
>or measure interoperability for standards-track advancement.

The behavior of YANG-based server is deterministic.  The rules are
spelled out in the YANG spec.  You didn't those rules, but that
does not stop them from being deterministic and interoperable.

The YANG server is not required to return default values for
configuration data.  This is deterministic.  If the server does not
return a value for a leaf of configuration data that has a default
value the client will know that the server is using the default
value.  This is deterministic.  Clients will know this and can be
written that behave according.  This will allow interoperability.

The fact that YANG allows servers to behave in a way that you dislike
does not make the YANG spec broken.  It just means the WG made a
decision that you do not agree with.  Since the WG has made decisions
that I do not agree with, I don't find this surprising.  I'm sure
this is a common experience.  But somehow other WG members are able
to move on rather than continue the debate after the issues have
been resolved.

Thanks,
 Phil

From jmh@joelhalpern.com  Fri Sep  4 07:15:33 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B5D0B3A6A0E for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 07:15:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.91
X-Spam-Level: 
X-Spam-Status: No, score=-2.91 tagged_above=-999 required=5 tests=[AWL=-0.311,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CZ8bauvSfxY2 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 07:15:32 -0700 (PDT)
Received: from hgblob.mail.tigertech.net (hgblob.mail.tigertech.net [64.62.209.71]) by core3.amsl.com (Postfix) with ESMTP id D78EF3A6965 for <netmod@ietf.org>; Fri,  4 Sep 2009 07:15:32 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hgblob.tigertech.net (Postfix) with ESMTP id 3A2463230F7E; Fri,  4 Sep 2009 07:14:58 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hgblob.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-226.clppva.btas.verizon.net [71.161.51.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hgblob.tigertech.net (Postfix) with ESMTP id 822A23230F7A; Fri,  4 Sep 2009 07:14:57 -0700 (PDT)
Message-ID: <4AA120DF.3030808@joelhalpern.com>
Date: Fri, 04 Sep 2009 10:14:55 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4A9FC389.1080606@joelhalpern.com>	<20090903140123.GC13343@elstar.local>	<4A9FD061.9020203@joelhalpern.com> <20090904.130922.101323544.mbj@tail-f.com>
In-Reply-To: <20090904.130922.101323544.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 14:15:33 -0000

I do understand the need to finish this document and get it out there.

Yes, I consider that having variable s foo and foo-oper, where foo is 
config true and foo-oper is config-false, is a feature, not a bug.  If 
the system is going to retain and reuse (for example, the next time it 
boots) a configuration value, but has internally decided to use 
something different, then those facts need to be represented separately.

As far as I can tell, adding this requires zero additions to the 
modeling language.  As I have said repeatedly, I am willing to go out 
with the relationship between foo and foo-oper captured in the 
description clause.  What we need is enough text in the YANG document 
that folks understand how to find the ODV.

Note that at least if you compare Phil's and my position, I think we 
actually agree on the need for this separation.  The question we are 
debating is where to put ODVs.

Yours,
Joel

PS: To use your example, clearly DHCP results can not be stored in the 
configured interface IP address variable.  They are not configured 
values, and are not reused.  On the other hand, they do need to be 
accessible operational state.

Martin Bjorklund wrote:
> "Joel M. Halpern" <jmh@joelhalpern.com> wrote:
>> Maybe it is just a deficiency of my mental model.
>> I have no problem with the idea that if I ask for the value of foo in store-a,
>> that I get a different value than if I ask in store-b.
>> I can see the parallel you are drawing with asking for foo with two different
>> operations.
>> But, at least for me, there are large differences.
>> The conceptual semantics of the foo in store-a and store-b are the same. They
>> are both the configured value for foo, when that store of configuration is in
>> effect.  In contrast, with the get-operational approach, we are naming two
>> conceptually different things (as evinced by the fact that their validity range
>> is not even the same) with the same name.
>>
>> I guess I am particularly sensitive to this kind of overloading, because it has
>> caused problems in other contexts.  (There is a strong argument that one of the
>> strong contributors to the scaling problems in routing names is that the same
>> name is used both for the identity and for its location in the topology.)
> 
> Are you saying that it might actually be a feature, not a bug, to have
> two objects, duplex and duplex-oper?
> 
> In this particular example, the connection between the configured
> value and operational impact is pretty simple, but another example is
> if your configure dhcp, and it operationally affect the ip-address,
> mask, etc.  How do you specify this in the data model?
> 
> I am worried that adding this explicit support (in the protocol and
> modeling langauge) is a pretty big project, and it is better to finish
> something so people can start to use it.  In the worst case, YANG gets
> very popular and lots of modules gets published, and some have
> foo-oper like constructs, and these modules may then have to be
> updated if we add new support for operational data.  I am more
> concerned that we never finish b/c we want to publish a perfect
> solution for all kinds of problems at day 1.
> 
> 
> /martin
> 

From phil@juniper.net  Fri Sep  4 07:28:37 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DDB2F3A69F7 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 07:28:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.571
X-Spam-Level: 
X-Spam-Status: No, score=-6.571 tagged_above=-999 required=5 tests=[AWL=0.028,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wocNXOawIJdv for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 07:28:37 -0700 (PDT)
Received: from exprod7og125.obsmtp.com (exprod7og125.obsmtp.com [64.18.2.28]) by core3.amsl.com (Postfix) with ESMTP id 0FB733A67EB for <netmod@ietf.org>; Fri,  4 Sep 2009 07:28:36 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob125.postini.com ([64.18.6.12]) with SMTP ID DSNKSqEjnBd+pbDfDvfQ6lFTuJPB9GNA/Jn/@postini.com; Fri, 04 Sep 2009 07:28:58 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Fri, 4 Sep 2009 07:13:37 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 07:13:37 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 07:13:36 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 07:13:36 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n84EDZd96008; Fri, 4 Sep 2009 07:13:35 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n84E1SMM023926; Fri, 4 Sep 2009 14:01:28 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909041401.n84E1SMM023926@idle.juniper.net>
To: David Partain <david.partain@ericsson.com>
In-Reply-To: <200909041354.58108.david.partain@ericsson.com> 
Date: Fri, 4 Sep 2009 10:01:28 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 04 Sep 2009 14:13:36.0316 (UTC) FILETIME=[E4935FC0:01CA2D69]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 14:28:38 -0000

David Partain writes:
>> -1, since we support revision-less modules.
>
>Would acceptance of 
>http://www.ietf.org/mail-archive/web/netmod/current/msg03920.html
>change that last -1?

The change in msg03920.html refers to the Change Rules, requiring
a revision if/when the module is republished.

Thanks,
 Phil

From phil@juniper.net  Fri Sep  4 08:10:47 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9BC0B3A67E1 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 08:10:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.572
X-Spam-Level: 
X-Spam-Status: No, score=-6.572 tagged_above=-999 required=5 tests=[AWL=0.027,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wvy2k4E0I4FM for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 08:10:45 -0700 (PDT)
Received: from exprod7og123.obsmtp.com (exprod7og123.obsmtp.com [64.18.2.24]) by core3.amsl.com (Postfix) with ESMTP id 0B5C73A679F for <netmod@ietf.org>; Fri,  4 Sep 2009 08:10:43 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob123.postini.com ([64.18.6.12]) with SMTP ID DSNKSqEtziOFRhbuEmhxk7ipiAs4ZtUzFo2f@postini.com; Fri, 04 Sep 2009 08:11:05 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Fri, 4 Sep 2009 08:06:09 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 08:06:10 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 08:06:08 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 08:06:08 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n84F68d17528; Fri, 4 Sep 2009 08:06:08 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n84Es1Iw024538; Fri, 4 Sep 2009 14:54:01 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909041454.n84Es1Iw024538@idle.juniper.net>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4AA120DF.3030808@joelhalpern.com> 
Date: Fri, 4 Sep 2009 10:54:00 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 04 Sep 2009 15:06:08.0793 (UTC) FILETIME=[3B993090:01CA2D71]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 15:10:47 -0000

"Joel M. Halpern" writes:
>Yes, I consider that having variable s foo and foo-oper, where foo is 
>config true and foo-oper is config-false, is a feature, not a bug.

My concerns here are:

(a) The model may not understand that there data plays distinct
roles in the config and state realms.  If I just see interface
addresses as config data, I'll miss that this data can be acquired
from bootp or dhcp and miss the need for two leafs.

Another example: the mtu for a device is changed in config to 1500,
which the server accepts and commits, but a microkernel memory issue
(handwave, handwave) causes the attempt to set this on the embedded
hardware to fail, leaving the mtu at the previous value.  The device
syslogs this error, but no one is watching.  When the client fetchs
mtu from config, they see the "right" value, but how can I return
the real right-now state value?  Does every leaf need a "state
twin"?  Doesn't every config value have a "what are you doing right
now" state value?  Is the difference between "what I told it to do"
and "what it's doing right now" present on every leaf?

(b) If I make a module that wants to augment a leaf, I now
need to augment twice.

(c) Since there are two distinct leafs, the client may pick the
wrong one, breaking them if, say, the server dhcps the interface
address.

It truth, I'm not sure how big these issues are, and I know we can
ship now with "state twins", but can't help thinking there's got
to be a better way.

Thanks,
 Phil

From andy@netconfcentral.com  Fri Sep  4 08:42:03 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CD4A03A68DE for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 08:42:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.504
X-Spam-Level: 
X-Spam-Status: No, score=-2.504 tagged_above=-999 required=5 tests=[AWL=0.095,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id McpSdRqg+lyR for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 08:42:03 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id ECED23A6A3B for <netmod@ietf.org>; Fri,  4 Sep 2009 08:42:02 -0700 (PDT)
Received: (qmail 49870 invoked from network); 4 Sep 2009 15:42:02 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 4 Sep 2009 15:42:02 -0000
X-YMail-OSG: M5dGSPQVM1mUJwXgApxiEw9idTrkVGd8dEwJ_mp0Dw5ugfs_cLCSCeE3XE4vejvhFj85By.u5Zag6KlApW1_xFTG4RjZGiiMGGE8LoYnD.RROxL_3Ns.xF3nFk4l0os6btWJaY5ip7..uJGvNyBRlujAGhIaK75IckdmtQBpWTlFY7ELlScRDIHt5hsIjFI2HYXG7t.2KGaDKL3sMsIWffBidJTzluSLn07hWBSS.YMV4OtRspkll2EVgrz2wu9Kno6zF3drytq2UL7.
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA1355F.9060806@netconfcentral.com>
Date: Fri, 04 Sep 2009 08:42:23 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909041356.n84Dujmb023868@idle.juniper.net>
In-Reply-To: <200909041356.n84Dujmb023868@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 15:42:03 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> Unless the replacement for data retrieval
>> of YANG defaults is deterministic, it is not
>> good enough to achieve interoperability,
>> or measure interoperability for standards-track advancement.
> 
> The behavior of YANG-based server is deterministic.  The rules are
> spelled out in the YANG spec.  You didn't those rules, but that
> does not stop them from being deterministic and interoperable.
> 

There are about 10 ways that a server complying with the
spec can cause the client to guess 1 of N possible outcomes.
That is the definition of non-deterministic behavior.


> The YANG server is not required to return default values for
> configuration data.  This is deterministic.  If the server does not
> return a value for a leaf of configuration data that has a default
> value the client will know that the server is using the default
> value.  This is deterministic.  Clients will know this and can be
> written that behave according.  This will allow interoperability.
> 


Nonsense.
There are many ways the client cannot be sure what
the data or lack of a response really means.
The NETCONF protocol behavior that YANG specifies
be allowing values (even non-default via deviations).


> The fact that YANG allows servers to behave in a way that you dislike
> does not make the YANG spec broken.  

I plan to let the IESG decide if my dislike of
this aspect of YANG is based on subjective or objective
criteria.


It just means the WG made a
> decision that you do not agree with.  

There have been several people -- about 4 to 6,
that have insited that NETCONF/YANG MUST have
a mandatory-to-implement data retrieval menchanism.
I do think there is any WG consensus otherwise.
Maybe 5 to 4, or so, and that is not consensus.
Even so, the IESG gets to decide whether interoperability
and security and all other issues meet IETF requirements
or not, not this WG.

Since the WG has made decisions
> that I do not agree with, I don't find this surprising.  I'm sure
> this is a common experience.  But somehow other WG members are able
> to move on rather than continue the debate after the issues have
> been resolved.

The mechanism you proposed is full of holes.
I found about 10 of them in the first week.
Why didn't you find them before that?
How many more ways are left to discover
how this extremely fragile design can break?

The latest 'D_leaf' example I posted shows that
this plan is hopelessly and fatally flawed.

> 
> Thanks,
>  Phil
> 

Andy

From andy@netconfcentral.com  Fri Sep  4 09:27:20 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5E2FF3A6911 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 09:27:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.505
X-Spam-Level: 
X-Spam-Status: No, score=-2.505 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8J8HCNnVwBQ8 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 09:27:19 -0700 (PDT)
Received: from n18.bullet.mail.mud.yahoo.com (n18.bullet.mail.mud.yahoo.com [68.142.206.145]) by core3.amsl.com (Postfix) with SMTP id 0778A3A68BB for <netmod@ietf.org>; Fri,  4 Sep 2009 09:27:18 -0700 (PDT)
Received: from [68.142.200.226] by n18.bullet.mail.mud.yahoo.com with NNFMP; 04 Sep 2009 16:24:42 -0000
Received: from [68.142.201.73] by t7.bullet.mud.yahoo.com with NNFMP; 04 Sep 2009 16:24:41 -0000
Received: from [127.0.0.1] by omp425.mail.mud.yahoo.com with NNFMP; 04 Sep 2009 16:24:41 -0000
X-Yahoo-Newman-Id: 973191.1788.bm@omp425.mail.mud.yahoo.com
Received: (qmail 10594 invoked from network); 4 Sep 2009 16:24:41 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp106.sbc.mail.sp1.yahoo.com with SMTP; 4 Sep 2009 16:24:41 -0000
X-YMail-OSG: cgqJVzoVM1l7wNzQZK0I7keHDt14pz3LcefkZtZ4HowpTHzgb6nXBPc_Br4CPkaQwxtJxct6qn.nuSB4uiwZu.PQM4NTukzt1xU_eKN8_v6op9.WcZubUcIDoEhh1xeceXIHDE4baLUcSbF5Ic7noIdEcZw3ndjcFXl5y4c6BlYIaGPGlFvrzxE8DeZTQHNTgooozGyWmSoHvaqnXu1PJ81GzUtvLs57sDzkTFN60vQDlqzot4ex
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA13F5E.8050104@netconfcentral.com>
Date: Fri, 04 Sep 2009 09:25:02 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <200909040657.n846vxoG021955@idle.juniper.net>	<200909041354.58108.david.partain@ericsson.com> <20090904.142130.134035787.mbj@tail-f.com>
In-Reply-To: <20090904.142130.134035787.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 16:27:20 -0000

Martin Bjorklund wrote:
> David Partain <david.partain@ericsson.com> wrote:
>> On Friday 04 September 2009 08.57.59 Phil Shafer wrote:
>>> Andy Bierman writes:
>>>> 5.6.4.1:  (replace some text in entire section)
>>>>
>>>> OLD:
>>>>
>>>>   Devices indicate the names of supported modules via the <hello>
>>>>   message.  Module namespaces are encoded as the base URI in the
>>>>   capability string, and the module name is encoded as the "module"
>>>>   parameter to the base URI.
>>>>
>>>>   Modules that do not contribute any data definitions, rpcs,
>>>>   notifications, or deviations to the device MAY be advertised in the
>>>>   <hello> message.
>>>>
>>>> NEW:
>>>>
>>>>   Devices indicate the names and revision dates of supported modules
>>>>   via the <hello> message.  The module namespace MUST be encoded
>>>>   as the base URI in the capability string.  The module name MUST be
>>>>   encoded as the "module" parameter, and the most recent revision-date
>>>>   MUST be encoded as the "revision" parameter, to the base URI.
>>>>
>>>>   All revisions of all modules used by the server MUST be advertised
>>>>   in the <hello> message.
>>> -1, since advertising multiple copies of the same module which are
>>> only need for other modules (groupings, types, etc) is confusing.
>>>
>>> -1, since we support revision-less modules.
>> Would acceptance of 
>> http://www.ietf.org/mail-archive/web/netmod/current/msg03920.html
>> change that last -1?
> 
> No, but maybe acceptance of that + this text would work:
> 
>   Devices indicate the names and revision dates of supported modules
>   via the <hello> message.  The module namespace MUST be encoded
>   as the base URI in the capability string.  The module name MUST be
>   encoded as the "module" parameter, and the most recent
>   revision-date, if present, MUST be encoded as the "revision"
>   parameter, to the base URI.
> 

It should be rather clear that in order to get the
'assumed-defaults' mechanism to actually work,
that YANG has to be locked down so tight that
it will be unusable by humans.

If the YANG default was reliable as a constant, it would be usable.
At first I thought it was a constant, but within a couple days
realized it is almost a constant, and that it not good enough.
There are also several ways in which 'no-returned-value' is ambiguous,
that can occur during the YANG module lifecycle.

> 
> /martin

Andy


From cfinss@dial.pipex.com  Fri Sep  4 11:04:34 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AD48D3A67D2 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 11:04:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.34
X-Spam-Level: 
X-Spam-Status: No, score=-2.34 tagged_above=-999 required=5 tests=[AWL=0.259,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N3EInuJr2XPM for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 11:04:33 -0700 (PDT)
Received: from mk-outboundfilter-5.mail.uk.tiscali.com (mk-outboundfilter-5.mail.uk.tiscali.com [212.74.114.1]) by core3.amsl.com (Postfix) with ESMTP id 948043A6358 for <netmod@ietf.org>; Fri,  4 Sep 2009 11:04:33 -0700 (PDT)
X-Trace: 192641292/mk-outboundfilter-5.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.155/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.155
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ar0EAOvvoEo+vGmb/2dsb2JhbACDLWGNM8k4CYIqgWgF
X-IronPort-AV: E=Sophos;i="4.44,333,1249254000"; d="scan'208";a="192641292"
X-IP-Direction: IN
Received: from 1cust155.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.155]) by smtp.pipex.tiscali.co.uk with SMTP; 04 Sep 2009 18:51:29 +0100
Message-ID: <007001ca2d7f$c144f9a0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: <jmh@joelhalpern.com>, "Martin Bjorklund" <mbj@tail-f.com>
References: <4A9FC389.1080606@joelhalpern.com><20090903140123.GC13343@elstar.local><4A9FD061.9020203@joelhalpern.com> <20090904.130922.101323544.mbj@tail-f.com>
Date: Fri, 4 Sep 2009 18:45:49 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 18:04:34 -0000

---- Original Message -----
From: "Martin Bjorklund" <mbj@tail-f.com>
To: <jmh@joelhalpern.com>
Cc: <netmod@ietf.org>
Sent: Friday, September 04, 2009 1:09 PM
Subject: Re: [netmod] proposal : <get-operational-data>


> "Joel M. Halpern" <jmh@joelhalpern.com> wrote:
> > Maybe it is just a deficiency of my mental model.
> > I have no problem with the idea that if I ask for the value of foo in
store-a,
> > that I get a different value than if I ask in store-b.
> > I can see the parallel you are drawing with asking for foo with two
different
> > operations.
> > But, at least for me, there are large differences.
> > The conceptual semantics of the foo in store-a and store-b are the same.
They
> > are both the configured value for foo, when that store of configuration is
in
> > effect.  In contrast, with the get-operational approach, we are naming two
> > conceptually different things (as evinced by the fact that their validity
range
> > is not even the same) with the same name.
> >
> > I guess I am particularly sensitive to this kind of overloading, because it
has
> > caused problems in other contexts.  (There is a strong argument that one of
the
> > strong contributors to the scaling problems in routing names is that the
same
> > name is used both for the identity and for its location in the topology.)
>
> Are you saying that it might actually be a feature, not a bug, to have
> two objects, duplex and duplex-oper?

Absolutely; plenty of examples of something like this in our current MIB
modules.  I thought having operStatus and adminStatus rather weird when
I first encountered it but now accept that that is just the way to model
these things that have an administered value and a value dynamically
determined by the running system.

I can see no requirements for anything new in YANG to support this.

Tom Petch


> In this particular example, the connection between the configured
> value and operational impact is pretty simple, but another example is
> if your configure dhcp, and it operationally affect the ip-address,
> mask, etc.  How do you specify this in the data model?
>
> I am worried that adding this explicit support (in the protocol and
> modeling langauge) is a pretty big project, and it is better to finish
> something so people can start to use it.  In the worst case, YANG gets
> very popular and lots of modules gets published, and some have
> foo-oper like constructs, and these modules may then have to be
> updated if we add new support for operational data.  I am more
> concerned that we never finish b/c we want to publish a perfect
> solution for all kinds of problems at day 1.
>
>
> /martin
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod


From phil@juniper.net  Fri Sep  4 11:21:42 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0F7873A6824 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 11:21:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.572
X-Spam-Level: 
X-Spam-Status: No, score=-6.572 tagged_above=-999 required=5 tests=[AWL=0.027,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DnNE3USZZYdp for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 11:21:41 -0700 (PDT)
Received: from exprod7og123.obsmtp.com (exprod7og123.obsmtp.com [64.18.2.24]) by core3.amsl.com (Postfix) with ESMTP id 59E933A680B for <netmod@ietf.org>; Fri,  4 Sep 2009 11:21:40 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob123.postini.com ([64.18.6.12]) with SMTP ID DSNKSqFaT8b6foVIWEnyp6g4iZLfPqVBgqAJ@postini.com; Fri, 04 Sep 2009 11:22:02 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Fri, 4 Sep 2009 11:12:46 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 11:12:46 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 11:12:46 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 11:12:45 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n84ICjd02679; Fri, 4 Sep 2009 11:12:45 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n84I0cFU025898; Fri, 4 Sep 2009 18:00:38 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909041800.n84I0cFU025898@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AA1355F.9060806@netconfcentral.com> 
Date: Fri, 4 Sep 2009 14:00:37 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 04 Sep 2009 18:12:45.0529 (UTC) FILETIME=[4D5F8490:01CA2D8B]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 18:21:42 -0000

Andy Bierman writes:
>There are about 10 ways that a server complying with the
>spec can cause the client to guess 1 of N possible outcomes.

Please list them so we can resolve them.

>I plan to let the IESG decide if my dislike of
>this aspect of YANG is based on subjective or objective
>criteria.

Excellent.  I expect that IESG members will have sufficient experience
and expertise to understand what the terms like "default value" means
in the world of router configuration.

>The latest 'D_leaf' example I posted shows that
>this plan is hopelessly and fatally flawed.

Nope, it illustrates a strong reason for modelers to use revisions.
If you don't use revisions, there are serious implications for
changes to your module.  We should understand and describe those
implications.

I personally cannot see the value of not having a revision statement,
but the WG decided that this allows for flexibility that is needed
during development ("work in progress") and for standards that won't
be revised (IIRC).  I'll avoid it by always using revisions.  I
expect the IETF guidelines will push the same onto ietf modules.
Past that, I'm less concerned.  I proposed three options, and none
of them seemed to generate much in the way of concensus.

Thanks,
 Phil

From phil@juniper.net  Fri Sep  4 11:48:49 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9E4B53A6819 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 11:48:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.572
X-Spam-Level: 
X-Spam-Status: No, score=-6.572 tagged_above=-999 required=5 tests=[AWL=0.027,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oMYuz0NoN1bo for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 11:48:48 -0700 (PDT)
Received: from exprod7og117.obsmtp.com (exprod7og117.obsmtp.com [64.18.2.6]) by core3.amsl.com (Postfix) with ESMTP id 95F7C3A6784 for <netmod@ietf.org>; Fri,  4 Sep 2009 11:48:48 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob117.postini.com ([64.18.6.12]) with SMTP ID DSNKSqFg6QbFM/1WBNRF7krhSq+76rBLkPbn@postini.com; Fri, 04 Sep 2009 11:49:10 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.71) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Fri, 4 Sep 2009 11:18:30 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 11:18:30 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 11:18:30 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 4 Sep 2009 11:18:29 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n84IISd05526; Fri, 4 Sep 2009 11:18:28 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n84I6KXT025994; Fri, 4 Sep 2009 18:06:20 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909041806.n84I6KXT025994@idle.juniper.net>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <007001ca2d7f$c144f9a0$0601a8c0@allison> 
Date: Fri, 4 Sep 2009 14:06:19 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 04 Sep 2009 18:18:29.0361 (UTC) FILETIME=[1A501E10:01CA2D8C]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 18:48:49 -0000

"tom.petch" writes:
>Absolutely; plenty of examples of something like this in our current MIB
>modules.  I thought having operStatus and adminStatus rather weird when
>I first encountered it but now accept that that is just the way to model
>these things that have an administered value and a value dynamically
>determined by the running system.

I still think SNMP's operStatus and adminStatus is weird, and
continue to hope that we can do something better.  If nearly
everything has an operational value and a configured value, why do
we use something as awkward as paired twin leafs?  Isn't configured
mtu and observed mtu sufficiently similar that we can so something
more helpful that to tell modelers to define two leafs that are
intimately related with no way to express that relationship?

Thanks,
 Phil

From jmh@joelhalpern.com  Fri Sep  4 11:50:27 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B577B3A6857 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 11:50:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.734
X-Spam-Level: 
X-Spam-Status: No, score=-2.734 tagged_above=-999 required=5 tests=[AWL=-0.469, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s8lYrrKki7JU for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 11:50:27 -0700 (PDT)
Received: from morbo.mail.tigertech.net (morbo.mail.tigertech.net [67.131.251.54]) by core3.amsl.com (Postfix) with ESMTP id 7381A3A6819 for <netmod@ietf.org>; Fri,  4 Sep 2009 11:50:26 -0700 (PDT)
Received: from hgblob.mail.tigertech.net (hgblob.mail.tigertech.net [64.62.209.71]) by morbo.tigertech.net (Postfix) with ESMTP id 9FC66A3A46 for <netmod@ietf.org>; Fri,  4 Sep 2009 11:40:16 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hgblob.tigertech.net (Postfix) with ESMTP id C1E213230F8B; Fri,  4 Sep 2009 11:39:45 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hgblob.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-226.clppva.btas.verizon.net [71.161.51.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hgblob.tigertech.net (Postfix) with ESMTP id CD83E3230F80; Fri,  4 Sep 2009 11:39:38 -0700 (PDT)
Message-ID: <4AA15EE9.5050000@joelhalpern.com>
Date: Fri, 04 Sep 2009 14:39:37 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909041806.n84I6KXT025994@idle.juniper.net>
In-Reply-To: <200909041806.n84I6KXT025994@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 18:50:27 -0000

For me, the reason to separate them is that some of the time it is more 
than two values.
To use the DHCP example, one can ask "What is the configured IP address 
of the Interface?"  One could ask "Does it use DHCP, and if the answer 
is yes, what address did DHCP provide?"  And one could ask "What is it 
actually using, which is the result of a device computation based on 
those two inputs (plus others, for example with v6.)

Yours,
Joel

Phil Shafer wrote:
> "tom.petch" writes:
>> Absolutely; plenty of examples of something like this in our current MIB
>> modules.  I thought having operStatus and adminStatus rather weird when
>> I first encountered it but now accept that that is just the way to model
>> these things that have an administered value and a value dynamically
>> determined by the running system.
> 
> I still think SNMP's operStatus and adminStatus is weird, and
> continue to hope that we can do something better.  If nearly
> everything has an operational value and a configured value, why do
> we use something as awkward as paired twin leafs?  Isn't configured
> mtu and observed mtu sufficiently similar that we can so something
> more helpful that to tell modelers to define two leafs that are
> intimately related with no way to express that relationship?
> 
> Thanks,
>  Phil
> 

From andy@netconfcentral.com  Fri Sep  4 11:57:25 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8B0283A6A3F for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 11:57:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.505
X-Spam-Level: 
X-Spam-Status: No, score=-2.505 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S3kjxkii4njS for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 11:57:24 -0700 (PDT)
Received: from n18.bullet.mail.mud.yahoo.com (n18.bullet.mail.mud.yahoo.com [68.142.206.145]) by core3.amsl.com (Postfix) with SMTP id A29DC3A6403 for <netmod@ietf.org>; Fri,  4 Sep 2009 11:57:24 -0700 (PDT)
Received: from [68.142.200.221] by n18.bullet.mail.mud.yahoo.com with NNFMP; 04 Sep 2009 18:56:01 -0000
Received: from [68.142.201.242] by t9.bullet.mud.yahoo.com with NNFMP; 04 Sep 2009 18:56:01 -0000
Received: from [127.0.0.1] by omp403.mail.mud.yahoo.com with NNFMP; 04 Sep 2009 18:56:01 -0000
X-Yahoo-Newman-Id: 567950.46135.bm@omp403.mail.mud.yahoo.com
Received: (qmail 69652 invoked from network); 4 Sep 2009 18:56:01 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp110.sbc.mail.sp1.yahoo.com with SMTP; 4 Sep 2009 18:56:00 -0000
X-YMail-OSG: llchO7cVM1nzXS0i9czuJ44SPAcB9wxlguGWd2psBnpE8iyKos8wgPTCL8G0MIOdjNgkhCw44xf8XnEF4QqwYi.6zkCrSVdMPUUtnHMuO_.oEStU8ZBjLZiqbU5TQnHE0g8o3gY_c7SnsSiw177tOXsWgXbgMksno5OJa1ZebeELCPeMiIPKeQGBadrzNuqmwNr_1UZnIHoDeuc-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA162D6.7050208@netconfcentral.com>
Date: Fri, 04 Sep 2009 11:56:22 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909041800.n84I0cFU025898@idle.juniper.net>
In-Reply-To: <200909041800.n84I0cFU025898@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 18:57:25 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> There are about 10 ways that a server complying with the
>> spec can cause the client to guess 1 of N possible outcomes.
> 
> Please list them so we can resolve them.
> 
I've already posted emails to this list.
They are in the archive.

>> I plan to let the IESG decide if my dislike of
>> this aspect of YANG is based on subjective or objective
>> criteria.
> 
> Excellent.  I expect that IESG members will have sufficient experience
> and expertise to understand what the terms like "default value" means
> in the world of router configuration.
> 

yep.  The doc-shepherd can record a strong objection,
and the IESG can try to understand why it is such
a terrible burden for every server to be able to
return the value in use for every instance of
every leaf.  If it exists for validation, why
doesn't it exist for retrieval?



>> The latest 'D_leaf' example I posted shows that
>> this plan is hopelessly and fatally flawed.
> 
> Nope, it illustrates a strong reason for modelers to use revisions.
> If you don't use revisions, there are serious implications for
> changes to your module.  We should understand and describe those
> implications.
> 

I don't buy the argument that 1 data point is as good as 2.
Never will -- sorry.

The NETCONF client needs to be able to retrieve
all the data no matter what legal combination
of YANG mechanisms is selected by the data modeler.


> I personally cannot see the value of not having a revision statement,
> but the WG decided that this allows for flexibility that is needed
> during development ("work in progress") and for standards that won't
> be revised (IIRC).  I'll avoid it by always using revisions.  I
> expect the IETF guidelines will push the same onto ietf modules.
> Past that, I'm less concerned.  I proposed three options, and none
> of them seemed to generate much in the way of concensus.
> 
> Thanks,
>  Phil
> 

Andy


From randy_presuhn@mindspring.com  Fri Sep  4 12:08:02 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6AF473A6A3D for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 12:08:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.716
X-Spam-Level: 
X-Spam-Status: No, score=-1.716 tagged_above=-999 required=5 tests=[AWL=0.883,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gG48gXM7Oi9r for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 12:08:01 -0700 (PDT)
Received: from elasmtp-kukur.atl.sa.earthlink.net (elasmtp-kukur.atl.sa.earthlink.net [209.86.89.65]) by core3.amsl.com (Postfix) with ESMTP id 674CC3A6A20 for <netmod@ietf.org>; Fri,  4 Sep 2009 12:08:01 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=Utj2Dm88f7wy2KsN03nLzKfY44LVxx1qBielN8boGxQmv5nUvMC/JPmxNBlC9viL; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.41.53.232] (helo=oemcomputer) by elasmtp-kukur.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1MjdN5-0000Cr-1D for netmod@ietf.org; Fri, 04 Sep 2009 14:18:51 -0400
Message-ID: <007d01ca2d8c$2732ea40$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netmod@ietf.org>
References: <200909041454.n84Es1Iw024538@idle.juniper.net>
Date: Fri, 4 Sep 2009 11:18:49 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f9027f52272d51dbb93a0c6eb0d3562802350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.41.53.232
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 19:08:02 -0000

Hi -

> From: "Phil Shafer" <phil@juniper.net>
> To: "Joel M. Halpern" <jmh@joelhalpern.com>
> Cc: <netmod@ietf.org>
> Sent: Friday, September 04, 2009 7:54 AM
> Subject: Re: [netmod] proposal : <get-operational-data>
>

> "Joel M. Halpern" writes:
> >Yes, I consider that having variable s foo and foo-oper, where foo is 
> >config true and foo-oper is config-false, is a feature, not a bug.
> 
> My concerns here are:
> 
> (a) The model may not understand that there data plays distinct
> roles in the config and state realms.  If I just see interface
> addresses as config data, I'll miss that this data can be acquired
> from bootp or dhcp and miss the need for two leafs.
> 
> Another example: the mtu for a device is changed in config to 1500,
> which the server accepts and commits, but a microkernel memory issue
> (handwave, handwave) causes the attempt to set this on the embedded
> hardware to fail, leaving the mtu at the previous value.  The device
> syslogs this error, but no one is watching.  When the client fetchs
> mtu from config, they see the "right" value, but how can I return
> the real right-now state value?  Does every leaf need a "state
> twin"?  Doesn't every config value have a "what are you doing right
> now" state value?  Is the difference between "what I told it to do"
> and "what it's doing right now" present on every leaf?
> 
> (b) If I make a module that wants to augment a leaf, I now
> need to augment twice.
> 
> (c) Since there are two distinct leafs, the client may pick the
> wrong one, breaking them if, say, the server dhcps the interface
> address.
> 
> It truth, I'm not sure how big these issues are, and I know we can
> ship now with "state twins", but can't help thinking there's got
> to be a better way.

If the configuration persists in any way, so that, for example, after a
reboot the "microkernel with a memory issue" reverts to the configured
mtu of 1500, then the configuration and operational values truly are distinct
pieces of information.  This will happen whenever the former is not
the sole factor determining the value of the latter.  This shouldn't come
as a surprise to anyone who's had to model real implementations.

The question underneath this that's making people nervous is the extent
to which the model needs to represent this relationship, and whether that
relationship representation needs to be something a machine can grok.
I'd say that mentioning it in human-readable for takes it as far as it needs to go.
Yes, it is possible to describe the relationships using things like Z, but for
the description to be anywhere near complete quickly gets so deep into
implementation ideosyncracies as to be counter-productive.

Randy


From andy@netconfcentral.com  Fri Sep  4 12:11:19 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9878B3A679F for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 12:11:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.506
X-Spam-Level: 
X-Spam-Status: No, score=-2.506 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B0dAyGOzhTXA for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 12:11:18 -0700 (PDT)
Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by core3.amsl.com (Postfix) with SMTP id E3CB53A672E for <netmod@ietf.org>; Fri,  4 Sep 2009 12:11:17 -0700 (PDT)
Received: (qmail 43093 invoked from network); 4 Sep 2009 19:09:30 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 4 Sep 2009 19:09:30 -0000
X-YMail-OSG: 8DweQ9UVM1lgmOdZlB0IhunHsYTnZgEQHPVAOSqUMGz70BZ3wgpGxA9o0HmtwagASRQAn_pi1Q_azuzgRGVdgtN6qhV_D5VgUqWZ7aCyXWcMYJ6yOWBf.1lnMzbgtsv5r4m6fQ6JuwrMKYXoJricdHtFzaXt4MAbUIc7NwkJ6RfmoHvqOrLyMyPdTRa4xPi0FSOq3jFwTHzlHRWUfGWjo_xp37vjR8fdzfn7qqKGInSyYamMQl4TmgXq4nwjKdv63jvcf7WVeGCGAbQ-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA16585.5050209@netconfcentral.com>
Date: Fri, 04 Sep 2009 12:07:49 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] import-by-revision not used
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 19:11:19 -0000

Hi,

If import-by-revision is so easy to use, how come
not 1 single YANG module in a Internet Draft is using it?
Is the plan to start using it in the future, or just
set it in RFC versions?



Andy


From lhotka@cesnet.cz  Fri Sep  4 12:26:29 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 02E893A68AE for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 12:26:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.194
X-Spam-Level: 
X-Spam-Status: No, score=-1.194 tagged_above=-999 required=5 tests=[AWL=0.056,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id haJh1F6IxRJw for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 12:26:28 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 1260E3A68A5 for <netmod@ietf.org>; Fri,  4 Sep 2009 12:26:28 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 08DDBD800CE; Fri,  4 Sep 2009 21:26:15 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Phil Shafer <phil@juniper.net>
In-Reply-To: <200909041806.n84I6KXT025994@idle.juniper.net>
References: <200909041806.n84I6KXT025994@idle.juniper.net>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Fri, 04 Sep 2009 21:26:14 +0200
Message-Id: <1252092374.4815.23.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 19:26:29 -0000

Phil Shafer píše v Pá 04. 09. 2009 v 14:06 -0400:
> "tom.petch" writes:
> >Absolutely; plenty of examples of something like this in our current MIB
> >modules.  I thought having operStatus and adminStatus rather weird when
> >I first encountered it but now accept that that is just the way to model
> >these things that have an administered value and a value dynamically
> >determined by the running system.
> 
> I still think SNMP's operStatus and adminStatus is weird, and
> continue to hope that we can do something better.  If nearly
> everything has an operational value and a configured value, why do
> we use something as awkward as paired twin leafs?  Isn't configured
> mtu and observed mtu sufficiently similar that we can so something
> more helpful that to tell modelers to define two leafs that are
> intimately related with no way to express that relationship?

Operational values may be derived from config data, hardware parameters,
network protocols etc. in many different ways. A data modeling langauge
probably can't cover all such possibilities, but the dependencies among
config and operational parameters (and the outside world) could perhaps
be specified in the data model in a form of a signature. For example, it
could state that "ip-address-oper" is a function of config parameters
"dhcp" (boolean flag) and "ip-address", and also depends on the
operation of the DHCP protocol.

Lada
 
> 
> Thanks,
>  Phil
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From mbj@tail-f.com  Fri Sep  4 14:26:06 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0B2353A6765 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 14:26:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.958
X-Spam-Level: 
X-Spam-Status: No, score=-1.958 tagged_above=-999 required=5 tests=[AWL=0.088,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4zd709qnYgnd for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 14:26:05 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 3AAD33A67EE for <netmod@ietf.org>; Fri,  4 Sep 2009 14:26:05 -0700 (PDT)
Received: from localhost (de-0316.d.ipeer.se [213.180.79.212]) by mail.tail-f.com (Postfix) with ESMTPA id 0F5EB76C59E; Fri,  4 Sep 2009 23:26:25 +0200 (CEST)
Date: Fri, 04 Sep 2009 23:26:24 +0200 (CEST)
Message-Id: <20090904.232624.165250112.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AA162D6.7050208@netconfcentral.com>
References: <200909041800.n84I0cFU025898@idle.juniper.net> <4AA162D6.7050208@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 21:26:06 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Phil Shafer wrote:
> > Andy Bierman writes:
> >> There are about 10 ways that a server complying with the
> >> spec can cause the client to guess 1 of N possible outcomes.
> > 
> > Please list them so we can resolve them.
> > 
> I've already posted emails to this list.
> They are in the archive.

Andy, I really try to keep track of any unresolved issue.  I have two
issues that you brought up:

  require a new revision if a non-editorial change is made

  question if default should be allowed to be added in a new revision


So if there are 8 or more other issues, please send links to the
messages or resend them.  (It is difficult to keep track of issues
that are embedded deep in other, sometimes unrelated, threads).

I also do not understand what you mean with "1 of N possible
outcomes".  Could you elaborate?


> >> I plan to let the IESG decide if my dislike of
> >> this aspect of YANG is based on subjective or objective
> >> criteria.
> > 
> > Excellent.  I expect that IESG members will have sufficient experience
> > and expertise to understand what the terms like "default value" means
> > in the world of router configuration.
> > 
> 
> yep.  The doc-shepherd can record a strong objection,

What exactly do you strongly object to?


/martin

From mbj@tail-f.com  Fri Sep  4 14:29:41 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 13E5D3A68AC for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 14:29:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.962
X-Spam-Level: 
X-Spam-Status: No, score=-1.962 tagged_above=-999 required=5 tests=[AWL=0.084,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LvliBJ33pvMf for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 14:29:40 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 55BF93A6811 for <netmod@ietf.org>; Fri,  4 Sep 2009 14:29:40 -0700 (PDT)
Received: from localhost (de-0316.d.ipeer.se [213.180.79.212]) by mail.tail-f.com (Postfix) with ESMTPA id 7C73F76C59E; Fri,  4 Sep 2009 23:29:37 +0200 (CEST)
Date: Fri, 04 Sep 2009 23:29:37 +0200 (CEST)
Message-Id: <20090904.232937.208334336.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AA16585.5050209@netconfcentral.com>
References: <4AA16585.5050209@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] import-by-revision not used
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 21:29:41 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Hi,
> 
> If import-by-revision is so easy to use, how come
> not 1 single YANG module in a Internet Draft is using it?
> Is the plan to start using it in the future, or just
> set it in RFC versions?

Maybe because the YANG drafts we currently have only import one of the
type modules?


/martin

From mbj@tail-f.com  Fri Sep  4 14:36:17 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AB00C3A682F for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 14:36:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.966
X-Spam-Level: 
X-Spam-Status: No, score=-1.966 tagged_above=-999 required=5 tests=[AWL=0.080,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2sC5YnosQ411 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 14:36:17 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id E723F3A6811 for <netmod@ietf.org>; Fri,  4 Sep 2009 14:36:16 -0700 (PDT)
Received: from localhost (de-0316.d.ipeer.se [213.180.79.212]) by mail.tail-f.com (Postfix) with ESMTPA id 82E2476C5E5; Fri,  4 Sep 2009 23:34:58 +0200 (CEST)
Date: Fri, 04 Sep 2009 23:34:57 +0200 (CEST)
Message-Id: <20090904.233457.219318251.mbj@tail-f.com>
To: phil@juniper.net
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <200909041806.n84I6KXT025994@idle.juniper.net>
References: <007001ca2d7f$c144f9a0$0601a8c0@allison> <200909041806.n84I6KXT025994@idle.juniper.net>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 21:36:17 -0000

Phil Shafer <phil@juniper.net> wrote:
> If nearly
> everything has an operational value and a configured value, why do
> we use something as awkward as paired twin leafs?

I agree that if nearly every config leaf needs a twin -oper leaf, this
would not be a good solution.  But is that really the case?

> Isn't configured
> mtu and observed mtu sufficiently similar that we can so something
> more helpful that to tell modelers to define two leafs that are
> intimately related with no way to express that relationship?

In this simple case it might be tempting to reuse one leaf like this.
But I am not sure it works well in the dhcp/bootp/ip-address case, or
in the static vs. dynamically learned routes case.


/martin

From andy@netconfcentral.com  Fri Sep  4 14:52:17 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D42A73A688A for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 14:52:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.506
X-Spam-Level: 
X-Spam-Status: No, score=-2.506 tagged_above=-999 required=5 tests=[AWL=0.093,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3Ipf0czfWyaS for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 14:52:17 -0700 (PDT)
Received: from n69.bullet.mail.sp1.yahoo.com (n69.bullet.mail.sp1.yahoo.com [98.136.44.41]) by core3.amsl.com (Postfix) with SMTP id 0CCD53A68A5 for <netmod@ietf.org>; Fri,  4 Sep 2009 14:52:17 -0700 (PDT)
Received: from [69.147.84.144] by n69.bullet.mail.sp1.yahoo.com with NNFMP; 04 Sep 2009 21:48:53 -0000
Received: from [68.142.194.243] by t6.bullet.mail.sp1.yahoo.com with NNFMP; 04 Sep 2009 21:48:53 -0000
Received: from [68.142.201.253] by t1.bullet.mud.yahoo.com with NNFMP; 04 Sep 2009 21:48:53 -0000
Received: from [127.0.0.1] by omp414.mail.mud.yahoo.com with NNFMP; 04 Sep 2009 21:48:53 -0000
X-Yahoo-Newman-Id: 846303.94083.bm@omp414.mail.mud.yahoo.com
Received: (qmail 96904 invoked from network); 4 Sep 2009 21:48:53 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp102.sbc.mail.sp1.yahoo.com with SMTP; 4 Sep 2009 21:48:53 -0000
X-YMail-OSG: 0bJMYzQVM1ko8IOBi4IfDZdyc2xfCjaL.O_.mJguWpADEGweFW3HknAtbKSpdqtFu678VLgn95a_64O2OcJP43SFE4eGGPGTMCT4ovZtVbeuiWnNjTCFFUn1nClE_G26jntYE7Sgj1eGD8lKI1JprnAcaWstMIPTKEtveBONqtl9qPJBYTqt6neHtEa_Z4ydBlIJcqrzOGZhS.28ZENlfZy0jJxRl7PZUH0U2qXTVcCxSHau
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA18B5A.6030108@netconfcentral.com>
Date: Fri, 04 Sep 2009 14:49:14 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <200909041800.n84I0cFU025898@idle.juniper.net>	<4AA162D6.7050208@netconfcentral.com> <20090904.232624.165250112.mbj@tail-f.com>
In-Reply-To: <20090904.232624.165250112.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 21:52:17 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Phil Shafer wrote:
>>> Andy Bierman writes:
>>>> There are about 10 ways that a server complying with the
>>>> spec can cause the client to guess 1 of N possible outcomes.
>>> Please list them so we can resolve them.
>>>
>> I've already posted emails to this list.
>> They are in the archive.
> 
> Andy, I really try to keep track of any unresolved issue.  I have two
> issues that you brought up:
> 
>   require a new revision if a non-editorial change is made
> 
>   question if default should be allowed to be added in a new revision
> 

I will combine them into 4 issues:

  - deviations break contract;
    no evidence AGENT-CAPABILITIES used, so not likely
    deviation-stmts will be used either.

 - incomplete module capabilities allowed, so meta-data
   required by client can be inaccurate (9/3 capabilities related edits)

 - import-by-revision is optional (9/3 - import-no-revision breaks default)
   which can cause the meaning of a missing leaf to be ambiguous.

 - verification of all leaf instance values for interoperability
   purposes not the same as meta-data + deviations/

> 
> /martin
> 

Andy


From andy@netconfcentral.com  Fri Sep  4 15:04:57 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7185C3A6765 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 15:04:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.506
X-Spam-Level: 
X-Spam-Status: No, score=-2.506 tagged_above=-999 required=5 tests=[AWL=0.093,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eIKZ2ZC9gVEz for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 15:04:56 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id ADC893A6358 for <netmod@ietf.org>; Fri,  4 Sep 2009 15:04:56 -0700 (PDT)
Received: (qmail 39549 invoked from network); 4 Sep 2009 22:02:57 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 4 Sep 2009 22:02:57 -0000
X-YMail-OSG: KY7pkB8VM1khkp3MjW.j7qiIRcBZon8lSrqWqWt0pgMYp7VBAAdjezaCJJDYTZmAscA.5DQYYlG5xvsT_gTULTx6ZpSDufG1PFdcV_nG1E_mOwr6olIrTsL3hb3or2UuWo1QEM_SKYmGhyYhtr4FM.8YQqnPeiR4inWlBfZ7nV2Gd4datEZBQT6cwMVkLg4KBFGJ1Ke1GIRV3uqfgBBDgZLo2npkJrOiQQqzpFoG0.9xhFb5VZODzrsHP4bXUOihgzfeQakwVf6OHWu19hYiYV9EAi0MaQqqGulhRYHLPQmq_hbg3Nw6yaGD_vAJvWBEcB7CuMqaEvUe2xQiGgFxkXVtKk1XNeQMEw--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA18EA6.9070400@netconfcentral.com>
Date: Fri, 04 Sep 2009 15:03:18 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AA16585.5050209@netconfcentral.com> <20090904.232937.208334336.mbj@tail-f.com>
In-Reply-To: <20090904.232937.208334336.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] import-by-revision not used
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 22:04:57 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Hi,
>>
>> If import-by-revision is so easy to use, how come
>> not 1 single YANG module in a Internet Draft is using it?
>> Is the plan to start using it in the future, or just
>> set it in RFC versions?
> 
> Maybe because the YANG drafts we currently have only import one of the
> type modules?
> 

But the author of module 'X' does not have change control
over module 'Y' in another RFC/I-D, right?
So an 'import Y' can break at any time in the future.

> 
> /martin
> 

Andy

From randy_presuhn@mindspring.com  Fri Sep  4 15:12:46 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 55BE63A67D2 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 15:12:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.842
X-Spam-Level: 
X-Spam-Status: No, score=-1.842 tagged_above=-999 required=5 tests=[AWL=0.757,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4AyfdyGXIVZd for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 15:12:45 -0700 (PDT)
Received: from elasmtp-scoter.atl.sa.earthlink.net (elasmtp-scoter.atl.sa.earthlink.net [209.86.89.67]) by core3.amsl.com (Postfix) with ESMTP id 5CABC3A6778 for <netmod@ietf.org>; Fri,  4 Sep 2009 15:12:45 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=CWQ7zDFCqZNCByu95lCZY3jNu4CWpMKAEFVyU3Eei5rd/yygLZKZU3gBG8PiVNum; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.41.53.232] (helo=oemcomputer) by elasmtp-scoter.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1Mjh1O-0000fY-4j for netmod@ietf.org; Fri, 04 Sep 2009 18:12:42 -0400
Message-ID: <001001ca2dac$d2846fc0$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netmod@ietf.org>
References: <200909041800.n84I0cFU025898@idle.juniper.net>	<4AA162D6.7050208@netconfcentral.com><20090904.232624.165250112.mbj@tail-f.com> <4AA18B5A.6030108@netconfcentral.com>
Date: Fri, 4 Sep 2009 15:12:39 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f925dcded59138d2f262687de79d3f5ad6350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.41.53.232
Subject: [netmod] generating a new contract from boilerplate
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 22:12:46 -0000

Hi -

> From: "Andy Bierman" <andy@netconfcentral.com>
> To: "Martin Bjorklund" <mbj@tail-f.com>
> Cc: <netmod@ietf.org>
> Sent: Friday, September 04, 2009 2:49 PM
> Subject: Re: [netmod] capabilities related edits
...
>   - deviations break contract;
>     no evidence AGENT-CAPABILITIES used, so not likely
>     deviation-stmts will be used either.
> 
>  - incomplete module capabilities allowed, so meta-data
>    required by client can be inaccurate (9/3 capabilities related edits)
> 
>  - import-by-revision is optional (9/3 - import-no-revision breaks default)
>    which can cause the meaning of a missing leaf to be ambiguous.
> 
>  - verification of all leaf instance values for interoperability
>    purposes not the same as meta-data + deviations/
...

I think the real issue underlying all of these is this:

There is a three-way conflict between the need to be able to talk about
a management interface conforming to some "standard" model,
the need for that management interface to reflect what the
underlying gizmo actually does, and the need for "the" model to be
something both software and humans can grok.

If we start with the premise that one of the important uses of a model
is to serve as an interface contract, and if we acknowledge that "deviations"
are a fact of life, then I think we need to be honest about the fact that what a
"deviation" really does is to provide the instructions for creating a new contract
from one already known.

If deviations are not being documented, we're left with several possibilities:
   (1) Status quo: Implementations will need to take interface contracts
         with a big grain of salt. This limits interoperability.
   (2) There are market disincentives to documenting deviations.
   (3) There are technical reasons why deviations are not documented.

I suspect (2) is a factor, but I also think that the desire for flexibility coupled
with the awkwardness of the mechanisms for describing deviations lead
to (3).

This begs the question of whether deviations really should be modelled
any differently from any of the other kinds of "refinements" to models that
might be needed, and what a refined model needs to do in order to claim
conformance to a base model.  

Randy


From mbj@tail-f.com  Fri Sep  4 15:12:48 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 040C33A681F for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 15:12:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.97
X-Spam-Level: 
X-Spam-Status: No, score=-1.97 tagged_above=-999 required=5 tests=[AWL=0.076,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2kiG+41aIgXn for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 15:12:47 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 397EC3A6778 for <netmod@ietf.org>; Fri,  4 Sep 2009 15:12:47 -0700 (PDT)
Received: from localhost (de-0316.d.ipeer.se [213.180.79.212]) by mail.tail-f.com (Postfix) with ESMTPA id 98D0476C59E; Sat,  5 Sep 2009 00:12:45 +0200 (CEST)
Date: Sat, 05 Sep 2009 00:12:45 +0200 (CEST)
Message-Id: <20090905.001245.24885936.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AA18EA6.9070400@netconfcentral.com>
References: <4AA16585.5050209@netconfcentral.com> <20090904.232937.208334336.mbj@tail-f.com> <4AA18EA6.9070400@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] import-by-revision not used
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 22:12:48 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Martin Bjorklund wrote:
> > Andy Bierman <andy@netconfcentral.com> wrote:
> >> Hi,
> >>
> >> If import-by-revision is so easy to use, how come
> >> not 1 single YANG module in a Internet Draft is using it?
> >> Is the plan to start using it in the future, or just
> >> set it in RFC versions?
> > 
> > Maybe because the YANG drafts we currently have only import one of the
> > type modules?
> > 
> 
> But the author of module 'X' does not have change control
> over module 'Y' in another RFC/I-D, right?
> So an 'import Y' can break at any time in the future.

How do you mean break?  The ipfix module uses yang:object-identifier,
yang:counter64 and some more types. 



/martin

From andy@netconfcentral.com  Fri Sep  4 15:34:21 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CE6F428C0F5 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 15:34:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.507
X-Spam-Level: 
X-Spam-Status: No, score=-2.507 tagged_above=-999 required=5 tests=[AWL=0.092,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zdKSia8Y9DDL for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 15:34:21 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id 0D9B628C0F7 for <netmod@ietf.org>; Fri,  4 Sep 2009 15:34:21 -0700 (PDT)
Received: (qmail 50853 invoked from network); 4 Sep 2009 22:34:40 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 4 Sep 2009 22:34:39 -0000
X-YMail-OSG: 99uIluoVM1kjAq0DtP0ZGGD48PUQ_Pj79br1D4UsNvUFTrONFGtsXv.0eD3DhEh.Loz4pxpjrFE5BwpbauNz8cFZD.iCn2MpMDTcI2R5Nly80BxhNtqNEOqz6cxcxT1MKcD.fAiDgvd.NUT5g0VrbJoYhJVWYGey6GcRXaSL.pwJV_uXI.5ZwMdxZs6rE2GI0xZ3tDXuMT0EfeVR6.zqXee6vRoAj3eK8FtY9EqBGdZ8v2_dXij0vk9wQxnXlRbU8n3Gy.FZH3gufStQZfF24xvCn4YdFPywguJ9YuLIziiPz0VZMsBq3jj.oymreu16lgT_VFEQmEmvZg--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA1959A.5040306@netconfcentral.com>
Date: Fri, 04 Sep 2009 15:32:58 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AA16585.5050209@netconfcentral.com>	<20090904.232937.208334336.mbj@tail-f.com>	<4AA18EA6.9070400@netconfcentral.com> <20090905.001245.24885936.mbj@tail-f.com>
In-Reply-To: <20090905.001245.24885936.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] import-by-revision not used
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 22:34:21 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Martin Bjorklund wrote:
>>> Andy Bierman <andy@netconfcentral.com> wrote:
>>>> Hi,
>>>>
>>>> If import-by-revision is so easy to use, how come
>>>> not 1 single YANG module in a Internet Draft is using it?
>>>> Is the plan to start using it in the future, or just
>>>> set it in RFC versions?
>>> Maybe because the YANG drafts we currently have only import one of the
>>> type modules?
>>>
>> But the author of module 'X' does not have change control
>> over module 'Y' in another RFC/I-D, right?
>> So an 'import Y' can break at any time in the future.
> 
> How do you mean break?  The ipfix module uses yang:object-identifier,
> yang:counter64 and some more types. 
> 
> 


In general, the importing module does not know for sure
that a the imported module will change in the future
in a way that alters the previous definitions in use.
Not even the yang-ietf-types module is immune to changes
and bug-fixes.

I think that's why import-by-revision was added.

> 
> /martin
> 

Andy

From andy@netconfcentral.com  Fri Sep  4 15:48:55 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1A5C03A6765 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 15:48:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.507
X-Spam-Level: 
X-Spam-Status: No, score=-2.507 tagged_above=-999 required=5 tests=[AWL=0.092,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fw-b8p+uV5uv for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 15:48:54 -0700 (PDT)
Received: from smtp102.sbc.mail.mud.yahoo.com (smtp102.sbc.mail.mud.yahoo.com [68.142.198.201]) by core3.amsl.com (Postfix) with SMTP id 02DBA3A68B7 for <netmod@ietf.org>; Fri,  4 Sep 2009 15:48:53 -0700 (PDT)
Received: (qmail 62541 invoked from network); 4 Sep 2009 22:49:07 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 4 Sep 2009 22:49:06 -0000
X-YMail-OSG: bBlRagoVM1nwkdtyAX_.1FfVtXBGvWujtTSHZfYql9CTvGPP36PcEQZKbtQpdP6DmeJW1qRNtc43JXA36qAGpzM7PXBV1MersHSYzkRHMdKWcCRegalhGgTx_tL8uXQaCf.L.P6PcreR8dbT3jIGsBbqQ9N5Gzr62qBa7LE_uVjWUGopHAKFRvwBJ3Svj68q2ILr6otKGkVmVRpMBU5Hkcap.odE2TygTlqpr.eSWt_QgmoTjDrARBjIM9IumwKfNQ9Q7XIVoP3jUJOVINGfbaF5AByHC8tiyR4GgJbgbcm9AV8A
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA19977.6000905@netconfcentral.com>
Date: Fri, 04 Sep 2009 15:49:27 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Randy Presuhn <randy_presuhn@mindspring.com>
References: <200909041800.n84I0cFU025898@idle.juniper.net>	<4AA162D6.7050208@netconfcentral.com><20090904.232624.165250112.mbj@tail-f.com>	<4AA18B5A.6030108@netconfcentral.com> <001001ca2dac$d2846fc0$6801a8c0@oemcomputer>
In-Reply-To: <001001ca2dac$d2846fc0$6801a8c0@oemcomputer>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] generating a new contract from boilerplate
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 22:48:55 -0000

Randy Presuhn wrote:
> Hi -
> 
>> From: "Andy Bierman" <andy@netconfcentral.com>
>> To: "Martin Bjorklund" <mbj@tail-f.com>
>> Cc: <netmod@ietf.org>
>> Sent: Friday, September 04, 2009 2:49 PM
>> Subject: Re: [netmod] capabilities related edits
> ...
>>   - deviations break contract;
>>     no evidence AGENT-CAPABILITIES used, so not likely
>>     deviation-stmts will be used either.
>>
>>  - incomplete module capabilities allowed, so meta-data
>>    required by client can be inaccurate (9/3 capabilities related edits)
>>
>>  - import-by-revision is optional (9/3 - import-no-revision breaks default)
>>    which can cause the meaning of a missing leaf to be ambiguous.
>>
>>  - verification of all leaf instance values for interoperability
>>    purposes not the same as meta-data + deviations/
> ...
> 
> I think the real issue underlying all of these is this:
> 
> There is a three-way conflict between the need to be able to talk about
> a management interface conforming to some "standard" model,
> the need for that management interface to reflect what the
> underlying gizmo actually does, and the need for "the" model to be
> something both software and humans can grok.
> 
> If we start with the premise that one of the important uses of a model
> is to serve as an interface contract, and if we acknowledge that "deviations"
> are a fact of life, then I think we need to be honest about the fact that what a
> "deviation" really does is to provide the instructions for creating a new contract
> from one already known.
> 
> If deviations are not being documented, we're left with several possibilities:
>    (1) Status quo: Implementations will need to take interface contracts
>          with a big grain of salt. This limits interoperability.
>    (2) There are market disincentives to documenting deviations.
>    (3) There are technical reasons why deviations are not documented.
> 
> I suspect (2) is a factor, but I also think that the desire for flexibility coupled
> with the awkwardness of the mechanisms for describing deviations lead
> to (3).
> 

Trusting 100% in the documentation is just not reliable.
There will be deviations from the 'MUST use YANG default'.
That is obvious.  IMO, it is also obvious that server
vendors do not want to add 'deviations=x,y,z' ever,
and engineers writing the server code will not be encouraged
or even allowed to publish a deviations-stmt for any product.

The only reason SNMP even works in the real world is that
the actual variant values are always available to the NMS.
That way, the operator has the reported value, the documented value,
and the observed behavior, and can decide which (if any) to trust.


> This begs the question of whether deviations really should be modelled
> any differently from any of the other kinds of "refinements" to models that
> might be needed, and what a refined model needs to do in order to claim
> conformance to a base model.  

I strongly object to making deviations part of the standard.
Vendor X can decide to change a instance-identifier to a boolean,
or whatever illegal change they want.  Sounds like free-for-all standards.


IMO, from the client developer POV, lots of different server
variants with an arbitrary, but large set of optional features,
is worse than a small set of mandatory features.


> 
> Randy

Andy

From randy_presuhn@mindspring.com  Fri Sep  4 16:00:15 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EEE803A6934 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 16:00:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.069
X-Spam-Level: 
X-Spam-Status: No, score=-2.069 tagged_above=-999 required=5 tests=[AWL=0.530,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u8QrrdS000JS for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 16:00:15 -0700 (PDT)
Received: from elasmtp-masked.atl.sa.earthlink.net (elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]) by core3.amsl.com (Postfix) with ESMTP id DF1F53A6765 for <netmod@ietf.org>; Fri,  4 Sep 2009 16:00:14 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=NU1ZgJb3MJlUcXzCgT06nO+LIKjJ9YQw0pyoo9HbQLfmVhtzp4MBjOlIX9T5SZW6; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.41.53.232] (helo=oemcomputer) by elasmtp-masked.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1Mjhlk-00007k-25 for netmod@ietf.org; Fri, 04 Sep 2009 19:00:36 -0400
Message-ID: <002a01ca2db3$852e9960$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netmod@ietf.org>
References: <200909041800.n84I0cFU025898@idle.juniper.net>	<4AA162D6.7050208@netconfcentral.com><20090904.232624.165250112.mbj@tail-f.com>	<4AA18B5A.6030108@netconfcentral.com> <001001ca2dac$d2846fc0$6801a8c0@oemcomputer> <4AA19977.6000905@netconfcentral.com>
Date: Fri, 4 Sep 2009 16:00:37 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f942fe39cdb2663fdf8284c0d70cdf2f37350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.41.53.232
Subject: Re: [netmod] generating a new contract from boilerplate
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 23:00:16 -0000

Hi -

> From: "Andy Bierman" <andy@netconfcentral.com>
> To: "Randy Presuhn" <randy_presuhn@mindspring.com>
> Cc: <netmod@ietf.org>
> Sent: Friday, September 04, 2009 3:49 PM
> Subject: Re: [netmod] generating a new contract from boilerplate
>
> Randy Presuhn wrote:
> > Hi -
> > 
> >> From: "Andy Bierman" <andy@netconfcentral.com>
> >> To: "Martin Bjorklund" <mbj@tail-f.com>
> >> Cc: <netmod@ietf.org>
> >> Sent: Friday, September 04, 2009 2:49 PM
> >> Subject: Re: [netmod] capabilities related edits
> > ...
> >>   - deviations break contract;
> >>     no evidence AGENT-CAPABILITIES used, so not likely
> >>     deviation-stmts will be used either.
> >>
> >>  - incomplete module capabilities allowed, so meta-data
> >>    required by client can be inaccurate (9/3 capabilities related edits)
> >>
> >>  - import-by-revision is optional (9/3 - import-no-revision breaks default)
> >>    which can cause the meaning of a missing leaf to be ambiguous.
> >>
> >>  - verification of all leaf instance values for interoperability
> >>    purposes not the same as meta-data + deviations/
> > ...
> > 
> > I think the real issue underlying all of these is this:
> > 
> > There is a three-way conflict between the need to be able to talk about
> > a management interface conforming to some "standard" model,
> > the need for that management interface to reflect what the
> > underlying gizmo actually does, and the need for "the" model to be
> > something both software and humans can grok.
> > 
> > If we start with the premise that one of the important uses of a model
> > is to serve as an interface contract, and if we acknowledge that "deviations"
> > are a fact of life, then I think we need to be honest about the fact that what a
> > "deviation" really does is to provide the instructions for creating a new contract
> > from one already known.
> > 
> > If deviations are not being documented, we're left with several possibilities:
> >    (1) Status quo: Implementations will need to take interface contracts
> >          with a big grain of salt. This limits interoperability.
> >    (2) There are market disincentives to documenting deviations.
> >    (3) There are technical reasons why deviations are not documented.
> > 
> > I suspect (2) is a factor, but I also think that the desire for flexibility coupled
> > with the awkwardness of the mechanisms for describing deviations lead
> > to (3).
> > 
> 
> Trusting 100% in the documentation is just not reliable.
> There will be deviations from the 'MUST use YANG default'.
> That is obvious.  IMO, it is also obvious that server
> vendors do not want to add 'deviations=x,y,z' ever,
> and engineers writing the server code will not be encouraged
> or even allowed to publish a deviations-stmt for any product.
> 
> The only reason SNMP even works in the real world is that
> the actual variant values are always available to the NMS.
> That way, the operator has the reported value, the documented value,
> and the observed behavior, and can decide which (if any) to trust.
> 
> 
> > This begs the question of whether deviations really should be modelled
> > any differently from any of the other kinds of "refinements" to models that
> > might be needed, and what a refined model needs to do in order to claim
> > conformance to a base model.  
> 
> I strongly object to making deviations part of the standard.
> Vendor X can decide to change a instance-identifier to a boolean,
> or whatever illegal change they want.  Sounds like free-for-all standards.
> 
> 
> IMO, from the client developer POV, lots of different server
> variants with an arbitrary, but large set of optional features,
> is worse than a small set of mandatory features.
...

I think you've missed the thrust of my argument: a deviation (or optional
feature set, for that matter) effectively defines A NEW MODEL.

Randy


From andy@netconfcentral.com  Fri Sep  4 16:34:31 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0B4893A681D for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 16:34:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.508
X-Spam-Level: 
X-Spam-Status: No, score=-2.508 tagged_above=-999 required=5 tests=[AWL=0.091,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6jWDwTo9Exyk for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 16:34:30 -0700 (PDT)
Received: from smtp105.sbc.mail.mud.yahoo.com (smtp105.sbc.mail.mud.yahoo.com [68.142.198.204]) by core3.amsl.com (Postfix) with SMTP id E44533A6927 for <netmod@ietf.org>; Fri,  4 Sep 2009 16:34:29 -0700 (PDT)
Received: (qmail 51375 invoked from network); 4 Sep 2009 23:34:41 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp105.sbc.mail.mud.yahoo.com with SMTP; 4 Sep 2009 23:34:41 -0000
X-YMail-OSG: c6radqQVM1k8Q.vcN9tyM3FzQmDHy7vofLFktqnrJhgGWtN4Bs6vP0tTVVEYmxNUPzVeM4GK1GqcHyjxwsyjC1NZJ8oUtrv8cA75NfVbizX0HW0WW022rwaflW6NEWS5W7MGTC_.iXcAAnJKXhGSKx4N_cYLIUPCIr17ia24L7oIyFxFa4R4OsRnpgFfu.8NLoYED8c3tsTlJvf2Eq8B_P7tcFz3c34KI_BNBntCSBAfwN0LuqV6LR_mRpqDoOWu21E0bnZq6wUO6sDuD4N0zAba2UyQTcgV05XY0hhoUZxY6VpV
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA1A427.2010206@netconfcentral.com>
Date: Fri, 04 Sep 2009 16:35:03 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Randy Presuhn <randy_presuhn@mindspring.com>
References: <200909041800.n84I0cFU025898@idle.juniper.net>	<4AA162D6.7050208@netconfcentral.com><20090904.232624.165250112.mbj@tail-f.com>	<4AA18B5A.6030108@netconfcentral.com>	<001001ca2dac$d2846fc0$6801a8c0@oemcomputer>	<4AA19977.6000905@netconfcentral.com> <002a01ca2db3$852e9960$6801a8c0@oemcomputer>
In-Reply-To: <002a01ca2db3$852e9960$6801a8c0@oemcomputer>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] generating a new contract from boilerplate
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Sep 2009 23:34:31 -0000

Randy Presuhn wrote:
> Hi -
> 
>> From: "Andy Bierman" <andy@netconfcentral.com>
>> To: "Randy Presuhn" <randy_presuhn@mindspring.com>
>> Cc: <netmod@ietf.org>
>> Sent: Friday, September 04, 2009 3:49 PM
>> Subject: Re: [netmod] generating a new contract from boilerplate
>>
>> Randy Presuhn wrote:
>>> Hi -
>>>
>>>> From: "Andy Bierman" <andy@netconfcentral.com>
>>>> To: "Martin Bjorklund" <mbj@tail-f.com>
>>>> Cc: <netmod@ietf.org>
>>>> Sent: Friday, September 04, 2009 2:49 PM
>>>> Subject: Re: [netmod] capabilities related edits
>>> ...
>>>>   - deviations break contract;
>>>>     no evidence AGENT-CAPABILITIES used, so not likely
>>>>     deviation-stmts will be used either.
>>>>
>>>>  - incomplete module capabilities allowed, so meta-data
>>>>    required by client can be inaccurate (9/3 capabilities related edits)
>>>>
>>>>  - import-by-revision is optional (9/3 - import-no-revision breaks default)
>>>>    which can cause the meaning of a missing leaf to be ambiguous.
>>>>
>>>>  - verification of all leaf instance values for interoperability
>>>>    purposes not the same as meta-data + deviations/
>>> ...
>>>
>>> I think the real issue underlying all of these is this:
>>>
>>> There is a three-way conflict between the need to be able to talk about
>>> a management interface conforming to some "standard" model,
>>> the need for that management interface to reflect what the
>>> underlying gizmo actually does, and the need for "the" model to be
>>> something both software and humans can grok.
>>>
>>> If we start with the premise that one of the important uses of a model
>>> is to serve as an interface contract, and if we acknowledge that "deviations"
>>> are a fact of life, then I think we need to be honest about the fact that what a
>>> "deviation" really does is to provide the instructions for creating a new contract
>>> from one already known.
>>>
>>> If deviations are not being documented, we're left with several possibilities:
>>>    (1) Status quo: Implementations will need to take interface contracts
>>>          with a big grain of salt. This limits interoperability.
>>>    (2) There are market disincentives to documenting deviations.
>>>    (3) There are technical reasons why deviations are not documented.
>>>
>>> I suspect (2) is a factor, but I also think that the desire for flexibility coupled
>>> with the awkwardness of the mechanisms for describing deviations lead
>>> to (3).
>>>
>> Trusting 100% in the documentation is just not reliable.
>> There will be deviations from the 'MUST use YANG default'.
>> That is obvious.  IMO, it is also obvious that server
>> vendors do not want to add 'deviations=x,y,z' ever,
>> and engineers writing the server code will not be encouraged
>> or even allowed to publish a deviations-stmt for any product.
>>
>> The only reason SNMP even works in the real world is that
>> the actual variant values are always available to the NMS.
>> That way, the operator has the reported value, the documented value,
>> and the observed behavior, and can decide which (if any) to trust.
>>
>>
>>> This begs the question of whether deviations really should be modelled
>>> any differently from any of the other kinds of "refinements" to models that
>>> might be needed, and what a refined model needs to do in order to claim
>>> conformance to a base model.  
>> I strongly object to making deviations part of the standard.
>> Vendor X can decide to change a instance-identifier to a boolean,
>> or whatever illegal change they want.  Sounds like free-for-all standards.
>>
>>
>> IMO, from the client developer POV, lots of different server
>> variants with an arbitrary, but large set of optional features,
>> is worse than a small set of mandatory features.
> ...
> 
> I think you've missed the thrust of my argument: a deviation (or optional
> feature set, for that matter) effectively defines A NEW MODEL.
> 

I think I got that part.
That's why it sounds like free-for-all standards.

Will actual implementation of the standard data model
count as extra credit?

> Randy

Andy

From randy_presuhn@mindspring.com  Fri Sep  4 18:22:31 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2AD0E3A68B0 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 18:22:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.118
X-Spam-Level: 
X-Spam-Status: No, score=-2.118 tagged_above=-999 required=5 tests=[AWL=0.481,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5SSgg34JrLBl for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 18:22:30 -0700 (PDT)
Received: from elasmtp-scoter.atl.sa.earthlink.net (elasmtp-scoter.atl.sa.earthlink.net [209.86.89.67]) by core3.amsl.com (Postfix) with ESMTP id 4C97F3A6840 for <netmod@ietf.org>; Fri,  4 Sep 2009 18:22:30 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=tlUc1sIdG+zwLBdKI3JhvWCedKFVc6ZF8PYz7XNdyPqW5Oj0ZaPzRdxQqef3BCcg; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.41.53.232] (helo=oemcomputer) by elasmtp-scoter.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1MjjzP-00014X-NU for netmod@ietf.org; Fri, 04 Sep 2009 21:22:52 -0400
Message-ID: <001901ca2dc7$62c993c0$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netmod@ietf.org>
References: <200909041800.n84I0cFU025898@idle.juniper.net>	<4AA162D6.7050208@netconfcentral.com><20090904.232624.165250112.mbj@tail-f.com>	<4AA18B5A.6030108@netconfcentral.com>	<001001ca2dac$d2846fc0$6801a8c0@oemcomputer>	<4AA19977.6000905@netconfcentral.com> <002a01ca2db3$852e9960$6801a8c0@oemcomputer> <4AA1A427.2010206@netconfcentral.com>
Date: Fri, 4 Sep 2009 18:22:49 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f93d9c02c4b8d8fb926d4865b6198d4e20350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.41.53.232
Subject: Re: [netmod] generating a new contract from boilerplate
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Sep 2009 01:22:31 -0000

Hi -

> From: "Andy Bierman" <andy@netconfcentral.com>
> To: "Randy Presuhn" <randy_presuhn@mindspring.com>
> Cc: <netmod@ietf.org>
> Sent: Friday, September 04, 2009 4:35 PM
> Subject: Re: [netmod] generating a new contract from boilerplate
...
> > I think you've missed the thrust of my argument: a deviation (or optional
> > feature set, for that matter) effectively defines A NEW MODEL.
> > 
> 
> I think I got that part.
> That's why it sounds like free-for-all standards.
> 
> Will actual implementation of the standard data model
> count as extra credit?
...

This is why being able to talk about the relationship between two models
is important.  It's fairly rare in my experience that someone implements
"the standard" with neither extensions nor restrictions or some kind.
Being able to look at interface contracts (whether as objects, aspects,
packages, signatures, or something else) in a modular, composable
manner is key to whether a modeling approach will help or hinder automation
if the stuff being managed is either flexible or diverse.

Part of the question is actually getting agreement on what it means
"to implement the standard data model".  I have a clear idea
what than means in GDMO-land or with the SMI.  I admit that it's
not that clear to me what that means with YANG, especially from
the perspective of configuration backup / restore and offline validation.

Randy


From andy@netconfcentral.com  Fri Sep  4 18:38:36 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5A5063A6983 for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 18:38:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.508
X-Spam-Level: 
X-Spam-Status: No, score=-2.508 tagged_above=-999 required=5 tests=[AWL=0.091,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3HxhmhM3W5tO for <netmod@core3.amsl.com>; Fri,  4 Sep 2009 18:38:35 -0700 (PDT)
Received: from n12a.bullet.mail.mud.yahoo.com (n12a.bullet.mail.mud.yahoo.com [209.191.125.177]) by core3.amsl.com (Postfix) with SMTP id 7F72E3A68B0 for <netmod@ietf.org>; Fri,  4 Sep 2009 18:38:35 -0700 (PDT)
Received: from [68.142.200.226] by n12.bullet.mail.mud.yahoo.com with NNFMP; 05 Sep 2009 01:38:55 -0000
Received: from [68.142.201.252] by t7.bullet.mud.yahoo.com with NNFMP; 05 Sep 2009 01:38:55 -0000
Received: from [127.0.0.1] by omp413.mail.mud.yahoo.com with NNFMP; 05 Sep 2009 01:38:55 -0000
X-Yahoo-Newman-Id: 639016.80397.bm@omp413.mail.mud.yahoo.com
Received: (qmail 53215 invoked from network); 5 Sep 2009 01:38:55 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp109.sbc.mail.sp1.yahoo.com with SMTP; 5 Sep 2009 01:38:54 -0000
X-YMail-OSG: qqf.r3MVM1l._ga881MkaritDwHyxGXQhSs0rXkFY1l.Ju7xPHjrjO2h9l6IB6VZZWLVSx2eY6nIoc.tgXsXZb4AZWIEn1eHbUQ4Zny.06sQeeVr1hVkNsOmWXHuyWhD2x9wUXmAqpSeYPDOFn5WvocJ0Mw7fbAxLmSrzxFKKYJBmdQNXGBewavub9OWXxPrNoQOphV0ofQy6OBnLv6g_LlpHVuXmr4CCm7vrejFnD5QJ7w-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA1C0CA.9080402@netconfcentral.com>
Date: Fri, 04 Sep 2009 18:37:14 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Randy Presuhn <randy_presuhn@mindspring.com>
References: <200909041800.n84I0cFU025898@idle.juniper.net>	<4AA162D6.7050208@netconfcentral.com><20090904.232624.165250112.mbj@tail-f.com>	<4AA18B5A.6030108@netconfcentral.com>	<001001ca2dac$d2846fc0$6801a8c0@oemcomputer>	<4AA19977.6000905@netconfcentral.com>	<002a01ca2db3$852e9960$6801a8c0@oemcomputer>	<4AA1A427.2010206@netconfcentral.com> <001901ca2dc7$62c993c0$6801a8c0@oemcomputer>
In-Reply-To: <001901ca2dc7$62c993c0$6801a8c0@oemcomputer>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] generating a new contract from boilerplate
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Sep 2009 01:38:36 -0000

Randy Presuhn wrote:
> Hi -
> 
>> From: "Andy Bierman" <andy@netconfcentral.com>
>> To: "Randy Presuhn" <randy_presuhn@mindspring.com>
>> Cc: <netmod@ietf.org>
>> Sent: Friday, September 04, 2009 4:35 PM
>> Subject: Re: [netmod] generating a new contract from boilerplate
> ...
>>> I think you've missed the thrust of my argument: a deviation (or optional
>>> feature set, for that matter) effectively defines A NEW MODEL.
>>>
>> I think I got that part.
>> That's why it sounds like free-for-all standards.
>>
>> Will actual implementation of the standard data model
>> count as extra credit?
> ...
> 
> This is why being able to talk about the relationship between two models
> is important.  It's fairly rare in my experience that someone implements
> "the standard" with neither extensions nor restrictions or some kind.
> Being able to look at interface contracts (whether as objects, aspects,
> packages, signatures, or something else) in a modular, composable
> manner is key to whether a modeling approach will help or hinder automation
> if the stuff being managed is either flexible or diverse.
> 

Extensions (augment-stmt) are great. I'm a big fan.
Restrictions in which the syntax and semantics
are bounded together in the YANG construct are OK.
Not a fan, but this is part of reality, just like
the inability to trust a YANG default.

Deviations are really arbitrary patches to the syntax,
with no semantics attached at all.
The client code for a specific YANG object
isn't going to work if the server deviates too much.

The YANG spec says a client MUST be able to
use the YANG default as if it were a value,
but only says the server SHOULD or MAY provide
the meta-data needed to do that.  I hope the
IESG does not let that stand.  It is broken.



> Part of the question is actually getting agreement on what it means
> "to implement the standard data model".  I have a clear idea
> what than means in GDMO-land or with the SMI.  I admit that it's
> not that clear to me what that means with YANG, especially from
> the perspective of configuration backup / restore and offline validation.
> 

I don't think there will be any 3rd party apps that
utilize standard YANG modules, that will work on
a server without report-all.


> Randy
> 


Andy


From andy@netconfcentral.com  Sat Sep  5 10:36:58 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2DFAA3A691C for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 10:36:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.342
X-Spam-Level: 
X-Spam-Status: No, score=-2.342 tagged_above=-999 required=5 tests=[AWL=-0.077, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZhBAj-yMV7yM for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 10:36:57 -0700 (PDT)
Received: from smtp127.sbc.mail.sp1.yahoo.com (smtp127.sbc.mail.sp1.yahoo.com [69.147.65.186]) by core3.amsl.com (Postfix) with SMTP id 9149D3A68A6 for <netmod@ietf.org>; Sat,  5 Sep 2009 10:36:57 -0700 (PDT)
Received: (qmail 46222 invoked from network); 5 Sep 2009 17:35:08 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp127.sbc.mail.sp1.yahoo.com with SMTP; 5 Sep 2009 17:35:08 -0000
X-YMail-OSG: W1ztMfoVM1nn1fA4.4TLcqLdXi15y3DxrobpQdAUG4n69hss7Kr55Uj6cghbUPu1VyHWZDZvS9b8K9XghZTNiS9_01XogPi3pv798rkjhKIP5Qmtao3Pye6hGYjh9n90MTD4fhs_bnR6tkVH2EcWhI9RdtE9iyvXeSD.2w2GsvQ3ytLfVzI3Y7sUUfo2PxfyQGyYqwC4nOCyOMM-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA2A163.1070701@netconfcentral.com>
Date: Sat, 05 Sep 2009 10:35:31 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Randy Presuhn <randy_presuhn@mindspring.com>
References: <200909041800.n84I0cFU025898@idle.juniper.net>	<4AA162D6.7050208@netconfcentral.com><20090904.232624.165250112.mbj@tail-f.com>	<4AA18B5A.6030108@netconfcentral.com>	<001001ca2dac$d2846fc0$6801a8c0@oemcomputer>	<4AA19977.6000905@netconfcentral.com> <002a01ca2db3$852e9960$6801a8c0@oemcomputer>
In-Reply-To: <002a01ca2db3$852e9960$6801a8c0@oemcomputer>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] generating a new contract from boilerplate
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Sep 2009 17:36:58 -0000

Randy Presuhn wrote:

> I think you've missed the thrust of my argument: a deviation (or optional
> feature set, for that matter) effectively defines A NEW MODEL.
> 

If we make the deviations part of the standard,
such that clients are expected to be able to use
arbitrarily adjusted contract (as if that is
somehow a standard), then what is the point of
all the normative text in sec. 10?

Sec 10. has the strict riles to follow when updating
a module, unless you want to change anything you want
s by using deviations.

Why not delete sec. 10 if there really are no
update rules at all?  Tell the client developers the truth.
There is no contract implied by a standard YANG data model
at all.  The whole thing could be 'not-supported' or
completely altered so only the object naming remains.


> Randy

Andy

From andy@netconfcentral.com  Sat Sep  5 10:39:02 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 663863A65A6 for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 10:39:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.508
X-Spam-Level: 
X-Spam-Status: No, score=-2.508 tagged_above=-999 required=5 tests=[AWL=0.091,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bWgUHQfULfrN for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 10:39:01 -0700 (PDT)
Received: from n14.bullet.mail.mud.yahoo.com (n14.bullet.mail.mud.yahoo.com [68.142.206.41]) by core3.amsl.com (Postfix) with SMTP id 5FD303A68AB for <netmod@ietf.org>; Sat,  5 Sep 2009 10:39:01 -0700 (PDT)
Received: from [209.191.108.97] by n14.bullet.mail.mud.yahoo.com with NNFMP; 05 Sep 2009 17:30:54 -0000
Received: from [68.142.201.250] by t4.bullet.mud.yahoo.com with NNFMP; 05 Sep 2009 17:30:54 -0000
Received: from [127.0.0.1] by omp411.mail.mud.yahoo.com with NNFMP; 05 Sep 2009 17:30:54 -0000
X-Yahoo-Newman-Id: 664833.80866.bm@omp411.mail.mud.yahoo.com
Received: (qmail 11828 invoked from network); 5 Sep 2009 17:30:54 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp109.sbc.mail.sp1.yahoo.com with SMTP; 5 Sep 2009 17:30:54 -0000
X-YMail-OSG: sCeMW0YVM1mlnzLy1GGwS_.LOuJI8S6vW65ee.uMq5iQ.56lOFPmFQcP6OiIc0OtBz4Rson5s8a_h7oqmExhkGYz3cWjKYwWah_xFtnLhKauT9FSN_lQyQygvLm_QBIhaZStab08JXi.dnGPxrL.W5r6I5nt8Qa4iHgZQljabdDmqfTr5CxkErkLFONNe1kHoNYpzXLpq9bU9_KBn0cN0z_kiuL2rHoyuH91KHRHVPInZGk6qVQ-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA29FEB.4090200@netconfcentral.com>
Date: Sat, 05 Sep 2009 10:29:15 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Per Hedeland <per@tail-f.com>
References: <4AA07D8C.5070607@netconfcentral.com>	<200909040657.n846vxoG021955@idle.juniper.net>	<20090904.095957.142825559.mbj@tail-f.com> <4AA0ECF1.10901@tail-f.com>
In-Reply-To: <4AA0ECF1.10901@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Sep 2009 17:39:02 -0000

Per Hedeland wrote:
> On 2009-09-04 09:59, Martin Bjorklund wrote:
>> Phil Shafer <phil@juniper.net> wrote:
>>> Andy Bierman writes:
>>>> 7.18.3, para 4: (s/SHOULD/MUST)
>>>>
>>>> OLD:
>>>>
>>>>   Device deviations are strongly discouraged and SHOULD only be used as
>>>>   a last resort.  Telling the application how a device fails to follow
>>>>   the standard is no substitute for implementing the standard
>>>>   correctly.
>>>>
>>>> NEW:
>>>>
>>>>   Device deviations are strongly discouraged and MUST only be used as
>>>>   a last resort.  Telling the application how a device fails to follow
>>>>   the standard is no substitute for implementing the standard
>>>>   correctly.
>>> "MUST" implied you are in violation of the YANG spec if you used a
>>> deviation but it wasn't really your last resort.  How is this
>>> helpful?  How will we know that this really wasn't your last resort?
>>> Doesn't using "MUST" imply some sort of real rule that it at
>>> least vaguely enforcible?
>> I agree with Phil's reasoning, and further I think we should do
>> s/SHOULD/should/ - also SHOULD implies a rule that at least can be
>> verified.
> 
> I agree with both of you, but offer s/SHOULD/must/ as a possible
> improvement.
> 

Here's the problem...

7.6.5: para 3:

   A NETCONF server that replies to a <get> or <get-config> request MAY
   choose not to send the leaf element if its value is the default
   value.  Thus, a client that receives an <rpc-reply> for a <get> or
   <get-config> request, MUST be prepared to handle the case that a leaf
   node with a default value is not present in the XML.  In this case,
   the value used by the server is known to be the default value.

7.13.2, para 3:

   If a leaf in the input tree has a default value, the NETCONF server
   MUST internally use this default if the leaf is not present in a
   NETCONF RPC invocation.

7.13.3, para 3:

   If a leaf in the output tree has a default value, the NETCONF client
   MUST internally use this default if the leaf is not present in a
   NETCONF RPC reply.

7.14, para 4:

   If a leaf in the notification tree has a default value, the NETCONF
   client MUST internally use this default if the leaf is not present in
   a NETCONF notification.

None of the MUST requirements are implementable by any client -- ever.
The server has mostly MAY requirements, a few SHOULD requirements,
and (now proposed) a few MUST requirements.

The MAY on the RHS of the equation does not add up to the MUST in the LHS.

I'm not sure what it even means the change all these MUST to MAY
in the above sections.  The protocol MAY work or it MAY NOT work.


> --Per Hedeland

Andy


From j.schoenwaelder@jacobs-university.de  Sat Sep  5 10:46:01 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D3E893A683F for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 10:46:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.415
X-Spam-Level: 
X-Spam-Status: No, score=-1.415 tagged_above=-999 required=5 tests=[AWL=-0.655, BAYES_05=-1.11, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sf09v9wx68Q3 for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 10:46:01 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id C3C343A65A6 for <netmod@ietf.org>; Sat,  5 Sep 2009 10:46:00 -0700 (PDT)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id E108FC002D; Sat,  5 Sep 2009 19:42:58 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id rA8PL3HxgQp8; Sat,  5 Sep 2009 19:42:58 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id BF357C000F; Sat,  5 Sep 2009 19:42:57 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 81DF0C939B9; Sat,  5 Sep 2009 19:42:56 +0200 (CEST)
Date: Sat, 5 Sep 2009 19:42:56 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.com>
Message-ID: <20090905174256.GA17360@elstar.local>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.com>, Randy Presuhn <randy_presuhn@mindspring.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <200909041800.n84I0cFU025898@idle.juniper.net> <4AA162D6.7050208@netconfcentral.com> <20090904.232624.165250112.mbj@tail-f.com> <4AA18B5A.6030108@netconfcentral.com> <001001ca2dac$d2846fc0$6801a8c0@oemcomputer> <4AA19977.6000905@netconfcentral.com> <002a01ca2db3$852e9960$6801a8c0@oemcomputer> <4AA2A163.1070701@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4AA2A163.1070701@netconfcentral.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] generating a new contract from boilerplate
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Sep 2009 17:46:02 -0000

On Sat, Sep 05, 2009 at 07:35:31PM +0200, Andy Bierman wrote:
 
> If we make the deviations part of the standard,
> such that clients are expected to be able to use
> arbitrarily adjusted contract (as if that is
> somehow a standard), then what is the point of
> all the normative text in sec. 10?

STD 58 has AGENT-CAPABILITIES and module update rules and they both
serve different purposes.

/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/>

From andy@netconfcentral.com  Sat Sep  5 11:02:08 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B6A6C3A683F for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 11:02:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.509
X-Spam-Level: 
X-Spam-Status: No, score=-2.509 tagged_above=-999 required=5 tests=[AWL=0.090,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kWyGDSYHsoFP for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 11:02:08 -0700 (PDT)
Received: from smtp105.sbc.mail.mud.yahoo.com (smtp105.sbc.mail.mud.yahoo.com [68.142.198.204]) by core3.amsl.com (Postfix) with SMTP id E0FD83A65A6 for <netmod@ietf.org>; Sat,  5 Sep 2009 11:02:07 -0700 (PDT)
Received: (qmail 94045 invoked from network); 5 Sep 2009 18:01:11 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp105.sbc.mail.mud.yahoo.com with SMTP; 5 Sep 2009 18:01:11 -0000
X-YMail-OSG: 4LRzw4QVM1mIlYdtV4hv3lbDA4ltQMJy5r746ew6Fe0..JAqYnjZTeGRmZ3xkaBFnKC7thvd2lKIKFSqhnFjXmPldmfYymkgL9ZxuyWMnMGlonRik.9IChmbrhm8I8JNRmB1XHCcdPS_4nBruziJJEv1lam6ib9yDLG9Gz6zed3ZWKAAtnSuDheIfkuSPhI2vl1xfLblHVp0.HU6BnRTz.sW.Q--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA2A77E.6020805@netconfcentral.com>
Date: Sat, 05 Sep 2009 11:01:34 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>,  Randy Presuhn <randy_presuhn@mindspring.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <200909041800.n84I0cFU025898@idle.juniper.net> <4AA162D6.7050208@netconfcentral.com> <20090904.232624.165250112.mbj@tail-f.com> <4AA18B5A.6030108@netconfcentral.com> <001001ca2dac$d2846fc0$6801a8c0@oemcomputer> <4AA19977.6000905@netconfcentral.com> <002a01ca2db3$852e9960$6801a8c0@oemcomputer> <4AA2A163.1070701@netconfcentral.com> <20090905174256.GA17360@elstar.local>
In-Reply-To: <20090905174256.GA17360@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] generating a new contract from boilerplate
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Sep 2009 18:02:08 -0000

Juergen Schoenwaelder wrote:
> On Sat, Sep 05, 2009 at 07:35:31PM +0200, Andy Bierman wrote:
>  
>> If we make the deviations part of the standard,
>> such that clients are expected to be able to use
>> arbitrarily adjusted contract (as if that is
>> somehow a standard), then what is the point of
>> all the normative text in sec. 10?
> 
> STD 58 has AGENT-CAPABILITIES and module update rules and they both
> serve different purposes.
> 

OK, but AGENT-CAPABILITIES are not part of the SNMP protocol.
There is no mechanism at all in SNMP that requires the manager
to synthesize data from the agent, based on AGENT-CAPABILITIES.

I am still strongly opposed to making deviations a mandatory
part of the contract.  It has no standards-value.  Vendors need
to use augment to provide different knobs than the
ones defined in a standard.

Application developers have it better with SNMP, where at least
the alterations are tightly controlled.  Anything else requires
a new OBJECT-TYPE or AUGMENT macro.

The NETCONF server MUST NOT be able to replace standard default-stmt
values with its own, and somehow the client is non-compliant if it does
not work properly with defaults altered from the standard.

I don't care what vendors do with their own YANG modules,
but the constants in the standard YANG modules MUST be binding,
such that a client can hardwire their value into code
and remain complaint with the standard YANG module.


> /js
> 

Andy

From jmh@joelhalpern.com  Sat Sep  5 11:14:55 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D5A893A6821 for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 11:14:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.895
X-Spam-Level: 
X-Spam-Status: No, score=-2.895 tagged_above=-999 required=5 tests=[AWL=-0.296, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q57YmC2yAoEJ for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 11:14:54 -0700 (PDT)
Received: from hgblob.mail.tigertech.net (hgblob.mail.tigertech.net [64.62.209.71]) by core3.amsl.com (Postfix) with ESMTP id B5BD73A65A6 for <netmod@ietf.org>; Sat,  5 Sep 2009 11:14:54 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hgblob.tigertech.net (Postfix) with ESMTP id 401063230F7C; Sat,  5 Sep 2009 11:12:35 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hgblob.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-226.clppva.btas.verizon.net [71.161.51.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hgblob.tigertech.net (Postfix) with ESMTP id 5C7C53230F7A; Sat,  5 Sep 2009 11:12:34 -0700 (PDT)
Message-ID: <4AA2AA10.9090901@joelhalpern.com>
Date: Sat, 05 Sep 2009 14:12:32 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>
References: <4AA07D8C.5070607@netconfcentral.com>	<200909040657.n846vxoG021955@idle.juniper.net>	<20090904.095957.142825559.mbj@tail-f.com>	<4AA0ECF1.10901@tail-f.com> <4AA29FEB.4090200@netconfcentral.com>
In-Reply-To: <4AA29FEB.4090200@netconfcentral.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Sep 2009 18:14:56 -0000

It seems to me that a deviation statement is a statement that the 
managed device does not comply with the model.

Obviously, if a device does not comply with the model, a client, while 
it is likely to try its best, can not reliably manage such a device. 
THe deviation statements do not change this.  What they do is increase 
the odds that the management operation will come sufficiently close. 
And they give a clean way for the vendor to tell the humans what to 
expect to go wrong.

The only reason for asking whether they will be used is to try to 
determine if it is worth defining the setup.  If it won't be used, then 
we have wasted our time.

Given that the deviations statement is a statement of non-compliance in 
and of itself, saying it MUST be used only as a last resort does not 
actually change anything.  The point of the statement (existing or new) 
is the "no substitute for implementing the standard correctly" text.

While we do look for bugs, and try to warn folks about particular 
problems with particular ways of failing to meet our standards, it does 
not really make sense to me to say "if you are going to violate the 
standard you MUST only do so as a last resort" inside an IETF RFC.

Yours,
Joel

Andy Bierman wrote:
> Per Hedeland wrote:
>> On 2009-09-04 09:59, Martin Bjorklund wrote:
>>> Phil Shafer <phil@juniper.net> wrote:
>>>> Andy Bierman writes:
>>>>> 7.18.3, para 4: (s/SHOULD/MUST)
>>>>>
>>>>> OLD:
>>>>>
>>>>>   Device deviations are strongly discouraged and SHOULD only be used as
>>>>>   a last resort.  Telling the application how a device fails to follow
>>>>>   the standard is no substitute for implementing the standard
>>>>>   correctly.
>>>>>
>>>>> NEW:
>>>>>
>>>>>   Device deviations are strongly discouraged and MUST only be used as
>>>>>   a last resort.  Telling the application how a device fails to follow
>>>>>   the standard is no substitute for implementing the standard
>>>>>   correctly.
>>>> "MUST" implied you are in violation of the YANG spec if you used a
>>>> deviation but it wasn't really your last resort.  How is this
>>>> helpful?  How will we know that this really wasn't your last resort?
>>>> Doesn't using "MUST" imply some sort of real rule that it at
>>>> least vaguely enforcible?
>>> I agree with Phil's reasoning, and further I think we should do
>>> s/SHOULD/should/ - also SHOULD implies a rule that at least can be
>>> verified.
>> I agree with both of you, but offer s/SHOULD/must/ as a possible
>> improvement.
>>
> 
> Here's the problem...
> 
> 7.6.5: para 3:
> 
>    A NETCONF server that replies to a <get> or <get-config> request MAY
>    choose not to send the leaf element if its value is the default
>    value.  Thus, a client that receives an <rpc-reply> for a <get> or
>    <get-config> request, MUST be prepared to handle the case that a leaf
>    node with a default value is not present in the XML.  In this case,
>    the value used by the server is known to be the default value.
> 
> 7.13.2, para 3:
> 
>    If a leaf in the input tree has a default value, the NETCONF server
>    MUST internally use this default if the leaf is not present in a
>    NETCONF RPC invocation.
> 
> 7.13.3, para 3:
> 
>    If a leaf in the output tree has a default value, the NETCONF client
>    MUST internally use this default if the leaf is not present in a
>    NETCONF RPC reply.
> 
> 7.14, para 4:
> 
>    If a leaf in the notification tree has a default value, the NETCONF
>    client MUST internally use this default if the leaf is not present in
>    a NETCONF notification.
> 
> None of the MUST requirements are implementable by any client -- ever.
> The server has mostly MAY requirements, a few SHOULD requirements,
> and (now proposed) a few MUST requirements.
> 
> The MAY on the RHS of the equation does not add up to the MUST in the LHS.
> 
> I'm not sure what it even means the change all these MUST to MAY
> in the above sections.  The protocol MAY work or it MAY NOT work.
> 
> 
>> --Per Hedeland
> 
> Andy
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 

From andy@netconfcentral.com  Sat Sep  5 11:43:36 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7C7123A68F8 for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 11:43:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.509
X-Spam-Level: 
X-Spam-Status: No, score=-2.509 tagged_above=-999 required=5 tests=[AWL=0.090,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bC6eWQAftk39 for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 11:43:35 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id 3CD693A691E for <netmod@ietf.org>; Sat,  5 Sep 2009 11:43:35 -0700 (PDT)
Received: (qmail 51598 invoked from network); 5 Sep 2009 18:43:21 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 5 Sep 2009 18:43:21 -0000
X-YMail-OSG: yhpNcmIVM1mZpMZqYaO6gbhoz90wFsUW4oQ..SR5Ns.aIcytb3Qau3gEMk96osE6iJR0NuXK03YmQ06Rc3qMvJ.1CPi20OipY9Px7lmWqbEicV0aTlPzIX.0P4ryhkt9cbn1LXz2F226P48RVVy86RKxQBpJ_KjfORscXG3CBDogAzJvFFfLTpzWVkeVX4iIgJGR.w__AE87Q4lp80C_f3FEp.nHUzFpqEWzxfepApobaZOF3yOcH3YQdF8bpiEak5yl9mHOsrfnfXy9HczTdWBO32MmQdKhXd4KgRrKTYv4MhO2
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA2B160.5090707@netconfcentral.com>
Date: Sat, 05 Sep 2009 11:43:44 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "Joel M. Halpern" <jmh@joelhalpern.com>
References: <4AA07D8C.5070607@netconfcentral.com>	<200909040657.n846vxoG021955@idle.juniper.net>	<20090904.095957.142825559.mbj@tail-f.com>	<4AA0ECF1.10901@tail-f.com> <4AA29FEB.4090200@netconfcentral.com> <4AA2AA10.9090901@joelhalpern.com>
In-Reply-To: <4AA2AA10.9090901@joelhalpern.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Sep 2009 18:43:36 -0000

Joel M. Halpern wrote:
> It seems to me that a deviation statement is a statement that the
> managed device does not comply with the model.
> 

I would like to know how the IETF standards process
works wrt/ YANG modules.  I suspect other WGs who may
want to use YANG, and the IESG, who has to approve YANG,
are curious about the same thing.  That is, after all,
the official reason this work is being done.

If the standard YANG module defines a default, and the server
does not use that default, then the server is non-compliant
if the client does not work with that server.

The WG is proposing the opposite, by including the deviation
provided or altered default in the client MUST requirement,
which cannot be implemented anyway, according to the current spec.


> Obviously, if a device does not comply with the model, a client, while
> it is likely to try its best, can not reliably manage such a device. THe
> deviation statements do not change this.  What they do is increase the
> odds that the management operation will come sufficiently close. And
> they give a clean way for the vendor to tell the humans what to expect
> to go wrong.
> 
> The only reason for asking whether they will be used is to try to
> determine if it is worth defining the setup.  If it won't be used, then
> we have wasted our time.
> 
> Given that the deviations statement is a statement of non-compliance 


This is not what the WG is doing.
The proposal is that the draft says any deviation
(including a default) is proposed to be
a new part of the client conformance requirements in all those
sections I cited below.



in
> and of itself, saying it MUST be used only as a last resort does not
> actually change anything.  The point of the statement (existing or new)
> is the "no substitute for implementing the standard correctly" text.
> 
> While we do look for bugs, and try to warn folks about particular
> problems with particular ways of failing to meet our standards, it does
> not really make sense to me to say "if you are going to violate the
> standard you MUST only do so as a last resort" inside an IETF RFC.
> 
> Yours,
> Joel
> 

Andy

> Andy Bierman wrote:
>> Per Hedeland wrote:
>>> On 2009-09-04 09:59, Martin Bjorklund wrote:
>>>> Phil Shafer <phil@juniper.net> wrote:
>>>>> Andy Bierman writes:
>>>>>> 7.18.3, para 4: (s/SHOULD/MUST)
>>>>>>
>>>>>> OLD:
>>>>>>
>>>>>>   Device deviations are strongly discouraged and SHOULD only be
>>>>>> used as
>>>>>>   a last resort.  Telling the application how a device fails to
>>>>>> follow
>>>>>>   the standard is no substitute for implementing the standard
>>>>>>   correctly.
>>>>>>
>>>>>> NEW:
>>>>>>
>>>>>>   Device deviations are strongly discouraged and MUST only be used as
>>>>>>   a last resort.  Telling the application how a device fails to
>>>>>> follow
>>>>>>   the standard is no substitute for implementing the standard
>>>>>>   correctly.
>>>>> "MUST" implied you are in violation of the YANG spec if you used a
>>>>> deviation but it wasn't really your last resort.  How is this
>>>>> helpful?  How will we know that this really wasn't your last resort?
>>>>> Doesn't using "MUST" imply some sort of real rule that it at
>>>>> least vaguely enforcible?
>>>> I agree with Phil's reasoning, and further I think we should do
>>>> s/SHOULD/should/ - also SHOULD implies a rule that at least can be
>>>> verified.
>>> I agree with both of you, but offer s/SHOULD/must/ as a possible
>>> improvement.
>>>
>>
>> Here's the problem...
>>
>> 7.6.5: para 3:
>>
>>    A NETCONF server that replies to a <get> or <get-config> request MAY
>>    choose not to send the leaf element if its value is the default
>>    value.  Thus, a client that receives an <rpc-reply> for a <get> or
>>    <get-config> request, MUST be prepared to handle the case that a leaf
>>    node with a default value is not present in the XML.  In this case,
>>    the value used by the server is known to be the default value.
>>
>> 7.13.2, para 3:
>>
>>    If a leaf in the input tree has a default value, the NETCONF server
>>    MUST internally use this default if the leaf is not present in a
>>    NETCONF RPC invocation.
>>
>> 7.13.3, para 3:
>>
>>    If a leaf in the output tree has a default value, the NETCONF client
>>    MUST internally use this default if the leaf is not present in a
>>    NETCONF RPC reply.
>>
>> 7.14, para 4:
>>
>>    If a leaf in the notification tree has a default value, the NETCONF
>>    client MUST internally use this default if the leaf is not present in
>>    a NETCONF notification.
>>
>> None of the MUST requirements are implementable by any client -- ever.
>> The server has mostly MAY requirements, a few SHOULD requirements,
>> and (now proposed) a few MUST requirements.
>>
>> The MAY on the RHS of the equation does not add up to the MUST in the
>> LHS.
>>
>> I'm not sure what it even means the change all these MUST to MAY
>> in the above sections.  The protocol MAY work or it MAY NOT work.
>>
>>
>>> --Per Hedeland
>>
>> Andy
>>
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
>>
> 


From andy@netconfcentral.com  Sat Sep  5 12:19:08 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 711A93A683A for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 12:19:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.51
X-Spam-Level: 
X-Spam-Status: No, score=-2.51 tagged_above=-999 required=5 tests=[AWL=0.089,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h-l4ndsXaHpD for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 12:19:07 -0700 (PDT)
Received: from n11a.bullet.mail.mud.yahoo.com (n11a.bullet.mail.mud.yahoo.com [209.191.125.176]) by core3.amsl.com (Postfix) with SMTP id 9C5813A680F for <netmod@ietf.org>; Sat,  5 Sep 2009 12:19:07 -0700 (PDT)
Received: from [68.142.200.226] by n11.bullet.mail.mud.yahoo.com with NNFMP; 05 Sep 2009 19:17:19 -0000
Received: from [68.142.201.248] by t7.bullet.mud.yahoo.com with NNFMP; 05 Sep 2009 19:17:19 -0000
Received: from [127.0.0.1] by omp409.mail.mud.yahoo.com with NNFMP; 05 Sep 2009 19:17:19 -0000
X-Yahoo-Newman-Id: 237792.51194.bm@omp409.mail.mud.yahoo.com
Received: (qmail 45053 invoked from network); 5 Sep 2009 19:17:18 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp108.sbc.mail.sp1.yahoo.com with SMTP; 5 Sep 2009 19:17:18 -0000
X-YMail-OSG: TN4tLiAVM1np5NpH2h6Psgy4VwSYLcTZtVJeRwcDZaKAjTfLFQtUAs2eEnf2.qo4QYEBF2f9uRAhYXBk3jqUjG8m6i57tBh9p_tmcOqtIvU2bISgOBornPVkA14UGayVynlZ2jv4x5a8up8T.1TOooSuHq.C5nUYRPlORRpSAZ.ouB9bhQjUOk.LwEjv2MjzbevwFBmQyFT6.zh1zCAXay7NJqF4C9wgMJcohXN1d2XHwoNtst4-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA2B955.3000708@netconfcentral.com>
Date: Sat, 05 Sep 2009 12:17:41 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Per Hedeland <per@tail-f.com>
References: <4AA07D8C.5070607@netconfcentral.com>	<200909040657.n846vxoG021955@idle.juniper.net>	<20090904.095957.142825559.mbj@tail-f.com> <4AA0ECF1.10901@tail-f.com>
In-Reply-To: <4AA0ECF1.10901@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Sep 2009 19:19:08 -0000

Per Hedeland wrote:
> On 2009-09-04 09:59, Martin Bjorklund wrote:
>> Phil Shafer <phil@juniper.net> wrote:
>>> Andy Bierman writes:
>>>> 7.18.3, para 4: (s/SHOULD/MUST)
>>>>
>>>> OLD:
>>>>
>>>>   Device deviations are strongly discouraged and SHOULD only be used as
>>>>   a last resort.  Telling the application how a device fails to follow
>>>>   the standard is no substitute for implementing the standard
>>>>   correctly.
>>>>
>>>> NEW:
>>>>
>>>>   Device deviations are strongly discouraged and MUST only be used as
>>>>   a last resort.  Telling the application how a device fails to follow
>>>>   the standard is no substitute for implementing the standard
>>>>   correctly.
>>> "MUST" implied you are in violation of the YANG spec if you used a
>>> deviation but it wasn't really your last resort.  How is this
>>> helpful?  How will we know that this really wasn't your last resort?
>>> Doesn't using "MUST" imply some sort of real rule that it at
>>> least vaguely enforcible?
>> I agree with Phil's reasoning, and further I think we should do
>> s/SHOULD/should/ - also SHOULD implies a rule that at least can be
>> verified.
> 
> I agree with both of you, but offer s/SHOULD/must/ as a possible
> improvement.
> 

I think if all the various independent variables I cited
were either MUST or SHOULD, and the client default requirement
was SHOULD instead of MUST, then that would solve everything.

>From a standards perspective anyway.
Operationally, it is still a standards-track trainwreck,
but that is just my opinion.

However, a server that alters a standard YANG object
in any way is by definition non-compliant.
So the YANG spec needs to be clear that a client MAY
work with server-deviated-defaults, but not SHOULD.


> --Per Hedeland

Andy


From randy_presuhn@mindspring.com  Sat Sep  5 13:32:14 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DADE03A689A for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 13:32:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.185
X-Spam-Level: 
X-Spam-Status: No, score=-0.185 tagged_above=-999 required=5 tests=[BAYES_40=-0.185]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UmZT1ytoataM for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 13:32:14 -0700 (PDT)
Received: from elasmtp-curtail.atl.sa.earthlink.net (elasmtp-curtail.atl.sa.earthlink.net [209.86.89.64]) by core3.amsl.com (Postfix) with ESMTP id EC5B73A683F for <netmod@ietf.org>; Sat,  5 Sep 2009 13:32:13 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=NCTfHusNeK7Ytj9ldw9tFJN1w3fOJqJZt6ZzpLoVlmlgFIRbmAwFSzT9YekexvU/; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.55.173.78] (helo=oemcomputer) by elasmtp-curtail.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1MjzTi-0007oK-R7 for netmod@ietf.org; Sat, 05 Sep 2009 13:55:11 -0400
Message-ID: <003b01ca2e52$03b0e100$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netmod@ietf.org>
References: <200909041800.n84I0cFU025898@idle.juniper.net>	<4AA162D6.7050208@netconfcentral.com><20090904.232624.165250112.mbj@tail-f.com>	<4AA18B5A.6030108@netconfcentral.com>	<001001ca2dac$d2846fc0$6801a8c0@oemcomputer>	<4AA19977.6000905@netconfcentral.com> <002a01ca2db3$852e9960$6801a8c0@oemcomputer> <4AA2A163.1070701@netconfcentral.com>
Date: Sat, 5 Sep 2009 10:55:10 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f9f86ae71c16cabffb96dd54a435f605a0350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.55.173.78
Subject: Re: [netmod] generating a new contract from boilerplate
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Sep 2009 20:32:14 -0000

Hi -

> From: "Andy Bierman" <andy@netconfcentral.com>
> To: "Randy Presuhn" <randy_presuhn@mindspring.com>
> Cc: <netmod@ietf.org>
> Sent: Saturday, September 05, 2009 10:35 AM
> Subject: Re: [netmod] generating a new contract from boilerplate
>
> Randy Presuhn wrote:
> 
> > I think you've missed the thrust of my argument: a deviation (or optional
> > feature set, for that matter) effectively defines A NEW MODEL.
> > 
> 
> If we make the deviations part of the standard,
> such that clients are expected to be able to use
> arbitrarily adjusted contract (as if that is
> somehow a standard), then what is the point of
> all the normative text in sec. 10?
> 
> Sec 10. has the strict riles to follow when updating
> a module, unless you want to change anything you want
> s by using deviations.
> 
> Why not delete sec. 10 if there really are no
> update rules at all?  Tell the client developers the truth.
> There is no contract implied by a standard YANG data model
> at all.  The whole thing could be 'not-supported' or
> completely altered so only the object naming remains.

I'm not sure where you get the idea that I'm arguing to make deviations
"part of the standard."  Since by definition a deviation breaks the contract,
I'm arguing quite the other direction:

Model + Deviation = Some_other_model
Model + Deviation != Model

Now, the point that might be causing difficulty is that people like to be
able to define a new model in terms of some existing model.  To say,
for example, "A is just like B except for C, D, and E."  The question
is the circumstances under which, both from the perspective of protocol
and of conformance, an A really *is* a B.  If we were talking objects here,
we could talk about inheritance or allomorphs.  What would this be
in YANG-speak?

Randy


From randy_presuhn@mindspring.com  Sat Sep  5 13:34:17 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 840B13A6859 for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 13:34:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.392
X-Spam-Level: 
X-Spam-Status: No, score=-1.392 tagged_above=-999 required=5 tests=[AWL=1.207,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FBbjoZpmFdmo for <netmod@core3.amsl.com>; Sat,  5 Sep 2009 13:34:16 -0700 (PDT)
Received: from elasmtp-spurfowl.atl.sa.earthlink.net (elasmtp-spurfowl.atl.sa.earthlink.net [209.86.89.66]) by core3.amsl.com (Postfix) with ESMTP id BBEFF3A683F for <netmod@ietf.org>; Sat,  5 Sep 2009 13:34:16 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=cES0wYeOtlX0tEoDBNKfPT2128Fufqr5n1ErmKu28P0l8PHpu8pZvhWP7YCtusrU; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.55.173.78] (helo=oemcomputer) by elasmtp-spurfowl.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1MjziK-0004UC-Gq for netmod@ietf.org; Sat, 05 Sep 2009 14:10:16 -0400
Message-ID: <004201ca2e54$1f8ac880$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netmod@ietf.org>
References: <200909041800.n84I0cFU025898@idle.juniper.net> <4AA162D6.7050208@netconfcentral.com> <20090904.232624.165250112.mbj@tail-f.com> <4AA18B5A.6030108@netconfcentral.com> <001001ca2dac$d2846fc0$6801a8c0@oemcomputer> <4AA19977.6000905@netconfcentral.com> <002a01ca2db3$852e9960$6801a8c0@oemcomputer> <4AA2A163.1070701@netconfcentral.com> <20090905174256.GA17360@elstar.local>
Date: Sat, 5 Sep 2009 11:10:16 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f98fc70945e2141b97e4c5e32800bb8fc9350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.55.173.78
Subject: Re: [netmod] generating a new contract from boilerplate
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Sep 2009 20:34:17 -0000

Hi -

> From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
> To: "Andy Bierman" <andy@netconfcentral.com>
> Cc: "Randy Presuhn" <randy_presuhn@mindspring.com>; <netmod@ietf.org>
> Sent: Saturday, September 05, 2009 10:42 AM
> Subject: Re: [netmod] generating a new contract from boilerplate
...
> STD 58 has AGENT-CAPABILITIES and module update rules and they both
> serve different purposes.
...

They serve different purposes, but to the same goal:  nailing down the
extent of variation permissible in implementations of "the same thing".

The STD 58 module update rules are further constrained by the lack
of an import-by-revision facility.

AGENT-CAPABILITIES, on the other hand, while it may have been
a nice idea, doesn't seem to have played out so well.  First, the
information was rarely available.  Secondly, and more importantly,
it didn't communicate the information about agent peculiarities that
management applications *really* needed to cope with various
implementations, such as: get-next order errors, index encoding quirks,
multi-varbind limits when using RowStatus, etc.

Randy


From dromasca@avaya.com  Sun Sep  6 03:08:40 2009
Return-Path: <dromasca@avaya.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 66E353A6989 for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 03:08:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.441
X-Spam-Level: 
X-Spam-Status: No, score=-2.441 tagged_above=-999 required=5 tests=[AWL=0.158,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QoaBQQ8LAuP3 for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 03:08:39 -0700 (PDT)
Received: from co300216-co-outbound.net.avaya.com (co300216-co-outbound.net.avaya.com [198.152.13.100]) by core3.amsl.com (Postfix) with ESMTP id 837883A6954 for <netmod@ietf.org>; Sun,  6 Sep 2009 03:08:39 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.44,341,1249272000"; d="scan'208";a="182409394"
Received: from unknown (HELO nj300815-nj-erheast.avaya.com) ([198.152.6.5]) by co300216-co-outbound.net.avaya.com with ESMTP; 06 Sep 2009 06:09:03 -0400
Received: from unknown (HELO 307622ANEX5.global.avaya.com) ([135.64.140.16]) by nj300815-nj-erheast-out.avaya.com with ESMTP; 06 Sep 2009 06:09:03 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Sun, 6 Sep 2009 12:08:42 +0200
Message-ID: <EDC652A26FB23C4EB6384A4584434A04019CBA55@307622ANEX5.global.avaya.com>
In-Reply-To: <20090903190653.GB13581@elstar.local>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [netmod] Configuration Data versus Operational State Data versusStatistics
thread-index: AcosybQsZs1CwyK4S0CR2UgKsMebgQCD5IcQ
References: <20090901193508.GA9782@elstar.local> <EDC652A26FB23C4EB6384A4584434A04019CB482@307622ANEX5.global.avaya.com> <20090902115322.GD10753@elstar.local> <EDC652A26FB23C4EB6384A4584434A04019CB66E@307622ANEX5.global.avaya.com> <20090903190653.GB13581@elstar.local>
From: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
To: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
Cc: netmod@ietf.org
Subject: Re: [netmod] Configuration Data versus Operational State Data versusStatistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Sep 2009 10:08:40 -0000

=20

> -----Original Message-----
> From: Juergen Schoenwaelder=20
> [mailto:j.schoenwaelder@jacobs-university.de]=20
> Sent: Thursday, September 03, 2009 10:07 PM
> To: Romascanu, Dan (Dan)
> Cc: netmod@ietf.org
> Subject: Re: [netmod] Configuration Data versus Operational=20
> State Data versusStatistics
>=20
> On Wed, Sep 02, 2009 at 06:18:59PM +0200, Romascanu, Dan (Dan) wrote:
> > I do not disagree with any of those. I am just making the=20
> observation=20
> > that the set of categories that you started to define=20
> exceed the scope=20
> > of NETCONF. After all we do not want to have configuration data,=20
> > operational state, and statistics redefined again and again=20
> for each=20
> > protocol.
>=20
> RFC 3535 explains that SNMP failed to make the necessary distinction.
> We are trying to learn from this mistake and make a proper=20
> distinction between configuration and operational state data=20
> now. I am concerned if we are being told that we should not=20
> make this step because going forward might overlap with some=20
> other protocols (that failed to make this distinction).

This is not what you are told, by me at least. I support this work. What
I am saying (as a contributor) is that I think that we need to write a
set of definitions for configuration data, operational state and
statistic that are not YANG specific, so that we can reuse them for
other protocols.=20

>=20
> > While mandating which protocol is used for certain data=20
> seems to be a=20
> > futile exercise, proving some guidance about what tools are fit for=20
> > specific operations can be expected to happen at some=20
> stage. After all=20
> > we are not designing all protocols (NETCONF included) as=20
> good and fit=20
> > for all kinds of management operations.
>=20
> I am all in favour of documenting properties of protocols so=20
> that people can easily make informed implementation /=20
> deployment decision.
> And it is also good to declare dead protocols dead (this=20
> reminds me of COPS-PR and SPPI).
>=20

We had this discussion in the OPSAWG meeting. We are looking for 'Moving
COPS-PR to Historical' contributions.

Regards,

Dan

> /js

From mbj@tail-f.com  Sun Sep  6 14:12:10 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C787D3A692F for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 14:12:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.012
X-Spam-Level: 
X-Spam-Status: No, score=-2.012 tagged_above=-999 required=5 tests=[AWL=0.034,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P0LgYsZE1HQc for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 14:12:09 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id C28523A687D for <netmod@ietf.org>; Sun,  6 Sep 2009 14:12:09 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 4AA2076C5A9; Sun,  6 Sep 2009 23:12:34 +0200 (CEST)
Date: Sun, 06 Sep 2009 23:12:33 +0200 (CEST)
Message-Id: <20090906.231233.158440726.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AA1959A.5040306@netconfcentral.com>
References: <4AA18EA6.9070400@netconfcentral.com> <20090905.001245.24885936.mbj@tail-f.com> <4AA1959A.5040306@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] import-by-revision not used
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Sep 2009 21:12:10 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Martin Bjorklund wrote:
> > Andy Bierman <andy@netconfcentral.com> wrote:
> >> Martin Bjorklund wrote:
> >>> Andy Bierman <andy@netconfcentral.com> wrote:
> >>>> Hi,
> >>>>
> >>>> If import-by-revision is so easy to use, how come
> >>>> not 1 single YANG module in a Internet Draft is using it?
> >>>> Is the plan to start using it in the future, or just
> >>>> set it in RFC versions?
> >>> Maybe because the YANG drafts we currently have only import one of the
> >>> type modules?
> >>>
> >> But the author of module 'X' does not have change control
> >> over module 'Y' in another RFC/I-D, right?
> >> So an 'import Y' can break at any time in the future.
> > 
> > How do you mean break?  The ipfix module uses yang:object-identifier,
> > yang:counter64 and some more types. 
> > 
> > 
> 
> 
> In general, the importing module does not know for sure
> that a the imported module will change in the future
> in a way that alters the previous definitions in use.
> Not even the yang-ietf-types module is immune to changes
> and bug-fixes.
> 
> I think that's why import-by-revision was added.

Yes, but in some cases maybe you don't care.  If a bug is fixed in
ietf-yang-types, do we really want to re-publish all importers?  As an
importer, you know what kind of changes you can expect in new
revisions, and you will have to decide if you need to import by
revision or not.


/martin

From jmh@joelhalpern.com  Sun Sep  6 16:30:14 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1EC173A6778 for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 16:30:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ijo4rXidk3He for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 16:30:13 -0700 (PDT)
Received: from hgblob.mail.tigertech.net (hgblob.mail.tigertech.net [64.62.209.71]) by core3.amsl.com (Postfix) with ESMTP id 34B463A67ED for <netmod@ietf.org>; Sun,  6 Sep 2009 16:30:13 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hgblob.tigertech.net (Postfix) with ESMTP id AFFE73230F7C; Sun,  6 Sep 2009 16:30:39 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hgblob.tigertech.net
Received: from [10.10.0.146] (unknown [173.12.57.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hgblob.tigertech.net (Postfix) with ESMTP id 006413230F7A; Sun,  6 Sep 2009 16:30:38 -0700 (PDT)
Message-ID: <4AA4461D.1050600@joelhalpern.com>
Date: Sun, 06 Sep 2009 19:30:37 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AA18EA6.9070400@netconfcentral.com>	<20090905.001245.24885936.mbj@tail-f.com>	<4AA1959A.5040306@netconfcentral.com> <20090906.231233.158440726.mbj@tail-f.com>
In-Reply-To: <20090906.231233.158440726.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] import-by-revision not used
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Sep 2009 23:30:14 -0000

The problem I have with the description below is that it is not possible 
for the person writing the import statement to know if he will care 
about changes that may  or may not be made to a document he is importing.

For various (mostly good) reasons, we do not have substitutability 
requirements on revisions.  This means that some revisions "fix bugs" or 
otherwise make changes that will not break a user of the module.
Other revisions can change very basic assumptions, and break uses of the 
module.

When writing an import statement, there is no way to know what will 
happen in the future.  It seems to follow that one of two things has to 
be the case for an import statement to be writeable.
Either the import is by revision, with th restriction that if you want 
to work with a newer revision, you have to say so.  (Which leads to 
wanting to specify a range of revisions.)
Or there needs to be a way to indicate that for some modules only 
compatible revisions will ever be made, so that an import without a 
revision can be done reliably.  Unfortunately, there is currently no way 
to say that.

The current situation is a recipe for trouble.  A module A without 
revision can only be imported without revision.  But if module B imports 
that, there is no way to have any check as to whether the module A it 
gets actually meets the properties it expects.  I don't see how we can 
claim this gives interoperability.
As currently defined, an RFC using an import without revision is 
completely unreliable.  Hence, at least for RFCs, it seems that we need 
to mandate (not recommend in the guidelines document, mandate) revisions 
and importing by revisions.  (And having done that, I don't see why we 
would permit anyone else an escape.)

Yours,
Joel

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Martin Bjorklund wrote:
>>> Andy Bierman <andy@netconfcentral.com> wrote:
>>>> Martin Bjorklund wrote:
>>>>> Andy Bierman <andy@netconfcentral.com> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> If import-by-revision is so easy to use, how come
>>>>>> not 1 single YANG module in a Internet Draft is using it?
>>>>>> Is the plan to start using it in the future, or just
>>>>>> set it in RFC versions?
>>>>> Maybe because the YANG drafts we currently have only import one of the
>>>>> type modules?
>>>>>
>>>> But the author of module 'X' does not have change control
>>>> over module 'Y' in another RFC/I-D, right?
>>>> So an 'import Y' can break at any time in the future.
>>> How do you mean break?  The ipfix module uses yang:object-identifier,
>>> yang:counter64 and some more types. 
>>>
>>>
>>
>> In general, the importing module does not know for sure
>> that a the imported module will change in the future
>> in a way that alters the previous definitions in use.
>> Not even the yang-ietf-types module is immune to changes
>> and bug-fixes.
>>
>> I think that's why import-by-revision was added.
> 
> Yes, but in some cases maybe you don't care.  If a bug is fixed in
> ietf-yang-types, do we really want to re-publish all importers?  As an
> importer, you know what kind of changes you can expect in new
> revisions, and you will have to decide if you need to import by
> revision or not.
> 
> 
> /martin
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 

From andy@netconfcentral.com  Sun Sep  6 16:33:35 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6AE7A3A6852 for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 16:33:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.51
X-Spam-Level: 
X-Spam-Status: No, score=-2.51 tagged_above=-999 required=5 tests=[AWL=0.089,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TFR5dJTqaDVS for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 16:33:34 -0700 (PDT)
Received: from n9.bullet.mail.mud.yahoo.com (n9.bullet.mail.mud.yahoo.com [209.191.86.157]) by core3.amsl.com (Postfix) with SMTP id 6EB903A6833 for <netmod@ietf.org>; Sun,  6 Sep 2009 16:33:34 -0700 (PDT)
Received: from [68.142.194.243] by n9.bullet.mail.mud.yahoo.com with NNFMP; 06 Sep 2009 23:33:59 -0000
Received: from [68.142.201.70] by t1.bullet.mud.yahoo.com with NNFMP; 06 Sep 2009 23:33:59 -0000
Received: from [127.0.0.1] by omp422.mail.mud.yahoo.com with NNFMP; 06 Sep 2009 23:33:59 -0000
X-Yahoo-Newman-Id: 209899.65535.bm@omp422.mail.mud.yahoo.com
Received: (qmail 960 invoked from network); 6 Sep 2009 23:33:58 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp110.sbc.mail.sp1.yahoo.com with SMTP; 6 Sep 2009 23:33:58 -0000
X-YMail-OSG: U9GfVHcVM1ksOka70EW4qsiRa6kE8qG0_8km7M9K0cjvYXsfySNrxQpIQuv.AtH5hEBH6v0SYjl85yVNnXLUK7.cP4LAx8dy_aPdD8kMdkMTOnEPvRSEzYWK0WTaWselU_hnKIi1JvQJAY3_xafsIMaVXWiJGMF7E0fSLZor29WI_gYi1G0JHmXTWb9BuetgKKBKBqQIe9qcjpR9sOwadUbIKjItGiN1Jj0WP5stdsX6ReUwKF95wHO_dAn30T54p8VoRrQ5oYpo
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA44700.6090600@netconfcentral.com>
Date: Sun, 06 Sep 2009 16:34:24 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AA18EA6.9070400@netconfcentral.com>	<20090905.001245.24885936.mbj@tail-f.com>	<4AA1959A.5040306@netconfcentral.com> <20090906.231233.158440726.mbj@tail-f.com>
In-Reply-To: <20090906.231233.158440726.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] import-by-revision not used
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Sep 2009 23:33:35 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Martin Bjorklund wrote:
>>> Andy Bierman <andy@netconfcentral.com> wrote:
>>>> Martin Bjorklund wrote:
>>>>> Andy Bierman <andy@netconfcentral.com> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> If import-by-revision is so easy to use, how come
>>>>>> not 1 single YANG module in a Internet Draft is using it?
>>>>>> Is the plan to start using it in the future, or just
>>>>>> set it in RFC versions?
>>>>> Maybe because the YANG drafts we currently have only import one of the
>>>>> type modules?
>>>>>
>>>> But the author of module 'X' does not have change control
>>>> over module 'Y' in another RFC/I-D, right?
>>>> So an 'import Y' can break at any time in the future.
>>> How do you mean break?  The ipfix module uses yang:object-identifier,
>>> yang:counter64 and some more types. 
>>>
>>>
>>
>> In general, the importing module does not know for sure
>> that a the imported module will change in the future
>> in a way that alters the previous definitions in use.
>> Not even the yang-ietf-types module is immune to changes
>> and bug-fixes.
>>
>> I think that's why import-by-revision was added.
> 
> Yes, but in some cases maybe you don't care.  If a bug is fixed in
> ietf-yang-types, do we really want to re-publish all importers?  As an
> importer, you know what kind of changes you can expect in new
> revisions, and you will have to decide if you need to import by
> revision or not.
> 

I don't think the data modeler can be sure
a default-stmt will never be added to module X
during the lifetime of module Y (which imports X),
especially if the IETF controls the updates to X.
If all the data types used already have defaults,
then it is safe.

If floor(server-requirements) == floor(client-requirements)
then the rules for client-derived defaults at least
make sense.  At a conceptual level, if everything has
a MUST or SHOULD conformance level, then deriving
a default value SHOULD work.

> 
> /martin
> 

Andy


From mbj@tail-f.com  Sun Sep  6 22:44:53 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 84FE33A62C1 for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 22:44:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.012
X-Spam-Level: 
X-Spam-Status: No, score=-2.012 tagged_above=-999 required=5 tests=[AWL=0.034,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vg69lk+LuK2p for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 22:44:52 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id AA2913A6848 for <netmod@ietf.org>; Sun,  6 Sep 2009 22:44:52 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 60BE576C4FC; Mon,  7 Sep 2009 07:45:18 +0200 (CEST)
Date: Mon, 07 Sep 2009 07:45:18 +0200 (CEST)
Message-Id: <20090907.074518.61333386.mbj@tail-f.com>
To: jmh@joelhalpern.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AA4461D.1050600@joelhalpern.com>
References: <4AA1959A.5040306@netconfcentral.com> <20090906.231233.158440726.mbj@tail-f.com> <4AA4461D.1050600@joelhalpern.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] import-by-revision not used
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 05:44:53 -0000

If the ipfix module imports ietf-inet-types and uses inet:ip-address,
it knows that it safe to import that module without revision.  So it
depends on what type of information you use from a module.

"Joel M. Halpern" <jmh@joelhalpern.com> wrote:
> The problem I have with the description below is that it is not possible for
> the person writing the import statement to know if he will care about changes
> that may or may not be made to a document he is importing.

Yes it is possible - the imported module follows the rules in section 10.

[...]

> Or there needs to be a way to indicate that for some modules only compatible
> revisions will ever be made, so that an import without a revision can be done
> reliably.  Unfortunately, there is currently no way to say that.

The intention of section 10 is to provide rules that protects clients
and importers.  Of course, clients that want to be future-proof will
have to be written in a way that takes those rules into account (just
as an SNMP manager).  And importers that cannot risk e.g. a new
optional leaf in a grouping will have to use import by revision.

> The current situation is a recipe for trouble.  A module A without revision can
> only be imported without revision.  But if module B imports that, there is no
> way to have any check as to whether the module A it gets actually meets the
> properties it expects.  I don't see how we can claim this gives
> interoperability.
> As currently defined, an RFC using an import without revision is completely
> unreliable.  Hence, at least for RFCs, it seems that we need to mandate (not
> recommend in the guidelines document, mandate) revisions and importing by
> revisions.  (And having done that, I don't see why we would permit anyone else
> an escape.)

See above.  I don't think is desirable for type library module.


/martin

From mbj@tail-f.com  Sun Sep  6 22:53:10 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 105583A68AD for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 22:53:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.013
X-Spam-Level: 
X-Spam-Status: No, score=-2.013 tagged_above=-999 required=5 tests=[AWL=0.033,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GONDtByOXXYg for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 22:53:09 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 09A5C3A62C1 for <netmod@ietf.org>; Sun,  6 Sep 2009 22:53:09 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id C04AD76C4FC; Mon,  7 Sep 2009 07:53:35 +0200 (CEST)
Date: Mon, 07 Sep 2009 07:53:35 +0200 (CEST)
Message-Id: <20090907.075335.31130682.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AA44700.6090600@netconfcentral.com>
References: <4AA1959A.5040306@netconfcentral.com> <20090906.231233.158440726.mbj@tail-f.com> <4AA44700.6090600@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] import-by-revision not used
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 05:53:10 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Martin Bjorklund wrote:
> > Andy Bierman <andy@netconfcentral.com> wrote:
> >> Martin Bjorklund wrote:
> >>> Andy Bierman <andy@netconfcentral.com> wrote:
> >>>> Martin Bjorklund wrote:
> >>>>> Andy Bierman <andy@netconfcentral.com> wrote:
> >>>>>> Hi,
> >>>>>>
> >>>>>> If import-by-revision is so easy to use, how come
> >>>>>> not 1 single YANG module in a Internet Draft is using it?
> >>>>>> Is the plan to start using it in the future, or just
> >>>>>> set it in RFC versions?
> >>>>> Maybe because the YANG drafts we currently have only import one of the
> >>>>> type modules?
> >>>>>
> >>>> But the author of module 'X' does not have change control
> >>>> over module 'Y' in another RFC/I-D, right?
> >>>> So an 'import Y' can break at any time in the future.
> >>> How do you mean break?  The ipfix module uses yang:object-identifier,
> >>> yang:counter64 and some more types. 
> >>>
> >>>
> >>
> >> In general, the importing module does not know for sure
> >> that a the imported module will change in the future
> >> in a way that alters the previous definitions in use.
> >> Not even the yang-ietf-types module is immune to changes
> >> and bug-fixes.
> >>
> >> I think that's why import-by-revision was added.
> > 
> > Yes, but in some cases maybe you don't care.  If a bug is fixed in
> > ietf-yang-types, do we really want to re-publish all importers?  As an
> > importer, you know what kind of changes you can expect in new
> > revisions, and you will have to decide if you need to import by
> > revision or not.
> > 
> 
> I don't think the data modeler can be sure
> a default-stmt will never be added to module X
> during the lifetime of module Y (which imports X),
> especially if the IETF controls the updates to X.
> If all the data types used already have defaults,
> then it is safe.

I think maybe you argue that the upgrade rules in section 10 should
not allow to add a "default" statement.  Maybe we should fix this.

But I do not understand why this is a problem.  A client that uses an
optional leaf w/o a default value may choose not to set the leaf to
any value.  Depending on the semantics of the object, the server may
use some locally derived value operationally.  This operationally used
valu e might even be available for retrieval in an -oper leaf.  Now,
in the next revision of the module, a default statement is added which
sets the value "X" as default.  How does this affect the client?
Previously it made no assuptions on the value, so if the server always
used "X" it would have worked.  Now all servers use the value "X", so
why is this a problem for the client?


/martin

From jmh@joelhalpern.com  Sun Sep  6 23:06:46 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CC9943A6926 for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 23:06:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c-HkAfRXdM2S for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 23:06:45 -0700 (PDT)
Received: from hgblob.mail.tigertech.net (hgblob.mail.tigertech.net [64.62.209.71]) by core3.amsl.com (Postfix) with ESMTP id DCB8A3A690C for <netmod@ietf.org>; Sun,  6 Sep 2009 23:06:45 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hgblob.tigertech.net (Postfix) with ESMTP id 3D5763230F81; Sun,  6 Sep 2009 23:07:13 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hgblob.tigertech.net
Received: from [10.10.0.146] (unknown [173.12.57.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hgblob.tigertech.net (Postfix) with ESMTP id 8B5C03230F7A; Sun,  6 Sep 2009 23:07:12 -0700 (PDT)
Message-ID: <4AA4A30E.4010207@joelhalpern.com>
Date: Mon, 07 Sep 2009 02:07:10 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AA1959A.5040306@netconfcentral.com>	<20090906.231233.158440726.mbj@tail-f.com>	<4AA4461D.1050600@joelhalpern.com> <20090907.074518.61333386.mbj@tail-f.com>
In-Reply-To: <20090907.074518.61333386.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] import-by-revision not used
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 06:06:47 -0000

Taking a quick look at section 10, it looks to me like the things 
permitted there are too generous.  The following things look 
:interesting" if the server is using a version of an included module 
which is newer than the client is using.

Allowing the addition of a default statement changes the meaning of the 
absence of configuration information.
Extending the maximum number of elements, or range of values, means that 
a reader may be presented with a value they consider invalid.  In 
particular, extending the number of elements may cause array bounds 
errors if the client trusts the server to comply with the model.

It is hard to tell whether omitting MUST statements can cause problems. 
  While one is always inclined to relax constraints, this seems to allow 
room for problems if the client is relying on those constraints being met.

Clients will certainly need to be careful in their modeling mechanisms 
to allow for the fact that mandotyr or min-element constraints may 
disappear.

Similar problems would seem to occur if a portion of a device (along the 
lines of SNMP subagents) were using a newer revision than the parent.

Even more problematic would be what happens if the client were using a 
newer version of the imported module than the device being managed.  It 
would seem that no errors would be detectable.  But the client would 
attempt to access fields that do not exist, set elements to values that 
are not permitted, violate MUST and mandatory constraints, etc.
Similar problems would occur if there are internal module users in a 
device, and the master is using a newer version than the subsidiary part.

One could, with somewhat tighter rules than are given in section 10, and 
with sufficient exchange of revisions for imported modules, write rules 
so that devices could use newer versions that specified in the import 
clause, but clients had to use version taht were at least as old as what 
the managed device used.

Claiming that the section 10 rules will make everything work without 
revisions does not match my experience in trying to model things.
Versioning is tricky.  Compatible versioning is tricky.  Compatible 
versioning with specifications as to which side has seen which change, 
and without any explicit indication of the versions is likely not to work.

Yours,
Joel

Martin Bjorklund wrote:
> If the ipfix module imports ietf-inet-types and uses inet:ip-address,
> it knows that it safe to import that module without revision.  So it
> depends on what type of information you use from a module.
> 
> "Joel M. Halpern" <jmh@joelhalpern.com> wrote:
>> The problem I have with the description below is that it is not possible for
>> the person writing the import statement to know if he will care about changes
>> that may or may not be made to a document he is importing.
> 
> Yes it is possible - the imported module follows the rules in section 10.
> 
> [...]
> 
>> Or there needs to be a way to indicate that for some modules only compatible
>> revisions will ever be made, so that an import without a revision can be done
>> reliably.  Unfortunately, there is currently no way to say that.
> 
> The intention of section 10 is to provide rules that protects clients
> and importers.  Of course, clients that want to be future-proof will
> have to be written in a way that takes those rules into account (just
> as an SNMP manager).  And importers that cannot risk e.g. a new
> optional leaf in a grouping will have to use import by revision.
> 
>> The current situation is a recipe for trouble.  A module A without revision can
>> only be imported without revision.  But if module B imports that, there is no
>> way to have any check as to whether the module A it gets actually meets the
>> properties it expects.  I don't see how we can claim this gives
>> interoperability.
>> As currently defined, an RFC using an import without revision is completely
>> unreliable.  Hence, at least for RFCs, it seems that we need to mandate (not
>> recommend in the guidelines document, mandate) revisions and importing by
>> revisions.  (And having done that, I don't see why we would permit anyone else
>> an escape.)
> 
> See above.  I don't think is desirable for type library module.
> 
> 
> /martin
> 

From mbj@tail-f.com  Sun Sep  6 23:27:11 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DC7753A6868 for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 23:27:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.013
X-Spam-Level: 
X-Spam-Status: No, score=-2.013 tagged_above=-999 required=5 tests=[AWL=0.033,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BHLQwQMXKUt0 for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 23:27:11 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 0E3643A680A for <netmod@ietf.org>; Sun,  6 Sep 2009 23:27:10 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 359D176C4FC; Mon,  7 Sep 2009 08:27:37 +0200 (CEST)
Date: Mon, 07 Sep 2009 08:27:36 +0200 (CEST)
Message-Id: <20090907.082736.234286426.mbj@tail-f.com>
To: jmh@joelhalpern.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AA4A30E.4010207@joelhalpern.com>
References: <4AA4461D.1050600@joelhalpern.com> <20090907.074518.61333386.mbj@tail-f.com> <4AA4A30E.4010207@joelhalpern.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] import-by-revision not used
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 06:27:12 -0000

"Joel M. Halpern" <jmh@joelhalpern.com> wrote:
> Even more problematic would be what happens if the client were using a newer
> version of the imported module than the device being managed.

We never intended to cover this case.

> One could, with somewhat tighter rules than are given in section 10, and with
> sufficient exchange of revisions for imported modules, write rules so that
> devices could use newer versions that specified in the import clause, but
> clients had to use version taht were at least as old as what the managed device
> used.

If tighter rules are needed, we should discuss them.  

FWIW, we have some implementation experience with the current rules
(on the client side).  Again, no magic is going on.  As a client
developer, you know that e.g. max-elements may be releaxed, so be
prepared to get more elements (which BTW you need to be prepared for
anyway if you ever read the candidate).


> Claiming that the section 10 rules will make everything work without revisions
> does not match my experience in trying to model things.

I do not think I claimed that.

> Versioning is tricky.  Compatible versioning is tricky.  Compatible versioning
> with specifications as to which side has seen which change, and without any
> explicit indication of the versions is likely not to work.

This whole scheme relies on the fact that revisions are used.  So I am
in favor of the change that Andy suggested:

OLD:

 For any published change, a new "revision" statement (Section 7.1.9)
   SHOULD be included in front of the existing revision statements.

NEW:

 For any published change, a new "revision" statement (Section 7.1.9)
   MUST be included in front of the existing revision statements.


/martin

From andy@netconfcentral.com  Sun Sep  6 23:48:33 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9EA9F3A6906 for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 23:48:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.511
X-Spam-Level: 
X-Spam-Status: No, score=-2.511 tagged_above=-999 required=5 tests=[AWL=0.088,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 54dI-+jvc-XW for <netmod@core3.amsl.com>; Sun,  6 Sep 2009 23:48:32 -0700 (PDT)
Received: from n11.bullet.mail.mud.yahoo.com (n11.bullet.mail.mud.yahoo.com [209.191.125.210]) by core3.amsl.com (Postfix) with SMTP id B947A3A6845 for <netmod@ietf.org>; Sun,  6 Sep 2009 23:48:32 -0700 (PDT)
Received: from [68.142.200.227] by n11.bullet.mail.mud.yahoo.com with NNFMP; 07 Sep 2009 06:48:57 -0000
Received: from [68.142.201.68] by t8.bullet.mud.yahoo.com with NNFMP; 07 Sep 2009 06:48:57 -0000
Received: from [127.0.0.1] by omp420.mail.mud.yahoo.com with NNFMP; 07 Sep 2009 06:48:57 -0000
X-Yahoo-Newman-Id: 812212.34582.bm@omp420.mail.mud.yahoo.com
Received: (qmail 20747 invoked from network); 7 Sep 2009 06:48:57 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp103.sbc.mail.sp1.yahoo.com with SMTP; 7 Sep 2009 06:48:57 -0000
X-YMail-OSG: _m6YXm4VM1kdWBJdLLi0A7VBehkfRxSiHP33fi1exDh_6EFQaV81qiDoqGCwrdYEIDsFgoHxyCEB96aqZhHSACW65HVZH_nI211o4Cna9d3oRXlNGQTt29A44FkN5nAbAAoWGT6t5nSkFJF0pQ6I.vUSoWmCypD8qEHBJ0aeBY3OTTgBryzikzZAOHaoP.LGi5BejPwQYWrhtiQgEVdnwpn6Qzc1s2WypmUe8XRuVxQwhk88yPyUUGhPPrDnotqFdgnKYOU-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA4AC79.5000701@netconfcentral.com>
Date: Sun, 06 Sep 2009 23:47:21 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AA1959A.5040306@netconfcentral.com>	<20090906.231233.158440726.mbj@tail-f.com>	<4AA4461D.1050600@joelhalpern.com> <20090907.074518.61333386.mbj@tail-f.com>
In-Reply-To: <20090907.074518.61333386.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] import-by-revision not used
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 06:48:33 -0000

Martin Bjorklund wrote:
> If the ipfix module imports ietf-inet-types and uses inet:ip-address,
> it knows that it safe to import that module without revision.  So it
> depends on what type of information you use from a module.
> 
> "Joel M. Halpern" <jmh@joelhalpern.com> wrote:
>> The problem I have with the description below is that it is not possible for
>> the person writing the import statement to know if he will care about changes
>> that may or may not be made to a document he is importing.
> 
> Yes it is possible - the imported module follows the rules in section 10.
> 
> [...]
> 
>> Or there needs to be a way to indicate that for some modules only compatible
>> revisions will ever be made, so that an import without a revision can be done
>> reliably.  Unfortunately, there is currently no way to say that.
> 
> The intention of section 10 is to provide rules that protects clients
> and importers.  Of course, clients that want to be future-proof will
> have to be written in a way that takes those rules into account (just
> as an SNMP manager).  And importers that cannot risk e.g. a new
> optional leaf in a grouping will have to use import by revision.
> 
>> The current situation is a recipe for trouble.  A module A without revision can
>> only be imported without revision.  But if module B imports that, there is no
>> way to have any check as to whether the module A it gets actually meets the
>> properties it expects.  I don't see how we can claim this gives
>> interoperability.
>> As currently defined, an RFC using an import without revision is completely
>> unreliable.  Hence, at least for RFCs, it seems that we need to mandate (not
>> recommend in the guidelines document, mandate) revisions and importing by
>> revisions.  (And having done that, I don't see why we would permit anyone else
>> an escape.)
> 
> See above.  I don't think is desirable for type library module.
> 

But all imported typedefs become critical because they can contain
a default-stmt.  Knowing which revision of a typedef
is just as important as which revision of a leaf.

> 
> /martin
> 

Andy


From lhotka@cesnet.cz  Mon Sep  7 01:23:48 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DA21E3A681F for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 01:23:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.195
X-Spam-Level: 
X-Spam-Status: No, score=-1.195 tagged_above=-999 required=5 tests=[AWL=0.055,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OwRl094+eqrn for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 01:23:48 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id B504C3A68F4 for <netmod@ietf.org>; Mon,  7 Sep 2009 01:23:47 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id DD6D3D800C1; Mon,  7 Sep 2009 10:24:13 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <017801ca2d57$e23c7ca0$0601a8c0@allison>
References: <200909021911.n82JBWxl007810@idle.juniper.net> <001e01ca2c10$f5293da0$6801a8c0@oemcomputer> <200909031343.51189.david.partain@ericsson.com> <017801ca2d57$e23c7ca0$0601a8c0@allison>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Mon, 07 Sep 2009 10:24:12 +0200
Message-Id: <1252311852.3511.28.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Terminology discussion (was Re: proposal: no defaults fornon-config data)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 08:23:48 -0000

tom.petch píše v Pá 04. 09. 2009 v 14:01 +0200:
> ---- Original Message -----
> From: "David Partain" <david.partain@ericsson.com>
> To: <netmod@ietf.org>
> Sent: Thursday, September 03, 2009 1:43 PM
> Subject: [netmod] Terminology discussion (was Re: proposal: no defaults
> fornon-config data)
> 
> 
> > Hi,
> >
> > Phil suggested some definitions to use in other discussions.  Just to make it
> > easier to follow, here's the updated text (based on the subsequent mail
> > thread) and a new thread.  Phil, please sanity check that I got it all..
> >
> > Comments on this text?
> 
> Terminology!
> 
> 'Configuration database' is not defined in YANG or NETCONF (NETCONF
> even hints that this is something on the client).  Is this a reference to
> the running configuration datastore?

Yes, this is an important point. Moreover, "validation time" is in fact
"commit time" - the device can (partly) validate candidate or startup
configuration without caring about assigned-by.

> 
> There is a mixture of 'leaf', 'leaf instance', 'list instance'; I think leaf
> node
> should only be part of the schema tree, using instance for data tree.  Leaf
> nodes
> have config and default substatements, instances have values.

I understand that "object instance" is part of the SNMP heritage but
since in NETCONF/NETMOD these instances are always XML elements,
"element" would IMO be clearer. In XML texts, the term "instance" is
often used to mean the entire XML document. Perhaps we could use

"Element <foo> is an instance of (schema) node 'foo'."

Lada


Lada

> 
> Tom Petch
> 
> >                     Do people want to put it into the YANG spec (arch
> > doc?) or not?
> >
> > Thanks,
> >
> > David
> >
> > "assigned-by system" (ABS): a behavior where the system will, at
> > validation time, assign values in the configuration database for
> > leafs which are not given values.  If values were given before
> > validation time, the system will not assign new values, but will
> > honor these existing values.
> >
> > "configuration default value" (CDV):  the default value used for
> > a leaf node with "config" set to "true".  If a list instance is
> > created in the configuration database and the value for a leaf is
> > not provided, then the CDV is the value which the system will use
> > internally.  This means that the behaviour of the running system
> > using that CDV as the internal value is identical to the
> > behaviour if that leaf had been explicitly configured with that
> > value.  The CDV value must be a fixed value.
> >
> > "operational default value" (ODV): the default value used for
> > operational data.  This is the value used by the running system
> > if a value was not configured.  It may not be fixed or easily
> > described.  The value may be dynamic or even unpublished.
> >
> > "configured value" (CV): the value for a leaf that has be created
> > or set in the configuration database.  A CV is typically created
> > or set by an explicit action on the part of a user or client
> > application.  The value of an ABS leaf is considered a CV but a
> > default value for a leaf that has not been created in the
> > database is not a CV.
> >
> > With these terms, we make the following rules:
> >
> > (a) the YANG default statement can be used to provide a CDV.
> >
> > (b) the YANG default statement cannot provide defaults for ODVs.
> >
> > (c) the YANG default statement cannot provide defaults for ABS
> > leafs.
> >
> > (d) a server MAY choose to not send a leaf element if it is a
> > configuration leaf ('config true') and the value of the leaf is
> > the default value.
> >
> > (e) ODVs MUST be sent for operational data, since the default
> > statement applies only to configuration data.  In effect,
> > operational data has no default values.
> >
> > (f) ABS data is _real_ configuration data, since it appears in
> > the configuration database and can be manipulated with the
> > operation NETCONF/YANG operations.
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From andy@netconfcentral.com  Mon Sep  7 04:31:51 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7F4DF3A69B4 for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 04:31:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.344
X-Spam-Level: 
X-Spam-Status: No, score=-2.344 tagged_above=-999 required=5 tests=[AWL=-0.079, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w+vwA+83lfYP for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 04:31:50 -0700 (PDT)
Received: from smtp125.sbc.mail.sp1.yahoo.com (smtp125.sbc.mail.sp1.yahoo.com [69.147.65.184]) by core3.amsl.com (Postfix) with SMTP id 4F8A43A681E for <netmod@ietf.org>; Mon,  7 Sep 2009 04:31:50 -0700 (PDT)
Received: (qmail 59665 invoked from network); 7 Sep 2009 11:32:15 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp125.sbc.mail.sp1.yahoo.com with SMTP; 7 Sep 2009 11:32:15 -0000
X-YMail-OSG: 8FkYUawVM1kYWBt6.RhFOS5V_n7lpzmY7ybXLRPd6vnz31iZIV7cg0yJYqJ70aG2myx47hUjnb7j38ysIx4VJ3seARticpzgCbjsNCvsQlVvVCdr2nUaLapDkpiqALPej4hB8Fzcc7iSGShahl90zSpv.76lXpMfsY4jF3ihPdFEmq5W_jM-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA4EEE1.6000407@netconfcentral.com>
Date: Mon, 07 Sep 2009 04:30:41 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] advertising module capabilities
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 11:31:51 -0000

Hi,

I do not understand why there would be
any problem for a server to send all its
module capabilities.

As I've pointed out several times,
only the namespace URI is unique.
Letting the client guess that import 'foo'
matches whatever namespace the client
has for module 'foo' is completely broken.
We are making IANA keep track of these strings,
so let's use them.

The <hello> is only sent once.
It is not a burden if the server MUST send
a complete set of module capabilities.

The draft currently says MAY send. Why?



Andy

From mbj@tail-f.com  Mon Sep  7 05:04:33 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EC65A3A6A7B for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 05:04:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.014
X-Spam-Level: 
X-Spam-Status: No, score=-2.014 tagged_above=-999 required=5 tests=[AWL=0.032,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AhY5VCanBdpT for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 05:04:33 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 202F63A67A7 for <netmod@ietf.org>; Mon,  7 Sep 2009 05:04:32 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 87B8976C4FC; Mon,  7 Sep 2009 14:04:59 +0200 (CEST)
Date: Mon, 07 Sep 2009 14:04:59 +0200 (CEST)
Message-Id: <20090907.140459.39736169.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AA4EEE1.6000407@netconfcentral.com>
References: <4AA4EEE1.6000407@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] advertising module capabilities
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 12:04:34 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Hi,
> 
> I do not understand why there would be
> any problem for a server to send all its
> module capabilities.
> 
> As I've pointed out several times,
> only the namespace URI is unique.
> Letting the client guess that import 'foo'
> matches whatever namespace the client
> has for module 'foo' is completely broken.
> We are making IANA keep track of these strings,
> so let's use them.
> 
> The <hello> is only sent once.
> It is not a burden if the server MUST send
> a complete set of module capabilities.
> 
> The draft currently says MAY send. Why?

It says:

   Modules that do not contribute any data definitions, rpcs,
   notifications, or deviations to the device MAY be advertised in the
   <hello> message.

So, a type-only module like ietf-inet-types MAY be advertised.

Hmmm.. I guess it actually might help the client to know which version
of a type-only module is implemented by a server, in the case that
some module imports it w/o revision.

Suppose we have this:

  module A-types: revisions 2009-04-01 and 2010-04-01
  module B imports A-types w/o revision
  module C imports A-types, revision 2009-04-01

A server might advertise:

  module B, some revision
  module C, some revision
  module A-types, 2010-04-01

It is still clear that module C uses the types from A-types
2009-04-01.


/martin

  


From andy@netconfcentral.com  Mon Sep  7 08:06:48 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5BA403A6A1C for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 08:06:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.511
X-Spam-Level: 
X-Spam-Status: No, score=-2.511 tagged_above=-999 required=5 tests=[AWL=0.088,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g6t6kIV22S+y for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 08:06:47 -0700 (PDT)
Received: from n21.bullet.mail.mud.yahoo.com (n21.bullet.mail.mud.yahoo.com [68.142.206.160]) by core3.amsl.com (Postfix) with SMTP id 7E35F3A687E for <netmod@ietf.org>; Mon,  7 Sep 2009 08:06:47 -0700 (PDT)
Received: from [209.191.108.97] by n21.bullet.mail.mud.yahoo.com with NNFMP; 07 Sep 2009 15:07:14 -0000
Received: from [68.142.201.69] by t4.bullet.mud.yahoo.com with NNFMP; 07 Sep 2009 15:07:13 -0000
Received: from [127.0.0.1] by omp421.mail.mud.yahoo.com with NNFMP; 07 Sep 2009 15:07:13 -0000
X-Yahoo-Newman-Id: 967905.86518.bm@omp421.mail.mud.yahoo.com
Received: (qmail 56987 invoked from network); 7 Sep 2009 15:07:13 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp105.sbc.mail.sp1.yahoo.com with SMTP; 7 Sep 2009 15:07:13 -0000
X-YMail-OSG: wGMx_TEVM1lWp_erSGOiGa5.zYPoLshzP7Qchsz4UjFKQQYzWOwlSHDr0v4.1Is4jCEDOcmPe6rRvoY1xjSp8Sj9jSrhUdlXRcTcmfHcECPJhqEQDunzR3hEMoOg9Rxk0rqlM_zO711KOuYcAIRq8qi7KBmGtsZRzh5Cu8hmrbNZ34R2a_fsurlItVPdYu_WwyWMUgB4k82WcvW9V0sWUxVAg0foHtQDEfVFnv6kLhOwY5AW9mssBY3_UFa0D2kzDJ0XcB9_T4XCNjOeSqTscZLGRuFd5J72
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA521BB.9060407@netconfcentral.com>
Date: Mon, 07 Sep 2009 08:07:39 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AA4EEE1.6000407@netconfcentral.com> <20090907.140459.39736169.mbj@tail-f.com>
In-Reply-To: <20090907.140459.39736169.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] advertising module capabilities
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 15:06:48 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Hi,
>>
>> I do not understand why there would be
>> any problem for a server to send all its
>> module capabilities.
>>
>> As I've pointed out several times,
>> only the namespace URI is unique.
>> Letting the client guess that import 'foo'
>> matches whatever namespace the client
>> has for module 'foo' is completely broken.
>> We are making IANA keep track of these strings,
>> so let's use them.
>>
>> The <hello> is only sent once.
>> It is not a burden if the server MUST send
>> a complete set of module capabilities.
>>
>> The draft currently says MAY send. Why?
> 
> It says:
> 
>    Modules that do not contribute any data definitions, rpcs,
>    notifications, or deviations to the device MAY be advertised in the
>    <hello> message.
> 

Where does it say all these are MUST aer SHOULD?


> So, a type-only module like ietf-inet-types MAY be advertised.
> 
> Hmmm.. I guess it actually might help the client to know which version
> of a type-only module is implemented by a server, in the case that
> some module imports it w/o revision.
> 
> Suppose we have this:
> 
>   module A-types: revisions 2009-04-01 and 2010-04-01
>   module B imports A-types w/o revision
>   module C imports A-types, revision 2009-04-01
> 
> A server might advertise:
> 
>   module B, some revision
>   module C, some revision
>   module A-types, 2010-04-01
> 
> It is still clear that module C uses the types from A-types
> 2009-04-01.
> 

So what is the namespace URI of A_types?
Since everybody is allowed to use a module
name over again, what good is it for finding
a module?

> 
> /martin
> 
>   
> 
> 

Andy


From cfinss@dial.pipex.com  Mon Sep  7 09:55:07 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D97D83A68AF for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 09:55:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.044
X-Spam-Level: 
X-Spam-Status: No, score=-1.044 tagged_above=-999 required=5 tests=[AWL=-1.045, BAYES_50=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qVD6s2F8wg8r for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 09:55:07 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id D33393A67E7 for <netmod@ietf.org>; Mon,  7 Sep 2009 09:55:06 -0700 (PDT)
X-Trace: 247354328/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.54/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.54
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArEEAMPXpEo+vGk2/2dsb2JhbACDLWGNMcc0CYQPBQ
X-IronPort-AV: E=Sophos;i="4.44,347,1249254000"; d="scan'208";a="247354328"
X-IP-Direction: IN
Received: from 1cust54.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.54]) by smtp.pipex.tiscali.co.uk with SMTP; 07 Sep 2009 17:55:30 +0100
Message-ID: <005101ca2fd3$6c68e8a0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Phil Shafer" <phil@juniper.net>
References: <200909041806.n84I6KXT025994@idle.juniper.net>
Date: Mon, 7 Sep 2009 16:03:47 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 16:55:07 -0000

----- Original Message -----
From: "Phil Shafer" <phil@juniper.net>
Sent: Friday, September 04, 2009 8:06 PM

> "tom.petch" writes:
> >Absolutely; plenty of examples of something like this in our current MIB
> >modules.  I thought having operStatus and adminStatus rather weird when
> >I first encountered it but now accept that that is just the way to model
> >these things that have an administered value and a value dynamically
> >determined by the running system.
>
> I still think SNMP's operStatus and adminStatus is weird, and
> continue to hope that we can do something better.  If nearly
> everything has an operational value and a configured value, why do
> we use something as awkward as paired twin leafs?  Isn't configured
> mtu and observed mtu sufficiently similar that we can so something
> more helpful that to tell modelers to define two leafs that are
> intimately related with no way to express that relationship?

Phil

There are plenty of examples but a minority of data objects in general.

The reason I find it weird is because adminStatus is not really a data
object at all, but a (de-)activate command - except that we do not
have commands but have data objects that have a defined side
effect - when set to this value, treat as a command to .......

It is also weird because it persists, that is, if the interface fails to come
active, then the system keeps trying and one day it may come active
when the action that initiated it is long forgotten.

So while it may be weird to model it as an object, it has a quite different
life cycle to operStatus or other operational states and should 
be a separate object.

I would apply this to any other activate/enable type function, where there
is a good chance of a disconnect between what is wanted and what happens;
start a session with a BGP peer, activate ospf on an interface

I see no similarity with ifMtu; if I set this to 1492, I expect the system to
use that and nothing else, whatever type of pic card may be plugged in.
Ditto most aspects of configuration.  If what I ask is impossible, I should 
get an error returned or, exceptionally, if it is one of those nasties that
cannot be detected immediately, an alert later.

Tom Petch

> Thanks,
>  Phil


From cfinss@dial.pipex.com  Mon Sep  7 09:55:08 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7B7DA3A67E7 for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 09:55:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.326
X-Spam-Level: 
X-Spam-Status: No, score=-2.326 tagged_above=-999 required=5 tests=[AWL=0.273,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f4I12cnp0Fo4 for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 09:55:07 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id 746463A67F6 for <netmod@ietf.org>; Mon,  7 Sep 2009 09:55:07 -0700 (PDT)
X-Trace: 247354331/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.54/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.54
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArEEAMPXpEo+vGk2/2dsb2JhbACDLWGNMcc0CYQPBQ
X-IronPort-AV: E=Sophos;i="4.44,347,1249254000"; d="scan'208";a="247354331"
X-IP-Direction: IN
Received: from 1cust54.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.54]) by smtp.pipex.tiscali.co.uk with SMTP; 07 Sep 2009 17:55:31 +0100
Message-ID: <005201ca2fd3$6d4abd20$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Martin Bjorklund" <mbj@tail-f.com>
References: <007001ca2d7f$c144f9a0$0601a8c0@allison><200909041806.n84I6KXT025994@idle.juniper.net> <20090904.233457.219318251.mbj@tail-f.com>
Date: Mon, 7 Sep 2009 17:52:46 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 16:55:08 -0000

From: "Martin Bjorklund" <mbj@tail-f.com>
Sent: Friday, September 04, 2009 11:34 PM


> In this simple case it might be tempting to reuse one leaf like this.
> But I am not sure it works well in the dhcp/bootp/ip-address case, or
> in the static vs. dynamically learned routes case.

Martin

I think that static v dynamic applies to bridge forwarding, IP forwarding 
and a few others (not BGP RIB, OSPF LS database) and that there is value
in separating static from dynamic.  SNMP has a single bridge table with a 
forgotten column hidden away in which a certain value means statically
configured.  I have had to point this out to loads of people whereas I have
only ever met one person who knew about it - he showed it to me!

So were I in IEEE 802.1D, I would model the bridge table as two; 
static (small, usually empty) and dynamic (large, volatile), separating 
config and state as RFC3535 asks.  Of course the device is expected
to integrate them, so it might show the static entries as part of the dynamic
but either way, I think that that better meets the needs of the user. 

Tom Petch
 
> /martin

From mbj@tail-f.com  Mon Sep  7 11:16:50 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BFEF83A69EF for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 11:16:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.014
X-Spam-Level: 
X-Spam-Status: No, score=-2.014 tagged_above=-999 required=5 tests=[AWL=0.032,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mOKzLO7nvAJN for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 11:16:50 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id AF7403A6A10 for <netmod@ietf.org>; Mon,  7 Sep 2009 11:16:49 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id B68C276C4FC; Mon,  7 Sep 2009 20:17:16 +0200 (CEST)
Date: Mon, 07 Sep 2009 20:17:16 +0200 (CEST)
Message-Id: <20090907.201716.193671824.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AA521BB.9060407@netconfcentral.com>
References: <4AA4EEE1.6000407@netconfcentral.com> <20090907.140459.39736169.mbj@tail-f.com> <4AA521BB.9060407@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] advertising module capabilities
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 18:16:50 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Martin Bjorklund wrote:
> > Andy Bierman <andy@netconfcentral.com> wrote:
> >> Hi,
> >>
> >> I do not understand why there would be
> >> any problem for a server to send all its
> >> module capabilities.
> >>
> >> As I've pointed out several times,
> >> only the namespace URI is unique.
> >> Letting the client guess that import 'foo'
> >> matches whatever namespace the client
> >> has for module 'foo' is completely broken.
> >> We are making IANA keep track of these strings,
> >> so let's use them.
> >>
> >> The <hello> is only sent once.
> >> It is not a burden if the server MUST send
> >> a complete set of module capabilities.
> >>
> >> The draft currently says MAY send. Why?
> > 
> > It says:
> > 
> >    Modules that do not contribute any data definitions, rpcs,
> >    notifications, or deviations to the device MAY be advertised in the
> >    <hello> message.
> > 
> 
> Where does it say all these are MUST aer SHOULD?

Section 5.6.4 says:

   The namespace URI is advertised as a capability in the NETCONF
   <hello> message to indicate support for the YANG module by a NETCONF
   server.

Would it be more clear to s/is advertised/MUST be advertised/?

> > So, a type-only module like ietf-inet-types MAY be advertised.
> > 
> > Hmmm.. I guess it actually might help the client to know which version
> > of a type-only module is implemented by a server, in the case that
> > some module imports it w/o revision.
> > 
> > Suppose we have this:
> > 
> >   module A-types: revisions 2009-04-01 and 2010-04-01
> >   module B imports A-types w/o revision
> >   module C imports A-types, revision 2009-04-01
> > 
> > A server might advertise:
> > 
> >   module B, some revision
> >   module C, some revision
> >   module A-types, 2010-04-01
> > 
> > It is still clear that module C uses the types from A-types
> > 2009-04-01.
> > 
> 
> So what is the namespace URI of A_types?
> Since everybody is allowed to use a module
> name over again, what good is it for finding
> a module?

Everybody is not allowed to use a module name over again.  Section 5.1
says:

   The names of all standard modules and submodules MUST be unique.
   Developers of enterprise modules are RECOMMENDED to choose names for
   their modules that will have a low probability of colliding with
   standard or other enterprise modules, e.g., by using the enterprise
   or organization name as a prefix for the module name.


/martin

From andy@netconfcentral.com  Mon Sep  7 12:01:54 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E13C83A68C9 for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 12:01:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.511
X-Spam-Level: 
X-Spam-Status: No, score=-2.511 tagged_above=-999 required=5 tests=[AWL=0.088,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hMEkdfOWWpJu for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 12:01:53 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id C74FC3A68B1 for <netmod@ietf.org>; Mon,  7 Sep 2009 12:01:53 -0700 (PDT)
Received: (qmail 44465 invoked from network); 7 Sep 2009 19:02:19 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 7 Sep 2009 19:02:19 -0000
X-YMail-OSG: qy4ImOcVM1k_CGGNlLx_1oXmjy7VUGYMwXMPMf.usU51i0i2LiRGJvCBvr5gUeyP05jBQuPs8kbu1fPiZy6AykwITkSlhHH9Fm8Aj.aD6EO2rfvTwyhxKM.yhMuXcipXda_la_Bw06np5vrKKX5Gf6D6Jq1AahnDg3j1ZU.11bupY8MccqjT0RoLcC8r96QINtxdkxVcxwcoTKkN264mepdORi6xLfqFh.OGg3uJgP0YILt1pvCAiEPSEYrw3IlWOZL54AliT8iKFuOONxa054xQdn34IXww7UKhqeESEZuIDkI5
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA558D5.10002@netconfcentral.com>
Date: Mon, 07 Sep 2009 12:02:45 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AA4EEE1.6000407@netconfcentral.com>	<20090907.140459.39736169.mbj@tail-f.com>	<4AA521BB.9060407@netconfcentral.com> <20090907.201716.193671824.mbj@tail-f.com>
In-Reply-To: <20090907.201716.193671824.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] advertising module capabilities
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 19:01:55 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Martin Bjorklund wrote:
>>> Andy Bierman <andy@netconfcentral.com> wrote:
>>>> Hi,
>>>>
>>>> I do not understand why there would be
>>>> any problem for a server to send all its
>>>> module capabilities.
>>>>
>>>> As I've pointed out several times,
>>>> only the namespace URI is unique.
>>>> Letting the client guess that import 'foo'
>>>> matches whatever namespace the client
>>>> has for module 'foo' is completely broken.
>>>> We are making IANA keep track of these strings,
>>>> so let's use them.
>>>>
>>>> The <hello> is only sent once.
>>>> It is not a burden if the server MUST send
>>>> a complete set of module capabilities.
>>>>
>>>> The draft currently says MAY send. Why?
>>> It says:
>>>
>>>    Modules that do not contribute any data definitions, rpcs,
>>>    notifications, or deviations to the device MAY be advertised in the
>>>    <hello> message.
>>>
>> Where does it say all these are MUST aer SHOULD?
> 
> Section 5.6.4 says:
> 
>    The namespace URI is advertised as a capability in the NETCONF
>    <hello> message to indicate support for the YANG module by a NETCONF
>    server.
> 
> Would it be more clear to s/is advertised/MUST be advertised/?
> 

yes

>>> So, a type-only module like ietf-inet-types MAY be advertised.
>>>
>>> Hmmm.. I guess it actually might help the client to know which version
>>> of a type-only module is implemented by a server, in the case that
>>> some module imports it w/o revision.
>>>
>>> Suppose we have this:
>>>
>>>   module A-types: revisions 2009-04-01 and 2010-04-01
>>>   module B imports A-types w/o revision
>>>   module C imports A-types, revision 2009-04-01
>>>
>>> A server might advertise:
>>>
>>>   module B, some revision
>>>   module C, some revision
>>>   module A-types, 2010-04-01
>>>
>>> It is still clear that module C uses the types from A-types
>>> 2009-04-01.
>>>
>> So what is the namespace URI of A_types?
>> Since everybody is allowed to use a module
>> name over again, what good is it for finding
>> a module?
> 
> Everybody is not allowed to use a module name over again.  Section 5.1
> says:
> 
>    The names of all standard modules and submodules MUST be unique.
>    Developers of enterprise modules are RECOMMENDED to choose names for
>    their modules that will have a low probability of colliding with
>    standard or other enterprise modules, e.g., by using the enterprise
>    or organization name as a prefix for the module name.
> 


RECOMMENDED doesn't mean much at all.

Why is so hard to advertise the typedefs/groupings, if they happen
to be in a separate module?

module nctypes {
   namespace http://example.com/ns/nctypes;
   ...
}

module nctypes {
  namespace http://acme.com/nctypes;
  ...
}


Why rely on example-nctypes and acme-nctypes?
It just takes an extra 50 bytes or so of XML to
get it right 100% of the time.

I guess this is another one of those 'extra credit if
your code is robust' kind of details.


> 
> /martin
> 

Andy

From mbj@tail-f.com  Mon Sep  7 12:56:22 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7A10D28C1A2 for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 12:56:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.014
X-Spam-Level: 
X-Spam-Status: No, score=-2.014 tagged_above=-999 required=5 tests=[AWL=0.032,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1v9L67gtAjX5 for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 12:56:21 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 6AF7128C10A for <netmod@ietf.org>; Mon,  7 Sep 2009 12:56:21 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id A73E576C4FC; Mon,  7 Sep 2009 21:56:48 +0200 (CEST)
Date: Mon, 07 Sep 2009 21:56:48 +0200 (CEST)
Message-Id: <20090907.215648.14020644.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AA558D5.10002@netconfcentral.com>
References: <4AA521BB.9060407@netconfcentral.com> <20090907.201716.193671824.mbj@tail-f.com> <4AA558D5.10002@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] advertising module capabilities
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 19:56:22 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> >>> So, a type-only module like ietf-inet-types MAY be advertised.
> >>>
> >>> Hmmm.. I guess it actually might help the client to know which version
> >>> of a type-only module is implemented by a server, in the case that
> >>> some module imports it w/o revision.
> >>>
> >>> Suppose we have this:
> >>>
> >>>   module A-types: revisions 2009-04-01 and 2010-04-01
> >>>   module B imports A-types w/o revision
> >>>   module C imports A-types, revision 2009-04-01
> >>>
> >>> A server might advertise:
> >>>
> >>>   module B, some revision
> >>>   module C, some revision
> >>>   module A-types, 2010-04-01
> >>>
> >>> It is still clear that module C uses the types from A-types
> >>> 2009-04-01.
> >>>
> >> So what is the namespace URI of A_types?
> >> Since everybody is allowed to use a module
> >> name over again, what good is it for finding
> >> a module?
> > 
> > Everybody is not allowed to use a module name over again.  Section 5.1
> > says:
> > 
> >    The names of all standard modules and submodules MUST be unique.
> >    Developers of enterprise modules are RECOMMENDED to choose names for
> >    their modules that will have a low probability of colliding with
> >    standard or other enterprise modules, e.g., by using the enterprise
> >    or organization name as a prefix for the module name.
> > 
> 
> 
> RECOMMENDED doesn't mean much at all.
> 
> Why is so hard to advertise the typedefs/groupings, if they happen
> to be in a separate module?

In my earlier post I agreed that it might make sense to do this.  Then
you started to talk about module names not being unique.  I don't see
the connection.

> module nctypes {
>    namespace http://example.com/ns/nctypes;
>    ...
> }
> 
> module nctypes {
>   namespace http://acme.com/nctypes;
>   ...
> }

So what if a server advertises:

  <capability>http://example.com/ns/nctypes?module=nctypes</capability>
  <capability>http://acme.com/nctypes?module=nctypes</capability>

and another module imports nctypes?

My point is that advertising all module namespaces does not help if
there are module names that are not unique.  But I also do not think
that this will be a problem.  As was discussed earlier, it seems to
work for SMI.


/martin

From mbj@tail-f.com  Mon Sep  7 13:06:32 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C533C3A659A for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 13:06:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.015
X-Spam-Level: 
X-Spam-Status: No, score=-2.015 tagged_above=-999 required=5 tests=[AWL=0.031,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cCHCI4VU4Cx7 for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 13:06:32 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 0960828C10A for <netmod@ietf.org>; Mon,  7 Sep 2009 13:06:32 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 2A44E616009; Mon,  7 Sep 2009 22:07:00 +0200 (CEST)
Date: Mon, 07 Sep 2009 22:06:59 +0200 (CEST)
Message-Id: <20090907.220659.99812018.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AA18B5A.6030108@netconfcentral.com>
References: <4AA162D6.7050208@netconfcentral.com> <20090904.232624.165250112.mbj@tail-f.com> <4AA18B5A.6030108@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 20:06:32 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Martin Bjorklund wrote:
> > Andy Bierman <andy@netconfcentral.com> wrote:
> >> Phil Shafer wrote:
> >>> Andy Bierman writes:
> >>>> There are about 10 ways that a server complying with the
> >>>> spec can cause the client to guess 1 of N possible outcomes.
> >>> Please list them so we can resolve them.
> >>>
> >> I've already posted emails to this list.
> >> They are in the archive.
> > 
> > Andy, I really try to keep track of any unresolved issue.  I have two
> > issues that you brought up:
> > 
> >   require a new revision if a non-editorial change is made
> > 
> >   question if default should be allowed to be added in a new revision
> > 
> 
> I will combine them into 4 issues:
> 
>   - deviations break contract;
>     no evidence AGENT-CAPABILITIES used, so not likely
>     deviation-stmts will be used either.

As several others have pointed out, deviations document how a server
breaks the contract.  Not having deviations will not magically make
the server that needed a deviation in the first place follow the
contract. 

>  - incomplete module capabilities allowed, so meta-data
>    required by client can be inaccurate (9/3 capabilities related edits)

With meta-data, do you mean default or something else?

>  - import-by-revision is optional (9/3 - import-no-revision breaks default)
>    which can cause the meaning of a missing leaf to be ambiguous.

Phil replied to your email, but I never saw a follow-up?

>  - verification of all leaf instance values for interoperability
>    purposes not the same as meta-data + deviations/


Isn't this the same as the first issue?


/martin

From randy_presuhn@mindspring.com  Mon Sep  7 14:25:39 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 984D228C16C for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 14:25:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.858
X-Spam-Level: 
X-Spam-Status: No, score=-0.858 tagged_above=-999 required=5 tests=[AWL=-0.859, BAYES_50=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ilDJMA2hyM76 for <netmod@core3.amsl.com>; Mon,  7 Sep 2009 14:25:38 -0700 (PDT)
Received: from elasmtp-scoter.atl.sa.earthlink.net (elasmtp-scoter.atl.sa.earthlink.net [209.86.89.67]) by core3.amsl.com (Postfix) with ESMTP id D298C3A6A9C for <netmod@ietf.org>; Mon,  7 Sep 2009 14:25:38 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=UtY6JHgY6wJv/bViKzrwl7+/5lkHoEy6OYLJbQufPatftEAn1jCEDin8kTYRV9AQ; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.41.52.64] (helo=oemcomputer) by elasmtp-scoter.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1Mklix-0008I8-2z for netmod@ietf.org; Mon, 07 Sep 2009 17:26:07 -0400
Message-ID: <003201ca3001$d2fd5a00$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netmod@ietf.org>
References: <4AA4EEE1.6000407@netconfcentral.com><20090907.140459.39736169.mbj@tail-f.com><4AA521BB.9060407@netconfcentral.com> <20090907.201716.193671824.mbj@tail-f.com>
Date: Mon, 7 Sep 2009 14:26:11 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f94c14265150a73616cd673cd7be2f9cbe350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.41.52.64
Subject: Re: [netmod] advertising module capabilities
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 21:25:39 -0000

Hi -

> From: "Martin Bjorklund" <mbj@tail-f.com>
> To: <andy@netconfcentral.com>
> Cc: <netmod@ietf.org>
> Sent: Monday, September 07, 2009 11:17 AM
> Subject: Re: [netmod] advertising module capabilities
...
> > So what is the namespace URI of A_types?
> > Since everybody is allowed to use a module
> > name over again, what good is it for finding
> > a module?
> 
> Everybody is not allowed to use a module name over again.  Section 5.1
> says:
> 
>    The names of all standard modules and submodules MUST be unique.
>    Developers of enterprise modules are RECOMMENDED to choose names for
>    their modules that will have a low probability of colliding with
>    standard or other enterprise modules, e.g., by using the enterprise
>    or organization name as a prefix for the module name.

As a practical matter this means is that implementations MUST NOT
rely on the names of modules or submodules being unique.  There is
no guarantee of uniqueness, so using it to find a module would be a bad idea.
SMI made the same mistake, relaying on not-guaranteed-to-be-unique
module names, rather that using the guaranteed-to-be-unique
object identifier notation for modules provided by the ASN.1 notation
from which it was derived.  This did cause real problems for MIB
compilers and management systems.  Let's not repeat the mistake.

Randy


From cfinss@dial.pipex.com  Tue Sep  8 03:25:31 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ECF5E3A6935 for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 03:25:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.124
X-Spam-Level: 
X-Spam-Status: No, score=-1.124 tagged_above=-999 required=5 tests=[AWL=-0.939, BAYES_40=-0.185]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1-aAy5C+h+YK for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 03:25:31 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id CE4093A67E5 for <netmod@ietf.org>; Tue,  8 Sep 2009 03:25:30 -0700 (PDT)
X-Trace: 247498161/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.100.202/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.100.202
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AtcEANvNpUo+vGTK/2dsb2JhbACDLUCNVblKCY5qAgeCPoFRBQ
X-IronPort-AV: E=Sophos;i="4.44,352,1249254000"; d="scan'208";a="247498161"
X-IP-Direction: IN
Received: from 1cust202.tnt1.lnd9.gbr.da.uu.net (HELO allison) ([62.188.100.202]) by smtp.pipex.tiscali.co.uk with SMTP; 08 Sep 2009 11:25:58 +0100
Message-ID: <000201ca3066$2b664300$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>, "Ladislav Lhotka" <lhotka@cesnet.cz>
References: <20090901193508.GA9782@elstar.local><1251878022.12476.77.camel@missotis> <20090902114347.GC10753@elstar.local>
Date: Tue, 8 Sep 2009 09:57:06 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 10:25:32 -0000

----- Original Message ----- 
From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
To: "Ladislav Lhotka" <lhotka@cesnet.cz>
Sent: Wednesday, September 02, 2009 1:43 PM
> 
> Writing to /proc changes operational state - the act of writing to
> /proc does not consitute creation of configuration. Writing to /proc
> becomes configuration if you create a persistent config file that
> writes to /proc again when the box reloads its configuration.

Juergen

It sounds as if you want 'copy running start' as implemented in many,
if not most, network devices and specified in NETCONF.

Changes executed by CLI affect only the 'running' one and will be
lost at the next boot unless a user enters 'copy run start' whereupon
those changes seen as configuration by the device are incorporated
in the 'start' configuration file.

But, the way I've seen this implemented, which I suspect holds true
for many if not most people, is that changes executed by CLI 
do become part of the 'running' datastore and do show up in any 
display or retrieval of configuration.  That too is my reading of
RFC4741.

I don't see any impact on YANG.  Did you have something in
mind?

 Tom Petch

> /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/>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

From cfinss@dial.pipex.com  Tue Sep  8 03:25:32 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E245D28C0CF for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 03:25:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.271
X-Spam-Level: 
X-Spam-Status: No, score=-1.271 tagged_above=-999 required=5 tests=[AWL=-0.761, BAYES_05=-1.11, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hUDcW4bLaJKW for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 03:25:31 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id 7388D3A6825 for <netmod@ietf.org>; Tue,  8 Sep 2009 03:25:31 -0700 (PDT)
X-Trace: 247498167/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.100.202/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.100.202
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AtcEANvNpUo+vGTK/2dsb2JhbACDLUCNVcg9CYQPBQ
X-IronPort-AV: E=Sophos;i="4.44,352,1249254000"; d="scan'208";a="247498167"
X-IP-Direction: IN
Received: from 1cust202.tnt1.lnd9.gbr.da.uu.net (HELO allison) ([62.188.100.202]) by smtp.pipex.tiscali.co.uk with SMTP; 08 Sep 2009 11:25:59 +0100
Message-ID: <000301ca3066$2c38d540$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Ladislav Lhotka" <lhotka@cesnet.cz>
References: <200909021911.n82JBWxl007810@idle.juniper.net> <001e01ca2c10$f5293da0$6801a8c0@oemcomputer> <200909031343.51189.david.partain@ericsson.com> <017801ca2d57$e23c7ca0$0601a8c0@allison> <1252311852.3511.28.camel@missotis>
Date: Tue, 8 Sep 2009 10:01:18 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] Terminology discussion (was Re: proposal: no defaults fornon-config data)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 10:25:33 -0000

----- Original Message -----
From: "Ladislav Lhotka" <lhotka@cesnet.cz>
Sent: Monday, September 07, 2009 10:24 AM


> tom.petch píše v Pá 04. 09. 2009 v 14:01 +0200:
> > ---- Original Message -----
> > From: "David Partain" <david.partain@ericsson.com>
> > To: <netmod@ietf.org>
> > Sent: Thursday, September 03, 2009 1:43 PM
> > Subject: [netmod] Terminology discussion (was Re: proposal: no defaults
> > fornon-config data)
> >
> > >
> > > Phil suggested some definitions to use in other discussions.  Just to make
it
> > > easier to follow, here's the updated text (based on the subsequent mail
> > > thread) and a new thread.  Phil, please sanity check that I got it all..
> > >
> > > Comments on this text?
> >
> > Terminology!
> >
> > 'Configuration database' is not defined in YANG or NETCONF (NETCONF
> > even hints that this is something on the client).  Is this a reference to
> > the running configuration datastore?
>
> Yes, this is an important point. Moreover, "validation time" is in fact
> "commit time" - the device can (partly) validate candidate or startup
> configuration without caring about assigned-by.
>
> >
> > There is a mixture of 'leaf', 'leaf instance', 'list instance'; I think leaf
> > node
> > should only be part of the schema tree, using instance for data tree.  Leaf
> > nodes
> > have config and default substatements, instances have values.
>
> I understand that "object instance" is part of the SNMP heritage but
> since in NETCONF/NETMOD these instances are always XML elements,
> "element" would IMO be clearer. In XML texts, the term "instance" is
> often used to mean the entire XML document. Perhaps we could use
>
> "Element <foo> is an instance of (schema) node 'foo'."

Yes, that looks good; I wonder if we can get the document editors to
agree.

In passing, I think of instance as coming from object class and object
instance, rather than from SMI in particular, but providing a useful
generic term even when the language is not truly O-O.  But element
is certainly a good fit here.

Tom Petch

> Lada
>
>
> Lada
>
> >
> > Tom Petch
> >
> > >                     Do people want to put it into the YANG spec (arch
> > > doc?) or not?
> > >
> > > Thanks,
> > >
> > > David
> > >
> > > "assigned-by system" (ABS): a behavior where the system will, at
> > > validation time, assign values in the configuration database for
> > > leafs which are not given values.  If values were given before
> > > validation time, the system will not assign new values, but will
> > > honor these existing values.
> > >
> > > "configuration default value" (CDV):  the default value used for
> > > a leaf node with "config" set to "true".  If a list instance is
> > > created in the configuration database and the value for a leaf is
> > > not provided, then the CDV is the value which the system will use
> > > internally.  This means that the behaviour of the running system
> > > using that CDV as the internal value is identical to the
> > > behaviour if that leaf had been explicitly configured with that
> > > value.  The CDV value must be a fixed value.
> > >
> > > "operational default value" (ODV): the default value used for
> > > operational data.  This is the value used by the running system
> > > if a value was not configured.  It may not be fixed or easily
> > > described.  The value may be dynamic or even unpublished.
> > >
> > > "configured value" (CV): the value for a leaf that has be created
> > > or set in the configuration database.  A CV is typically created
> > > or set by an explicit action on the part of a user or client
> > > application.  The value of an ABS leaf is considered a CV but a
> > > default value for a leaf that has not been created in the
> > > database is not a CV.
> > >
> > > With these terms, we make the following rules:
> > >
> > > (a) the YANG default statement can be used to provide a CDV.
> > >
> > > (b) the YANG default statement cannot provide defaults for ODVs.
> > >
> > > (c) the YANG default statement cannot provide defaults for ABS
> > > leafs.
> > >
> > > (d) a server MAY choose to not send a leaf element if it is a
> > > configuration leaf ('config true') and the value of the leaf is
> > > the default value.
> > >
> > > (e) ODVs MUST be sent for operational data, since the default
> > > statement applies only to configuration data.  In effect,
> > > operational data has no default values.
> > >
> > > (f) ABS data is _real_ configuration data, since it appears in
> > > the configuration database and can be manipulated with the
> > > operation NETCONF/YANG operations.
> > > _______________________________________________
> > > netmod mailing list
> > > netmod@ietf.org
> > > https://www.ietf.org/mailman/listinfo/netmod
> >
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> --
> Ladislav Lhotka, CESNET
> PGP Key ID: E74E8C0C
>


From mbj@tail-f.com  Tue Sep  8 03:36:21 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BAC443A6861 for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 03:36:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.962
X-Spam-Level: 
X-Spam-Status: No, score=-1.962 tagged_above=-999 required=5 tests=[AWL=0.084,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lysxfRrAxSQv for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 03:36:21 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id E52A93A6802 for <netmod@ietf.org>; Tue,  8 Sep 2009 03:36:20 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id EC89376C4FC; Tue,  8 Sep 2009 12:36:49 +0200 (CEST)
Date: Tue, 08 Sep 2009 12:36:49 +0200 (CEST)
Message-Id: <20090908.123649.107844280.mbj@tail-f.com>
To: cfinss@dial.pipex.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <000301ca3066$2c38d540$0601a8c0@allison>
References: <017801ca2d57$e23c7ca0$0601a8c0@allison> <1252311852.3511.28.camel@missotis> <000301ca3066$2c38d540$0601a8c0@allison>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Terminology discussion
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 10:36:21 -0000

"tom.petch" <cfinss@dial.pipex.com> wrote:
> > > There is a mixture of 'leaf', 'leaf instance', 'list instance'; I think
> > > leaf
> > > node
> > > should only be part of the schema tree, using instance for data tree.  Leaf
> > > nodes
> > > have config and default substatements, instances have values.

A tree is built up of nodes.

In the schema tree, there will be schema nodes.

In the data tree, there will be data nodes.

Sometimes the term instance is used, as in "A leaf node exists in zero
or one instances in the data tree".

> > I understand that "object instance" is part of the SNMP heritage but
> > since in NETCONF/NETMOD these instances are always XML elements,
> > "element" would IMO be clearer. In XML texts, the term "instance" is
> > often used to mean the entire XML document. Perhaps we could use
> >
> > "Element <foo> is an instance of (schema) node 'foo'."
> 
> Yes, that looks good; I wonder if we can get the document editors to
> agree.

We never talk about named leafs or instances or elements, except maybe
in some example.  So we would never use the "<foo>" syntax.  That
leaves us with the generic term "element", and we use that term only
when we talk about the XML encoding.  I think it would be confusing to
use the same term for both things.


/martin

From j.schoenwaelder@jacobs-university.de  Tue Sep  8 04:46:14 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 62FA73A6834 for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 04:46:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.856
X-Spam-Level: 
X-Spam-Status: No, score=-1.856 tagged_above=-999 required=5 tests=[AWL=-0.207, BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GELsH3GQC0nj for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 04:46:13 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 321133A693F for <netmod@ietf.org>; Tue,  8 Sep 2009 04:46:13 -0700 (PDT)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id CC2ABC001D; Tue,  8 Sep 2009 13:46:37 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 0nfR5f53uXAM; Tue,  8 Sep 2009 13:46:36 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id CFE61C0008; Tue,  8 Sep 2009 13:46:36 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id BDEC0C970C5; Tue,  8 Sep 2009 13:46:35 +0200 (CEST)
Date: Tue, 8 Sep 2009 13:46:35 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "tom.petch" <cfinss@dial.pipex.com>
Message-ID: <20090908114635.GC21308@elstar.local>
Mail-Followup-To: "tom.petch" <cfinss@dial.pipex.com>, Ladislav Lhotka <lhotka@cesnet.cz>, "netmod@ietf.org" <netmod@ietf.org>
References: <20090901193508.GA9782@elstar.local> <1251878022.12476.77.camel@missotis> <20090902114347.GC10753@elstar.local> <000201ca3066$2b664300$0601a8c0@allison>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <000201ca3066$2b664300$0601a8c0@allison>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 11:46:14 -0000

On Tue, Sep 08, 2009 at 09:57:06AM +0200, tom.petch wrote:
> ----- Original Message ----- 
> From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
> To: "Ladislav Lhotka" <lhotka@cesnet.cz>
> Sent: Wednesday, September 02, 2009 1:43 PM
> > 
> > Writing to /proc changes operational state - the act of writing to
> > /proc does not consitute creation of configuration. Writing to /proc
> > becomes configuration if you create a persistent config file that
> > writes to /proc again when the box reloads its configuration.
> 
> Juergen
> 
> It sounds as if you want 'copy running start' as implemented in many,
> if not most, network devices and specified in NETCONF.
> 
> Changes executed by CLI affect only the 'running' one and will be
> lost at the next boot unless a user enters 'copy run start' whereupon
> those changes seen as configuration by the device are incorporated
> in the 'start' configuration file.
> 
> But, the way I've seen this implemented, which I suspect holds true
> for many if not most people, is that changes executed by CLI 
> do become part of the 'running' datastore and do show up in any 
> display or retrieval of configuration.  That too is my reading of
> RFC4741.
> 
> I don't see any impact on YANG.  Did you have something in
> mind?

I just wanted to clarify that changing /proc on Unix systems means
changing operational state and not configuration. There is no other
hidden message.

/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/>

From lhotka@cesnet.cz  Tue Sep  8 04:49:28 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1D0543A693F for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 04:49:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.182
X-Spam-Level: 
X-Spam-Status: No, score=-1.182 tagged_above=-999 required=5 tests=[AWL=0.068,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vrGcGikezjvb for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 04:49:27 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 489553A6874 for <netmod@ietf.org>; Tue,  8 Sep 2009 04:49:27 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 94940D80095; Tue,  8 Sep 2009 13:49:56 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <20090908.123649.107844280.mbj@tail-f.com>
References: <017801ca2d57$e23c7ca0$0601a8c0@allison> <1252311852.3511.28.camel@missotis> <000301ca3066$2c38d540$0601a8c0@allison> <20090908.123649.107844280.mbj@tail-f.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Tue, 08 Sep 2009 13:49:55 +0200
Message-Id: <1252410595.6201.57.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Terminology discussion
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 11:49:28 -0000

Martin Bjorklund píše v Út 08. 09. 2009 v 12:36 +0200:
> "tom.petch" <cfinss@dial.pipex.com> wrote:
> > > > There is a mixture of 'leaf', 'leaf instance', 'list instance'; I think
> > > > leaf
> > > > node
> > > > should only be part of the schema tree, using instance for data tree.  Leaf
> > > > nodes
> > > > have config and default substatements, instances have values.
> 
> A tree is built up of nodes.
> 
> In the schema tree, there will be schema nodes.
> 
> In the data tree, there will be data nodes.

This is not waht Terminology section says:

o  data node: A node in the schema tree that can be instantiated in a
   data tree.  One of container, leaf, leaf-list, list, and anyxml.

IMO it is indeed useful to have data nodes as a subset of schema nodes
in the schema tree. The problem is how to call the "instance of a data
node in the data tree" - reusing "data node" here may lead to confusion.

Lada 

> 
> Sometimes the term instance is used, as in "A leaf node exists in zero
> or one instances in the data tree".
> 
> > > I understand that "object instance" is part of the SNMP heritage but
> > > since in NETCONF/NETMOD these instances are always XML elements,
> > > "element" would IMO be clearer. In XML texts, the term "instance" is
> > > often used to mean the entire XML document. Perhaps we could use
> > >
> > > "Element <foo> is an instance of (schema) node 'foo'."
> > 
> > Yes, that looks good; I wonder if we can get the document editors to
> > agree.
> 
> We never talk about named leafs or instances or elements, except maybe
> in some example.  So we would never use the "<foo>" syntax.  That
> leaves us with the generic term "element", and we use that term only
> when we talk about the XML encoding.  I think it would be confusing to
> use the same term for both things.
> 
> 
> /martin
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From lhotka@cesnet.cz  Tue Sep  8 04:55:57 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 518243A66B4 for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 04:55:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.883
X-Spam-Level: 
X-Spam-Status: No, score=-0.883 tagged_above=-999 required=5 tests=[AWL=-0.233, BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id In5bXSsvS01E for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 04:55:56 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 75C413A63EC for <netmod@ietf.org>; Tue,  8 Sep 2009 04:55:56 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 733C2D800C5; Tue,  8 Sep 2009 13:56:26 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
In-Reply-To: <20090908114635.GC21308@elstar.local>
References: <20090901193508.GA9782@elstar.local> <1251878022.12476.77.camel@missotis> <20090902114347.GC10753@elstar.local> <000201ca3066$2b664300$0601a8c0@allison> <20090908114635.GC21308@elstar.local>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Tue, 08 Sep 2009 13:56:25 +0200
Message-Id: <1252410985.6201.64.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 11:55:57 -0000

Juergen Schoenwaelder píše v Út 08. 09. 2009 v 13:46 +0200:
> On Tue, Sep 08, 2009 at 09:57:06AM +0200, tom.petch wrote:
> > ----- Original Message ----- 
> > From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
> > To: "Ladislav Lhotka" <lhotka@cesnet.cz>
> > Sent: Wednesday, September 02, 2009 1:43 PM
> > > 
> > > Writing to /proc changes operational state - the act of writing to
> > > /proc does not consitute creation of configuration. Writing to /proc
> > > becomes configuration if you create a persistent config file that
> > > writes to /proc again when the box reloads its configuration.
> > 
> > Juergen
> > 
> > It sounds as if you want 'copy running start' as implemented in many,
> > if not most, network devices and specified in NETCONF.
> > 
> > Changes executed by CLI affect only the 'running' one and will be
> > lost at the next boot unless a user enters 'copy run start' whereupon
> > those changes seen as configuration by the device are incorporated
> > in the 'start' configuration file.
> > 
> > But, the way I've seen this implemented, which I suspect holds true
> > for many if not most people, is that changes executed by CLI 
> > do become part of the 'running' datastore and do show up in any 
> > display or retrieval of configuration.  That too is my reading of
> > RFC4741.
> > 
> > I don't see any impact on YANG.  Did you have something in
> > mind?
> 
> I just wanted to clarify that changing /proc on Unix systems means
> changing operational state and not configuration. There is no other
> hidden message.

The point is that "running" is volatile in the same way as the /proc
subsystem and on the other hand the contents of /proc behaves exactly
like files and directories, so I fail to see the difference. If /proc
was instead represented in XML, it could be a perfect model for
"running".

Lada

> 
> /js
> 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From j.schoenwaelder@jacobs-university.de  Tue Sep  8 05:02:20 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 884CB3A6976 for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 05:02:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.154
X-Spam-Level: 
X-Spam-Status: No, score=-2.154 tagged_above=-999 required=5 tests=[AWL=0.095,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o+a0sKiMOtSu for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 05:02:19 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 865543A6899 for <netmod@ietf.org>; Tue,  8 Sep 2009 05:02:18 -0700 (PDT)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 7770DC004F; Tue,  8 Sep 2009 14:02:48 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id PSmNRGpu9Gi2; Tue,  8 Sep 2009 14:02:47 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id BB548C004B; Tue,  8 Sep 2009 14:02:47 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 9F34DC9717E; Tue,  8 Sep 2009 14:02:46 +0200 (CEST)
Date: Tue, 8 Sep 2009 14:02:46 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@cesnet.cz>
Message-ID: <20090908120246.GA21371@elstar.local>
Mail-Followup-To: Ladislav Lhotka <lhotka@cesnet.cz>, "tom.petch" <cfinss@dial.pipex.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <20090901193508.GA9782@elstar.local> <1251878022.12476.77.camel@missotis> <20090902114347.GC10753@elstar.local> <000201ca3066$2b664300$0601a8c0@allison> <20090908114635.GC21308@elstar.local> <1252410985.6201.64.camel@missotis>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1252410985.6201.64.camel@missotis>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 12:02:21 -0000

On Tue, Sep 08, 2009 at 01:56:25PM +0200, Ladislav Lhotka wrote:
> Juergen Schoenwaelder p????e v ??t 08. 09. 2009 v 13:46 +0200:
> > 
> > I just wanted to clarify that changing /proc on Unix systems means
> > changing operational state and not configuration. There is no other
> > hidden message.
> 
> The point is that "running" is volatile in the same way as the /proc
> subsystem and on the other hand the contents of /proc behaves exactly
> like files and directories, so I fail to see the difference. If /proc
> was instead represented in XML, it could be a perfect model for
> "running".

No, /proc includes all sort of operational state and statistics. It is
by no means a configuration datastore. The /proc analogy to running is
fundamentally flawed.

/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/>

From lhotka@cesnet.cz  Tue Sep  8 05:12:56 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0104D3A6A0A for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 05:12:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.18
X-Spam-Level: 
X-Spam-Status: No, score=-1.18 tagged_above=-999 required=5 tests=[AWL=0.070,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2OriElNKuauH for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 05:12:55 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 316483A699D for <netmod@ietf.org>; Tue,  8 Sep 2009 05:12:55 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 3E7EBD800C5; Tue,  8 Sep 2009 14:13:25 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
In-Reply-To: <20090908120246.GA21371@elstar.local>
References: <20090901193508.GA9782@elstar.local> <1251878022.12476.77.camel@missotis> <20090902114347.GC10753@elstar.local> <000201ca3066$2b664300$0601a8c0@allison> <20090908114635.GC21308@elstar.local> <1252410985.6201.64.camel@missotis> <20090908120246.GA21371@elstar.local>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Tue, 08 Sep 2009 14:13:23 +0200
Message-Id: <1252412003.6201.79.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 12:12:56 -0000

Juergen Schoenwaelder píše v Út 08. 09. 2009 v 14:02 +0200:
> On Tue, Sep 08, 2009 at 01:56:25PM +0200, Ladislav Lhotka wrote:
> > Juergen Schoenwaelder p????e v ??t 08. 09. 2009 v 13:46 +0200:
> > > 
> > > I just wanted to clarify that changing /proc on Unix systems means
> > > changing operational state and not configuration. There is no other
> > > hidden message.
> > 
> > The point is that "running" is volatile in the same way as the /proc
> > subsystem and on the other hand the contents of /proc behaves exactly
> > like files and directories, so I fail to see the difference. If /proc
> > was instead represented in XML, it could be a perfect model for
> > "running".
> 
> No, /proc includes all sort of operational state and statistics. It is

These would be "config=false" nodes. Nothing in YANG prevents me from
mixing config with non-config nodes. Do you think it is in principle
impossible to write a YANG module for /proc?

Lada

> by no means a configuration datastore. The /proc analogy to running is
> fundamentally flawed.
> 
> /js
> 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From j.schoenwaelder@jacobs-university.de  Tue Sep  8 06:02:31 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D336828C0E2 for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 06:02:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.155
X-Spam-Level: 
X-Spam-Status: No, score=-2.155 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KctY00gbsC-I for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 06:02:30 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 4ADF928C0EC for <netmod@ietf.org>; Tue,  8 Sep 2009 06:02:30 -0700 (PDT)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 2F76BC0053; Tue,  8 Sep 2009 15:03:00 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id gIBYxfzaeNFJ; Tue,  8 Sep 2009 15:02:59 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 9DA9BC0054; Tue,  8 Sep 2009 15:02:58 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 90D91C9732D; Tue,  8 Sep 2009 15:02:57 +0200 (CEST)
Date: Tue, 8 Sep 2009 15:02:57 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@cesnet.cz>
Message-ID: <20090908130257.GA21602@elstar.local>
Mail-Followup-To: Ladislav Lhotka <lhotka@cesnet.cz>, "tom.petch" <cfinss@dial.pipex.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <20090901193508.GA9782@elstar.local> <1251878022.12476.77.camel@missotis> <20090902114347.GC10753@elstar.local> <000201ca3066$2b664300$0601a8c0@allison> <20090908114635.GC21308@elstar.local> <1252410985.6201.64.camel@missotis> <20090908120246.GA21371@elstar.local> <1252412003.6201.79.camel@missotis>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1252412003.6201.79.camel@missotis>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 13:02:31 -0000

On Tue, Sep 08, 2009 at 02:13:23PM +0200, Ladislav Lhotka wrote:
> Juergen Schoenwaelder p????e v ??t 08. 09. 2009 v 14:02 +0200:
> > On Tue, Sep 08, 2009 at 01:56:25PM +0200, Ladislav Lhotka wrote:
> > > Juergen Schoenwaelder p????e v ??t 08. 09. 2009 v 13:46 +0200:
> > > > 
> > > > I just wanted to clarify that changing /proc on Unix systems means
> > > > changing operational state and not configuration. There is no other
> > > > hidden message.
> > > 
> > > The point is that "running" is volatile in the same way as the /proc
> > > subsystem and on the other hand the contents of /proc behaves exactly
> > > like files and directories, so I fail to see the difference. If /proc
> > > was instead represented in XML, it could be a perfect model for
> > > "running".
> > 
> > No, /proc includes all sort of operational state and statistics. It is
> 
> These would be "config=false" nodes. Nothing in YANG prevents me from
> mixing config with non-config nodes. Do you think it is in principle
> impossible to write a YANG module for /proc?

Show me a Unix system that does have copy /proc to kernel parameter
startup mechanism. The naming of many things in /proc is runtime
dependent and really bad for this purpose (see why things like sysfs
have been invented). And since /proc is a kernel data export mechanism
(originally invented to make process information accessible), you lack
all the config that goes into user space processes.

But to answer your question: YANG allows to write a module for /proc -
I believe it is modelling error to do so.

/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/>

From lhotka@cesnet.cz  Tue Sep  8 06:28:13 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D963328C1A0 for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 06:28:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.181
X-Spam-Level: 
X-Spam-Status: No, score=-1.181 tagged_above=-999 required=5 tests=[AWL=0.069,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v7IOKtPyt5kI for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 06:28:13 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 73C3028C101 for <netmod@ietf.org>; Tue,  8 Sep 2009 06:28:12 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 358C6D80095; Tue,  8 Sep 2009 15:28:42 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
In-Reply-To: <20090908130257.GA21602@elstar.local>
References: <20090901193508.GA9782@elstar.local> <1251878022.12476.77.camel@missotis> <20090902114347.GC10753@elstar.local> <000201ca3066$2b664300$0601a8c0@allison> <20090908114635.GC21308@elstar.local> <1252410985.6201.64.camel@missotis> <20090908120246.GA21371@elstar.local> <1252412003.6201.79.camel@missotis> <20090908130257.GA21602@elstar.local>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Tue, 08 Sep 2009 15:28:40 +0200
Message-Id: <1252416520.6201.93.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 13:28:13 -0000

Juergen Schoenwaelder píše v Út 08. 09. 2009 v 15:02 +0200:
> On Tue, Sep 08, 2009 at 02:13:23PM +0200, Ladislav Lhotka wrote:
> > Juergen Schoenwaelder p????e v ??t 08. 09. 2009 v 14:02 +0200:
> > > On Tue, Sep 08, 2009 at 01:56:25PM +0200, Ladislav Lhotka wrote:
> > > > Juergen Schoenwaelder p????e v ??t 08. 09. 2009 v 13:46 +0200:
> > > > > 
> > > > > I just wanted to clarify that changing /proc on Unix systems means
> > > > > changing operational state and not configuration. There is no other
> > > > > hidden message.
> > > > 
> > > > The point is that "running" is volatile in the same way as the /proc
> > > > subsystem and on the other hand the contents of /proc behaves exactly
> > > > like files and directories, so I fail to see the difference. If /proc
> > > > was instead represented in XML, it could be a perfect model for
> > > > "running".
> > > 
> > > No, /proc includes all sort of operational state and statistics. It is
> > 
> > These would be "config=false" nodes. Nothing in YANG prevents me from
> > mixing config with non-config nodes. Do you think it is in principle
> > impossible to write a YANG module for /proc?
> 
> Show me a Unix system that does have copy /proc to kernel parameter
> startup mechanism. The naming of many things in /proc is runtime
> dependent and really bad for this purpose (see why things like sysfs
> have been invented). And since /proc is a kernel data export mechanism
> (originally invented to make process information accessible), you lack
> all the config that goes into user space processes.
> 
> But to answer your question: YANG allows to write a module for /proc -
> I believe it is modelling error to do so.

I am not advocating that /proc be really used as "running", I just claim
a real "running" implementation can use the same mechanism that /proc
uses for some writable parameters, effectively making a single item both
operational and config data. This is where this thread started.

Lada

> 
> /js
> 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From andy@netconfcentral.com  Tue Sep  8 08:09:57 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9F7773A677E for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 08:09:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.511
X-Spam-Level: 
X-Spam-Status: No, score=-2.511 tagged_above=-999 required=5 tests=[AWL=0.088,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TcgLNoRmi62E for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 08:09:56 -0700 (PDT)
Received: from smtp105.sbc.mail.mud.yahoo.com (smtp105.sbc.mail.mud.yahoo.com [68.142.198.204]) by core3.amsl.com (Postfix) with SMTP id BD44B3A68C4 for <netmod@ietf.org>; Tue,  8 Sep 2009 08:09:56 -0700 (PDT)
Received: (qmail 54750 invoked from network); 8 Sep 2009 15:10:25 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp105.sbc.mail.mud.yahoo.com with SMTP; 8 Sep 2009 15:10:24 -0000
X-YMail-OSG: 8mAThwwVM1kLpS0nhsGYbqu4XyFzoCjsgg.sFH_5MThVQ8gllnDDEfP8c_15KFZp6CCxbD.o8q4NMVOi9yBRKL98HQf5y8aGGGQtLPsOeKWNFWyCdQB72shMvxTgZ6hnFmYaTu3R0c17YnrIFqgQjjkoGOgx77F9nGG8WbHNGr1k_4q7B.wo3zMKcQxncAf8Eq5eG_RB8FlOFDBOcs1ogoimZvdKP12ziraKg4Nh438LMwXbR85XGwi6yT5YdQZJdaHTYq8Cpoob9tqscwdF_Ilk_NIVJgsgD9CcF.f.wp2gAL_WML_EpR5gG2UDpsDBI8jzqLiSe3yTXw--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA673FC.4020800@netconfcentral.com>
Date: Tue, 08 Sep 2009 08:10:52 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AA162D6.7050208@netconfcentral.com>	<20090904.232624.165250112.mbj@tail-f.com>	<4AA18B5A.6030108@netconfcentral.com> <20090907.220659.99812018.mbj@tail-f.com>
In-Reply-To: <20090907.220659.99812018.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 15:09:57 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Martin Bjorklund wrote:
>>> Andy Bierman <andy@netconfcentral.com> wrote:
>>>> Phil Shafer wrote:
>>>>> Andy Bierman writes:
>>>>>> There are about 10 ways that a server complying with the
>>>>>> spec can cause the client to guess 1 of N possible outcomes.
>>>>> Please list them so we can resolve them.
>>>>>
>>>> I've already posted emails to this list.
>>>> They are in the archive.
>>> Andy, I really try to keep track of any unresolved issue.  I have two
>>> issues that you brought up:
>>>
>>>   require a new revision if a non-editorial change is made
>>>
>>>   question if default should be allowed to be added in a new revision
>>>
>> I will combine them into 4 issues:
>>
>>   - deviations break contract;
>>     no evidence AGENT-CAPABILITIES used, so not likely
>>     deviation-stmts will be used either.
> 
> As several others have pointed out, deviations document how a server
> breaks the contract.  Not having deviations will not magically make
> the server that needed a deviation in the first place follow the
> contract. 


If the client MUST use the altered contract,
then no contract has been broken -- just
rewritten by the server.  The deviations can
contain semantic garbage, or no semantics at all.

This is a non-starter.  No client can implement
the contract using the syntax-only deviations-stmt
as a way to 'fix' the server problems.  This is pure myth.


> 
>>  - incomplete module capabilities allowed, so meta-data
>>    required by client can be inaccurate (9/3 capabilities related edits)
> 
> With meta-data, do you mean default or something else?

All meta-data that goes into the complicated algorithm
to deduce the value of a default leaf.

It's as simple as algebra:

   Creq(m) = Scap(m) + Sver(descendants(m)) + Sfeat(m) + Sdev(m)

If a RHS component is missing or inaccurate, then the
meta-data is incomplete, and possibly wrong.
The LHS answer is 100% dependent on RHS meta-data
provided by the server, and the server is dependent
on choices made by the data modeler.

> 
>>  - import-by-revision is optional (9/3 - import-no-revision breaks default)
>>    which can cause the meaning of a missing leaf to be ambiguous.
> 
> Phil replied to your email, but I never saw a follow-up?
> 

SMI/SNMP standards developers figured out
how to let every manager retrieve a value
from every agent without complex algorithms
that produce ambiguous or wrong results.

Apparently, restricting YANG so it
does not produce garbage results in NETCONF
is not in the NETMOD charter.


>>  - verification of all leaf instance values for interoperability
>>    purposes not the same as meta-data + deviations/
> 
> 
> Isn't this the same as the first issue?
> 

This is a different issue -- interoperability testing
for standards-track advancement.

Eventually, somebody might have to
deal the RFC 2026 advancement issues.
This assumes there will someday be a standard YANG module
ready for Draft Standard status.



> /martin
> 

Andy

From j.schoenwaelder@jacobs-university.de  Tue Sep  8 08:57:30 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1D9333A6AE9 for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 08:57:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.155
X-Spam-Level: 
X-Spam-Status: No, score=-2.155 tagged_above=-999 required=5 tests=[AWL=0.094,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FpMKm7ji6lrr for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 08:57:29 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id E7F943A6AE8 for <netmod@ietf.org>; Tue,  8 Sep 2009 08:57:28 -0700 (PDT)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id 21C92C0054; Tue,  8 Sep 2009 17:57:59 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id vLjXMyl7YwFA; Tue,  8 Sep 2009 17:57:58 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 4503FC0052; Tue,  8 Sep 2009 17:57:58 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 20FE4C977B2; Tue,  8 Sep 2009 17:57:57 +0200 (CEST)
Date: Tue, 8 Sep 2009 17:57:57 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@cesnet.cz>
Message-ID: <20090908155757.GA21929@elstar.local>
Mail-Followup-To: Ladislav Lhotka <lhotka@cesnet.cz>, "tom.petch" <cfinss@dial.pipex.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <20090901193508.GA9782@elstar.local> <1251878022.12476.77.camel@missotis> <20090902114347.GC10753@elstar.local> <000201ca3066$2b664300$0601a8c0@allison> <20090908114635.GC21308@elstar.local> <1252410985.6201.64.camel@missotis> <20090908120246.GA21371@elstar.local> <1252412003.6201.79.camel@missotis> <20090908130257.GA21602@elstar.local> <1252416520.6201.93.camel@missotis>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1252416520.6201.93.camel@missotis>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 15:57:30 -0000

On Tue, Sep 08, 2009 at 03:28:40PM +0200, Ladislav Lhotka wrote:
 
> I am not advocating that /proc be really used as "running", I just claim
> a real "running" implementation can use the same mechanism that /proc
> uses for some writable parameters, effectively making a single item both
> operational and config data. This is where this thread started.

And I continue to disagree. Operational data and config data are not
the same beast. Something written to /proc is operational state and
not config. The far better analogy is /etc/sysctl.conf and sysctl -a
since this actually exists on some Unix systems and is being used for
configuration.

The mechanics of pushing something into the kernel or reading
something from the kernel is implementation detail, and /proc, /sysfs,
sysctl(3), netlink(3), ... are just a few of the mechanisms you find
on Unix systems (one of the more painful aspects of Unix systems).

/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/>

From andy@netconfcentral.com  Tue Sep  8 10:34:46 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5F15C28C23C for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 10:34:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.212
X-Spam-Level: 
X-Spam-Status: No, score=-2.212 tagged_above=-999 required=5 tests=[AWL=-0.213, BAYES_00=-2.599, J_CHICKENPOX_65=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9JhQ4A0gieJP for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 10:34:45 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id 54B413A6AC2 for <netmod@ietf.org>; Tue,  8 Sep 2009 10:34:45 -0700 (PDT)
Received: (qmail 12714 invoked from network); 8 Sep 2009 17:35:13 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 8 Sep 2009 17:35:13 -0000
X-YMail-OSG: UN3kgAcVM1kzy9Vw0ElSvE4ac_arKBRa6ojTZNEyTsvzRyiI_zdjbKRLYYkDAGX5fnHZoY2tiR_3awWUyqJKYpJBXnGWifKJIoWpKi_fmqE.tnQVhKBcVikFnU8IQd5vWHMH0btrEJShIPz2YADTr7UQS8bHBN24zw53r_yKcWlIhQkwRFxGnf6ID2_JGONj9NbIiRerZSU96MqLSzHHmbH6GQ--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA695ED.1080103@netconfcentral.com>
Date: Tue, 08 Sep 2009 10:35:41 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>, "tom.petch" <cfinss@dial.pipex.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <20090901193508.GA9782@elstar.local>	<1251878022.12476.77.camel@missotis>	<20090902114347.GC10753@elstar.local>	<000201ca3066$2b664300$0601a8c0@allison>	<20090908114635.GC21308@elstar.local>	<1252410985.6201.64.camel@missotis>	<20090908120246.GA21371@elstar.local>	<1252412003.6201.79.camel@missotis>	<20090908130257.GA21602@elstar.local>	<1252416520.6201.93.camel@missotis> <20090908155757.GA21929@elstar.local>
In-Reply-To: <20090908155757.GA21929@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 17:34:46 -0000

Juergen Schoenwaelder wrote:
> On Tue, Sep 08, 2009 at 03:28:40PM +0200, Ladislav Lhotka wrote:
>  
>> I am not advocating that /proc be really used as "running", I just claim
>> a real "running" implementation can use the same mechanism that /proc
>> uses for some writable parameters, effectively making a single item both
>> operational and config data. This is where this thread started.
> 
> And I continue to disagree. Operational data and config data are not
> the same beast. Something written to /proc is operational state and
> not config. The far better analogy is /etc/sysctl.conf and sysctl -a
> since this actually exists on some Unix systems and is being used for
> configuration.
> 
> The mechanics of pushing something into the kernel or reading
> something from the kernel is implementation detail, and /proc, /sysfs,
> sysctl(3), netlink(3), ... are just a few of the mechanisms you find
> on Unix systems (one of the more painful aspects of Unix systems).
> 

I agree with you.
If /proc data was available in NETCONF,
it would be config=false.  /proc is just the user-space
read-only monitoring data -- not the restricted-to-root
kernel-space configuration data.


> /js
> 

Andy

From mbj@tail-f.com  Tue Sep  8 13:05:40 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EBC9F28C2E7 for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 13:05:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.015
X-Spam-Level: 
X-Spam-Status: No, score=-2.015 tagged_above=-999 required=5 tests=[AWL=0.031,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x2d1EyfGi9KT for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 13:05:40 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id D178D28C2E0 for <netmod@ietf.org>; Tue,  8 Sep 2009 13:05:36 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id C2DD076C4FC; Tue,  8 Sep 2009 22:06:06 +0200 (CEST)
Date: Tue, 08 Sep 2009 22:06:06 +0200 (CEST)
Message-Id: <20090908.220606.60411107.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AA673FC.4020800@netconfcentral.com>
References: <4AA18B5A.6030108@netconfcentral.com> <20090907.220659.99812018.mbj@tail-f.com> <4AA673FC.4020800@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 20:05:41 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Martin Bjorklund wrote:
> > Andy Bierman <andy@netconfcentral.com> wrote:
> >> Martin Bjorklund wrote:
> >>> Andy Bierman <andy@netconfcentral.com> wrote:
> >>>> Phil Shafer wrote:
> >>>>> Andy Bierman writes:
> >>>>>> There are about 10 ways that a server complying with the
> >>>>>> spec can cause the client to guess 1 of N possible outcomes.
> >>>>> Please list them so we can resolve them.
> >>>>>
> >>>> I've already posted emails to this list.
> >>>> They are in the archive.
> >>> Andy, I really try to keep track of any unresolved issue.  I have two
> >>> issues that you brought up:
> >>>
> >>>   require a new revision if a non-editorial change is made
> >>>
> >>>   question if default should be allowed to be added in a new revision
> >>>
> >> I will combine them into 4 issues:
> >>
> >>   - deviations break contract;
> >>     no evidence AGENT-CAPABILITIES used, so not likely
> >>     deviation-stmts will be used either.
> > 
> > As several others have pointed out, deviations document how a server
> > breaks the contract.  Not having deviations will not magically make
> > the server that needed a deviation in the first place follow the
> > contract. 
> 
> 
> If the client MUST use the altered contract,

Deviations inform the client how a server breaks the contract.  A
client that implements the standard (contract) will not be able to
talk reliably with a server that broke the contract.  As we say in the
draft:

   Telling the application how a device fails to follow the standard
   is no substitute for implementing the standard correctly.

> >>  - incomplete module capabilities allowed, so meta-data
> >>    required by client can be inaccurate (9/3 capabilities related edits)
> > 
> > With meta-data, do you mean default or something else?
> 
> All meta-data that goes into the complicated algorithm
> to deduce the value of a default leaf.
> 
> It's as simple as algebra:
> 
>    Creq(m) = Scap(m) + Sver(descendants(m)) + Sfeat(m) + Sdev(m)

Sfeat: Features do not change defaults. 

SDev: A client is not required to handle broken servers (i.e. servers
      which changes the contract, e.g. by changing the default).

Sver: Was this supposed to be the version?  If so, see below.

> >>  - import-by-revision is optional (9/3 - import-no-revision breaks default)
> >>    which can cause the meaning of a missing leaf to be ambiguous.
> > 
> > Phil replied to your email, but I never saw a follow-up?
> > 
> 
> SMI/SNMP standards developers figured out
> how to let every manager retrieve a value
> from every agent without complex algorithms
> that produce ambiguous or wrong results.
> 
> Apparently, restricting YANG so it
> does not produce garbage results in NETCONF
> is not in the NETMOD charter.

Phil asked if your opinion is:

  (a) Default statements cannot be added in new revisions of a module.

If so, Sver above goes away.

> >>  - verification of all leaf instance values for interoperability
> >>    purposes not the same as meta-data + deviations/
> > 
> > 
> > Isn't this the same as the first issue?
> > 
> 
> This is a different issue -- interoperability testing
> for standards-track advancement.

Can you describe the issue you are seeing?


/martin

From andy@netconfcentral.com  Tue Sep  8 13:29:48 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4664628C325 for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 13:29:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.511
X-Spam-Level: 
X-Spam-Status: No, score=-2.511 tagged_above=-999 required=5 tests=[AWL=0.088,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4JHC-uLq3saM for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 13:29:47 -0700 (PDT)
Received: from smtp102.sbc.mail.mud.yahoo.com (smtp102.sbc.mail.mud.yahoo.com [68.142.198.201]) by core3.amsl.com (Postfix) with SMTP id 43E263A68A9 for <netmod@ietf.org>; Tue,  8 Sep 2009 13:29:47 -0700 (PDT)
Received: (qmail 45282 invoked from network); 8 Sep 2009 20:30:16 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@68.120.231.134 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 8 Sep 2009 20:30:15 -0000
X-YMail-OSG: jV1HKyYVM1myu9fHA.EfNsLs6XlmczC_vm0tWsNK.nUeYgn8APQnPINXu4p0VcqTYfHsKvmqkEM8C_NeTgpoQzrtbrr583iNiDqwLasoAFdikqGWif1cmcaFeK5VeVnkyskNqzzi6AU5ctuONwT2ROjAUFpo.fs8Fzl1MrZjfr2QA9SsAz.WayMAbuDoz9n0ZFKOc92oLn4LcCcgMfn3vB2NUSgC1TSzlYmruDH9oXXmzbUFmgsbbp7vMd66K.D5TVxMJvnnuEI8m9PQ4iHOiC1juTRoPvdfrfZd_CSd_0r8oYxbXHgah1UwPYGxrzjpjjX75NgxmNf3cg--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AA6BEF4.8000307@netconfcentral.com>
Date: Tue, 08 Sep 2009 13:30:44 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AA18B5A.6030108@netconfcentral.com>	<20090907.220659.99812018.mbj@tail-f.com>	<4AA673FC.4020800@netconfcentral.com> <20090908.220606.60411107.mbj@tail-f.com>
In-Reply-To: <20090908.220606.60411107.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 20:29:48 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Martin Bjorklund wrote:
>>> Andy Bierman <andy@netconfcentral.com> wrote:
>>>> Martin Bjorklund wrote:
>>>>> Andy Bierman <andy@netconfcentral.com> wrote:
>>>>>> Phil Shafer wrote:
>>>>>>> Andy Bierman writes:
>>>>>>>> There are about 10 ways that a server complying with the
>>>>>>>> spec can cause the client to guess 1 of N possible outcomes.
>>>>>>> Please list them so we can resolve them.
>>>>>>>
>>>>>> I've already posted emails to this list.
>>>>>> They are in the archive.
>>>>> Andy, I really try to keep track of any unresolved issue.  I have two
>>>>> issues that you brought up:
>>>>>
>>>>>   require a new revision if a non-editorial change is made
>>>>>
>>>>>   question if default should be allowed to be added in a new revision
>>>>>
>>>> I will combine them into 4 issues:
>>>>
>>>>   - deviations break contract;
>>>>     no evidence AGENT-CAPABILITIES used, so not likely
>>>>     deviation-stmts will be used either.
>>> As several others have pointed out, deviations document how a server
>>> breaks the contract.  Not having deviations will not magically make
>>> the server that needed a deviation in the first place follow the
>>> contract. 
>>
>> If the client MUST use the altered contract,
> 
> Deviations inform the client how a server breaks the contract.  A
> client that implements the standard (contract) will not be able to
> talk reliably with a server that broke the contract.  As we say in the
> draft:
> 
>    Telling the application how a device fails to follow the standard
>    is no substitute for implementing the standard correctly.

Then change all the client MUST to MAY wrt/ deriving defaults.
The YANG spec can only deliver on MAY.

The client requirement can only be a MAY, because
the data modeler MAY choose no-revision or no-import-by-revision,
and the server MAY choose to omit module capability information.


> 
>>>>  - incomplete module capabilities allowed, so meta-data
>>>>    required by client can be inaccurate (9/3 capabilities related edits)
>>> With meta-data, do you mean default or something else?
>> All meta-data that goes into the complicated algorithm
>> to deduce the value of a default leaf.
>>
>> It's as simple as algebra:
>>
>>    Creq(m) = Scap(m) + Sver(descendants(m)) + Sfeat(m) + Sdev(m)
> 
> Sfeat: Features do not change defaults. 
> 
> SDev: A client is not required to handle broken servers (i.e. servers
>       which changes the contract, e.g. by changing the default).
> 

Then change the text to say that.
The current proposal is that the deviation changes the
default (either adds or changes the default value).
This is a non-starter for a MUST requirement.
It is a MAY requirement at best.

> Sver: Was this supposed to be the version?  If so, see below.
> 

the version (if available) of all nested imported modules
may impact the actual typedef or grouping used.


>>>>  - import-by-revision is optional (9/3 - import-no-revision breaks default)
>>>>    which can cause the meaning of a missing leaf to be ambiguous.
>>> Phil replied to your email, but I never saw a follow-up?
>>>
>> SMI/SNMP standards developers figured out
>> how to let every manager retrieve a value
>> from every agent without complex algorithms
>> that produce ambiguous or wrong results.
>>
>> Apparently, restricting YANG so it
>> does not produce garbage results in NETCONF
>> is not in the NETMOD charter.
> 
> Phil asked if your opinion is:
> 
>   (a) Default statements cannot be added in new revisions of a module.
> 
> If so, Sver above goes away.
> 

That seems like a really harsh solution just
to keep the server from returning a default value.

I will never agree that there is a problem to solve
here.  This solution looks like a Rube Goldberg Contest entry
to me.  The server knows the default value it
is using (if any).  It also knows how to return a leaf value
to the client. Combining the 2 is trivial.


>>>>  - verification of all leaf instance values for interoperability
>>>>    purposes not the same as meta-data + deviations/
>>>
>>> Isn't this the same as the first issue?
>>>
>> This is a different issue -- interoperability testing
>> for standards-track advancement.
> 
> Can you describe the issue you are seeing?
> 

I already did.
Comparing apples to apples can be extremely complicated.

> 
> /martin
> 


Andy


From lhotka@cesnet.cz  Tue Sep  8 21:07:15 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 298F43A6B6B for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 21:07:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.182
X-Spam-Level: 
X-Spam-Status: No, score=-1.182 tagged_above=-999 required=5 tests=[AWL=0.068,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CNyCZqJ40x1O for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 21:07:14 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 270BE3A6AA0 for <netmod@ietf.org>; Tue,  8 Sep 2009 21:07:14 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 67362D80095; Wed,  9 Sep 2009 06:07:45 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
In-Reply-To: <20090908155757.GA21929@elstar.local>
References: <20090901193508.GA9782@elstar.local> <1251878022.12476.77.camel@missotis> <20090902114347.GC10753@elstar.local> <000201ca3066$2b664300$0601a8c0@allison> <20090908114635.GC21308@elstar.local> <1252410985.6201.64.camel@missotis> <20090908120246.GA21371@elstar.local> <1252412003.6201.79.camel@missotis> <20090908130257.GA21602@elstar.local> <1252416520.6201.93.camel@missotis> <20090908155757.GA21929@elstar.local>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 09 Sep 2009 06:07:44 +0200
Message-Id: <1252469264.24880.26.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Sep 2009 04:07:15 -0000

Juergen Schoenwaelder píše v Út 08. 09. 2009 v 17:57 +0200:
> On Tue, Sep 08, 2009 at 03:28:40PM +0200, Ladislav Lhotka wrote:
>  
> > I am not advocating that /proc be really used as "running", I just claim
> > a real "running" implementation can use the same mechanism that /proc
> > uses for some writable parameters, effectively making a single item both
> > operational and config data. This is where this thread started.
> 
> And I continue to disagree. Operational data and config data are not
> the same beast. Something written to /proc is operational state and

Conceptually, yes. Nonetheless, some parameters may be modelled and
implemented so that any change in the operational value is immediately
reflected in "running". In some cases, this might just be the right
thing to do.

For example, if I use a hardware switch for turning off WiFi (i.e.
changing the operational status) and then fetch "running", I actually
want to see in the configuration that WiFi is turned off. But I can also
turn off WiFi by writing 0 to the same node via edit-config.
This single parameter then clearly satisfies both of your definitions:

- Configuration data is the set of writable data that is required to
  transform a system from its initial default state into its current
  state. [RFC 4741]

- Operational state data is a set of data that has been obtained by
  the system at runtime and influences the system's behaviour similar
  to configuration data. In contrast to configuration data,
  operational state is transient and modified by interactions with
  internal components or other systems via specialized protocols.

Lada

> not config. The far better analogy is /etc/sysctl.conf and sysctl -a
> since this actually exists on some Unix systems and is being used for
> configuration.
> 
> The mechanics of pushing something into the kernel or reading
> something from the kernel is implementation detail, and /proc, /sysfs,
> sysctl(3), netlink(3), ... are just a few of the mechanisms you find
> on Unix systems (one of the more painful aspects of Unix systems).
> 
> /js
> 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From j.schoenwaelder@jacobs-university.de  Tue Sep  8 22:01:34 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C28BC3A6B81 for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 22:01:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.156
X-Spam-Level: 
X-Spam-Status: No, score=-2.156 tagged_above=-999 required=5 tests=[AWL=0.093,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1OI1-2vl7CDR for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 22:01:34 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 6DC133A6A9F for <netmod@ietf.org>; Tue,  8 Sep 2009 22:01:31 -0700 (PDT)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id BAEADC0055; Wed,  9 Sep 2009 07:02:02 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id TkBdFp6W85ia; Wed,  9 Sep 2009 07:02:01 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id A9D3BC0054; Wed,  9 Sep 2009 07:02:01 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 951BAC9846D; Wed,  9 Sep 2009 07:02:00 +0200 (CEST)
Date: Wed, 9 Sep 2009 07:02:00 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@cesnet.cz>
Message-ID: <20090909050200.GA22867@elstar.local>
Mail-Followup-To: Ladislav Lhotka <lhotka@cesnet.cz>, "tom.petch" <cfinss@dial.pipex.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <20090902114347.GC10753@elstar.local> <000201ca3066$2b664300$0601a8c0@allison> <20090908114635.GC21308@elstar.local> <1252410985.6201.64.camel@missotis> <20090908120246.GA21371@elstar.local> <1252412003.6201.79.camel@missotis> <20090908130257.GA21602@elstar.local> <1252416520.6201.93.camel@missotis> <20090908155757.GA21929@elstar.local> <1252469264.24880.26.camel@missotis>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1252469264.24880.26.camel@missotis>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Sep 2009 05:01:34 -0000

On Wed, Sep 09, 2009 at 06:07:44AM +0200, Ladislav Lhotka wrote:
> Juergen Schoenwaelder p????e v ??t 08. 09. 2009 v 17:57 +0200:
> > On Tue, Sep 08, 2009 at 03:28:40PM +0200, Ladislav Lhotka wrote:
> >  
> > > I am not advocating that /proc be really used as "running", I just claim
> > > a real "running" implementation can use the same mechanism that /proc
> > > uses for some writable parameters, effectively making a single item both
> > > operational and config data. This is where this thread started.
> > 
> > And I continue to disagree. Operational data and config data are not
> > the same beast. Something written to /proc is operational state and
> 
> Conceptually, yes. Nonetheless, some parameters may be modelled and
> implemented so that any change in the operational value is immediately
> reflected in "running". In some cases, this might just be the right
> thing to do.
> 
> For example, if I use a hardware switch for turning off WiFi (i.e.
> changing the operational status) and then fetch "running", I actually
> want to see in the configuration that WiFi is turned off. But I can also
> turn off WiFi by writing 0 to the same node via edit-config.
> This single parameter then clearly satisfies both of your definitions:
> 
> - Configuration data is the set of writable data that is required to
>   transform a system from its initial default state into its current
>   state. [RFC 4741]
> 
> - Operational state data is a set of data that has been obtained by
>   the system at runtime and influences the system's behaviour similar
>   to configuration data. In contrast to configuration data,
>   operational state is transient and modified by interactions with
>   internal components or other systems via specialized protocols.

Once again, any information in /proc is not persistent. Its not
config.  If you now want to discuss hypothetical hardware switches for
WiFi, please start a separate thread.

/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/>

From lhotka@cesnet.cz  Tue Sep  8 22:11:36 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7BF6F3A6B9A for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 22:11:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.176
X-Spam-Level: 
X-Spam-Status: No, score=-1.176 tagged_above=-999 required=5 tests=[AWL=0.074,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xJ4ATXoj3ZZx for <netmod@core3.amsl.com>; Tue,  8 Sep 2009 22:11:35 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 0C6923A6B9C for <netmod@ietf.org>; Tue,  8 Sep 2009 22:11:35 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 9C9A6D800C1; Wed,  9 Sep 2009 07:12:06 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
In-Reply-To: <20090909050200.GA22867@elstar.local>
References: <20090902114347.GC10753@elstar.local> <000201ca3066$2b664300$0601a8c0@allison> <20090908114635.GC21308@elstar.local> <1252410985.6201.64.camel@missotis> <20090908120246.GA21371@elstar.local> <1252412003.6201.79.camel@missotis> <20090908130257.GA21602@elstar.local> <1252416520.6201.93.camel@missotis> <20090908155757.GA21929@elstar.local> <1252469264.24880.26.camel@missotis> <20090909050200.GA22867@elstar.local>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 09 Sep 2009 07:12:05 +0200
Message-Id: <1252473125.24880.33.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Sep 2009 05:11:36 -0000

Juergen Schoenwaelder píše v St 09. 09. 2009 v 07:02 +0200:
> On Wed, Sep 09, 2009 at 06:07:44AM +0200, Ladislav Lhotka wrote:
> > Juergen Schoenwaelder p????e v ??t 08. 09. 2009 v 17:57 +0200:
> > > On Tue, Sep 08, 2009 at 03:28:40PM +0200, Ladislav Lhotka wrote:
> > >  
> > > > I am not advocating that /proc be really used as "running", I just claim
> > > > a real "running" implementation can use the same mechanism that /proc
> > > > uses for some writable parameters, effectively making a single item both
> > > > operational and config data. This is where this thread started.
> > > 
> > > And I continue to disagree. Operational data and config data are not
> > > the same beast. Something written to /proc is operational state and
> > 
> > Conceptually, yes. Nonetheless, some parameters may be modelled and
> > implemented so that any change in the operational value is immediately
> > reflected in "running". In some cases, this might just be the right
> > thing to do.
> > 
> > For example, if I use a hardware switch for turning off WiFi (i.e.
> > changing the operational status) and then fetch "running", I actually
> > want to see in the configuration that WiFi is turned off. But I can also
> > turn off WiFi by writing 0 to the same node via edit-config.
> > This single parameter then clearly satisfies both of your definitions:
> > 
> > - Configuration data is the set of writable data that is required to
> >   transform a system from its initial default state into its current
> >   state. [RFC 4741]
> > 
> > - Operational state data is a set of data that has been obtained by
> >   the system at runtime and influences the system's behaviour similar
> >   to configuration data. In contrast to configuration data,
> >   operational state is transient and modified by interactions with
> >   internal components or other systems via specialized protocols.
> 
> Once again, any information in /proc is not persistent. Its not
> config.  If you now want to discuss hypothetical hardware switches for
> WiFi, please start a separate thread.

As Tom pointed out, "running" is not persistent either.

Lada

> 
> /js
> 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From mbj@tail-f.com  Wed Sep  9 00:01:01 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0F86F28C0F6 for <netmod@core3.amsl.com>; Wed,  9 Sep 2009 00:01:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.016
X-Spam-Level: 
X-Spam-Status: No, score=-2.016 tagged_above=-999 required=5 tests=[AWL=0.030,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FCxynPOxvk8A for <netmod@core3.amsl.com>; Wed,  9 Sep 2009 00:01:00 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 4E1493A6A59 for <netmod@ietf.org>; Wed,  9 Sep 2009 00:01:00 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 0766F76C5F9; Wed,  9 Sep 2009 09:01:31 +0200 (CEST)
Date: Wed, 09 Sep 2009 09:01:30 +0200 (CEST)
Message-Id: <20090909.090130.172588269.mbj@tail-f.com>
To: lhotka@cesnet.cz
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <1252473125.24880.33.camel@missotis>
References: <1252469264.24880.26.camel@missotis> <20090909050200.GA22867@elstar.local> <1252473125.24880.33.camel@missotis>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Sep 2009 07:01:01 -0000

Ladislav Lhotka <lhotka@cesnet.cz> wrote:
> As Tom pointed out, "running" is not persistent either.

Depending on capabilities, running can be persistent.  The only time
it is not persistent is if you have the distinct startup capability.


/martin

From lhotka@cesnet.cz  Wed Sep  9 00:15:12 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4EA5B3A6823 for <netmod@core3.amsl.com>; Wed,  9 Sep 2009 00:15:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.176
X-Spam-Level: 
X-Spam-Status: No, score=-1.176 tagged_above=-999 required=5 tests=[AWL=0.074,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9GW4eM1JvqnD for <netmod@core3.amsl.com>; Wed,  9 Sep 2009 00:15:11 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 716643A680D for <netmod@ietf.org>; Wed,  9 Sep 2009 00:15:11 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 5B705D80096; Wed,  9 Sep 2009 09:15:42 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <20090909.090130.172588269.mbj@tail-f.com>
References: <1252469264.24880.26.camel@missotis> <20090909050200.GA22867@elstar.local> <1252473125.24880.33.camel@missotis> <20090909.090130.172588269.mbj@tail-f.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 09 Sep 2009 09:15:40 +0200
Message-Id: <1252480541.24880.47.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Sep 2009 07:15:12 -0000

Martin Bjorklund píše v St 09. 09. 2009 v 09:01 +0200:
> Ladislav Lhotka <lhotka@cesnet.cz> wrote:
> > As Tom pointed out, "running" is not persistent either.
> 
> Depending on capabilities, running can be persistent.  The only time
> it is not persistent is if you have the distinct startup capability.

Yes, but persistence by itself is not what discriminates config data
from operational status data.

Lada

> 
> 
> /martin
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From cfinss@dial.pipex.com  Wed Sep  9 07:10:11 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C70E53A69CF for <netmod@core3.amsl.com>; Wed,  9 Sep 2009 07:10:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.096
X-Spam-Level: 
X-Spam-Status: No, score=-1.096 tagged_above=-999 required=5 tests=[AWL=-0.911, BAYES_40=-0.185]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b-aiMbdbABDO for <netmod@core3.amsl.com>; Wed,  9 Sep 2009 07:10:10 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id CDD613A67A8 for <netmod@ietf.org>; Wed,  9 Sep 2009 07:10:09 -0700 (PDT)
X-Trace: 247872176/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.100.75/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.100.75
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AtUEABdUp0o+vGRL/2dsb2JhbACDLUAijTfNOwmEDwU
X-IronPort-AV: E=Sophos;i="4.44,358,1249254000"; d="scan'208";a="247872176"
X-IP-Direction: IN
Received: from 1cust75.tnt1.lnd9.gbr.da.uu.net (HELO allison) ([62.188.100.75]) by smtp.pipex.tiscali.co.uk with SMTP; 09 Sep 2009 15:10:40 +0100
Message-ID: <000201ca314e$b870f0e0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
References: <1252469264.24880.26.camel@missotis><20090909050200.GA22867@elstar.local><1252473125.24880.33.camel@missotis><20090909.090130.172588269.mbj@tail-f.com> <1252480541.24880.47.camel@missotis>
Date: Wed, 9 Sep 2009 15:04:36 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Sep 2009 14:10:11 -0000

----- Original Message -----
From: "Ladislav Lhotka" <lhotka@cesnet.cz>
Sent: Wednesday, September 09, 2009 9:15 AM

> Martin Bjorklund píše v St 09. 09. 2009 v 09:01 +0200:
> > Ladislav Lhotka <lhotka@cesnet.cz> wrote:
> > > As Tom pointed out, "running" is not persistent either.
> >
> > Depending on capabilities, running can be persistent.  The only time
> > it is not persistent is if you have the distinct startup capability.
>
> Yes, but persistence by itself is not what discriminates config data
> from operational status data.
>
> Lada

Juergen

You did say

> Writing to /proc
> becomes configuration if you create a persistent config file that
> writes to /proc again when the box reloads its configuration.

which suggests to me that there are items of data in /proc which I might
regard as configuration.  Can you give me some examples of what
you had in mind in this statement?

Tom Petch

> > /martin
> --
> Ladislav Lhotka, CESNET
> PGP Key ID: E74E8C0C


From j.schoenwaelder@jacobs-university.de  Wed Sep  9 07:41:32 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C2A0B28C41A for <netmod@core3.amsl.com>; Wed,  9 Sep 2009 07:41:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.856
X-Spam-Level: 
X-Spam-Status: No, score=-1.856 tagged_above=-999 required=5 tests=[AWL=-0.207, BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8LmbQMH8Eo9x for <netmod@core3.amsl.com>; Wed,  9 Sep 2009 07:41:32 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 99DBC28C485 for <netmod@ietf.org>; Wed,  9 Sep 2009 07:41:30 -0700 (PDT)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id D96B9C0014; Wed,  9 Sep 2009 16:42:02 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id SqFxcnduPYcv; Wed,  9 Sep 2009 16:42:01 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id B1A1DC0003; Wed,  9 Sep 2009 16:42:01 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 9EDAAC9964B; Wed,  9 Sep 2009 16:42:00 +0200 (CEST)
Date: Wed, 9 Sep 2009 16:42:00 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "tom.petch" <cfinss@dial.pipex.com>
Message-ID: <20090909144200.GA23543@elstar.local>
Mail-Followup-To: "tom.petch" <cfinss@dial.pipex.com>, "netmod@ietf.org" <netmod@ietf.org>, Ladislav Lhotka <lhotka@cesnet.cz>, Martin Bjorklund <mbj@tail-f.com>
References: <1252469264.24880.26.camel@missotis> <20090909050200.GA22867@elstar.local> <1252473125.24880.33.camel@missotis> <20090909.090130.172588269.mbj@tail-f.com> <1252480541.24880.47.camel@missotis> <000201ca314e$b870f0e0$0601a8c0@allison>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <000201ca314e$b870f0e0$0601a8c0@allison>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] 'copy run start was Configuration Data versus Operational State Data versus Statistics
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Sep 2009 14:41:32 -0000

On Wed, Sep 09, 2009 at 03:04:36PM +0200, tom.petch wrote:
> ----- Original Message -----
> From: "Ladislav Lhotka" <lhotka@cesnet.cz>
> Sent: Wednesday, September 09, 2009 9:15 AM
> 
> > Martin Bjorklund p????e v St 09. 09. 2009 v 09:01 +0200:
> > > Ladislav Lhotka <lhotka@cesnet.cz> wrote:
> > > > As Tom pointed out, "running" is not persistent either.
> > >
> > > Depending on capabilities, running can be persistent.  The only time
> > > it is not persistent is if you have the distinct startup capability.
> >
> > Yes, but persistence by itself is not what discriminates config data
> > from operational status data.
> >
> > Lada
> 
> Juergen
> 
> You did say
> 
> > Writing to /proc
> > becomes configuration if you create a persistent config file that
> > writes to /proc again when the box reloads its configuration.
> 
> which suggests to me that there are items of data in /proc which I might
> regard as configuration.  Can you give me some examples of what
> you had in mind in this statement?

I want to get out of this thread. There is no standard /proc to begin
with. Run a find to locate writable files in /proc and then study what
is inside and see whether that meets your notion of configurable
object. But then again, /proc is all about operational state and a
IMHO a bad template for modeling config. Look into /etc instead.

/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/>

From david.partain@ericsson.com  Thu Sep 10 01:34:06 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5D0913A685F for <netmod@core3.amsl.com>; Thu, 10 Sep 2009 01:34:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.489
X-Spam-Level: 
X-Spam-Status: No, score=-2.489 tagged_above=-999 required=5 tests=[AWL=-2.317, BAYES_00=-2.599, HELO_EQ_SE=0.35, SUBJ_ALL_CAPS=2.077]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Iw-sSzZxQiDP for <netmod@core3.amsl.com>; Thu, 10 Sep 2009 01:34:05 -0700 (PDT)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id 3E0833A67D8 for <netmod@ietf.org>; Thu, 10 Sep 2009 01:34:05 -0700 (PDT)
X-AuditID: c1b4fb24-b7c01ae00000498b-8e-4aa8ba1d5db0
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw5.ericsson.se (Symantec Brightmail Gateway) with SMTP id 94.5A.18827.D1AB8AA4; Thu, 10 Sep 2009 10:34:37 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 10 Sep 2009 10:34:37 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 10 Sep 2009 10:34:37 +0200
Content-Disposition: inline
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: NETMOD Working Group <netmod@ietf.org>
Date: Thu, 10 Sep 2009 10:34:36 +0200
User-Agent: KMail/1.9.10
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200909101034.37072.david.partain@ericsson.com>
X-OriginalArrivalTime: 10 Sep 2009 08:34:37.0417 (UTC) FILETIME=[88202D90:01CA31F1]
X-Brightmail-Tracker: AAAAAA==
Subject: [netmod] NOMCOM 2009-2010
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Sep 2009 08:34:06 -0000

Hi all,

This year's nominating committee (NOMCOM) is still looking for volunteers for 
the positions they need to fill.  Mary Barnes writes:

"We *really* need more nominations in order to properly execute the task of 
selecting candidates for the open positions."

Please consider volunteering or nominating someone for the positions under 
consideration.  See Mary's complete message at:

http://www.ietf.org/mail-archive/web/ietf-announce/current/msg06510.html

Cheers,

David

From andy@netconfcentral.com  Sat Sep 12 13:21:38 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B0FF43A6835 for <netmod@core3.amsl.com>; Sat, 12 Sep 2009 13:21:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.426
X-Spam-Level: 
X-Spam-Status: No, score=-2.426 tagged_above=-999 required=5 tests=[AWL=0.173,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hddkuxc64pUd for <netmod@core3.amsl.com>; Sat, 12 Sep 2009 13:21:38 -0700 (PDT)
Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by core3.amsl.com (Postfix) with SMTP id DF39B3A68EF for <netmod@ietf.org>; Sat, 12 Sep 2009 13:21:37 -0700 (PDT)
Received: (qmail 74614 invoked from network); 12 Sep 2009 20:22:16 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 12 Sep 2009 20:22:16 -0000
X-YMail-OSG: zh3.iUgVM1mFyduENvGNaLoLO.v0zSxeftetuk5N1yxs9uPvqMs8zbxs0iCTJw2Mo6oOOKkI5Vrrwb6UQLaGl38KrQZSMRKPjgp4NOCnlFGTF361lvIu8145KT7FwSfYpM3KdMRuOX9JCReI_.7EisMox2oojHF8T7FT7_uXJVpsmvWCUCkbR8v8gG4T43Aq1UVx4Q45DI6GVDvEs3s2FFdmEAYNJvbnn.iVfsW6c4Bb.4a3zYD0oKYu.F75r34dYSe8w3ZUsnrxo9EN
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAC031B.8010303@netconfcentral.com>
Date: Sat, 12 Sep 2009 13:22:51 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] yang-07 refinement-stmt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Sep 2009 20:21:38 -0000

Hi,

7.12.2:

----------------------------------------------------------
bullet 1 is wrong: default cannot be changed, just added

OLD:

   o  A leaf or choice node may get a default value, or a new default
      value if it already had one.

NEW:

   o  A leaf or choice node may get a default value, or a new default
      value if it does not already have one.
----------------------------------------------------------

What is the point of allowing the mandatory-stmt for anyxml,
but not allowing it to be refined?

OLD:

   o  A leaf or choice node may get a different "mandatory" statement.

 NEW:

   o  A leaf, anyxml, or choice node may get a different "mandatory" statement.

Note that the existing OLD ABNF below matches the NEW text,
not the OLD text.

----------------------------------------------------------
All the other constructs that allow must-stmt
allow it to be refined -- except anyxml.
There is no explanation given.  IMO it should be allowed.

OLD:

   o  A leaf, leaf-list, list or container node may get additional
      "must" expressions.

NEW:

   o  A leaf, anyxml, leaf-list, list or container node may get additional
      "must" expressions.


----------------------------------------------------------

ABNF section:  add *(must-stmt stmtsep)


OLD:

   refine-anyxml-stmts = ;; these stmts can appear in any order
                         [config-stmt stmtsep]
                         [mandatory-stmt stmtsep]
                         [description-stmt stmtsep]
                         [reference-stmt stmtsep]

NEW:

   refine-anyxml-stmts = ;; these stmts can appear in any order
                         *(must-stmt stmtsep)
                         [config-stmt stmtsep]
                         [mandatory-stmt stmtsep]
                         [description-stmt stmtsep]
                         [reference-stmt stmtsep]

----------------------------------------------------------


thanks,
Andy

From mbj@tail-f.com  Sun Sep 13 23:14:10 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1C2793A69BE for <netmod@core3.amsl.com>; Sun, 13 Sep 2009 23:14:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.757
X-Spam-Level: 
X-Spam-Status: No, score=-0.757 tagged_above=-999 required=5 tests=[AWL=-1.125, BAYES_40=-0.185, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4JS1qgQBO6Tq for <netmod@core3.amsl.com>; Sun, 13 Sep 2009 23:14:09 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 4698E3A68DB for <netmod@ietf.org>; Sun, 13 Sep 2009 23:14:08 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id 0D28961600A; Mon, 14 Sep 2009 08:14:51 +0200 (CEST)
Date: Mon, 14 Sep 2009 08:14:50 +0200 (CEST)
Message-Id: <20090914.081450.187349279.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AAC031B.8010303@netconfcentral.com>
References: <4AAC031B.8010303@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] yang-07 refinement-stmt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 06:14:10 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Hi,
> 
> 7.12.2:
> 
> ----------------------------------------------------------
> bullet 1 is wrong: default cannot be changed, just added

Why can't a default be changed?


> What is the point of allowing the mandatory-stmt for anyxml,
> but not allowing it to be refined?
> 
> OLD:
> 
>    o  A leaf or choice node may get a different "mandatory" statement.
> 
>  NEW:
> 
>    o  A leaf, anyxml, or choice node may get a different "mandatory" statement.

Fixed.

> Note that the existing OLD ABNF below matches the NEW text,
> not the OLD text.


> ----------------------------------------------------------
> All the other constructs that allow must-stmt
> allow it to be refined -- except anyxml.
> There is no explanation given.  IMO it should be allowed.
> 
> OLD:
> 
>    o  A leaf, leaf-list, list or container node may get additional
>       "must" expressions.
> 
> NEW:
> 
>    o  A leaf, anyxml, leaf-list, list or container node may get additional
>       "must" expressions.
> 
> 
> ----------------------------------------------------------
> 
> ABNF section:  add *(must-stmt stmtsep)

Fixed.


/martin

From andy@netconfcentral.com  Mon Sep 14 02:11:34 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 290E128C0F1 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 02:11:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.345
X-Spam-Level: 
X-Spam-Status: No, score=-1.345 tagged_above=-999 required=5 tests=[AWL=-0.939, BAYES_20=-0.74, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5pZUnPRdJWxx for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 02:11:33 -0700 (PDT)
Received: from smtp127.sbc.mail.sp1.yahoo.com (smtp127.sbc.mail.sp1.yahoo.com [69.147.65.186]) by core3.amsl.com (Postfix) with SMTP id 882AA3A6951 for <netmod@ietf.org>; Mon, 14 Sep 2009 02:11:33 -0700 (PDT)
Received: (qmail 68727 invoked from network); 14 Sep 2009 09:12:15 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp127.sbc.mail.sp1.yahoo.com with SMTP; 14 Sep 2009 09:12:14 -0000
X-YMail-OSG: 8w4_578VM1nmT6_dFVLpTjBHcFz3qn3iB7cH.K7eDMeJUBlpzwW6S5.M81nGe8JR8Yf2WJ5wFKuAbvXrUVu6J.e3qfh.tZCDWnxNl8zWnYBVcqYBbl9U_kL8UryZblAyeo.sbAOsbZlkeN0HSgeVFyvw4oajHRq3OLCMIpqI6mC_n1hh1XTIluFJlY6ULXNnd47S.70eCyQX4A7z3ZG6XySe_5XOdPhq7CjeOuksMzXuycy.jPCkmHNHeAYwaQs9kSeSshjsiVTr
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAE0914.4050700@netconfcentral.com>
Date: Mon, 14 Sep 2009 02:12:52 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AAC031B.8010303@netconfcentral.com> <20090914.081450.187349279.mbj@tail-f.com>
In-Reply-To: <20090914.081450.187349279.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] yang-07 refinement-stmt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 09:11:34 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Hi,
>>
>> 7.12.2:
>>
>> ----------------------------------------------------------
>> bullet 1 is wrong: default cannot be changed, just added
> 
> Why can't a default be changed?
> 

That is a deviation, not a legal change.
The default assigned in a grouping is no
different than a default in a regular leaf.

> 
>> What is the point of allowing the mandatory-stmt for anyxml,
>> but not allowing it to be refined?
>>
>> OLD:
>>
>>    o  A leaf or choice node may get a different "mandatory" statement.
>>
>>  NEW:
>>
>>    o  A leaf, anyxml, or choice node may get a different "mandatory" statement.
> 
> Fixed.
> 
>> Note that the existing OLD ABNF below matches the NEW text,
>> not the OLD text.
> 
> 
>> ----------------------------------------------------------
>> All the other constructs that allow must-stmt
>> allow it to be refined -- except anyxml.
>> There is no explanation given.  IMO it should be allowed.
>>
>> OLD:
>>
>>    o  A leaf, leaf-list, list or container node may get additional
>>       "must" expressions.
>>
>> NEW:
>>
>>    o  A leaf, anyxml, leaf-list, list or container node may get additional
>>       "must" expressions.
>>
>>
>> ----------------------------------------------------------
>>
>> ABNF section:  add *(must-stmt stmtsep)
> 
> Fixed.
> 
> 
> /martin
> 

Andy


From phil@juniper.net  Mon Sep 14 11:39:00 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9262A28C1AB for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 11:39:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.572
X-Spam-Level: 
X-Spam-Status: No, score=-6.572 tagged_above=-999 required=5 tests=[AWL=0.027,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cs68RPaFyH+T for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 11:38:59 -0700 (PDT)
Received: from exprod7og108.obsmtp.com (exprod7og108.obsmtp.com [64.18.2.169]) by core3.amsl.com (Postfix) with ESMTP id 7D31D3A6876 for <netmod@ietf.org>; Mon, 14 Sep 2009 11:38:53 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob108.postini.com ([64.18.6.12]) with SMTP ID DSNKSq6N6jMhMw+iEmYExmd/4hb4BqRu2zO3@postini.com; Mon, 14 Sep 2009 11:39:45 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Mon, 14 Sep 2009 11:38:10 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 11:38:10 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 11:38:10 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 11:38:09 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8EIc8d53442; Mon, 14 Sep 2009 11:38:08 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8EIPoAc096393; Mon, 14 Sep 2009 18:25:50 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909141825.n8EIPoAc096393@idle.juniper.net>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4AA15EE9.5050000@joelhalpern.com> 
Date: Mon, 14 Sep 2009 14:25:49 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 14 Sep 2009 18:38:09.0700 (UTC) FILETIME=[81FB0E40:01CA356A]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 18:39:00 -0000

"Joel M. Halpern" writes:
>For me, the reason to separate them is that some of the time it is more 
>than two values.
>To use the DHCP example, one can ask "What is the configured IP address 
>of the Interface?"  One could ask "Does it use DHCP, and if the answer 
>is yes, what address did DHCP provide?"  And one could ask "What is it 
>actually using, which is the result of a device computation based on 
>those two inputs (plus others, for example with v6.)

Sure, so the interface object would provide a "at this momemt"
address leaf, and the dhcp module would augment with a "what did
dhcp tell me" leaf (which might be present but ignored in some odd
circumstances).  But the real "at this moment" address should be
maintained with a real value whether it came from dhcp or elsewhere,
so an app can say "interface[name == $name]/address" (forgive the
trivial model) to get the current address.

But the question remains: is this a leaf "at this moment" leaf or
is if the normal "address" leaf viewed in a "at this moment" scope?
Is it easier to make two leafs and odd rules about how they are
tied together or to make one leaf with odd rules about how the
value constraints change in different scopes (configuration .vs.
"right.now")?

Thanks,
 Phil

From jmh@joelhalpern.com  Mon Sep 14 11:48:40 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 439D43A67A8 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 11:48:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.332
X-Spam-Level: 
X-Spam-Status: No, score=-3.332 tagged_above=-999 required=5 tests=[AWL=0.267,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MLXnV5BPwF7Q for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 11:48:36 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 8CD193A67F1 for <netmod@ietf.org>; Mon, 14 Sep 2009 11:48:36 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id EED4C4304E8; Mon, 14 Sep 2009 11:49:21 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-45.clppva.btas.verizon.net [71.161.51.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id E975343016F; Mon, 14 Sep 2009 11:49:20 -0700 (PDT)
Message-ID: <4AAE902F.7070601@joelhalpern.com>
Date: Mon, 14 Sep 2009 14:49:19 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909141825.n8EIPoAc096393@idle.juniper.net>
In-Reply-To: <200909141825.n8EIPoAc096393@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 18:48:40 -0000

 From where I sit, I think it is simpler to make two leaves, with a 
relationship between them, than to try to define two views of the system 
with different elements under the same name in them.
Both approaches are clearly defensible.

What would be really unfortunate would be not to pick either one, and 
have no documented way for folks to handle this.

Yours,
Joel



Phil Shafer wrote:
> "Joel M. Halpern" writes:
>> For me, the reason to separate them is that some of the time it is more 
>> than two values.
>> To use the DHCP example, one can ask "What is the configured IP address 
>> of the Interface?"  One could ask "Does it use DHCP, and if the answer 
>> is yes, what address did DHCP provide?"  And one could ask "What is it 
>> actually using, which is the result of a device computation based on 
>> those two inputs (plus others, for example with v6.)
> 
> Sure, so the interface object would provide a "at this momemt"
> address leaf, and the dhcp module would augment with a "what did
> dhcp tell me" leaf (which might be present but ignored in some odd
> circumstances).  But the real "at this moment" address should be
> maintained with a real value whether it came from dhcp or elsewhere,
> so an app can say "interface[name == $name]/address" (forgive the
> trivial model) to get the current address.
> 
> But the question remains: is this a leaf "at this moment" leaf or
> is if the normal "address" leaf viewed in a "at this moment" scope?
> Is it easier to make two leafs and odd rules about how they are
> tied together or to make one leaf with odd rules about how the
> value constraints change in different scopes (configuration .vs.
> "right.now")?
> 
> Thanks,
>  Phil
> 

From phil@juniper.net  Mon Sep 14 11:52:08 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8CF2C3A68D1 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 11:52:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.572
X-Spam-Level: 
X-Spam-Status: No, score=-6.572 tagged_above=-999 required=5 tests=[AWL=0.027,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gtUvVMOHyu+a for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 11:52:07 -0700 (PDT)
Received: from exprod7og117.obsmtp.com (exprod7og117.obsmtp.com [64.18.2.6]) by core3.amsl.com (Postfix) with ESMTP id F11EE3A6897 for <netmod@ietf.org>; Mon, 14 Sep 2009 11:52:06 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob117.postini.com ([64.18.6.12]) with SMTP ID DSNKSq6RAwJi8X85ZLl83Hgo+sRUCZnmJsJ5@postini.com; Mon, 14 Sep 2009 11:52:53 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Mon, 14 Sep 2009 11:49:13 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 11:49:13 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 11:49:13 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 11:49:12 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8EInCd59101; Mon, 14 Sep 2009 11:49:12 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8EIas9g097201; Mon, 14 Sep 2009 18:36:55 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909141836.n8EIas9g097201@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AA162D6.7050208@netconfcentral.com> 
Date: Mon, 14 Sep 2009 14:36:54 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 14 Sep 2009 18:49:12.0945 (UTC) FILETIME=[0D4E3610:01CA356C]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 18:52:08 -0000

Andy Bierman writes:
>I've already posted emails to this list.
>They are in the archive.

I believe every issue you've submitted has been discussed and
addressed.  Many are covered by more exact wording in the draft.
Others are simply cases where the WG disagress with you.

>The NETCONF client needs to be able to retrieve
>all the data no matter what legal combination
>of YANG mechanisms is selected by the data modeler.

This is a meaningless statement, since we can both agree with it
and both disagree about what it means.  It will help discussion if
you can use more precise wording for issues that you are trying to
raise.

The root issue is that default values are not part of the configuration
database.  The server is not required to return the default value for
any leaf not in the configuration database.  This is the current
wording in the YANG spec and has been discussed ad nauseum.  The
draft contains the WG concensus and is not likely to change.  Can
we record this as a closed issue and move on?  You've been reanimating
it for months, but the issue has been covered.

Thanks,
 Phil

From phil@juniper.net  Mon Sep 14 12:04:40 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5E20428C1EA for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 12:04:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.572
X-Spam-Level: 
X-Spam-Status: No, score=-6.572 tagged_above=-999 required=5 tests=[AWL=0.027,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2w981hQyr++H for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 12:04:39 -0700 (PDT)
Received: from exprod7og117.obsmtp.com (exprod7og117.obsmtp.com [64.18.2.6]) by core3.amsl.com (Postfix) with ESMTP id BD63028C1F2 for <netmod@ietf.org>; Mon, 14 Sep 2009 12:03:52 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob117.postini.com ([64.18.6.12]) with SMTP ID DSNKSq6TxXY8ww8Z4xeXkI14ToYnaOO0vM4d@postini.com; Mon, 14 Sep 2009 12:04:42 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Mon, 14 Sep 2009 11:58:55 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 11:58:55 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 11:58:54 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 11:58:54 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8EIwrd63392; Mon, 14 Sep 2009 11:58:53 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8EIkZun097809; Mon, 14 Sep 2009 18:46:35 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909141846.n8EIkZun097809@idle.juniper.net>
To: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <20090904.233457.219318251.mbj@tail-f.com> 
Date: Mon, 14 Sep 2009 14:46:35 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 14 Sep 2009 18:58:54.0083 (UTC) FILETIME=[67B0D530:01CA356D]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 19:04:40 -0000

Martin Bjorklund writes:
>I agree that if nearly every config leaf needs a twin -oper leaf, this
>would not be a good solution.  But is that really the case?

Given that any attempt to implement a configuration change can fail
for obscure reasons deep in the bowels of the device, having a
"what's the current value" leaf so every "what should it be" leaf
seems like a good thing if there's no expense.  If I get an address
from dhcp that my kernel dislikes, seeing the dhcp-provided value
and the real current one is good.

But if these are twin leafs, the price for duplicating large parts
of the model would make it a bad thing.

Thanks,
 Phil

From jmh@joelhalpern.com  Mon Sep 14 12:19:04 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 328BB28C1F3 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 12:19:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.334
X-Spam-Level: 
X-Spam-Status: No, score=-3.334 tagged_above=-999 required=5 tests=[AWL=0.265,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XcA7xsyITluV for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 12:19:03 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 6DFD53A6A60 for <netmod@ietf.org>; Mon, 14 Sep 2009 12:18:57 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id C2F4543016F; Mon, 14 Sep 2009 12:19:42 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-45.clppva.btas.verizon.net [71.161.51.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id CEA69430104; Mon, 14 Sep 2009 12:19:41 -0700 (PDT)
Message-ID: <4AAE974C.8080106@joelhalpern.com>
Date: Mon, 14 Sep 2009 15:19:40 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909141846.n8EIkZun097809@idle.juniper.net>
In-Reply-To: <200909141846.n8EIkZun097809@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 19:19:04 -0000

I think my problem is that they are not twins.
Using IP address, as related to an interface, there is
the configured value(s) leaf
the DHCP configuration leafs
The SLAAC enable / disable leaf
ANd there is the leaf-list with the list of actual values currently 
believed by the system to be validly assigned to the interface.

That last is not specifically a twin of the configuration leaf.  We can 
pretend it is, but doing so is misleading.  It is the result of mixing 
all the mechanisms for that interface.  (Fortunately, we have gotten to 
the point that tunnel behaviors generally look like different interfaces 
or this would be a complete nightmare.)

Yours,
Joel


Phil Shafer wrote:
> Martin Bjorklund writes:
>> I agree that if nearly every config leaf needs a twin -oper leaf, this
>> would not be a good solution.  But is that really the case?
> 
> Given that any attempt to implement a configuration change can fail
> for obscure reasons deep in the bowels of the device, having a
> "what's the current value" leaf so every "what should it be" leaf
> seems like a good thing if there's no expense.  If I get an address
> from dhcp that my kernel dislikes, seeing the dhcp-provided value
> and the real current one is good.
> 
> But if these are twin leafs, the price for duplicating large parts
> of the model would make it a bad thing.
> 
> Thanks,
>  Phil
> 

From phil@juniper.net  Mon Sep 14 12:23:39 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 71C453A6844 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 12:23:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.573
X-Spam-Level: 
X-Spam-Status: No, score=-6.573 tagged_above=-999 required=5 tests=[AWL=0.026,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TSDv1DPwS1bi for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 12:23:38 -0700 (PDT)
Received: from exprod7og119.obsmtp.com (exprod7og119.obsmtp.com [64.18.2.16]) by core3.amsl.com (Postfix) with ESMTP id BD1CE3A681D for <netmod@ietf.org>; Mon, 14 Sep 2009 12:23:34 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob119.postini.com ([64.18.6.12]) with SMTP ID DSNKSq6YY1Xj+r8NRn9id0LMRbY1t//Pf49w@postini.com; Mon, 14 Sep 2009 12:24:24 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Mon, 14 Sep 2009 12:21:25 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 12:21:25 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 12:21:24 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 12:21:23 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8EJLMd75151; Mon, 14 Sep 2009 12:21:22 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8EJ94xL099186; Mon, 14 Sep 2009 19:09:04 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909141909.n8EJ94xL099186@idle.juniper.net>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <005101ca2fd3$6c68e8a0$0601a8c0@allison> 
Date: Mon, 14 Sep 2009 15:09:04 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 14 Sep 2009 19:21:23.0884 (UTC) FILETIME=[8C3C1EC0:01CA3570]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 19:23:39 -0000

"tom.petch" writes:
>I see no similarity with ifMtu; if I set this to 1492, I expect the system to
>use that and nothing else, whatever type of pic card may be plugged in.
>Ditto most aspects of configuration.  If what I ask is impossible, I should 
>get an error returned or, exceptionally, if it is one of those nasties that
>cannot be detected immediately, an alert later.

If you hit a nasty and get an alert, what value should be in <mtu>?  The
one you configured or the current one?  They are two distinct values.

Thanks,
 Phil

From phil@juniper.net  Mon Sep 14 12:28:28 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 509273A682E for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 12:28:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.573
X-Spam-Level: 
X-Spam-Status: No, score=-6.573 tagged_above=-999 required=5 tests=[AWL=0.026,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fWxNHTBitBJA for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 12:28:27 -0700 (PDT)
Received: from exprod7og119.obsmtp.com (exprod7og119.obsmtp.com [64.18.2.16]) by core3.amsl.com (Postfix) with ESMTP id 683343A681D for <netmod@ietf.org>; Mon, 14 Sep 2009 12:28:27 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob119.postini.com ([64.18.6.12]) with SMTP ID DSNKSq6Zh/i3e2lWh3LgkSIraVCitHjQl3cG@postini.com; Mon, 14 Sep 2009 12:29:13 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Mon, 14 Sep 2009 12:26:02 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 12:26:02 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 12:26:02 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 12:26:01 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8EJQ0d77082; Mon, 14 Sep 2009 12:26:00 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8EJDgMh099488; Mon, 14 Sep 2009 19:13:43 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909141913.n8EJDgMh099488@idle.juniper.net>
To: "Randy Presuhn" <randy_presuhn@mindspring.com>
In-Reply-To: <003201ca3001$d2fd5a00$6801a8c0@oemcomputer> 
Date: Mon, 14 Sep 2009 15:13:42 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 14 Sep 2009 19:26:01.0234 (UTC) FILETIME=[318C5F20:01CA3571]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] advertising module capabilities
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 19:28:28 -0000

"Randy Presuhn" writes:
>As a practical matter this means is that implementations MUST NOT
>rely on the names of modules or submodules being unique.  There is
>no guarantee of uniqueness, so using it to find a module would be a bad idea.

I would be happy to see module names as "MUST be unique" and use
the java-style reverse domain name to ensure it ("module org.ietf.ipfix",
"module net.juniper.junos").

From phil@juniper.net  Mon Sep 14 12:31:07 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 68FAE3A682E for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 12:31:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.573
X-Spam-Level: 
X-Spam-Status: No, score=-6.573 tagged_above=-999 required=5 tests=[AWL=0.026,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ORa8s8WiqFgz for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 12:31:05 -0700 (PDT)
Received: from exprod7og102.obsmtp.com (exprod7og102.obsmtp.com [64.18.2.157]) by core3.amsl.com (Postfix) with ESMTP id 648BB3A62C1 for <netmod@ietf.org>; Mon, 14 Sep 2009 12:31:05 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob102.postini.com ([64.18.6.12]) with SMTP ID DSNKSq6aIsLrHwt4gV3czMNQX23tUNhXtMJB@postini.com; Mon, 14 Sep 2009 12:31:51 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Mon, 14 Sep 2009 12:29:13 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 12:29:13 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 12:29:13 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 12:29:12 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8EJTBd78364; Mon, 14 Sep 2009 12:29:11 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8EJGrBO099519; Mon, 14 Sep 2009 19:16:54 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909141916.n8EJGrBO099519@idle.juniper.net>
To: Ladislav Lhotka <lhotka@cesnet.cz>
In-Reply-To: <1252410595.6201.57.camel@missotis> 
Date: Mon, 14 Sep 2009 15:16:53 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 14 Sep 2009 19:29:12.0244 (UTC) FILETIME=[A3662F40:01CA3571]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] Terminology discussion
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 19:31:07 -0000

Ladislav Lhotka writes:
>This is not waht Terminology section says:
>
>o  data node: A node in the schema tree that can be instantiated in a
>   data tree.  One of container, leaf, leaf-list, list, and anyxml.
>
>IMO it is indeed useful to have data nodes as a subset of schema nodes
>in the schema tree. The problem is how to call the "instance of a data
>node in the data tree" - reusing "data node" here may lead to confusion.

Can we agree that this is a bug in the spec?  A data node is a node in
the data tree that blah blah blah...

Thanks,
 Phil

From phil@juniper.net  Mon Sep 14 12:38:16 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6132F28C0E5 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 12:38:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.573
X-Spam-Level: 
X-Spam-Status: No, score=-6.573 tagged_above=-999 required=5 tests=[AWL=0.026,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 46Q5G-55F2j4 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 12:38:12 -0700 (PDT)
Received: from exprod7og120.obsmtp.com (exprod7og120.obsmtp.com [64.18.2.18]) by core3.amsl.com (Postfix) with ESMTP id D4D4E3A6A55 for <netmod@ietf.org>; Mon, 14 Sep 2009 12:38:11 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob120.postini.com ([64.18.6.12]) with SMTP ID DSNKSq6bz4p3KgakvzDyIEmpRFk1VIw1IAbD@postini.com; Mon, 14 Sep 2009 12:38:58 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Mon, 14 Sep 2009 12:36:04 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 12:36:04 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 12:36:04 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 12:36:03 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8EJa2d81520; Mon, 14 Sep 2009 12:36:02 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8EJNgBn099612; Mon, 14 Sep 2009 19:23:43 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909141923.n8EJNgBn099612@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AA673FC.4020800@netconfcentral.com> 
Date: Mon, 14 Sep 2009 15:23:42 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 14 Sep 2009 19:36:03.0262 (UTC) FILETIME=[98628DE0:01CA3572]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 19:38:16 -0000

Andy Bierman writes:
>Apparently, restricting YANG so it
>does not produce garbage results in NETCONF
>is not in the NETMOD charter.

You are making a serious claim, that YANG produces garbage results
in NETCONF.   Did you mean to claim that, or is this just the
continuing rant about default values not being in the configuration
database?

Thanks,
 Phil

From andy@netconfcentral.com  Mon Sep 14 13:06:36 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6A09D3A6A8C for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 13:06:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.363
X-Spam-Level: 
X-Spam-Status: No, score=-2.363 tagged_above=-999 required=5 tests=[AWL=0.236,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nJlZvK7nAbdh for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 13:06:35 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id A45823A683F for <netmod@ietf.org>; Mon, 14 Sep 2009 13:06:35 -0700 (PDT)
Received: (qmail 83956 invoked from network); 14 Sep 2009 20:07:18 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 14 Sep 2009 20:07:18 -0000
X-YMail-OSG: Cwd1GfcVM1nftoYON2TZjC3818l6YDMFNSb9HSUhGBtJA9ndWplcNTLwt1nXv8PMwQaIPat1jLaciZv19QQK0ye3RRijleTUJeW8un331RUDyqVFJXGG0TZwXZEd9s2gDtPOLeNb9a1cTUGmxlIc477npwWpIfgU3Lts9nD.DwJIEUWJA1iCN1Ywv2Y9IMSjLImddUo.YAkWW.px.rFaBRopKrf93tmfMJK0YdB.H4yawNPcYL6.MiOlN1T_5hW7fs8cyFUTXDmQaszG
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAEA1F9.4060703@netconfcentral.com>
Date: Mon, 14 Sep 2009 13:05:13 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909141836.n8EIas9g097201@idle.juniper.net>
In-Reply-To: <200909141836.n8EIas9g097201@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 20:06:36 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> I've already posted emails to this list.
>> They are in the archive.
> 
> I believe every issue you've submitted has been discussed and
> addressed.  Many are covered by more exact wording in the draft.
> Others are simply cases where the WG disagress with you.
> 

I think the co-Chairs should declare consensus -- not you.
I never saw any resolution fromhem.


>> The NETCONF client needs to be able to retrieve
>> all the data no matter what legal combination
>> of YANG mechanisms is selected by the data modeler.
> 
> This is a meaningless statement, since we can both agree with it
> and both disagree about what it means.  It will help discussion if
> you can use more precise wording for issues that you are trying to
> raise.
> 

For a standards-track document it is not meaningless.
The WG does not understand the term MUST from RFC 2119.

> The root issue is that default values are not part of the configuration
> database.  The server is not required to return the default value for
> any leaf not in the configuration database.  This is the current
> wording in the YANG spec and has been discussed ad nauseum.  The
> draft contains the WG concensus and is not likely to change.  Can
> we record this as a closed issue and move on?  You've been reanimating
> it for months, but the issue has been covered.
> 

The issue is not closed because there is a MUST requirement
for the client that cannot be implemented.


> Thanks,
>  Phil
> 


Andy


From andy@netconfcentral.com  Mon Sep 14 13:21:30 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C869A3A6AC4 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 13:21:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.382
X-Spam-Level: 
X-Spam-Status: No, score=-2.382 tagged_above=-999 required=5 tests=[AWL=0.217,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MlB4ptHxZo99 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 13:21:30 -0700 (PDT)
Received: from n11a.bullet.mail.mud.yahoo.com (n11a.bullet.mail.mud.yahoo.com [209.191.125.176]) by core3.amsl.com (Postfix) with SMTP id E3B3C3A6AD3 for <netmod@ietf.org>; Mon, 14 Sep 2009 13:21:29 -0700 (PDT)
Received: from [209.191.108.96] by n11.bullet.mail.mud.yahoo.com with NNFMP; 14 Sep 2009 20:22:13 -0000
Received: from [68.142.201.241] by t3.bullet.mud.yahoo.com with NNFMP; 14 Sep 2009 20:22:13 -0000
Received: from [127.0.0.1] by omp402.mail.mud.yahoo.com with NNFMP; 14 Sep 2009 20:22:13 -0000
X-Yahoo-Newman-Id: 368149.68511.bm@omp402.mail.mud.yahoo.com
Received: (qmail 59763 invoked from network); 14 Sep 2009 20:22:12 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp101.sbc.mail.sp1.yahoo.com with SMTP; 14 Sep 2009 20:22:12 -0000
X-YMail-OSG: L5nRYAMVM1mhIqSQ3luO2pOBYK3PHg.0gmaSwpUrjdlqaCbIR5acL9Z.bJEblJ62qOlbgNqBU5JWmVjeZZ878clTwB9IaP9UpBLJp5WgzmyZsDUu..NFA5sCYIOYIHkIa16.aV7z.pybSlWe1j7whg6VIPpj42h4oEVkaLBbGG4beKMWbocJARsPDW6gkwQehy_nhylAZj6oRZs-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAEA5F3.2030405@netconfcentral.com>
Date: Mon, 14 Sep 2009 13:22:11 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909141923.n8EJNgBn099612@idle.juniper.net>
In-Reply-To: <200909141923.n8EJNgBn099612@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 20:21:30 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> Apparently, restricting YANG so it
>> does not produce garbage results in NETCONF
>> is not in the NETMOD charter.
> 
> You are making a serious claim, that YANG produces garbage results
> in NETCONF.   Did you mean to claim that, or is this just the
> continuing rant about default values not being in the configuration
> database?
> 

Just insisting that the MUST requirement for the client-derived-default
works does not make it true. How does the client implement this MUST
requirement when conditions created by the server or data modeler
make this impossible?  Where is the normative text in the
draft that says how the client accomplishes this task in case
all those other conditions are false, and the meta-data is incomplete?

It is obvious the MUST requirement was reverse-engineered
from the desire to prevent the server from ever returning a default.
If that is what the WGs wants, then make the draft standards-worthy
by explaining how the client ALWAYS gets the derived default correct.

Or admit that the client-derived-default is not reliable
and just deal with it.  But pretending that 'no-instance-equals-default'
is reliable is simply not true.

There are also top-level mandatory nodes allowed in YANG
which will not work on all servers.  I do not agree that
standards-worthy means it will work on *some* (but not all)
compliant servers.  That is not useful to the application
developer because the YANG language makes it appear as if
all servers will support top-level mandatory nodes, instead
of using  if-feature or a NETCONF capability to indicate what
the server really implements.



> Thanks,
>  Phil
> 

Andy


From phil@juniper.net  Mon Sep 14 13:22:41 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CAE853A69F7 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 13:22:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.573
X-Spam-Level: 
X-Spam-Status: No, score=-6.573 tagged_above=-999 required=5 tests=[AWL=0.026,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Plb+HyQM4IDN for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 13:22:41 -0700 (PDT)
Received: from exprod7og122.obsmtp.com (exprod7og122.obsmtp.com [64.18.2.22]) by core3.amsl.com (Postfix) with ESMTP id D9CAD3A691C for <netmod@ietf.org>; Mon, 14 Sep 2009 13:22:40 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob122.postini.com ([64.18.6.12]) with SMTP ID DSNKSq6mPSiqmR3QGSLLDTPdSA6yApdTMvwU@postini.com; Mon, 14 Sep 2009 13:23:26 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Mon, 14 Sep 2009 13:21:26 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 13:21:26 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 13:21:25 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 13:21:25 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8EKLOd99315; Mon, 14 Sep 2009 13:21:24 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8EK97Su000204; Mon, 14 Sep 2009 20:09:07 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909142009.n8EK97Su000204@idle.juniper.net>
To: "Randy Presuhn" <randy_presuhn@mindspring.com>
In-Reply-To: <001901ca2dc7$62c993c0$6801a8c0@oemcomputer> 
Date: Mon, 14 Sep 2009 16:09:06 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 14 Sep 2009 20:21:25.0409 (UTC) FILETIME=[EEE93910:01CA3578]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] generating a new contract from boilerplate
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 20:22:41 -0000

"Randy Presuhn" writes:
>This is why being able to talk about the relationship between two models
>is important.  It's fairly rare in my experience that someone implements
>"the standard" with neither extensions nor restrictions or some kind.
>Being able to look at interface contracts (whether as objects, aspects,
>packages, signatures, or something else) in a modular, composable
>manner is key to whether a modeling approach will help or hinder automation
>if the stuff being managed is either flexible or diverse.

Amen.

>Part of the question is actually getting agreement on what it means
>"to implement the standard data model".  I have a clear idea
>what than means in GDMO-land or with the SMI.  I admit that it's
>not that clear to me what that means with YANG, especially from
>the perspective of configuration backup / restore and offline validation.

Should we make a list of model compliance, aka "what does it mean
to implement a model"?  Criteria like:
- syntatic compliance
  - every data node can be instantiated
- semantic compliance
  - every node performs the appropriate outcome
- constraint compliance
  - all constraints are enforced
    - data node entry constraints
    - edit-config constraints
    - validation constraints
- validation compliance
  - validate time actions (ABS nodes) are performed

I think much of this is already in the spec, but would pulling
it out into a new section help?  Or is this not what's not clear?

Thanks,
 Phil

From phil@juniper.net  Mon Sep 14 14:00:05 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 28DE93A69F7 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:00:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.573
X-Spam-Level: 
X-Spam-Status: No, score=-6.573 tagged_above=-999 required=5 tests=[AWL=0.026,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zmRVFwYls+eL for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:00:04 -0700 (PDT)
Received: from exprod7og111.obsmtp.com (exprod7og111.obsmtp.com [64.18.2.175]) by core3.amsl.com (Postfix) with ESMTP id 205983A6825 for <netmod@ietf.org>; Mon, 14 Sep 2009 13:59:58 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob111.postini.com ([64.18.6.12]) with SMTP ID DSNKSq6u+yFn0J0BU5PmOZ/xch0zcusmb1im@postini.com; Mon, 14 Sep 2009 14:00:49 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Mon, 14 Sep 2009 13:56:37 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 13:56:37 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 13:56:36 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 13:56:36 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8EKuZd15397; Mon, 14 Sep 2009 13:56:35 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8EKiGD5000668; Mon, 14 Sep 2009 20:44:16 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909142044.n8EKiGD5000668@idle.juniper.net>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4AAE974C.8080106@joelhalpern.com> 
Date: Mon, 14 Sep 2009 16:44:16 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 14 Sep 2009 20:56:36.0201 (UTC) FILETIME=[D90A8590:01CA357D]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 21:00:05 -0000

"Joel M. Halpern" writes:
>I think my problem is that they are not twins.
>Using IP address, as related to an interface, there is
>the configured value(s) leaf
>the DHCP configuration leafs
>The SLAAC enable / disable leaf
>ANd there is the leaf-list with the list of actual values currently 
>believed by the system to be validly assigned to the interface.
>
>That last is not specifically a twin of the configuration leaf.  We can 
>pretend it is, but doing so is misleading.  It is the result of mixing 
>all the mechanisms for that interface.  (Fortunately, we have gotten to 
>the point that tunnel behaviors generally look like different interfaces 
>or this would be a complete nightmare.)

This is fall out from a simplistic config model.  In fact, you
may want to configure multiple addresses on a particular interface.
In JUNOS we have four levels in our interface definition:

   physical (interface so-0/2/3, interface fe-0/2/1)
      logical (unit 0, unit 4)
          address family (ipv4, ipv6, mpls)
              address (10.1.2.3/24, 10.3.2.1/28)

and each level has a set of leafs which can be configured at the level.

So the list of address which the system believes are valid for that
interface is more than a leaf-list, since it may configuration below it
(primary == use this address for the entire box, preferred == use this
address for this interface, or destination address, etc).  Example
config appended below.

But I certainly see you point that you can't have a twin leaf for
a list or leaf-list, so a simple mechanism for tying them together
may not be possible.

On the other hand, a "scope" approach where the "operational-data"
scope returns the "currently in use" values would make more sense
here, since the list from config data and the list from operational
data can be compared and analyzed as needed.  If a DHCP address
appears in the operational data that isn't in the config data, this
should be obvious.  And having scope-based augmentation should be
possible, so config for static routes can have different leafs than
the operational routing table while preserving the common schema
nodes between the two scopes.

Thanks,
 Phil


-----------

    <configuration>
            <interfaces>
                <interface>
                    <name>fe-0/2/1</name>
                    <mtu>1000</mtu>
                    <unit>
                        <name>0</name>
                        <family>
                            <inet>
                                <address>
                                    <name>10.111.222.3/24</name>
                                </address>
                            </inet>
                            <mpls>
                            </mpls>
                        </family>
                    </unit>
                </interface>
                <interface>
                    <name>so-0/2/3</name>
                    <sonet-options>
                        <z0-increment/>
                        <bytes>
                            <f1>42</f1>
                        </bytes>
                    </sonet-options>
                    <unit>
                        <name>0</name>
                        <no-traps/>
                        <no-keepalives/>
                        <family>
                            <inet>
                                <address>
                                    <name>10.3.2.1/28</name>
                                </address>
                                <address>
                                    <name>10.1.2.3/24</name>
                                    <primary/>
                                    <preferred/>
                                </address>
                            </inet>
                        </family>
                    </unit>
                    <unit>
                        <name>4</name>
                        <family>
                            <inet>
                                <address>
                                    <name>10.11.22.33/28</name>
                                </address>
                            </inet>
                        </family>
                    </unit>
                </interface>
            </interfaces>
    </configuration>

From phil@juniper.net  Mon Sep 14 14:05:57 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A44E83A6825 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:05:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.574
X-Spam-Level: 
X-Spam-Status: No, score=-6.574 tagged_above=-999 required=5 tests=[AWL=0.025,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ypQqtzSA923w for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:05:56 -0700 (PDT)
Received: from exprod7og116.obsmtp.com (exprod7og116.obsmtp.com [64.18.2.219]) by core3.amsl.com (Postfix) with ESMTP id D9C753A6A7B for <netmod@ietf.org>; Mon, 14 Sep 2009 14:05:55 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob116.postini.com ([64.18.6.12]) with SMTP ID DSNKSq6wYUtCv6VTE5Bs9VB3w5dnssXdAP5h@postini.com; Mon, 14 Sep 2009 14:06:42 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Mon, 14 Sep 2009 14:04:17 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 14:04:17 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 14:04:16 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 14:04:14 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8EL4Dd19393; Mon, 14 Sep 2009 14:04:13 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8EKptfd000763; Mon, 14 Sep 2009 20:51:56 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909142051.n8EKptfd000763@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AAEA1F9.4060703@netconfcentral.com> 
Date: Mon, 14 Sep 2009 16:51:55 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 14 Sep 2009 21:04:14.0171 (UTC) FILETIME=[EA0332B0:01CA357E]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 21:05:57 -0000

Andy Bierman writes:
>I think the co-Chairs should declare consensus -- not you.

Concensus was declared at the interim in DC long ago.  My opinion
is that it hasn't changed.

Would a new concensus call put the issue to bed (again)?
Should we continue to perform concensus calls until your vote wins?
Is no issue closed until the solution is Andy Approved? (tm)

>The WG does not understand the term MUST from RFC 2119.

Hmm....  So we need remedial 2119 schooling?

>The issue is not closed because there is a MUST requirement
>for the client that cannot be implemented.

Details please:  what requirement cannot be implemented?

Thanks,
 Phil

From phil@juniper.net  Mon Sep 14 14:10:12 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C8A693A6AB4 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:10:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.574
X-Spam-Level: 
X-Spam-Status: No, score=-6.574 tagged_above=-999 required=5 tests=[AWL=0.025,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xA-Fbbfgc7zB for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:10:12 -0700 (PDT)
Received: from exprod7og106.obsmtp.com (exprod7og106.obsmtp.com [64.18.2.165]) by core3.amsl.com (Postfix) with ESMTP id 569393A68C1 for <netmod@ietf.org>; Mon, 14 Sep 2009 14:10:11 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob106.postini.com ([64.18.6.12]) with SMTP ID DSNKSq6xXprjFXRHU1qie8yj//xQxYZbICv+@postini.com; Mon, 14 Sep 2009 14:10:57 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Mon, 14 Sep 2009 14:09:22 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 14:09:22 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 14:09:20 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 14 Sep 2009 14:09:20 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8EL9Jd21467; Mon, 14 Sep 2009 14:09:19 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8EKv2uS000821; Mon, 14 Sep 2009 20:57:02 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909142057.n8EKv2uS000821@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AAEA5F3.2030405@netconfcentral.com> 
Date: Mon, 14 Sep 2009 16:57:01 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 14 Sep 2009 21:09:20.0380 (UTC) FILETIME=[A086FBC0:01CA357F]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 21:10:12 -0000

Andy Bierman writes:
>Just insisting that the MUST requirement for the client-derived-default
>works does not make it true.

And insisting that it's broken does not make it so.

Thanks,
 Phil

From jmh@joelhalpern.com  Mon Sep 14 14:17:24 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 304453A690D for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:17:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.336
X-Spam-Level: 
X-Spam-Status: No, score=-3.336 tagged_above=-999 required=5 tests=[AWL=0.263,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Gqrj42+FG8s for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:17:23 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id E71DB3A683D for <netmod@ietf.org>; Mon, 14 Sep 2009 14:17:19 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id 591FB4304EA; Mon, 14 Sep 2009 14:18:05 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-45.clppva.btas.verizon.net [71.161.51.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 611644304F0; Mon, 14 Sep 2009 14:17:59 -0700 (PDT)
Message-ID: <4AAEB305.3090407@joelhalpern.com>
Date: Mon, 14 Sep 2009 17:17:57 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909142044.n8EKiGD5000668@idle.juniper.net>
In-Reply-To: <200909142044.n8EKiGD5000668@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 21:17:24 -0000

But my argument is that there is no single config construct (leaf, 
leaf-list, list, ...) whcih should be setable / readable for the config 
values, but which with a <get-operational-values> invocation should 
return the actual values being used.
(The 4 levels of config just clarifies that the operational value may be 
computed from several different config and operational elements.)

Yours,
Joel


Phil Shafer wrote:
> "Joel M. Halpern" writes:
>> I think my problem is that they are not twins.
>> Using IP address, as related to an interface, there is
>> the configured value(s) leaf
>> the DHCP configuration leafs
>> The SLAAC enable / disable leaf
>> ANd there is the leaf-list with the list of actual values currently 
>> believed by the system to be validly assigned to the interface.
>>
>> That last is not specifically a twin of the configuration leaf.  We can 
>> pretend it is, but doing so is misleading.  It is the result of mixing 
>> all the mechanisms for that interface.  (Fortunately, we have gotten to 
>> the point that tunnel behaviors generally look like different interfaces 
>> or this would be a complete nightmare.)
> 
> This is fall out from a simplistic config model.  In fact, you
> may want to configure multiple addresses on a particular interface.
> In JUNOS we have four levels in our interface definition:
> 
>    physical (interface so-0/2/3, interface fe-0/2/1)
>       logical (unit 0, unit 4)
>           address family (ipv4, ipv6, mpls)
>               address (10.1.2.3/24, 10.3.2.1/28)
> 
> and each level has a set of leafs which can be configured at the level.
> 
> So the list of address which the system believes are valid for that
> interface is more than a leaf-list, since it may configuration below it
> (primary == use this address for the entire box, preferred == use this
> address for this interface, or destination address, etc).  Example
> config appended below.
> 
> But I certainly see you point that you can't have a twin leaf for
> a list or leaf-list, so a simple mechanism for tying them together
> may not be possible.
> 
> On the other hand, a "scope" approach where the "operational-data"
> scope returns the "currently in use" values would make more sense
> here, since the list from config data and the list from operational
> data can be compared and analyzed as needed.  If a DHCP address
> appears in the operational data that isn't in the config data, this
> should be obvious.  And having scope-based augmentation should be
> possible, so config for static routes can have different leafs than
> the operational routing table while preserving the common schema
> nodes between the two scopes.
> 
> Thanks,
>  Phil
> 
> 
> -----------
> 
>     <configuration>
>             <interfaces>
>                 <interface>
>                     <name>fe-0/2/1</name>
>                     <mtu>1000</mtu>
>                     <unit>
>                         <name>0</name>
>                         <family>
>                             <inet>
>                                 <address>
>                                     <name>10.111.222.3/24</name>
>                                 </address>
>                             </inet>
>                             <mpls>
>                             </mpls>
>                         </family>
>                     </unit>
>                 </interface>
>                 <interface>
>                     <name>so-0/2/3</name>
>                     <sonet-options>
>                         <z0-increment/>
>                         <bytes>
>                             <f1>42</f1>
>                         </bytes>
>                     </sonet-options>
>                     <unit>
>                         <name>0</name>
>                         <no-traps/>
>                         <no-keepalives/>
>                         <family>
>                             <inet>
>                                 <address>
>                                     <name>10.3.2.1/28</name>
>                                 </address>
>                                 <address>
>                                     <name>10.1.2.3/24</name>
>                                     <primary/>
>                                     <preferred/>
>                                 </address>
>                             </inet>
>                         </family>
>                     </unit>
>                     <unit>
>                         <name>4</name>
>                         <family>
>                             <inet>
>                                 <address>
>                                     <name>10.11.22.33/28</name>
>                                 </address>
>                             </inet>
>                         </family>
>                     </unit>
>                 </interface>
>             </interfaces>
>     </configuration>
> 

From andy@netconfcentral.com  Mon Sep 14 14:25:14 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6CAFC3A6892 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:25:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.397
X-Spam-Level: 
X-Spam-Status: No, score=-2.397 tagged_above=-999 required=5 tests=[AWL=0.202,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rhrdChd4ZOIK for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:25:13 -0700 (PDT)
Received: from smtp105.sbc.mail.mud.yahoo.com (smtp105.sbc.mail.mud.yahoo.com [68.142.198.204]) by core3.amsl.com (Postfix) with SMTP id A14863A683D for <netmod@ietf.org>; Mon, 14 Sep 2009 14:25:13 -0700 (PDT)
Received: (qmail 45336 invoked from network); 14 Sep 2009 21:25:57 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp105.sbc.mail.mud.yahoo.com with SMTP; 14 Sep 2009 21:25:57 -0000
X-YMail-OSG: 9RaNh74VM1m1IuxRpNXS6m2I6YkXgWHVYtMnuAPryGcC_NH4mPj9kFV6SEEQuNVaUA5iUx1hEXK2I0KAqAhUuBI_RJHE1MQEqApEDj70laMwaX_pnGH40T7mNbsDH8b5mx0k9pRyFk_b7jlY_JyYLJv02evwdZ3Hije6Mtjvdr97a1jWFiNRX18shtoK0MI0P8XncuaeWLlBbkXS8iaH0CMdKhHddU0m5vQNtLt9Jmo6l1ik6JzuEdUtgqaFnDWMByUzSkUYxp_V4Izf
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAEB46A.7010700@netconfcentral.com>
Date: Mon, 14 Sep 2009 14:23:54 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909142051.n8EKptfd000763@idle.juniper.net>
In-Reply-To: <200909142051.n8EKptfd000763@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 21:25:14 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> I think the co-Chairs should declare consensus -- not you.
> 
> Concensus was declared at the interim in DC long ago.  My opinion
> is that it hasn't changed.
> 

interesting -- that was before the current text
was written and the issues were known.


> Would a new concensus call put the issue to bed (again)?
> Should we continue to perform concensus calls until your vote wins?
> Is no issue closed until the solution is Andy Approved? (tm)
> 

I never got a resolution to the 'client MUST' issue.
Still waiting on that one.

>> The WG does not understand the term MUST from RFC 2119.
> 
> Hmm....  So we need remedial 2119 schooling?
> 

yep -- the spec has an unimplementable MUST requirement.


>> The issue is not closed because there is a MUST requirement
>> for the client that cannot be implemented.
> 
> Details please:  what requirement cannot be implemented?
> 


import-by-revision, no-revision-module, and missing
module capability meta-data cause problems for the
client wrt/ deriving the correct default or determining
the leaf does not exist.

The client MUST also be aware
of deviations that change defaults,
according to the spec.  It needs to be a MAY,
otherwise it changes the client requirements defined in
the YANG module itself.




> Thanks,
>  Phil
> 

Andy

From randy_presuhn@mindspring.com  Mon Sep 14 14:28:22 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D6CA728C1E1 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:28:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.792
X-Spam-Level: 
X-Spam-Status: No, score=-0.792 tagged_above=-999 required=5 tests=[AWL=-0.793, BAYES_50=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a-MrSw5BXk6f for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:28:22 -0700 (PDT)
Received: from elasmtp-spurfowl.atl.sa.earthlink.net (elasmtp-spurfowl.atl.sa.earthlink.net [209.86.89.66]) by core3.amsl.com (Postfix) with ESMTP id 0284228C1D6 for <netmod@ietf.org>; Mon, 14 Sep 2009 14:28:21 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=tuqnHaQV8hOPGQp8BE5YPSunOyTBA2ueSvqFTjYm3nr3E6orbdlCP6JFeGGys9pE; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.41.52.88] (helo=oemcomputer) by elasmtp-spurfowl.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1MnJ6h-0000IX-2z for netmod@ietf.org; Mon, 14 Sep 2009 17:29:07 -0400
Message-ID: <009601ca3582$710d5440$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netmod@ietf.org>
References: <200909142009.n8EK97Su000204@idle.juniper.net>
Date: Mon, 14 Sep 2009 14:29:27 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f9178ac4482bebeadeed7bafae803a0e34350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.41.52.88
Subject: Re: [netmod] generating a new contract from boilerplate
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 21:28:22 -0000

Hi -

> From: "Phil Shafer" <phil@juniper.net>
> To: "Randy Presuhn" <randy_presuhn@mindspring.com>
> Cc: <netmod@ietf.org>
> Sent: Monday, September 14, 2009 1:09 PM
> Subject: Re: [netmod] generating a new contract from boilerplate 
...
> Should we make a list of model compliance, aka "what does it mean
> to implement a model"?  Criteria like:
> - syntatic compliance
>   - every data node can be instantiated
> - semantic compliance
>   - every node performs the appropriate outcome
> - constraint compliance
>   - all constraints are enforced
>     - data node entry constraints
>     - edit-config constraints
>     - validation constraints
> - validation compliance
>   - validate time actions (ABS nodes) are performed
> 
> I think much of this is already in the spec, but would pulling
> it out into a new section help?  Or is this not what's not clear?
...

Areas where things get fuzzy, at least as discussed on this list,
include:
  - handling of defaults specified in a model
  - deviations, especially if someone implements a deviation
    in order to be "compatible" with some widely deployed device
    with lots of deviations on which popular software depends.
    (I once worked on firmware for "Hayes-compatible" modems,
    so I have a pretty good idea of the horrors committed in
    the name of "compatibility.")
  - is the data retrieved by a get-config truly sufficient to bring
    any equivalent piece of equipment to an operationally equivalent
    state (nailing down what this means is not trivial)
  - what does it mean when two different models happen to be similar
    enough that configuration data read from one can be written
    to the other?  (a degenerate case of this is data type re-use)

Randy


From andy@netconfcentral.com  Mon Sep 14 14:34:14 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AC51528C1D6 for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:34:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.411
X-Spam-Level: 
X-Spam-Status: No, score=-2.411 tagged_above=-999 required=5 tests=[AWL=0.188,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N3K4iWEpCh9W for <netmod@core3.amsl.com>; Mon, 14 Sep 2009 14:34:14 -0700 (PDT)
Received: from smtp105.sbc.mail.mud.yahoo.com (smtp105.sbc.mail.mud.yahoo.com [68.142.198.204]) by core3.amsl.com (Postfix) with SMTP id E66A93A681C for <netmod@ietf.org>; Mon, 14 Sep 2009 14:34:13 -0700 (PDT)
Received: (qmail 87367 invoked from network); 14 Sep 2009 21:34:59 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp105.sbc.mail.mud.yahoo.com with SMTP; 14 Sep 2009 21:34:59 -0000
X-YMail-OSG: rfKmURsVM1lQPOrNH1Ic1bpGDSpPwNfej.JiugL2L6HXn_Bv.l8xXAc7RmE2CwZp6K4ur6IC169Q3BMMsZPcBRiRNLX73WHZVDweKgiHqOr1i9j5xAYxn0q4T37TxuCTMEuN945EQt8JBW4kjtIL2VDU1thqiWPZwBqFVHWNIW8uAh.gPgtQZk2sRADQZJmNUGry89WHw2qet7GunBrGfK.4RBybQSz_wbAZ.rmtyOGC9L.2aVujqlityEUEJ2Q0j32Lkc_KXIHnuYdP
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAEB688.4080009@netconfcentral.com>
Date: Mon, 14 Sep 2009 14:32:56 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909142057.n8EKv2uS000821@idle.juniper.net>
In-Reply-To: <200909142057.n8EKv2uS000821@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Sep 2009 21:34:14 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> Just insisting that the MUST requirement for the client-derived-default
>> works does not make it true.
> 
> And insisting that it's broken does not make it so.
> 

It is broken -- a MUST requirement says *always*.
That is not possible the way the current spec is written.
Either change the MUST, or change the spec so that every default
leaf is always derivable by the client.  But if the MUST is changed,
then that is like saying the client does not need the
complete set of 'data+defaults -- it SHOULD or MAY get the
data it needs from the server.

If that is the level of interoperability the WG wants,
then make the spec say that, instead of pretending
the spec can deliver on MUST-level reliability.


> Thanks,
>  Phil
> 

Andy

From balazs.lengyel@ericsson.com  Tue Sep 15 01:55:45 2009
Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 74A043A6866 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 01:55:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.552
X-Spam-Level: 
X-Spam-Status: No, score=-5.552 tagged_above=-999 required=5 tests=[AWL=0.697,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LTt3lHvDQzoG for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 01:55:44 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id B87ED3A68FF for <netmod@ietf.org>; Tue, 15 Sep 2009 01:55:42 -0700 (PDT)
X-AuditID: c1b4fb3c-b7b6eae000001984-4c-4aaf56bb826a
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id EE.86.06532.BB65FAA4; Tue, 15 Sep 2009 10:56:27 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 15 Sep 2009 10:55:39 +0200
Received: from [159.107.197.224] ([159.107.197.224]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 15 Sep 2009 10:55:39 +0200
Message-ID: <4AAF568A.7040701@ericsson.com>
Date: Tue, 15 Sep 2009 10:55:38 +0200
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-DK; rv:1.9.1.1) Gecko/20090715 Lightning/1.0pre Thunderbird/3.0b3
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 15 Sep 2009 08:55:39.0214 (UTC) FILETIME=[4C47DEE0:01CA35E2]
X-Brightmail-Tracker: AAAAAA==
Subject: [netmod] Null namespace for a module?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 08:55:45 -0000

Hello,
Is it allowed to use a NULL empty namespace for a YANG module?
namespace "";

Background: We have legacy nodes that have big models, that do not have a namespace, and as 
their model is strictly managed, avoiding all naming collisions, there is no need for the 
namespace.

Balazs

From cfinss@dial.pipex.com  Tue Sep 15 04:47:49 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 846E33A67CC for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 04:47:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.528
X-Spam-Level: 
X-Spam-Status: No, score=-1.528 tagged_above=-999 required=5 tests=[AWL=-0.418, BAYES_05=-1.11]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hiT+x++r17et for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 04:47:48 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id 7545628C0FF for <netmod@ietf.org>; Tue, 15 Sep 2009 04:47:48 -0700 (PDT)
X-Trace: 249279244/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.158/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.158
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EAFcbr0o+vGme/2dsb2JhbACDLY4byxEJhA4F
X-IronPort-AV: E=Sophos;i="4.44,390,1249254000"; d="scan'208";a="249279244"
X-IP-Direction: IN
Received: from 1cust158.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.158]) by smtp.pipex.tiscali.co.uk with SMTP; 15 Sep 2009 12:48:32 +0100
Message-ID: <031a01ca35f1$d7d60b80$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Ladislav Lhotka" <lhotka@cesnet.cz>, "Phil Shafer" <phil@juniper.net>
References: <200909141916.n8EJGrBO099519@idle.juniper.net>
Date: Tue, 15 Sep 2009 12:43:01 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] Terminology discussion
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 11:47:49 -0000

----- Original Message ----- 
From: "Phil Shafer" <phil@juniper.net>
Sent: Monday, September 14, 2009 9:16 PM

> Ladislav Lhotka writes:
> >This is not waht Terminology section says:
> >
> >o  data node: A node in the schema tree that can be instantiated in a
> >   data tree.  One of container, leaf, leaf-list, list, and anyxml.
> >
> >IMO it is indeed useful to have data nodes as a subset of schema nodes
> >in the schema tree. The problem is how to call the "instance of a data
> >node in the data tree" - reusing "data node" here may lead to confusion.
> 
> Can we agree that this is a bug in the spec?  A data node is a node in
> the data tree that blah blah blah...

No:-)

There is a subset of schema nodes which may be instantiated in the data tree
and that subset is defined as data nodes.  I think that that concept needs a
term and it has it, i.e. data nodes.

If you now use data nodes for some other purpose, then you will need  a
term for what is now referred to as data nodes and data nodes has a 
certain logic about it.

Tom Petch

> Thanks,
>  Phil
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

From cfinss@dial.pipex.com  Tue Sep 15 04:47:50 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C0EF428C107 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 04:47:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.266
X-Spam-Level: 
X-Spam-Status: No, score=-2.266 tagged_above=-999 required=5 tests=[AWL=0.333,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TpJYPRqpIjUb for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 04:47:49 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id 9A27C28C0F5 for <netmod@ietf.org>; Tue, 15 Sep 2009 04:47:49 -0700 (PDT)
X-Trace: 249279249/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.158/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.158
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EAFcbr0o+vGme/2dsb2JhbACDLY4byxEJgh6BcAU
X-IronPort-AV: E=Sophos;i="4.44,390,1249254000"; d="scan'208";a="249279249"
X-IP-Direction: IN
Received: from 1cust158.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.158]) by smtp.pipex.tiscali.co.uk with SMTP; 15 Sep 2009 12:48:33 +0100
Message-ID: <031b01ca35f1$d9474ec0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Andy Bierman" <andy@netconfcentral.com>, "Phil Shafer" <phil@juniper.net>
References: <200909141836.n8EIas9g097201@idle.juniper.net>
Date: Tue, 15 Sep 2009 12:43:55 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 11:47:50 -0000

----- Original Message -----
From: "Phil Shafer" <phil@juniper.net>
To: "Andy Bierman" <andy@netconfcentral.com>
Cc: "NETMOD Working Group" <netmod@ietf.org>
Sent: Monday, September 14, 2009 8:36 PM
Subject: Re: [netmod] capabilities related edits


> Andy Bierman writes:
> >I've already posted emails to this list.
> >They are in the archive.
>
> I believe every issue you've submitted has been discussed and
> addressed.  Many are covered by more exact wording in the draft.
> Others are simply cases where the WG disagress with you.
>
> >The NETCONF client needs to be able to retrieve
> >all the data no matter what legal combination
> >of YANG mechanisms is selected by the data modeler.
>
> This is a meaningless statement, since we can both agree with it
> and both disagree about what it means.  It will help discussion if
> you can use more precise wording for issues that you are trying to
> raise.
>
> The root issue is that default values are not part of the configuration
> database.  The server is not required to return the default value for
> any leaf not in the configuration database.  This is the current
> wording in the YANG spec and has been discussed ad nauseum.  The
> draft contains the WG concensus and is not likely to change.  Can
> we record this as a closed issue and move on?  You've been reanimating
> it for months, but the issue has been covered.

And it goes on being discussed because it is not resolved, there is no
consensus, it is not closed.

There are a few people who want the server not to return values that it
is using, there are a few people who want the server to return all the
values that it is using.  (It might help if there were a few more people).

I agree with Andy that the client must be able to get all the values in the
configuration.  The problem I have is being told that the client can retrieve
everything in the configuration and then find the definition of everything
excludes several items because they have been redefined as 'not configuration'.

My stab at this is

If the node in the data tree is defined in a yang module as configuration
and the server is using a value for that instance, then some variant of
get-config
(option=Gargantuan:-) must return that instance.  By all means have other
variants that return less, but the prime requirement is to be able to get
everything defined in a yang module as configuration.

Tom Petch

> Thanks,
>  Phil
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod


From cfinss@dial.pipex.com  Tue Sep 15 04:47:52 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EC96128C116 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 04:47:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.271
X-Spam-Level: 
X-Spam-Status: No, score=-2.271 tagged_above=-999 required=5 tests=[AWL=0.328,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K9YfNw9s2p2K for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 04:47:52 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id 1D8C328C0F5 for <netmod@ietf.org>; Tue, 15 Sep 2009 04:47:50 -0700 (PDT)
X-Trace: 249279267/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.158/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.158
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EAFcbr0o+vGme/2dsb2JhbACDLY4byxEJhA4FgVY
X-IronPort-AV: E=Sophos;i="4.44,390,1249254000"; d="scan'208";a="249279267"
X-IP-Direction: IN
Received: from 1cust158.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.158]) by smtp.pipex.tiscali.co.uk with SMTP; 15 Sep 2009 12:48:36 +0100
Message-ID: <031c01ca35f1$da4ab500$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Phil Shafer" <phil@juniper.net>
References: <200909141909.n8EJ94xL099186@idle.juniper.net>
Date: Tue, 15 Sep 2009 12:46:02 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 11:47:53 -0000

----- Original Message -----
From: "Phil Shafer" <phil@juniper.net>
Sent: Monday, September 14, 2009 9:09 PM

> "tom.petch" writes:
> >I see no similarity with ifMtu; if I set this to 1492, I expect the system to
> >use that and nothing else, whatever type of pic card may be plugged in.
> >Ditto most aspects of configuration.  If what I ask is impossible, I should
> >get an error returned or, exceptionally, if it is one of those nasties that
> >cannot be detected immediately, an alert later.
>
> If you hit a nasty and get an alert, what value should be in <mtu>?  The
> one you configured or the current one?  They are two distinct values.

If I have explicitly configured ifMtu, and this is not something that a
protocol negotiates dynamically, then there is only one value, the one
I configured.

Some protocols have an initial value for a parameter which I can
specify, which can then be revised by negotiation.  I do not think that
this applies to mtu (although I am not familiar with mtu usage in IPv6
tunnel protocols) but if it were to, then there is again only one value,
the one currently in use (not my initial configuration) although I suspect
that this is best modelled with two values.

This is different to say duplex or speed on an IEEE 802.3 interface,
where the specification allows for two values, the one I would like,
and the one that is in current use as a result of negotiation, the first
is configuration, the second operation.

Tom Petch

> Thanks,
>  Phil


From lhotka@cesnet.cz  Tue Sep 15 04:56:07 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 907D23A6A11 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 04:56:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.166
X-Spam-Level: 
X-Spam-Status: No, score=-1.166 tagged_above=-999 required=5 tests=[AWL=0.084,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xksCkCxJ7URF for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 04:56:06 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id BC1E43A67A4 for <netmod@ietf.org>; Tue, 15 Sep 2009 04:56:06 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 997CED800C8; Tue, 15 Sep 2009 13:56:52 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <031a01ca35f1$d7d60b80$0601a8c0@allison>
References: <200909141916.n8EJGrBO099519@idle.juniper.net> <031a01ca35f1$d7d60b80$0601a8c0@allison>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Tue, 15 Sep 2009 13:56:51 +0200
Message-Id: <1253015811.3460.3.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Terminology discussion
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 11:56:07 -0000

tom.petch píše v Út 15. 09. 2009 v 12:43 +0200:
> ----- Original Message ----- 
> From: "Phil Shafer" <phil@juniper.net>
> Sent: Monday, September 14, 2009 9:16 PM
> 
> > Ladislav Lhotka writes:
> > >This is not waht Terminology section says:
> > >
> > >o  data node: A node in the schema tree that can be instantiated in a
> > >   data tree.  One of container, leaf, leaf-list, list, and anyxml.
> > >
> > >IMO it is indeed useful to have data nodes as a subset of schema nodes
> > >in the schema tree. The problem is how to call the "instance of a data
> > >node in the data tree" - reusing "data node" here may lead to confusion.
> > 
> > Can we agree that this is a bug in the spec?  A data node is a node in
> > the data tree that blah blah blah...
> 
> No:-)
> 
> There is a subset of schema nodes which may be instantiated in the data tree
> and that subset is defined as data nodes.  I think that that concept needs a
> term and it has it, i.e. data nodes.
> 
> If you now use data nodes for some other purpose, then you will need  a
> term for what is now referred to as data nodes and data nodes has a 
> certain logic about it.

+1

Lada

> 
> Tom Petch
> 
> > Thanks,
> >  Phil
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From david.partain@ericsson.com  Tue Sep 15 05:58:44 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BB9853A697B for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 05:58:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.45
X-Spam-Level: 
X-Spam-Status: No, score=-3.45 tagged_above=-999 required=5 tests=[AWL=-1.201,  BAYES_00=-2.599, HELO_EQ_SE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s6YmEAaUbovY for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 05:58:44 -0700 (PDT)
Received: from mailgw5.ericsson.se (mailgw5.ericsson.se [193.180.251.36]) by core3.amsl.com (Postfix) with ESMTP id C04D83A68BF for <netmod@ietf.org>; Tue, 15 Sep 2009 05:58:43 -0700 (PDT)
X-AuditID: c1b4fb24-b7c01ae00000498b-75-4aaf8fb1a6b7
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw5.ericsson.se (Symantec Brightmail Gateway) with SMTP id 11.7C.18827.1BF8FAA4; Tue, 15 Sep 2009 14:59:29 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.175]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 15 Sep 2009 14:59:09 +0200
Received: from selic023.lmera.ericsson.se ([150.132.89.214]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 15 Sep 2009 14:59:09 +0200
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: netmod@ietf.org
Date: Tue, 15 Sep 2009 14:59:08 +0200
User-Agent: KMail/1.9.10
References: <200909142057.n8EKv2uS000821@idle.juniper.net>
In-Reply-To: <200909142057.n8EKv2uS000821@idle.juniper.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200909151459.08821.david.partain@ericsson.com>
X-OriginalArrivalTime: 15 Sep 2009 12:59:09.0345 (UTC) FILETIME=[5098F110:01CA3604]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 12:58:44 -0000

Hi,

We keep goin' round and round.  Just let me try to see if I'm getting any 
wiser...

Andy, do you agree that there is a need for mechanisms that will allow a 
server to choose NOT to send back defaults?  It appears that you think that 
the only way to ensure interoperability is to legislate that all data must 
always be returned, whether it's defined as 'default' in the YANG module or 
not.

Is that correct or not?

If you think all servers MUST always return all data, including defaults, then 
there is fundamental disagreement between members of the working group and 
someone's going to "lose".

You appear to assert that, as the spec is written now, unless the server 
returns all values, you cannot _really_ know what it's using, even though the 
YANG module defines it as a 'default'.  You say that 'default' is not 
reliable as a constant since "import-by-revision, no-revision-module, and 
missing module capability meta-data cause problems for the client wrt/ 
deriving the correct default or determining the leaf does not exist."

So... If these things that you think are broken (I know everyone doesn't 
agree) were fixed, would you agree that it's acceptable that the server MAY 
choose not to return values that are defaults?

Clearly, there are those who disagree with you about this, but I just want to 
ensure that I've got your point documented correctly.

Thanks.

David

From andy@netconfcentral.com  Tue Sep 15 06:01:33 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 468D83A6ABC for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 06:01:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.422
X-Spam-Level: 
X-Spam-Status: No, score=-2.422 tagged_above=-999 required=5 tests=[AWL=0.177,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PGYvM6+DzSdX for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 06:01:32 -0700 (PDT)
Received: from n11b.bullet.mail.mud.yahoo.com (n11b.bullet.mail.mud.yahoo.com [209.191.125.178]) by core3.amsl.com (Postfix) with SMTP id 49A293A68BF for <netmod@ietf.org>; Tue, 15 Sep 2009 06:01:32 -0700 (PDT)
Received: from [68.142.200.225] by n11.bullet.mail.mud.yahoo.com with NNFMP; 15 Sep 2009 13:02:17 -0000
Received: from [68.142.201.67] by t6.bullet.mud.yahoo.com with NNFMP; 15 Sep 2009 13:02:17 -0000
Received: from [127.0.0.1] by omp419.mail.mud.yahoo.com with NNFMP; 15 Sep 2009 13:02:17 -0000
X-Yahoo-Newman-Id: 284553.33325.bm@omp419.mail.mud.yahoo.com
Received: (qmail 51170 invoked from network); 15 Sep 2009 13:02:16 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp105.sbc.mail.sp1.yahoo.com with SMTP; 15 Sep 2009 13:02:16 -0000
X-YMail-OSG: HTj1.yAVM1m0lmni_91onizyTLrUjQpOE8FDYEzzH72AhqAZGmUJC6QwenZ40R8mru3khq9PnbrY4O1hLNwLfpyHrWgA_35SnCvz6SK9X0c9v1qt.fSdTo1Fm0gzcGpIjGeUW4Zjqsrkal_Ou8BnI3aYu8v6L_EfBcKQiPPjz_q9rZXVXXRm2y54mS7QUvQ.cNODDF.kqgAldNtrBsHqhkeW17vx9ovxe.X4P5QOZlNfA_E-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAF9055.7080308@netconfcentral.com>
Date: Tue, 15 Sep 2009 06:02:13 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "tom.petch" <cfinss@dial.pipex.com>
References: <200909141836.n8EIas9g097201@idle.juniper.net> <031b01ca35f1$d9474ec0$0601a8c0@allison>
In-Reply-To: <031b01ca35f1$d9474ec0$0601a8c0@allison>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 13:01:33 -0000

tom.petch wrote:
> ----- Original Message -----
> From: "Phil Shafer" <phil@juniper.net>
> To: "Andy Bierman" <andy@netconfcentral.com>
> Cc: "NETMOD Working Group" <netmod@ietf.org>
> Sent: Monday, September 14, 2009 8:36 PM
> Subject: Re: [netmod] capabilities related edits
> 
> 
>> Andy Bierman writes:
>>> I've already posted emails to this list.
>>> They are in the archive.
>> I believe every issue you've submitted has been discussed and
>> addressed.  Many are covered by more exact wording in the draft.
>> Others are simply cases where the WG disagress with you.
>>
>>> The NETCONF client needs to be able to retrieve
>>> all the data no matter what legal combination
>>> of YANG mechanisms is selected by the data modeler.
>> This is a meaningless statement, since we can both agree with it
>> and both disagree about what it means.  It will help discussion if
>> you can use more precise wording for issues that you are trying to
>> raise.
>>
>> The root issue is that default values are not part of the configuration
>> database.  The server is not required to return the default value for
>> any leaf not in the configuration database.  This is the current
>> wording in the YANG spec and has been discussed ad nauseum.  The
>> draft contains the WG concensus and is not likely to change.  Can
>> we record this as a closed issue and move on?  You've been reanimating
>> it for months, but the issue has been covered.
> 
> And it goes on being discussed because it is not resolved, there is no
> consensus, it is not closed.
> 
> There are a few people who want the server not to return values that it
> is using, there are a few people who want the server to return all the
> values that it is using.  (It might help if there were a few more people).
> 
> I agree with Andy that the client must be able to get all the values in the
> configuration.  The problem I have is being told that the client can retrieve
> everything in the configuration and then find the definition of everything
> excludes several items because they have been redefined as 'not configuration'.
> 

I've given up on YANG wrt/ standards value.
The market will dictate the minimum level of functionality,
even if the IETF can't.

But the use of MUST language for this client requirement
seems rather bizarre.  Those 4 paragraphs about 'if there is
a default, the client MUST use it' are only mentioned for defaults.
There is no text about "if the list has a key, then the client MUST use it."

The MUST terminology seems even more bizarre because there are so many ways for
the 'derived default' to be inconclusive or wrong.

IMO, there is no consensus that a deviation MUST be used by the client.
There is no consensus that a default within a grouping can be
re-written with a refine-stmt.


> My stab at this is
> 
> If the node in the data tree is defined in a yang module as configuration
> and the server is using a value for that instance, then some variant of
> get-config
> (option=Gargantuan:-) must return that instance.  By all means have other
> variants that return less, but the prime requirement is to be able to get
> everything defined in a yang module as configuration.
> 

This seems to be an extra credit feature that not
all servers will provide.

> Tom Petch
> 

Andy


From j.schoenwaelder@jacobs-university.de  Tue Sep 15 06:02:26 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 881413A6851 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 06:02:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.845
X-Spam-Level: 
X-Spam-Status: No, score=-1.845 tagged_above=-999 required=5 tests=[AWL=-0.196, BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kOCASY+wjnoX for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 06:02:25 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 7F5BC3A68BF for <netmod@ietf.org>; Tue, 15 Sep 2009 06:02:25 -0700 (PDT)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 2A452C001B; Tue, 15 Sep 2009 15:03:12 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id tQ1zdbGNql-M; Tue, 15 Sep 2009 15:03:11 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id AE618C0005; Tue, 15 Sep 2009 15:02:58 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 7C1B1CB5625; Tue, 15 Sep 2009 15:02:57 +0200 (CEST)
Date: Tue, 15 Sep 2009 15:02:57 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "tom.petch" <cfinss@dial.pipex.com>
Message-ID: <20090915130257.GC3479@elstar.local>
Mail-Followup-To: "tom.petch" <cfinss@dial.pipex.com>, Andy Bierman <andy@netconfcentral.com>, Phil Shafer <phil@juniper.net>, NETMOD Working Group <netmod@ietf.org>
References: <200909141836.n8EIas9g097201@idle.juniper.net> <031b01ca35f1$d9474ec0$0601a8c0@allison>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <031b01ca35f1$d9474ec0$0601a8c0@allison>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 13:02:26 -0000

On Tue, Sep 15, 2009 at 12:43:55PM +0200, tom.petch wrote:
 
> There are a few people who want the server not to return values that it
> is using, there are a few people who want the server to return all the
> values that it is using.  (It might help if there were a few more people).
> 
> I agree with Andy that the client must be able to get all the values in the
> configuration.  The problem I have is being told that the client can retrieve
> everything in the configuration and then find the definition of everything
> excludes several items because they have been redefined as 'not configuration'.

The problem with the text above is that the distinction between
configuration and operational state remains fuzzy and we seem to
differ on exactly this fundamental point.

The phrase "all the values it is using" translates to "operational
state" in my ears. And for me, the phrase "the client must be able to
get all the values in the configuration" translates into 'a value that
is operationally used but not part of the explicit configuration does
not have to be returned - because it is not configuration'.

The discussion around defaults is in my opinion a symptom of
fundamental disagreement what configuration really is. But this has
been stated before. What we really need is now a plan how to resolve
this disagreement.

/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/>

From phil@juniper.net  Tue Sep 15 06:14:01 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 288D93A6AFF for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 06:14:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.574
X-Spam-Level: 
X-Spam-Status: No, score=-6.574 tagged_above=-999 required=5 tests=[AWL=0.025,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dnMbID8WgR+g for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 06:14:00 -0700 (PDT)
Received: from exprod7og122.obsmtp.com (exprod7og122.obsmtp.com [64.18.2.22]) by core3.amsl.com (Postfix) with ESMTP id 94CA33A6B15 for <netmod@ietf.org>; Tue, 15 Sep 2009 06:13:55 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob122.postini.com ([64.18.6.12]) with SMTP ID DSNKSq+TQLiotWVjznbPYrHhjmFvF5J274cu@postini.com; Tue, 15 Sep 2009 06:14:47 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 15 Sep 2009 06:07:29 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 06:07:30 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 06:07:30 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 06:07:29 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8FD7Sd09549; Tue, 15 Sep 2009 06:07:28 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8FCt9rn006874; Tue, 15 Sep 2009 12:55:10 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909151255.n8FCt9rn006874@idle.juniper.net>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <031c01ca35f1$da4ab500$0601a8c0@allison> 
Date: Tue, 15 Sep 2009 08:55:09 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 15 Sep 2009 13:07:29.0341 (UTC) FILETIME=[7A9E46D0:01CA3605]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] proposal : <get-operational-data>
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 13:14:01 -0000

"tom.petch" writes:
>> >Ditto most aspects of configuration.  If what I ask is impossible, I should
>> >get an error returned or, exceptionally, if it is one of those nasties that
>> >cannot be detected immediately, an alert later.
>> If you hit a nasty and get an alert, what value should be in <mtu>?  The
>> one you configured or the current one?  They are two distinct values.
>If I have explicitly configured ifMtu, and this is not something that a
>protocol negotiates dynamically, then there is only one value, the one
>I configured.

If you set the MTU, then the value in the configuration database
should be the value that you set.  Thers is only one value, the
one you configured.

But if the device fails during the act of setting that MTU for
a particular interface, there are two values, the one you asked
for and the one that is currently in use.  The configured value
may be 1500, but if an interface was hot-plugged that does not
accept this value, I would not want the device to report 1500
as the operational value.

Thanks,
 Phil

From phil@juniper.net  Tue Sep 15 06:47:07 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 08BF83A6B21 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 06:47:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.574
X-Spam-Level: 
X-Spam-Status: No, score=-6.574 tagged_above=-999 required=5 tests=[AWL=0.025,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QoFtIzX2tFcl for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 06:47:06 -0700 (PDT)
Received: from exprod7og106.obsmtp.com (exprod7og106.obsmtp.com [64.18.2.165]) by core3.amsl.com (Postfix) with ESMTP id 580EC3A6934 for <netmod@ietf.org>; Tue, 15 Sep 2009 06:47:03 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob106.postini.com ([64.18.6.12]) with SMTP ID DSNKSq+bBGxGwnRzAVf4QXH97t6S6TFE4yH7@postini.com; Tue, 15 Sep 2009 06:47:53 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 15 Sep 2009 06:38:22 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 06:38:22 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 06:38:21 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 06:38:21 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8FDcKd33680; Tue, 15 Sep 2009 06:38:20 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8FDQ1Qb007212; Tue, 15 Sep 2009 13:26:02 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909151326.n8FDQ1Qb007212@idle.juniper.net>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <031b01ca35f1$d9474ec0$0601a8c0@allison> 
Date: Tue, 15 Sep 2009 09:26:01 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 15 Sep 2009 13:38:21.0293 (UTC) FILETIME=[CA77B9D0:01CA3609]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 13:47:07 -0000

"tom.petch" writes:
>There are a few people who want the server not to return values that it
>is using, there are a few people who want the server to return all the
>values that it is using.  (It might help if there were a few more people).

"it is using" is where we differ, I think.  "using" means operational
data, where "told" is configuration data.  Configuration data is
instructions to tell the device what to do.  If I leave out a step
of the instructions, the device will do something appropriate (where
this means (a) do nothing, (b) use a static default value, or (c)
use a dynamic default value).  But that missing step is not
configuration data.

When I configure an interface, I may not tell it the duplex or mtu
to use.  The duplex and mtu are not part of the configuration.

When I insert a interface card that matches the configured interface,
the device will find the appropriate config and set up the interface
according to those instructions.  Since I didn't provide a duplex or
mtu in the configuration, the device will do something appropriate
(a, b, or c).

I can now retrieve operational data to tell me the current values
for duplex and mtu for this interface.

But those values to not magically become part of the configuration
for that interface.  <duplex>half</duplex> isn't in the configuration
database.  It's not being redefined as 'not configuration', but it
is truly not configuration data.

If I tell you to drive to the market, the speed you are driving
isn't part of the instructions (configuration).  If I tell you to
drive 15 mph to the market, your current speed isn't part of the
instructions (configuration), but may be observed at any point in
time (as operational data).

This fuzzy line between "told" and "using" is something that imho
snmp got very wrong, allowing non-config data to masquerade as
configuration data.  But if you want the device to give you (b)
data as if it were real configuration, the with-defaults draft makes
this information available, without making it part of the configuration
database.

In any event, these are the same issues discussed at the interim
and in the end, the decision was to allow the device to avoid sending
default values.  This allows Andy to write code that populates the
configuration database with default values, allows devices that
don't track when default values are set explicitly by the user
(c-brand routers) and allows the configuration database to hold
exactly the instructions given by the user (which is how my code
works).

I haven't seen any new issues raised anywhere in this discussion.
I would be just as happy to say "the world MUST work my way" as
Andy would be to make the world work his way, but the WG decision
was to allow all three styles in a way that servers and clients
MUST live with.

Thanks,
 Phil

From phil@juniper.net  Tue Sep 15 06:50:02 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0A66D3A6974 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 06:50:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.574
X-Spam-Level: 
X-Spam-Status: No, score=-6.574 tagged_above=-999 required=5 tests=[AWL=0.025,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kYvwJ3I-265t for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 06:50:01 -0700 (PDT)
Received: from exprod7og127.obsmtp.com (exprod7og127.obsmtp.com [64.18.2.210]) by core3.amsl.com (Postfix) with ESMTP id BC1BE3A684A for <netmod@ietf.org>; Tue, 15 Sep 2009 06:49:55 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob127.postini.com ([64.18.6.12]) with SMTP ID DSNKSq+bsBb0XNwgrNgyvdUs0Qo2EYzgsJyR@postini.com; Tue, 15 Sep 2009 06:50:45 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 15 Sep 2009 06:42:08 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 06:42:09 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 06:42:07 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 06:42:07 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8FDg5d35680; Tue, 15 Sep 2009 06:42:06 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8FDTltd007276; Tue, 15 Sep 2009 13:29:47 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909151329.n8FDTltd007276@idle.juniper.net>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <031a01ca35f1$d7d60b80$0601a8c0@allison> 
Date: Tue, 15 Sep 2009 09:29:47 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 15 Sep 2009 13:42:07.0948 (UTC) FILETIME=[519088C0:01CA360A]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] Terminology discussion
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 13:50:02 -0000

"tom.petch" writes:
>----- Original Message ----- 
>From: "Phil Shafer" <phil@juniper.net>
>Sent: Monday, September 14, 2009 9:16 PM
>
>> Ladislav Lhotka writes:
>> >This is not waht Terminology section says:
>> >
>> >o  data node: A node in the schema tree that can be instantiated in a
>> >   data tree.  One of container, leaf, leaf-list, list, and anyxml.
>> >
>> >IMO it is indeed useful to have data nodes as a subset of schema nodes
>> >in the schema tree. The problem is how to call the "instance of a data
>> >node in the data tree" - reusing "data node" here may lead to confusion.
>> 
>> Can we agree that this is a bug in the spec?  A data node is a node in
>> the data tree that blah blah blah...
>
>No:-)
>
>There is a subset of schema nodes which may be instantiated in the data tree
>and that subset is defined as data nodes.  I think that that concept needs a
>term and it has it, i.e. data nodes.
>
>If you now use data nodes for some other purpose, then you will need  a
>term for what is now referred to as data nodes and data nodes has a 
>certain logic about it.

"data nodes" should be in the "data tree" and "schema nodes" should
be in the "schema tree".  I'm not sure that we have an appropriate
term for saying "this data node is an instance based on that schema
node", but we should never say that a data node is a "node in the
schema tree".

Thanks,
 Phil

From andy@netconfcentral.com  Tue Sep 15 06:56:27 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BAF1C28C0EB for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 06:56:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.433
X-Spam-Level: 
X-Spam-Status: No, score=-2.433 tagged_above=-999 required=5 tests=[AWL=0.166,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gacHEEqPdim6 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 06:56:26 -0700 (PDT)
Received: from smtp102.sbc.mail.mud.yahoo.com (smtp102.sbc.mail.mud.yahoo.com [68.142.198.201]) by core3.amsl.com (Postfix) with SMTP id D29383A685B for <netmod@ietf.org>; Tue, 15 Sep 2009 06:56:26 -0700 (PDT)
Received: (qmail 25551 invoked from network); 15 Sep 2009 13:57:08 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 15 Sep 2009 13:57:08 -0000
X-YMail-OSG: mXLk7xsVM1nn_MC3p1Orwiksp0koVsY.rpf.AYrl_I.OfkEr0bw06g3wSvA0HqKH9sfyELbKX1.skc7lXRZU_fdDkHSx1OtbWljXJ4Vijltfnx9YRgDlmEA_LgVCzo1ZCTFBORqtfQO3sj8tZcQ1aIuiCe5uKw05YjLyiLW.TmmnAScfsD8hSd4wdhX8FVyGSBmyaF2b9tc3.wImuhg685w7c47q0psJ5YBGeT3H1BIrAqR3h_DWyDwNm1oWiQqwWZ_yVb.G5qzGIZur
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAF9D31.7070907@netconfcentral.com>
Date: Tue, 15 Sep 2009 06:57:05 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: David Partain <david.partain@ericsson.com>
References: <200909142057.n8EKv2uS000821@idle.juniper.net> <200909151459.08821.david.partain@ericsson.com>
In-Reply-To: <200909151459.08821.david.partain@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 13:56:27 -0000

David Partain wrote:
> Hi,
> 
> We keep goin' round and round.  Just let me try to see if I'm getting any 
> wiser...
> 
> Andy, do you agree that there is a need for mechanisms that will allow a 
> server to choose NOT to send back defaults?  It appears that you think that 
> the only way to ensure interoperability is to legislate that all data must 
> always be returned, whether it's defined as 'default' in the YANG module or 
> not.
> 
> Is that correct or not?
> 

this is not my position.
There has never been any proposal by anybody that would require
every leaf to be returned every time, with no possibility
of filtering out defaults.  That is a strawman proposal.



> If you think all servers MUST always return all data, including defaults, then 
> there is fundamental disagreement between members of the working group and 
> someone's going to "lose".
> 

The current use of the term MUST is a problem wrt/
client using a derived default which MAY or SHOULD
be correct.


> You appear to assert that, as the spec is written now, unless the server 
> returns all values, you cannot _really_ know what it's using, even though the 
> YANG module defines it as a 'default'.  You say that 'default' is not 
> reliable as a constant since "import-by-revision, no-revision-module, and 
> missing module capability meta-data cause problems for the client wrt/ 
> deriving the correct default or determining the leaf does not exist."
> 

It is not my opinion that the meta-data required by
the client to accurately deduce a default is optional.
It is a fact -- written in the spec.  The data modeler
and server are allowed to provide the client with incomplete
meta-data.

The RMONMIB WG could not agree which of the 9 groups
of RMON-1 should be mandatory, so they were all optional.
The RMON vendors were very good about spreading FUD on
their competitors lame excuse for an RMON implementation.
This market pressure, not the IETF, was the reason all
RMON probes implemented all of RMON-1.   I expect the
same market pressures will emerge for NETCONF, if and when
there is actually some common content to compare.


> So... If these things that you think are broken (I know everyone doesn't 
> agree) were fixed, would you agree that it's acceptable that the server MAY 
> choose not to return values that are defaults?
> 

 1) 'client MUST use default' language is wrong, pointless, misleading
 2) client MUST use server deviated defaults is broken; the client
    only needs to code to the standard to be compliant with the standard
 3) refine-stmt cannot rewrite a default-stmt, as Martin claims is OK.
    This makes default-stmt inside a grouping immune to the change
    rules in sec 10, which is broken.


Note that none of my objections are related to a server MUST
return a leaf with a YANG default value.  I am not trying to change
that decision.   I am certainly not trying to force
all defaults to be returned all the time.

> Clearly, there are those who disagree with you about this, but I just want to 
> ensure that I've got your point documented correctly.
> 

As Joel pointed out, a application wants the consistent
but verbose data-set, even if the human operator usually
wants to ignore the default values.


> Thanks.
> 
> David


Andy

From phil@juniper.net  Tue Sep 15 07:12:38 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3C3FF3A686B for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 07:12:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.574
X-Spam-Level: 
X-Spam-Status: No, score=-6.574 tagged_above=-999 required=5 tests=[AWL=0.025,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s4YVzzpdtsDY for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 07:12:37 -0700 (PDT)
Received: from exprod7og122.obsmtp.com (exprod7og122.obsmtp.com [64.18.2.22]) by core3.amsl.com (Postfix) with ESMTP id AB64B3A6811 for <netmod@ietf.org>; Tue, 15 Sep 2009 07:12:35 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob122.postini.com ([64.18.6.12]) with SMTP ID DSNKSq+hAdCLt0kKLdvWDAf4GOFWm4fPUiwW@postini.com; Tue, 15 Sep 2009 07:13:24 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 15 Sep 2009 07:10:14 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 07:10:14 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 07:10:13 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 07:10:13 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8FEABd46838; Tue, 15 Sep 2009 07:10:12 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8FDvrVL009717; Tue, 15 Sep 2009 13:57:53 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909151357.n8FDvrVL009717@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AAF9055.7080308@netconfcentral.com> 
Date: Tue, 15 Sep 2009 09:57:53 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 15 Sep 2009 14:10:13.0125 (UTC) FILETIME=[3E022350:01CA360E]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 14:12:38 -0000

Andy Bierman writes:
>But the use of MUST language for this client requirement
>seems rather bizarre.  Those 4 paragraphs about 'if there is
>a default, the client MUST use it' are only mentioned for defaults.
>There is no text about "if the list has a key, then the client MUST use it."

IIRC this wording was added to clarify this point the last time we
circled this fire.  Are you now suggesting we remove this clarification?

Thanks,
 Phil

From mbj@tail-f.com  Tue Sep 15 07:37:05 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5A6293A6B31 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 07:37:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.938
X-Spam-Level: 
X-Spam-Status: No, score=-1.938 tagged_above=-999 required=5 tests=[AWL=0.108,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2RMaU84jiw03 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 07:37:04 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 8E7EF3A6B30 for <netmod@ietf.org>; Tue, 15 Sep 2009 07:37:03 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id 981FC616005; Tue, 15 Sep 2009 16:37:49 +0200 (CEST)
Date: Tue, 15 Sep 2009 16:37:48 +0200 (CEST)
Message-Id: <20090915.163748.115527240.mbj@tail-f.com>
To: phil@juniper.net
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <200909151357.n8FDvrVL009717@idle.juniper.net>
References: <4AAF9055.7080308@netconfcentral.com> <200909151357.n8FDvrVL009717@idle.juniper.net>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 14:37:05 -0000

Phil Shafer <phil@juniper.net> wrote:
> Andy Bierman writes:
> >But the use of MUST language for this client requirement
> >seems rather bizarre.  Those 4 paragraphs about 'if there is
> >a default, the client MUST use it' are only mentioned for defaults.
> >There is no text about "if the list has a key, then the client MUST use it."
> 
> IIRC this wording was added to clarify this point the last time we
> circled this fire.  Are you now suggesting we remove this clarification?

I can't find those 4 paragraphs.  I find 2 paragraphs, 7.13.3 and
7.14, and the text says says (7.13.3):

   If a leaf in the output tree has a default value, the NETCONF client
   MUST internally use this default if the leaf is not present in a
   NETCONF RPC reply.

And the not-yet-published text says:

  If a leaf in the output tree has a default value, the NETCONF client
  MUST use this value in the same cases as described in
  ^leaf-default-value^.  In these cases, the client MUST operationally
  behave as if the leaf was present in the NETCONF RPC reply with the
  default value as its value.


Andy, what should we write instead of this?



/martin

From andy@netconfcentral.com  Tue Sep 15 08:10:47 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 14C083A6A24 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 08:10:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.442
X-Spam-Level: 
X-Spam-Status: No, score=-2.442 tagged_above=-999 required=5 tests=[AWL=0.157,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IrhY0m8qJLSn for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 08:10:46 -0700 (PDT)
Received: from n16.bullet.mail.mud.yahoo.com (n16.bullet.mail.mud.yahoo.com [68.142.206.43]) by core3.amsl.com (Postfix) with SMTP id 3378D3A694F for <netmod@ietf.org>; Tue, 15 Sep 2009 08:10:46 -0700 (PDT)
Received: from [68.142.200.224] by n16.bullet.mail.mud.yahoo.com with NNFMP; 15 Sep 2009 15:11:31 -0000
Received: from [68.142.201.243] by t5.bullet.mud.yahoo.com with NNFMP; 15 Sep 2009 15:11:31 -0000
Received: from [127.0.0.1] by omp404.mail.mud.yahoo.com with NNFMP; 15 Sep 2009 15:11:31 -0000
X-Yahoo-Newman-Id: 79416.41902.bm@omp404.mail.mud.yahoo.com
Received: (qmail 91580 invoked from network); 15 Sep 2009 15:11:30 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp103.sbc.mail.sp1.yahoo.com with SMTP; 15 Sep 2009 15:11:30 -0000
X-YMail-OSG: KTQVFQEVM1kXwQ0f75V36krEOIODzmKTXfGf1AIcTtS8uGTsQ7Lz4SorP0R.1VYDgemGcA.YQB.tMQFen3x1I1cmqE1AG69mkHCZKtrAvEPob6aBauNDGHIAG8jgeGGIAXqNVEfCMrbCAMICYxVRqSm02MbrHeQNHldsiBkvi1Oo_DHoYJQeWIvUAUXSrinKoe7D.McAMEeP_RP6TPr5s9YaEKoPgRyryGFSdOcXmkoetAqmmVY-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAFAE9F.3080105@netconfcentral.com>
Date: Tue, 15 Sep 2009 08:11:27 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AAF9055.7080308@netconfcentral.com>	<200909151357.n8FDvrVL009717@idle.juniper.net> <20090915.163748.115527240.mbj@tail-f.com>
In-Reply-To: <20090915.163748.115527240.mbj@tail-f.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 15:10:47 -0000

Martin Bjorklund wrote:
> Phil Shafer <phil@juniper.net> wrote:
>> Andy Bierman writes:
>>> But the use of MUST language for this client requirement
>>> seems rather bizarre.  Those 4 paragraphs about 'if there is
>>> a default, the client MUST use it' are only mentioned for defaults.
>>> There is no text about "if the list has a key, then the client MUST use it."
>> IIRC this wording was added to clarify this point the last time we
>> circled this fire.  Are you now suggesting we remove this clarification?
> 
> I can't find those 4 paragraphs.  I find 2 paragraphs, 7.13.3 and
> 7.14, and the text says says (7.13.3):
> 
>    If a leaf in the output tree has a default value, the NETCONF client
>    MUST internally use this default if the leaf is not present in a
>    NETCONF RPC reply.
> 
> And the not-yet-published text says:
> 
>   If a leaf in the output tree has a default value, the NETCONF client
>   MUST use this value in the same cases as described in
>   ^leaf-default-value^.  In these cases, the client MUST operationally
>   behave as if the leaf was present in the NETCONF RPC reply with the
>   default value as its value.
> 

>From the email I sent on 9/5:


7.6.5: para 3:

   A NETCONF server that replies to a <get> or <get-config> request MAY
   choose not to send the leaf element if its value is the default
   value.  Thus, a client that receives an <rpc-reply> for a <get> or
   <get-config> request, MUST be prepared to handle the case that a leaf
   node with a default value is not present in the XML.  In this case,
   the value used by the server is known to be the default value.

7.13.2, para 3:

   If a leaf in the input tree has a default value, the NETCONF server
   MUST internally use this default if the leaf is not present in a
   NETCONF RPC invocation.

7.13.3, para 3:

   If a leaf in the output tree has a default value, the NETCONF client
   MUST internally use this default if the leaf is not present in a
   NETCONF RPC reply.

7.14, para 4:

   If a leaf in the notification tree has a default value, the NETCONF
   client MUST internally use this default if the leaf is not present in
   a NETCONF notification.

> 
> Andy, what should we write instead of this?

I would just remove this noise about defaults.
The phrase 'is known to be the default value'
needs an asterisk next to it (* offer not available
in all areas).

> 
> 
> 
> /martin
> 


Andy



From andy@netconfcentral.com  Tue Sep 15 08:19:21 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C1F993A6B33 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 08:19:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.45
X-Spam-Level: 
X-Spam-Status: No, score=-2.45 tagged_above=-999 required=5 tests=[AWL=0.149,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xJwNVH+Wi57Y for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 08:19:19 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id 59A863A6B23 for <netmod@ietf.org>; Tue, 15 Sep 2009 08:19:19 -0700 (PDT)
Received: (qmail 31277 invoked from network); 15 Sep 2009 15:20:04 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 15 Sep 2009 15:20:03 -0000
X-YMail-OSG: u67GdP8VM1kIg9I6vehg8Ndiygi6JdmRsE8KHIMQpRqrYOBaDHwhaUnz_VMnxbmgDxuZDbza9sw9P_ZGLK_58VXNfvhABCaBzy7Hcpt5LZu19ziCmLOy9eOSxD7zOg0OpSVuM0sbTCFiohrVT31c9NHwxanvkXdNDWedGab8HaGGTHrrEMFQUDVegEbLcDn6LGV9YhsLMT6OSaJtEqY6DZKgA30CucZlJOc9iMna8bbY6YnyanXQImQ3yC7iqdO8qdARtoxrhuu9dF8p
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAFB0A0.4000307@netconfcentral.com>
Date: Tue, 15 Sep 2009 08:20:00 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909141913.n8EJDgMh099488@idle.juniper.net>
In-Reply-To: <200909141913.n8EJDgMh099488@idle.juniper.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] advertising module capabilities
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 15:19:22 -0000

Phil Shafer wrote:
> "Randy Presuhn" writes:
>> As a practical matter this means is that implementations MUST NOT
>> rely on the names of modules or submodules being unique.  There is
>> no guarantee of uniqueness, so using it to find a module would be a bad idea.
> 
> I would be happy to see module names as "MUST be unique" and use
> the java-style reverse domain name to ensure it ("module org.ietf.ipfix",
> "module net.juniper.junos").

This seems rather verbose, and we already have 1 globally unique
string per module -- the module namespace.  Maintaining 2 globally
unique strings is a waste of resources.

The premise in the YANG draft that the module capability
is sometimes optional for the server to send is really
baffling to me.  The <hello> PDU is sent once, and the
number of grouping/typedef only modules is likely to
be very small anyway.  Since a default-stmt can appear in
a typedef or grouping, these 'special' modules need to be
advertised just as much as any other 'real' module.

By advertising every module in use, the server provides
a namespace-to-module/revision binding, and the client does not
have to guess, and hope, it picked the same module as the server.


Andy

From andy@netconfcentral.com  Tue Sep 15 11:57:21 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2BC6B28C1F1 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 11:57:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.458
X-Spam-Level: 
X-Spam-Status: No, score=-2.458 tagged_above=-999 required=5 tests=[AWL=0.141,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1AA9hnCDE62d for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 11:57:20 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id 4ED4F28C1DF for <netmod@ietf.org>; Tue, 15 Sep 2009 11:57:20 -0700 (PDT)
Received: (qmail 84852 invoked from network); 15 Sep 2009 18:58:05 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 15 Sep 2009 18:58:05 -0000
X-YMail-OSG: PCSuXfYVM1lfOtFat._upbzP.5T0PVHAvhb_GbcPRu96ahqWYUrxKJYCIIs_acA71CJTbgueCvxJmFMpesriQ1NcZGb9HS4TlK1unMInfnYrM2B3TLPFg.K5nsmEt3ZMdnhQeaaVhg4Kl9CpcE6wtriwYUwjw3PqO7m4MlZ.SLHya2vba6_9vjCMKUtgIQmGUe_x4UYPONJtslRWZRW4NXyfYA--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAFE3BC.3070301@netconfcentral.com>
Date: Tue, 15 Sep 2009 11:58:04 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909151357.n8FDvrVL009717@idle.juniper.net>
In-Reply-To: <200909151357.n8FDvrVL009717@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 18:57:21 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> But the use of MUST language for this client requirement
>> seems rather bizarre.  Those 4 paragraphs about 'if there is
>> a default, the client MUST use it' are only mentioned for defaults.
>> There is no text about "if the list has a key, then the client MUST use it."
> 
> IIRC this wording was added to clarify this point the last time we
> circled this fire.  Are you now suggesting we remove this clarification?
> 

a) usage of 2119 language is normative, not a clarification
b) I posted all the MUST updates on the server side to show
   how absurd it would be to tighten up the DML usage that much.
   Apparently I was too subtle, because it was taken seriously.

IMO, here is what should be done to make the standard
reasonably likely to produce inter-operable implementations:

 1) Make revision-stmt mandatory to use
 2) Make advertisement of all module capabilities
    in the <hello> mandatory
 3) Make the sec. 10 rules wrt/ defaults apply to
    all defaults (even in groupings)
 4) Make import/include by revision SHOULD use (not specified now)
 5) Remove normative text wrt/ client MUST use the default;
    the text that the server MAY omit defaults is sufficient.
 6) Finish the with-defaults RFC ASAP; all servers SHOULD implement
    it to provide 'report-all' as a non-default retrieval mechanism
 7) Do not wait to define a new (possibly) non-backward compatible version
    of NETCONF (e.g., get-operational-state).  Stick to the decision
    to rely on description statements, special RPCs, and extensions
    to partition the database beyond the standard filters.  The NETCONF WG
    originally debated this issue a great deal and decided on
    1 'get-everything' operation (get).  This was a direct request
    from operators.

       Example: I just added set-log-level() as a special RPC
       because I don't want it saved in NV-store.  Is it perfect?
       Unified?  No -- but if the client doesn't know about the
       RPC <set-log-level>, why would it know about the config leaf <log-level>?
       This is a workaround that actually works.

 8) Pencils down.  No new features.  Bugfixes only from now on.
    Ship it already.





> Thanks,
>  Phil
> 


Andy


From j.schoenwaelder@jacobs-university.de  Tue Sep 15 12:22:02 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 078EA28C236 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 12:22:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.144
X-Spam-Level: 
X-Spam-Status: No, score=-2.144 tagged_above=-999 required=5 tests=[AWL=0.105,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M-MaZySPXaMz for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 12:22:01 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id C74C628C235 for <netmod@ietf.org>; Tue, 15 Sep 2009 12:22:00 -0700 (PDT)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id E9A41C000D; Tue, 15 Sep 2009 21:22:47 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id xDPKnBKNw76t; Tue, 15 Sep 2009 21:22:46 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id ED98AC0009; Tue, 15 Sep 2009 21:22:45 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 391A1CB5F8B; Tue, 15 Sep 2009 21:22:44 +0200 (CEST)
Date: Tue, 15 Sep 2009 21:22:44 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.com>
Message-ID: <20090915192244.GA4061@elstar.local>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.com>, Phil Shafer <phil@juniper.net>, NETMOD Working Group <netmod@ietf.org>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4AAFE3BC.3070301@netconfcentral.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 19:22:02 -0000

On Tue, Sep 15, 2009 at 08:58:04PM +0200, Andy Bierman wrote:

>  6) Finish the with-defaults RFC ASAP; all servers SHOULD implement
>     it to provide 'report-all' as a non-default retrieval mechanism

Sorry, but :with-defaults is at odds with explicit config and confuses
operational state with config data. Quoting -03:

   [NETCONF] does not define whether default data is part of the
   datastore/data model, or if it is meta-data that influences the
   behavior of the NETCONF server, but is not actually part of the
   datastore.  This document is intended to support either type of
   implementation, without deciding which approach is better.

I am not sure what meta-data refers to here. There are other places in
the document where things are rather unclear or where the text assumes
there are default configuration values while in reality there is
algorithmic determined operational state.

Take a look at the core definition:

   o  Default data: Data that is set or used by the NETCONF server
      whenever the NETCONF client does not provide a specific value for
      the relevant data item.  Default values SHOULD be specified in
      documents describing the data models supported by the NETCONF
      server.

Most of the many parameters determining system behaviour are
dynamically computed and not configuration values. We have discussed
several examples here on the mailing list. Treating such calculated
values as config data is at best an approximation of reality.

I believe explicit NETCONF support for retrieving operational state
plus proper support to separate config data from operational state
data from statistical data in YANG is the technically appropriate
solution.

/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/>

From andy@netconfcentral.com  Tue Sep 15 12:57:46 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 843FD3A6920 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 12:57:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.464
X-Spam-Level: 
X-Spam-Status: No, score=-2.464 tagged_above=-999 required=5 tests=[AWL=0.135,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DzQxfo5xhbxN for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 12:57:45 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id B48363A62C1 for <netmod@ietf.org>; Tue, 15 Sep 2009 12:57:45 -0700 (PDT)
Received: (qmail 85871 invoked from network); 15 Sep 2009 19:58:30 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 15 Sep 2009 19:58:30 -0000
X-YMail-OSG: M2MxqvwVM1lN5nuYuhlSkHXBQLar08YMIVDhjSFmXUxwMYElX8jnNx40axoSGuFHZ8WDqgAvRltedKmsCFqkXizbZurgMiQQuu64hDFcjRTgTq7n83hXizqSvohl9J.5wx0iHygquAinBkiLrDXziUtb4a8UTBQ5GGz6HiJdrQ97qbElV66PCmemo3AWnqom_AEmts5VXPbm6SuZIHWz7tgEoLeW.cFeg.1tJoxVniTZjI7zcIn2QcIMqTKcODw218iDtVRyp7OMgYUR
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAFF16C.1070806@netconfcentral.com>
Date: Tue, 15 Sep 2009 12:56:28 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>, Phil Shafer <phil@juniper.net>, NETMOD Working Group <netmod@ietf.org>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com> <20090915192244.GA4061@elstar.local>
In-Reply-To: <20090915192244.GA4061@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 19:57:46 -0000

Juergen Schoenwaelder wrote:
> On Tue, Sep 15, 2009 at 08:58:04PM +0200, Andy Bierman wrote:
> 
>>  6) Finish the with-defaults RFC ASAP; all servers SHOULD implement
>>     it to provide 'report-all' as a non-default retrieval mechanism
> 
> Sorry, but :with-defaults is at odds with explicit config and confuses
> operational state with config data. Quoting -03:
> 
>    [NETCONF] does not define whether default data is part of the
>    datastore/data model, or if it is meta-data that influences the
>    behavior of the NETCONF server, but is not actually part of the
>    datastore.  This document is intended to support either type of
>    implementation, without deciding which approach is better.
> 


It does not matter how the leaf instance /who/cares/what/it/is
is classified by the DML-of-the-month.  This has no
bearing on the <get> operation, which was designed
to get everything.  IMO, we could come up with clever
filters like 'get-operational-state' for many years,
and probably will.  These can always be added at any
time, and advertised with a capability -- exactly like 'with-defaults'.


> I am not sure what meta-data refers to here. There are other places in
> the document where things are rather unclear or where the text assumes
> there are default configuration values while in reality there is
> algorithmic determined operational state.
> 
> Take a look at the core definition:
> 
>    o  Default data: Data that is set or used by the NETCONF server
>       whenever the NETCONF client does not provide a specific value for
>       the relevant data item.  Default values SHOULD be specified in
>       documents describing the data models supported by the NETCONF
>       server.
> 
> Most of the many parameters determining system behaviour are
> dynamically computed and not configuration values. We have discussed
> several examples here on the mailing list. Treating such calculated
> values as config data is at best an approximation of reality.
> 


We are willing to accept approximations of reality
in machine-readable clauses all over the place.
We have no basis or framework to establish which
missing machine-readable clauses are more important than others.
We have no standard data -- no interoperability testing
of extensive 'apples to apples' content -- to decide what
standard content rules and mechanisms work best.  That is why
the Usage Guidelines is Informational, and the same logic
applies to new protocol features.


> I believe explicit NETCONF support for retrieving operational state
> plus proper support to separate config data from operational state
> data from statistical data in YANG is the technically appropriate
> solution.


It could be done as an optional capability.
I want the <get> function to still get everything.


> 
> /js
> 

Andy

From phil@juniper.net  Tue Sep 15 13:09:04 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 58DA23A6911 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:09:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.574
X-Spam-Level: 
X-Spam-Status: No, score=-6.574 tagged_above=-999 required=5 tests=[AWL=0.025,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tAhL+MxTUrQQ for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:09:03 -0700 (PDT)
Received: from exprod7og118.obsmtp.com (exprod7og118.obsmtp.com [64.18.2.8]) by core3.amsl.com (Postfix) with ESMTP id 3A5F33A62C1 for <netmod@ietf.org>; Tue, 15 Sep 2009 13:08:36 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob118.postini.com ([64.18.6.12]) with SMTP ID DSNKSq/0c7kFSoquTMIRAlo/PQJAQFJUUY7x@postini.com; Tue, 15 Sep 2009 13:09:25 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 15 Sep 2009 13:06:24 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 13:06:24 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 13:06:24 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 13:06:24 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8FK6Nd36541; Tue, 15 Sep 2009 13:06:23 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8FJs5kw059160; Tue, 15 Sep 2009 19:54:05 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909151954.n8FJs5kw059160@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
Date: Tue, 15 Sep 2009 15:54:04 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 15 Sep 2009 20:06:24.0019 (UTC) FILETIME=[000DC630:01CA3640]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: [netmod] Andy's Issues (was: Re:  capabilities related edits)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 20:09:04 -0000

Andy Bierman writes:
>IMO, here is what should be done to make the standard
>reasonably likely to produce inter-operable implementations:

Please make a new email thread for each issue.  We can add them to
the issue list, discuss them individually, reach a concensus (again),
and mark them as closed issues.

Thanks,
 Phil

----

Andy's Issues:
 1) Make revision-stmt mandatory to use
 2) Make advertisement of all module capabilities
    in the <hello> mandatory
 3) Make the sec. 10 rules wrt/ defaults apply to
    all defaults (even in groupings)
 4) Make import/include by revision SHOULD use (not specified now)
 5) Remove normative text wrt/ client MUST use the default;
    the text that the server MAY omit defaults is sufficient.
 6) Finish the with-defaults RFC ASAP; all servers SHOULD implement
    it to provide 'report-all' as a non-default retrieval mechanism
 7) Do not wait to define a new (possibly) non-backward compatible version
    of NETCONF (e.g., get-operational-state).  Stick to the decision
    to rely on description statements, special RPCs, and extensions
    to partition the database beyond the standard filters.  The NETCONF WG
    originally debated this issue a great deal and decided on
    1 'get-everything' operation (get).  This was a direct request
    from operators.

       Example: I just added set-log-level() as a special RPC
       because I don't want it saved in NV-store.  Is it perfect?
       Unified?  No -- but if the client doesn't know about the
       RPC <set-log-level>, why would it know about the config leaf <log-level>?
       This is a workaround that actually works.

 8) Pencils down.  No new features.  Bugfixes only from now on.
    Ship it already.

From phil@juniper.net  Tue Sep 15 13:13:41 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 32B6528C10A for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:13:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.574
X-Spam-Level: 
X-Spam-Status: No, score=-6.574 tagged_above=-999 required=5 tests=[AWL=0.025,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YM9OxBRn3ooE for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:13:40 -0700 (PDT)
Received: from exprod7og118.obsmtp.com (exprod7og118.obsmtp.com [64.18.2.8]) by core3.amsl.com (Postfix) with ESMTP id E2F2B3A6907 for <netmod@ietf.org>; Tue, 15 Sep 2009 13:13:34 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob118.postini.com ([64.18.6.12]) with SMTP ID DSNKSq/1ns11azGZl6Qau6NbR9SrGgR9Ps9p@postini.com; Tue, 15 Sep 2009 13:14:23 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 15 Sep 2009 13:12:15 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 13:12:15 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 13:12:15 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 13:12:14 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8FKCDd39447; Tue, 15 Sep 2009 13:12:13 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8FJxtL6059796; Tue, 15 Sep 2009 19:59:55 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909151959.n8FJxtL6059796@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
Date: Tue, 15 Sep 2009 15:59:55 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 15 Sep 2009 20:12:14.0345 (UTC) FILETIME=[D0DD4790:01CA3640]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: [netmod] All Powerful <get> operation (was: Re: capabilities related edits)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 20:13:41 -0000

Andy Bierman writes:
>I want the <get> function to still get everything.

This is mostly unrelated to YANG, but .....

I just can't understand why one would want an operation that returns
add known data.  It's like having "cat" spit out all files on every
file system.  It's like having "ls" do "ls -lR /" by default.  It's
worse because it's both of those, since files and directories are
data on the device.  Does <get> return file contents?  Does it
return /dev/mem and /proc/*/mem?  If it gets everything, how can
it possibly be useful?  Operationally, this would be a disaster.

Thanks,
 Phil

From j.schoenwaelder@jacobs-university.de  Tue Sep 15 13:15:21 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3684328C220 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:15:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.144
X-Spam-Level: 
X-Spam-Status: No, score=-2.144 tagged_above=-999 required=5 tests=[AWL=0.105,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sXNPjdWetIw8 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:15:20 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 3C4D728C235 for <netmod@ietf.org>; Tue, 15 Sep 2009 13:15:19 -0700 (PDT)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 96AA2C0013; Tue, 15 Sep 2009 22:16:06 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id MagX0PB-B9vn; Tue, 15 Sep 2009 22:16:04 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 590A9C000D; Tue, 15 Sep 2009 22:16:04 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 5312FCB63F4; Tue, 15 Sep 2009 22:16:03 +0200 (CEST)
Date: Tue, 15 Sep 2009 22:16:03 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.com>
Message-ID: <20090915201603.GA4194@elstar.local>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.com>, Phil Shafer <phil@juniper.net>, NETMOD Working Group <netmod@ietf.org>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com> <20090915192244.GA4061@elstar.local> <4AAFF16C.1070806@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4AAFF16C.1070806@netconfcentral.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 20:15:21 -0000

On Tue, Sep 15, 2009 at 09:56:28PM +0200, Andy Bierman wrote:
> Juergen Schoenwaelder wrote:
> > On Tue, Sep 15, 2009 at 08:58:04PM +0200, Andy Bierman wrote:
> > 
> >>  6) Finish the with-defaults RFC ASAP; all servers SHOULD implement
> >>     it to provide 'report-all' as a non-default retrieval mechanism
> > 
> > Sorry, but :with-defaults is at odds with explicit config and confuses
> > operational state with config data. Quoting -03:
> > 
> >    [NETCONF] does not define whether default data is part of the
> >    datastore/data model, or if it is meta-data that influences the
> >    behavior of the NETCONF server, but is not actually part of the
> >    datastore.  This document is intended to support either type of
> >    implementation, without deciding which approach is better.
> 
> It does not matter how the leaf instance /who/cares/what/it/is
> is classified by the DML-of-the-month.  This has no
> bearing on the <get> operation, which was designed
> to get everything.  IMO, we could come up with clever
> filters like 'get-operational-state' for many years,
> and probably will.  These can always be added at any
> time, and advertised with a capability -- exactly like 'with-defaults'.

The with-defaults ID says:

   Affected operations:
   o  <get>
   o  <get-config>
   o  <copy-config>

To me, this seems to imply that with-defaults works on config data and
in the explicit model this is kind of strange. Or do you propose to
restrict with-defaults to <get> only?
 
> > I am not sure what meta-data refers to here. There are other places in
> > the document where things are rather unclear or where the text assumes
> > there are default configuration values while in reality there is
> > algorithmic determined operational state.
> > 
> > Take a look at the core definition:
> > 
> >    o  Default data: Data that is set or used by the NETCONF server
> >       whenever the NETCONF client does not provide a specific value for
> >       the relevant data item.  Default values SHOULD be specified in
> >       documents describing the data models supported by the NETCONF
> >       server.
> > 
> > Most of the many parameters determining system behaviour are
> > dynamically computed and not configuration values. We have discussed
> > several examples here on the mailing list. Treating such calculated
> > values as config data is at best an approximation of reality.
> 
> We are willing to accept approximations of reality
> in machine-readable clauses all over the place.
> We have no basis or framework to establish which
> missing machine-readable clauses are more important than others.
> We have no standard data -- no interoperability testing
> of extensive 'apples to apples' content -- to decide what
> standard content rules and mechanisms work best.  That is why
> the Usage Guidelines is Informational, and the same logic
> applies to new protocol features.

I fail to see how all that related to my position. This jumping around
makes this discussion somewhat ineffective a bit frustrating if you
ask me.

> > I believe explicit NETCONF support for retrieving operational state
> > plus proper support to separate config data from operational state
> > data from statistical data in YANG is the technically appropriate
> > solution.
> 
> It could be done as an optional capability.
> I want the <get> function to still get everything.

So you agree with me as long as <get> returns everything?

/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/>

From andy@netconfcentral.com  Tue Sep 15 13:36:24 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 41A963A6A90 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:36:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.471
X-Spam-Level: 
X-Spam-Status: No, score=-2.471 tagged_above=-999 required=5 tests=[AWL=0.129,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uvLJ6Chn-qGY for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:36:23 -0700 (PDT)
Received: from n23b.bullet.mail.mud.yahoo.com (n23b.bullet.mail.mud.yahoo.com [68.142.206.142]) by core3.amsl.com (Postfix) with SMTP id 5D5883A683E for <netmod@ietf.org>; Tue, 15 Sep 2009 13:36:23 -0700 (PDT)
Received: from [68.142.200.221] by n23.bullet.mail.mud.yahoo.com with NNFMP; 15 Sep 2009 20:37:09 -0000
Received: from [68.142.201.70] by t9.bullet.mud.yahoo.com with NNFMP; 15 Sep 2009 20:37:09 -0000
Received: from [127.0.0.1] by omp422.mail.mud.yahoo.com with NNFMP; 15 Sep 2009 20:37:09 -0000
X-Yahoo-Newman-Id: 467745.33446.bm@omp422.mail.mud.yahoo.com
Received: (qmail 2596 invoked from network); 15 Sep 2009 20:37:08 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp101.sbc.mail.sp1.yahoo.com with SMTP; 15 Sep 2009 20:37:08 -0000
X-YMail-OSG: vtgLPH8VM1nERs717t.PPyi0GyZWJdBECMMgT.wPYsAWLcY_ebge28hwoEtgim67O0FXop1mxLQ9bpwzK2A8Zy4TDR8CmpiHD5jj1pwbT6BzPW3mVx0NiSbrIRqh7FBDOi037MBpWrh_aQ.yre4Yk26zNZIJZWnSY00_S0192F0PYd4WT6Q-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAFFAF4.8000101@netconfcentral.com>
Date: Tue, 15 Sep 2009 13:37:08 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909151959.n8FJxtL6059796@idle.juniper.net>
In-Reply-To: <200909151959.n8FJxtL6059796@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] All Powerful <get> operation (was: Re: capabilities related edits)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 20:36:24 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> I want the <get> function to still get everything.
> 
> This is mostly unrelated to YANG, but .....
> 
> I just can't understand why one would want an operation that returns
> add known data.  It's like having "cat" spit out all files on every
> file system.  It's like having "ls" do "ls -lR /" by default.  It's
> worse because it's both of those, since files and directories are
> data on the device.  Does <get> return file contents?  Does it
> return /dev/mem and /proc/*/mem?  If it gets everything, how can
> it possibly be useful?  Operationally, this would be a disaster.
> 

If I used <get> without XPath filters,
then I would agree with you.

Since the application is already required to have
perfect knowledge of the YANG data model to use the
NETCONF protocol, then <get> 'too much' is already a non-factor.
The application knows what to get and what to ignore,
if there is any 'extra' data in the reply.



> Thanks,
>  Phil
> 

Andy


From phil@juniper.net  Tue Sep 15 13:50:56 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 049153A6B7C for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:50:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.575
X-Spam-Level: 
X-Spam-Status: No, score=-6.575 tagged_above=-999 required=5 tests=[AWL=0.024,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DkdFa82ehCae for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:50:55 -0700 (PDT)
Received: from exprod7og107.obsmtp.com (exprod7og107.obsmtp.com [64.18.2.167]) by core3.amsl.com (Postfix) with ESMTP id 67D833A6875 for <netmod@ietf.org>; Tue, 15 Sep 2009 13:50:54 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob107.postini.com ([64.18.6.12]) with SMTP ID DSNKSq/+XYboJzjlp7s/Nk5LQAHjcnGkD9kF@postini.com; Tue, 15 Sep 2009 13:51:43 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 15 Sep 2009 13:48:47 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 13:48:47 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 13:48:46 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 15 Sep 2009 13:48:46 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8FKmjd55278; Tue, 15 Sep 2009 13:48:45 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8FKaQcg061084; Tue, 15 Sep 2009 20:36:27 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909152036.n8FKaQcg061084@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AAFFAF4.8000101@netconfcentral.com> 
Date: Tue, 15 Sep 2009 16:36:26 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 15 Sep 2009 20:48:46.0019 (UTC) FILETIME=[EB343130:01CA3645]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] All Powerful <get> operation (was: Re: capabilities related edits)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 20:50:56 -0000

Andy Bierman writes:
>If I used <get> without XPath filters,
>then I would agree with you.

So you see <get> as good, but only if filtered?  Should we have an
error if get is not filtered?  Should the filter parameter be
mandatory?

Thanks,
 Phil

From andy@netconfcentral.com  Tue Sep 15 13:52:14 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B3A9F3A6B7C for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:52:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.476
X-Spam-Level: 
X-Spam-Status: No, score=-2.476 tagged_above=-999 required=5 tests=[AWL=0.123,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kumvByqDQVsd for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:52:13 -0700 (PDT)
Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by core3.amsl.com (Postfix) with SMTP id A43953A68E3 for <netmod@ietf.org>; Tue, 15 Sep 2009 13:52:13 -0700 (PDT)
Received: (qmail 73667 invoked from network); 15 Sep 2009 20:52:59 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 15 Sep 2009 20:52:57 -0000
X-YMail-OSG: 21SidS0VM1msGkoDG2p.RevWd6rtLnhPXFdb8j_bRXjrpkqSIOpXlPEd_ecLl9tve0sr1DOZEdlunietWDgl8wLF7skuKT7cQdRm9CJnSZRLEtnRGMldHFJwF1fl1k1_yGp9S6cqcrFoGOoZ2f9CNa_7jtR0WzI6D3Tb.yZoSuCbK0QeJugphwKh_SLLw1FOG1hFT0tlWiZMH93GIlD4a7X8skjC.Sv5A4kGLkZA3hjqAxLW5iPXUaMJq.yur96OBgyz4uFIvhRqn7a2
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAFFEA8.6040203@netconfcentral.com>
Date: Tue, 15 Sep 2009 13:52:56 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>, Phil Shafer <phil@juniper.net>, NETMOD Working Group <netmod@ietf.org>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com> <20090915192244.GA4061@elstar.local> <4AAFF16C.1070806@netconfcentral.com> <20090915201603.GA4194@elstar.local>
In-Reply-To: <20090915201603.GA4194@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 20:52:14 -0000

Juergen Schoenwaelder wrote:
> On Tue, Sep 15, 2009 at 09:56:28PM +0200, Andy Bierman wrote:
>> Juergen Schoenwaelder wrote:
>>> On Tue, Sep 15, 2009 at 08:58:04PM +0200, Andy Bierman wrote:
>>>
>>>>  6) Finish the with-defaults RFC ASAP; all servers SHOULD implement
>>>>     it to provide 'report-all' as a non-default retrieval mechanism
>>> Sorry, but :with-defaults is at odds with explicit config and confuses
>>> operational state with config data. Quoting -03:
>>>
>>>    [NETCONF] does not define whether default data is part of the
>>>    datastore/data model, or if it is meta-data that influences the
>>>    behavior of the NETCONF server, but is not actually part of the
>>>    datastore.  This document is intended to support either type of
>>>    implementation, without deciding which approach is better.
>> It does not matter how the leaf instance /who/cares/what/it/is
>> is classified by the DML-of-the-month.  This has no
>> bearing on the <get> operation, which was designed
>> to get everything.  IMO, we could come up with clever
>> filters like 'get-operational-state' for many years,
>> and probably will.  These can always be added at any
>> time, and advertised with a capability -- exactly like 'with-defaults'.
> 
> The with-defaults ID says:
> 
>    Affected operations:
>    o  <get>
>    o  <get-config>
>    o  <copy-config>
> 
> To me, this seems to imply that with-defaults works on config data and
> in the explicit model this is kind of strange. Or do you propose to
> restrict with-defaults to <get> only?
>  

No.  I don't recall anyone ever suggesting that.

I don't understand your concerns wrt/ with-defaults.
A default is the YANG default-stmt value, and <get>
will access running config exactly the same as a <get-config>,
for source=running.


>>> I am not sure what meta-data refers to here. There are other places in
>>> the document where things are rather unclear or where the text assumes
>>> there are default configuration values while in reality there is
>>> algorithmic determined operational state.
>>>
>>> Take a look at the core definition:
>>>
>>>    o  Default data: Data that is set or used by the NETCONF server
>>>       whenever the NETCONF client does not provide a specific value for
>>>       the relevant data item.  Default values SHOULD be specified in
>>>       documents describing the data models supported by the NETCONF
>>>       server.
>>>
>>> Most of the many parameters determining system behaviour are
>>> dynamically computed and not configuration values. We have discussed
>>> several examples here on the mailing list. Treating such calculated
>>> values as config data is at best an approximation of reality.
>> We are willing to accept approximations of reality
>> in machine-readable clauses all over the place.
>> We have no basis or framework to establish which
>> missing machine-readable clauses are more important than others.
>> We have no standard data -- no interoperability testing
>> of extensive 'apples to apples' content -- to decide what
>> standard content rules and mechanisms work best.  That is why
>> the Usage Guidelines is Informational, and the same logic
>> applies to new protocol features.
> 
> I fail to see how all that related to my position. This jumping around
> makes this discussion somewhat ineffective a bit frustrating if you
> ask me.
> 
>>> I believe explicit NETCONF support for retrieving operational state
>>> plus proper support to separate config data from operational state
>>> data from statistical data in YANG is the technically appropriate
>>> solution.
>> It could be done as an optional capability.
>> I want the <get> function to still get everything.
> 
> So you agree with me as long as <get> returns everything?

I have not been following closely enough to
have an opinion on the new data classification work.
If it was an optional-to-implement RFC
(ala partial-lock or NETCONF-over-TLS), then vendors can
implement it if they need it, and it does not slow down
YANG or 4741bis or with-defaults.

I do not have any problems with the current <get> operation.
But (IMO) XPath is a million times better than subtree filtering,
and I can understand concerns over <get> if all you
had was subtree filtering.  It is also easy to add custom RPCs
like <get-schema> as well, so <get> is not overloaded.

Except for some 2119-cleanup work, the YANG standard is
precise enough, for the scope of its conceptual database model.
Refinements to this model over time should be expected.
I am sorry for getting us too focused on conformance language
in the DML RFC.  In the end, it is conformance to specific data
models that we measure for 2026 advancement, not the DML itself.
(Although I do not think the old checkbox form "Do you implement
the foo object?" is going to work anymore.)


> 
> /js
> 

Andy

From andy@netconfcentral.com  Tue Sep 15 13:56:49 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 27B553A6875 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:56:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.481
X-Spam-Level: 
X-Spam-Status: No, score=-2.481 tagged_above=-999 required=5 tests=[AWL=0.118,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zHJXUpVTkS80 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 13:56:48 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id 67AEC3A6BAD for <netmod@ietf.org>; Tue, 15 Sep 2009 13:56:48 -0700 (PDT)
Received: (qmail 54967 invoked from network); 15 Sep 2009 20:57:33 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 15 Sep 2009 20:57:33 -0000
X-YMail-OSG: InbfJOEVM1keakkcm.OW0_l0wTH_qV7v7_1Q.vsrWM3DfRPuG.jHx3WT6yaQNhJWrwaK3X6RxrDaGRnPc_fYtByJVVC1fec.Sqg3_7rn3mDfD5ytx1kN8OJLXxucPyVcKyH0ap01CiY6t8rUPF6ciJ7hR9np77Cnk9KMH31eM7LQzGn2VDZhKDsueHXvqdhajhvKbENwtst5Xa9U62qU0TW86cjQJqeJqD.kAhoFF_cqOddEgpICo4L1Nu_wiDfs1n0KzePq_7CrU8VP
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AAFFFBC.6020202@netconfcentral.com>
Date: Tue, 15 Sep 2009 13:57:32 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909152036.n8FKaQcg061084@idle.juniper.net>
In-Reply-To: <200909152036.n8FKaQcg061084@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] All Powerful <get> operation (was: Re: capabilities related edits)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 20:56:49 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> If I used <get> without XPath filters,
>> then I would agree with you.
> 
> So you see <get> as good, but only if filtered?  Should we have an
> error if get is not filtered?  Should the filter parameter be
> mandatory?
> 

Is there some point to all these absurd strawman proposals?

There is already a 'too-big' error-tag the server can use
if it wants.  If the clients wants /interfaces and gets everything,
then so what?  It's the client's fault the 'extra' work
was done for nothing.  This is no different than the continuous
MIB-walks that some SNMP applications use as a polling mechanism.


> Thanks,
>  Phil
> 

Andy



From mbj@tail-f.com  Tue Sep 15 14:21:50 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 44B4F3A68A8 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 14:21:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.016
X-Spam-Level: 
X-Spam-Status: No, score=-2.016 tagged_above=-999 required=5 tests=[AWL=0.030,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1KsjgeoVKiBh for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 14:21:49 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 71A9328C0F4 for <netmod@ietf.org>; Tue, 15 Sep 2009 14:21:49 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 1C4DE616009; Tue, 15 Sep 2009 23:22:36 +0200 (CEST)
Date: Tue, 15 Sep 2009 23:22:35 +0200 (CEST)
Message-Id: <20090915.232235.31035926.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AAFFFBC.6020202@netconfcentral.com>
References: <200909152036.n8FKaQcg061084@idle.juniper.net> <4AAFFFBC.6020202@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] All Powerful <get> operation
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 21:21:50 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Phil Shafer wrote:
> > Andy Bierman writes:
> >> If I used <get> without XPath filters,
> >> then I would agree with you.
> > 
> > So you see <get> as good, but only if filtered?  Should we have an
> > error if get is not filtered?  Should the filter parameter be
> > mandatory?
> > 
> 
> Is there some point to all these absurd strawman proposals?
> 
> There is already a 'too-big' error-tag the server can use
> if it wants.  If the clients wants /interfaces and gets everything,
> then so what?  It's the client's fault the 'extra' work
> was done for nothing.  This is no different than the continuous
> MIB-walks that some SNMP applications use as a polling mechanism.

I agree with Andy.  Don't add well-meaning CLRs to <get>.  Use too-big
on the server if you can't stream the data, or if you believe you know
better than the client :)


/martin

From j.schoenwaelder@jacobs-university.de  Tue Sep 15 14:33:26 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 670333A6A0C for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 14:33:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.145
X-Spam-Level: 
X-Spam-Status: No, score=-2.145 tagged_above=-999 required=5 tests=[AWL=0.104,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cwgw2wl8At4l for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 14:33:25 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 505873A693A for <netmod@ietf.org>; Tue, 15 Sep 2009 14:33:25 -0700 (PDT)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id D15A7C000D; Tue, 15 Sep 2009 23:34:12 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id DyaM1vbFX9xT; Tue, 15 Sep 2009 23:34:12 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 9E2D0C0009; Tue, 15 Sep 2009 23:34:11 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 8FBBACB651F; Tue, 15 Sep 2009 23:34:10 +0200 (CEST)
Date: Tue, 15 Sep 2009 23:34:10 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.com>
Message-ID: <20090915213410.GA4334@elstar.local>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.com>, Phil Shafer <phil@juniper.net>, NETMOD Working Group <netmod@ietf.org>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com> <20090915192244.GA4061@elstar.local> <4AAFF16C.1070806@netconfcentral.com> <20090915201603.GA4194@elstar.local> <4AAFFEA8.6040203@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4AAFFEA8.6040203@netconfcentral.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 21:33:26 -0000

On Tue, Sep 15, 2009 at 10:52:56PM +0200, Andy Bierman wrote:
 
> I don't understand your concerns wrt/ with-defaults.
> A default is the YANG default-stmt value, and <get>
> will access running config exactly the same as a <get-config>,
> for source=running.

To me, the default-stmt only covers rare corner cases - those where a
static constant exists. All other cases will either be dealt with in
description clauses are they are implementation specific. The argument
that with-defaults gets me the data I need to understand the behaviour
of a box is for me not at all convincing - and in particular if
default equates to YANG's default-stmt. To understand what a box
really does, I need a mechanism to retrieve its operational state.

The with-defaults capability does not provide the primitive needed to
analyze what a box is doing. This is why I am in favour of a primitive
that returns the operational state (and that allows me to relate it to
configuration state).

/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/>

From andy@netconfcentral.com  Tue Sep 15 14:46:30 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 652ED3A6AC7 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 14:46:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.486
X-Spam-Level: 
X-Spam-Status: No, score=-2.486 tagged_above=-999 required=5 tests=[AWL=0.113,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lIKJjbfWEk96 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 14:46:29 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id 932C73A6BF0 for <netmod@ietf.org>; Tue, 15 Sep 2009 14:46:29 -0700 (PDT)
Received: (qmail 76082 invoked from network); 15 Sep 2009 21:47:14 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 15 Sep 2009 21:47:14 -0000
X-YMail-OSG: EmLTcvYVM1nhW3ezV5Bg6qTUSKcJUKU9LycXdvaCGvuZIRhj60ynrvJyNJO71YdbG0ghKY2JT2.cmhSrxB70NeFCX9nlp4du5DABUPZYmfDijBTx4RpNfH.b2tOFJJysVEUhA7xhf.TOjlWtDOfCasXBtOhO6_.caM7Q3ImW0TMSkbPwZ5FUP9bLfRuOFlMJl.GLaIcWROYPlExvgNVeSqLIiBoeD9pqdvac056lHcp9f.VQuKB_Npw2h2z9TLV3ZCwp9WVlAAqIlHyA
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB00B61.8030406@netconfcentral.com>
Date: Tue, 15 Sep 2009 14:47:13 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>, Phil Shafer <phil@juniper.net>, NETMOD Working Group <netmod@ietf.org>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com> <20090915192244.GA4061@elstar.local> <4AAFF16C.1070806@netconfcentral.com> <20090915201603.GA4194@elstar.local> <4AAFFEA8.6040203@netconfcentral.com> <20090915213410.GA4334@elstar.local>
In-Reply-To: <20090915213410.GA4334@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 21:46:30 -0000

Juergen Schoenwaelder wrote:
> On Tue, Sep 15, 2009 at 10:52:56PM +0200, Andy Bierman wrote:
>  
>> I don't understand your concerns wrt/ with-defaults.
>> A default is the YANG default-stmt value, and <get>
>> will access running config exactly the same as a <get-config>,
>> for source=running.
> 
> To me, the default-stmt only covers rare corner cases - those where a
> static constant exists. All other cases will either be dealt with in
> description clauses are they are implementation specific. The argument
> that with-defaults gets me the data I need to understand the behaviour
> of a box is for me not at all convincing - and in particular if
> default equates to YANG's default-stmt. To understand what a box
> really does, I need a mechanism to retrieve its operational state.
> 
> The with-defaults capability does not provide the primitive needed to
> analyze what a box is doing. This is why I am in favour of a primitive
> that returns the operational state (and that allows me to relate it to
> configuration state).
> 

You seem to be describing a completely different problem
than the one addressed by with-defaults.  It is just supposed
to be a data reduction mechanism -- a way to get a subset
of the entire database.

I keep pointing out that my original draft was a simple
and direct way to ask for 'everything', since there
was no agreement in the NETCONF WG that the existing <get>
actually did that.  IMO there is clear consensus that
a way to get everything is still the point of with-defaults,
even if it is optional-to-implement.  That is all it
really needs to accomplish, especially since there is little
consensus on what 'trim' or 'explicit' modes really mean
on every server.


> /js
>  

Andy

From j.schoenwaelder@jacobs-university.de  Tue Sep 15 15:05:32 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6C3A23A6853 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 15:05:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.145
X-Spam-Level: 
X-Spam-Status: No, score=-2.145 tagged_above=-999 required=5 tests=[AWL=0.104,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pzYMvfgzheNq for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 15:05:31 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 485BA3A67F0 for <netmod@ietf.org>; Tue, 15 Sep 2009 15:05:31 -0700 (PDT)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id D5CA7C001A; Wed, 16 Sep 2009 00:06:18 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id tgo8cfSzHjRZ; Wed, 16 Sep 2009 00:06:17 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id CB33DC0013; Wed, 16 Sep 2009 00:06:16 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 1FBFACB661C; Wed, 16 Sep 2009 00:06:15 +0200 (CEST)
Date: Wed, 16 Sep 2009 00:06:15 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.com>
Message-ID: <20090915220614.GB4370@elstar.local>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.com>, Phil Shafer <phil@juniper.net>, NETMOD Working Group <netmod@ietf.org>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com> <20090915192244.GA4061@elstar.local> <4AAFF16C.1070806@netconfcentral.com> <20090915201603.GA4194@elstar.local> <4AAFFEA8.6040203@netconfcentral.com> <20090915213410.GA4334@elstar.local> <4AB00B61.8030406@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4AB00B61.8030406@netconfcentral.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 22:05:32 -0000

On Tue, Sep 15, 2009 at 11:47:13PM +0200, Andy Bierman wrote:
 
> I keep pointing out that my original draft was a simple
> and direct way to ask for 'everything', since there
> was no agreement in the NETCONF WG that the existing <get>
> actually did that.  IMO there is clear consensus that
> a way to get everything is still the point of with-defaults,
> even if it is optional-to-implement.  That is all it
> really needs to accomplish, especially since there is little
> consensus on what 'trim' or 'explicit' modes really mean
> on every server.

We go into another circle because your interpretation of 'everything'
likely differs from my interpretation of 'everything' when we talk
about configuration.

For me, explicit seems pretty clear and useful. I fail to see why
someone wants to have trim. If you follow the explicit model, there 
is actually no difference between explicit and report-all since
operational state is not config.

I think we need help by the chairs to get us out of this loop.

/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/>

From andy@netconfcentral.com  Tue Sep 15 15:25:33 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7901F28C104 for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 15:25:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.49
X-Spam-Level: 
X-Spam-Status: No, score=-2.49 tagged_above=-999 required=5 tests=[AWL=0.109,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jH9d-acYCV1i for <netmod@core3.amsl.com>; Tue, 15 Sep 2009 15:25:32 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id 85D5E3A6BFA for <netmod@ietf.org>; Tue, 15 Sep 2009 15:25:32 -0700 (PDT)
Received: (qmail 8343 invoked from network); 15 Sep 2009 22:26:18 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 15 Sep 2009 22:26:17 -0000
X-YMail-OSG: RbXDfVoVM1kVplleU.QPYp52To52YJdvXYDq1gel1bUPk5Rh7enesWIGLG1CCsrUFxM0SQljTT52TukIeVo2jC_jg5rhph8gFSui3huODIncGFD2XYEI8JqAAz3wSFUwe7JmWagdh4ZylrAwVA4_2y88tbrKI.7WzAcZNhgW881oUAiAIjG3l8BVwnRfjGjElOiyqv7NvFVE5vgcCHKMMM0ssA--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB01488.1000707@netconfcentral.com>
Date: Tue, 15 Sep 2009 15:26:16 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>, Phil Shafer <phil@juniper.net>, NETMOD Working Group <netmod@ietf.org>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com> <20090915192244.GA4061@elstar.local> <4AAFF16C.1070806@netconfcentral.com> <20090915201603.GA4194@elstar.local> <4AAFFEA8.6040203@netconfcentral.com> <20090915213410.GA4334@elstar.local> <4AB00B61.8030406@netconfcentral.com> <20090915220614.GB4370@elstar.local>
In-Reply-To: <20090915220614.GB4370@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 15 Sep 2009 22:25:33 -0000

Juergen Schoenwaelder wrote:
> On Tue, Sep 15, 2009 at 11:47:13PM +0200, Andy Bierman wrote:
>  
>> I keep pointing out that my original draft was a simple
>> and direct way to ask for 'everything', since there
>> was no agreement in the NETCONF WG that the existing <get>
>> actually did that.  IMO there is clear consensus that
>> a way to get everything is still the point of with-defaults,
>> even if it is optional-to-implement.  That is all it
>> really needs to accomplish, especially since there is little
>> consensus on what 'trim' or 'explicit' modes really mean
>> on every server.
> 
> We go into another circle because your interpretation of 'everything'
> likely differs from my interpretation of 'everything' when we talk
> about configuration.
> 

I do not put as much value as you do
in several specialized retrieval operations,
but RPCs are like Doritos -- just make more if you want more.

For the purposes of with-defaults, 'everything'
is defined as the same 'config+defaults' = 'everything'
in the YANG spec.



> For me, explicit seems pretty clear and useful. I fail to see why
> someone wants to have trim. If you follow the explicit model, there 
> is actually no difference between explicit and report-all since
> operational state is not config.
> 
> I think we need help by the chairs to get us out of this loop.
> 

What loop?

What exact changes to the with-defaults draft are you requesting?

I have posted precise requests wrt/ terminology clarification.
These remain to be resolved.  I would rather go back to
the simple boolean than expand the with-defaults problem
statement into an entire redesign of the NETCONF protocol
and database architecture.

Now that we are already late on delivering
final product to the IESG, it seems unwise to extend this
project by another year or two because there are some corner-cases
which do not fit this simple model.  It can be added on as a
new capability later.



> /js
> 

Andy

From lhotka@cesnet.cz  Wed Sep 16 00:05:27 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 803E13A6A3E for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 00:05:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.167
X-Spam-Level: 
X-Spam-Status: No, score=-1.167 tagged_above=-999 required=5 tests=[AWL=0.083,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SYChvFM09YUE for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 00:05:26 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id A2A3E3A6A04 for <netmod@ietf.org>; Wed, 16 Sep 2009 00:05:26 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 8EA72D800CE; Wed, 16 Sep 2009 09:06:14 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Phil Shafer <phil@juniper.net>
In-Reply-To: <200909151329.n8FDTltd007276@idle.juniper.net>
References: <200909151329.n8FDTltd007276@idle.juniper.net>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 16 Sep 2009 09:06:13 +0200
Message-Id: <1253084773.27323.8.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Terminology discussion
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 07:05:27 -0000

Phil Shafer píše v Út 15. 09. 2009 v 09:29 -0400:
> "tom.petch" writes:
> >----- Original Message ----- 
> >From: "Phil Shafer" <phil@juniper.net>
> >Sent: Monday, September 14, 2009 9:16 PM
> >
> >> Ladislav Lhotka writes:
> >> >This is not waht Terminology section says:
> >> >
> >> >o  data node: A node in the schema tree that can be instantiated in a
> >> >   data tree.  One of container, leaf, leaf-list, list, and anyxml.
> >> >
> >> >IMO it is indeed useful to have data nodes as a subset of schema nodes
> >> >in the schema tree. The problem is how to call the "instance of a data
> >> >node in the data tree" - reusing "data node" here may lead to confusion.
> >> 
> >> Can we agree that this is a bug in the spec?  A data node is a node in
> >> the data tree that blah blah blah...
> >
> >No:-)
> >
> >There is a subset of schema nodes which may be instantiated in the data tree
> >and that subset is defined as data nodes.  I think that that concept needs a
> >term and it has it, i.e. data nodes.
> >
> >If you now use data nodes for some other purpose, then you will need  a
> >term for what is now referred to as data nodes and data nodes has a 
> >certain logic about it.
> 
> "data nodes" should be in the "data tree" and "schema nodes" should
> be in the "schema tree".  I'm not sure that we have an appropriate

But "data nodes in schema tree" are used in the YANG draft and not only
in the terminology section. For instance, in SEc. 4.1

"The hierarchy can be augmented, allowing one module to add data nodes
to the hierarchy defined in another module."

The "hierarchy defined in another module" is clearly the schema tree.

> term for saying "this data node is an instance based on that schema
> node", but we should never say that a data node is a "node in the

Yes, a good term for this (important) relationship would be very useful.

Lada

> schema tree".
> 
> Thanks,
>  Phil
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From andy@netconfcentral.com  Wed Sep 16 06:20:32 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E760B3A6839 for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 06:20:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.327
X-Spam-Level: 
X-Spam-Status: No, score=-2.327 tagged_above=-999 required=5 tests=[AWL=-0.062, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f+3wPztE7CNS for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 06:20:32 -0700 (PDT)
Received: from smtp126.sbc.mail.sp1.yahoo.com (smtp126.sbc.mail.sp1.yahoo.com [69.147.65.185]) by core3.amsl.com (Postfix) with SMTP id 4BE7B3A68FF for <netmod@ietf.org>; Wed, 16 Sep 2009 06:20:32 -0700 (PDT)
Received: (qmail 2442 invoked from network); 16 Sep 2009 13:21:19 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp126.sbc.mail.sp1.yahoo.com with SMTP; 16 Sep 2009 13:21:19 -0000
X-YMail-OSG: V9WSOCkVM1kj7dG.KcqP9aZxeWxkKSIpnyaiYUl3Rz2MTXaG2d2mMt9epHCgkVHRGBwXN4_kI5UPeypzhG_P5a.qNUkHX3aCf1D7qu9ZgS89IGP.8ufmR.5mqu5DV39bgTX1kRAEWTUiDpCtYYgemrmW2Hj9uKTlPycZttb1hlDfORjrwz5Bac3qVzo5GXc3cNmyhmuNVkIiee9N55Dh64Q4rvwdZl52kqg-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB0E64E.1080603@netconfcentral.com>
Date: Wed, 16 Sep 2009 06:21:18 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 13:20:33 -0000

Hi,

The YANG definition of a database (config + defaults)
does not seem to interact well with the definition
of require-instance:


   leaf a {
      type int32;
      default 10;
   }

   leaf b {
      type leafref { path /a; }
   }

   leaf-list c {
      type instance-identifier;
   }

   container np-con {
     leaf d {
       type int32;
       default 42;
     }
   }


Here is the database:

  <config>
     // <a>10</a>
     <b>10</b>
     <c>/a</c>
     <c>/np-con</c>
     // <np-con>
     // <d>42</d>
     // </np-con>
  </config>


I am having a hard time understanding this design wrt/ require-instance:

  P1) The require-instance property for /b or /c is set
      to true, so an instance of /a MUST exist for /b or /c[1] to
      exist in a valid database.  Ditto for /np-con existing
      for /c[2] to be valid.

  P2) Leaf /a does not exist if its value is the YANG default.

  P3) NP-container /np-con does not exist if its child <d>
      contains the value '42'.

  C1) A leafref can never contain the YANG default value
      for the target leaf data-type.

  C2) An instance-identifier can never point to a leaf
      that currently contains the YANG default value.

  C3) An instance-identifier can not reliably point to
      a non-presence container if it contains only leaf(s)
      that may be set to a default value.


  * Sec. 9.9 currently does not include default leafs.
  * Sec. 9.13 currently does not include default leafs.

I do not think this database architecture is very helpful
or worth using.  The existence of a node should not depend
on its value, or the value of its descendant nodes.

IMO, the config+defaults definition of a database is
a horrible design decision, but if it is the WG consensus,
then at least clean up the definitions in 9.9 and 9.13.

How about some text in the intro explaining *why* a
leaf that happens to contain the default value exists
for every aspect of protocol operations except retrieval?
Be sure to explain how this *constant* is replaced by dynamic
meta-data, or undisclosed and unknown to the client for any of
the reasons already identified on the mailing list.


Andy


From andy@netconfcentral.com  Wed Sep 16 06:21:40 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D5B923A69E8 for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 06:21:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.325
X-Spam-Level: 
X-Spam-Status: No, score=-2.325 tagged_above=-999 required=5 tests=[AWL=-0.060, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MHJlzXcps4TM for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 06:21:40 -0700 (PDT)
Received: from smtp127.sbc.mail.sp1.yahoo.com (smtp127.sbc.mail.sp1.yahoo.com [69.147.65.186]) by core3.amsl.com (Postfix) with SMTP id 3F5EB3A6896 for <netmod@ietf.org>; Wed, 16 Sep 2009 06:21:40 -0700 (PDT)
Received: (qmail 83228 invoked from network); 16 Sep 2009 13:22:27 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp127.sbc.mail.sp1.yahoo.com with SMTP; 16 Sep 2009 13:22:27 -0000
X-YMail-OSG: .hVvZBsVM1kgCZbGOieD_mU9MDoibXXF9Dji5PG7g.Ns5HCgeqPusNZgWO8jwJ3a8dajgiVZ3XsbDXng2CMo.M9U.uNeA8yS3zgScrRxUE5sRsgrKRDj6SQU18nf_7vQ6Aw0oytIaK9pSmOXblQNNylo1KKvf9LNIbZTfV24IRmVnkCkQ_tq0j8ZfKWZ12i9qio5SwYS1nwffEU-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB0E692.3050200@netconfcentral.com>
Date: Wed, 16 Sep 2009 06:22:26 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>, Phil Shafer <phil@juniper.net>, NETMOD Working Group <netmod@ietf.org>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com> <20090915192244.GA4061@elstar.local> <4AAFF16C.1070806@netconfcentral.com> <20090915201603.GA4194@elstar.local> <4AAFFEA8.6040203@netconfcentral.com> <20090915213410.GA4334@elstar.local>
In-Reply-To: <20090915213410.GA4334@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 13:21:40 -0000

Juergen Schoenwaelder wrote:

> 
> To me, the default-stmt only covers rare corner cases - those where a
> static constant exists. All other cases will either be dealt with in
> description clauses are they are implementation specific. 


The only reason we need with-defaults is to get the defaults.
I don't know how to put it any simpler than that.  It would be
really disappointing if the ability to retrieve the defaults
is not part of the standard, because there is no consensus
on all the cruft piled on top of the original functionality.


> 
> /js
>  

Andy


From wjhns1@hardakers.net  Wed Sep 16 06:59:13 2009
Return-Path: <wjhns1@hardakers.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D784B3A680E for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 06:59:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.554
X-Spam-Level: 
X-Spam-Status: No, score=-2.554 tagged_above=-999 required=5 tests=[AWL=0.045,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZutdMUXOUf1o for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 06:59:13 -0700 (PDT)
Received: from mail.hardakers.net (hardaker-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::af]) by core3.amsl.com (Postfix) with ESMTP id EC4953A68FF for <netmod@ietf.org>; Wed, 16 Sep 2009 06:59:12 -0700 (PDT)
Received: from localhost (wjh.hardakers.net [10.0.0.2]) by mail.hardakers.net (Postfix) with ESMTPSA id E79EF98197; Wed, 16 Sep 2009 07:00:01 -0700 (PDT)
From: Wes Hardaker <wjhns1@hardakers.net>
To: Phil Shafer <phil@juniper.net>
Organization: Sparta
References: <200909151959.n8FJxtL6059796@idle.juniper.net>
Date: Wed, 16 Sep 2009 07:00:01 -0700
In-Reply-To: <200909151959.n8FJxtL6059796@idle.juniper.net> (Phil Shafer's message of "Tue, 15 Sep 2009 15:59:55 -0400")
Message-ID: <sd4or36lcu.fsf@wjh.hardakers.net>
User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.22 (linux, no MULE)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] All Powerful <get> operation
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 13:59:13 -0000

>>>>> On Tue, 15 Sep 2009 15:59:55 -0400, Phil Shafer <phil@juniper.net> said:

PS> I just can't understand why one would want an operation that returns
PS> add known data.  It's like having "cat" spit out all files on every
PS> file system.  It's like having "ls" do "ls -lR /" by default.

FYI, I agree with you.  But with a caveat.  Operationally people really
do those sorts of things to determine what's on the device.  Tell me
you've never heard of an operator doing a complete snmpwalk of a device
to look for data.

I think one of things you hit on, is that there is no "find / -type d"
equivalent, which would be helpful.  One of the biggest reasons that
people walk an entire device, for example, is determine what it's
capable of.  In netconf you have capabilities to report some things, but
that doesn't necessarily report the actual data that a given capability
puts in place.  EG, a capability could report "foo.yang" (it's a bad
name, I know) but an operator doesn't know that translates into "/bar"
and "/baz".

So the result is that if all they have is <get> to get literally
everything, I can assure you it will be used as a discovery mechanism.
Regardless of whether it's right to do so or not.  It's being done today
in SNMP.
-- 
Wes Hardaker
Cobham Analytic Solutions

From phil@juniper.net  Wed Sep 16 07:12:03 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A431C28C108 for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 07:12:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.575
X-Spam-Level: 
X-Spam-Status: No, score=-6.575 tagged_above=-999 required=5 tests=[AWL=0.024,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z-FPy57UsKN4 for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 07:12:02 -0700 (PDT)
Received: from exprod7og125.obsmtp.com (exprod7og125.obsmtp.com [64.18.2.28]) by core3.amsl.com (Postfix) with ESMTP id 393DB3A681F for <netmod@ietf.org>; Wed, 16 Sep 2009 07:12:00 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob125.postini.com ([64.18.6.12]) with SMTP ID DSNKSrDyYaapyE1+3VtmGamvVE0hKG3FGsu/@postini.com; Wed, 16 Sep 2009 07:12:52 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 16 Sep 2009 07:08:08 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 Sep 2009 07:08:08 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 Sep 2009 07:08:07 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 Sep 2009 07:08:06 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8GE85d63527; Wed, 16 Sep 2009 07:08:06 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8GDtkUJ099664; Wed, 16 Sep 2009 13:55:46 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909161355.n8GDtkUJ099664@idle.juniper.net>
To: Wes Hardaker <wjhns1@hardakers.net>
In-Reply-To: <sd4or36lcu.fsf@wjh.hardakers.net> 
Date: Wed, 16 Sep 2009 09:55:46 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 16 Sep 2009 14:08:06.0939 (UTC) FILETIME=[1D356EB0:01CA36D7]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] All Powerful <get> operation
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 14:12:03 -0000

Wes Hardaker writes:
>EG, a capability could report "foo.yang" (it's a bad
>name, I know) but an operator doesn't know that translates into "/bar"
>and "/baz".

Yup, you'd need to retrieve the YANG modules to know about
/bar and /baz.

>So the result is that if all they have is <get> to get literally
>everything, I can assure you it will be used as a discovery mechanism.
>Regardless of whether it's right to do so or not.  It's being done today
>in SNMP.

Yup.  Not something I'd like to see repeated in NETCONF.  We have
a discovery mechanism and people should use it.

Thanks,
 Phil

From phil@juniper.net  Wed Sep 16 07:14:04 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EF2573A681F for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 07:14:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.575
X-Spam-Level: 
X-Spam-Status: No, score=-6.575 tagged_above=-999 required=5 tests=[AWL=0.024,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1f4as811miRq for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 07:14:04 -0700 (PDT)
Received: from exprod7og113.obsmtp.com (exprod7og113.obsmtp.com [64.18.2.179]) by core3.amsl.com (Postfix) with ESMTP id 7797A28C123 for <netmod@ietf.org>; Wed, 16 Sep 2009 07:13:45 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob113.postini.com ([64.18.6.12]) with SMTP ID DSNKSrDyyltMk0Ku1mzGzaxoP0YdyDrAcWAB@postini.com; Wed, 16 Sep 2009 07:14:36 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Wed, 16 Sep 2009 07:10:20 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 Sep 2009 07:10:20 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 Sep 2009 07:10:19 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 16 Sep 2009 07:10:18 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8GEAId65103; Wed, 16 Sep 2009 07:10:18 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8GDvw1U099822; Wed, 16 Sep 2009 13:57:59 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909161357.n8GDvw1U099822@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AB0E64E.1080603@netconfcentral.com> 
Date: Wed, 16 Sep 2009 09:57:58 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 16 Sep 2009 14:10:18.0732 (UTC) FILETIME=[6BC372C0:01CA36D7]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 14:14:05 -0000

Andy Bierman writes:
>The YANG definition of a database (config + defaults)
>does not seem to interact well with the definition
>of require-instance:

Can you please point me to where "config + defaults" is defined as
a database in YANG?  "config" is the database.

Thanks,
 Phil

From andy@netconfcentral.com  Wed Sep 16 08:20:29 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6D11E3A683C for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 08:20:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.49
X-Spam-Level: 
X-Spam-Status: No, score=-2.49 tagged_above=-999 required=5 tests=[AWL=0.109,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SeOVSKXIAhAx for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 08:20:28 -0700 (PDT)
Received: from n17.bullet.mail.mud.yahoo.com (n17.bullet.mail.mud.yahoo.com [68.142.206.144]) by core3.amsl.com (Postfix) with SMTP id 947413A6452 for <netmod@ietf.org>; Wed, 16 Sep 2009 08:20:28 -0700 (PDT)
Received: from [68.142.200.225] by n17.bullet.mail.mud.yahoo.com with NNFMP; 16 Sep 2009 15:21:16 -0000
Received: from [68.142.201.245] by t6.bullet.mud.yahoo.com with NNFMP; 16 Sep 2009 15:21:16 -0000
Received: from [127.0.0.1] by omp406.mail.mud.yahoo.com with NNFMP; 16 Sep 2009 15:21:16 -0000
X-Yahoo-Newman-Id: 5297.73669.bm@omp406.mail.mud.yahoo.com
Received: (qmail 77286 invoked from network); 16 Sep 2009 15:21:15 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp109.sbc.mail.sp1.yahoo.com with SMTP; 16 Sep 2009 15:21:15 -0000
X-YMail-OSG: oF9zA1sVM1kA4jDi3fHIqKubf1JfoDwZnnpNb.qCdg.3.ewjD12Vxge_dk8QTF1DaYFIm167wiYpLPhDuswg6dc8u1f8OEMHjSFkcLWQs8R4nj1ojUaH0iUb1z.Ag0WNVqIlCEBwPUQMbVdDqC_ebZItTjRtwJ3ORNdzHXqRg9k7MX89x6m8fMt4twlWOfNdwHHuADj7Hm5Naj0-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB1026B.2070505@netconfcentral.com>
Date: Wed, 16 Sep 2009 08:21:15 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909161357.n8GDvw1U099822@idle.juniper.net>
In-Reply-To: <200909161357.n8GDvw1U099822@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 15:20:29 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> The YANG definition of a database (config + defaults)
>> does not seem to interact well with the definition
>> of require-instance:
> 
> Can you please point me to where "config + defaults" is defined as
> a database in YANG?  "config" is the database.
> 

There is text that says a leaf that contains the
YANG default value is not part of the
database.  It has been pointed out many times.


Like this text on pg. 107:

   o  The accessible tree is made up of all nodes in the data tree, and
      all leafs with default values.

To any reader, this statement implies that leafs with default
values are not nodes in the data tree.  Yet, 9.9 and 9.13
only allow the target to be a node in the data tree.
If that is by design, it is horrible, but I think it a a bug.
I thought we were trying to debug this draft, and send
it to the IESG with as few defects as possible.

Lada, Tom, and I (I think) agree that this exclusion of
default leafs from the data tree confuses the database model.
You and Juergen seem to think it helps.  That looks like
2 for, 3 against, and 50 don't-care.



> Thanks,
>  Phil
> 

Andy


From andy@netconfcentral.com  Wed Sep 16 08:43:20 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C8B7928C0FC for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 08:43:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.194
X-Spam-Level: 
X-Spam-Status: No, score=-2.194 tagged_above=-999 required=5 tests=[AWL=-0.195, BAYES_00=-2.599, J_CHICKENPOX_65=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KcmJRrob9sGp for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 08:43:20 -0700 (PDT)
Received: from n15b.bullet.mail.mud.yahoo.com (n15b.bullet.mail.mud.yahoo.com [68.142.207.236]) by core3.amsl.com (Postfix) with SMTP id E3BF228C179 for <netmod@ietf.org>; Wed, 16 Sep 2009 08:43:19 -0700 (PDT)
Received: from [68.142.200.225] by n15.bullet.mail.mud.yahoo.com with NNFMP; 16 Sep 2009 15:44:08 -0000
Received: from [68.142.201.252] by t6.bullet.mud.yahoo.com with NNFMP; 16 Sep 2009 15:44:08 -0000
Received: from [127.0.0.1] by omp413.mail.mud.yahoo.com with NNFMP; 16 Sep 2009 15:44:08 -0000
X-Yahoo-Newman-Id: 33565.87569.bm@omp413.mail.mud.yahoo.com
Received: (qmail 11241 invoked from network); 16 Sep 2009 15:44:07 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp104.sbc.mail.sp1.yahoo.com with SMTP; 16 Sep 2009 15:44:07 -0000
X-YMail-OSG: Cr980EwVM1n867sUrrd8QqAwiCqLVhZHov3vIzXt8Tkft6gvuBxmnkl19JwYoxVMzmYUQYOWawajtBmqmv4UpgzROiCRYHV9_AEpaVFYsYeQheh_uJplc1noTXewSVQ07SXOCkEth9EQBjbJMTqThOR0TuNiWBOMbPCCkYzuujCLlprSeUWJzOy1hkWisda6p9or870xQB5nDE4B7uyPw20oyQ--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB1074D.6090305@netconfcentral.com>
Date: Wed, 16 Sep 2009 08:42:05 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] why is default a config-only property?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 15:43:20 -0000

Hi,

I never got an answer to my example about the operStatus leaf

  leaf operStatus {
     config false;
     type enumeration {
       enum normal;
       enum bad;
       enum realbad;
       enum etc;
     }
     default normal;
  }

  leaf error-counter {
    config false;
    type yang:zero-based-counter32;
    default 0;
  }


The concept of filtering out the default value because
the values of interest are never the default certainly
applies to config=false leafs.

I am curious why YANG ignores this aspect of the default property.
It makes it even more strange because leafs can be defined
in a grouping with a default (but not config-stmt), and the
config-stmt can be patched in later via refine or deviate.


Andy



From j.schoenwaelder@jacobs-university.de  Wed Sep 16 09:05:32 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 57F7528C14E for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 09:05:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.916
X-Spam-Level: 
X-Spam-Status: No, score=-0.916 tagged_above=-999 required=5 tests=[AWL=-1.126, BAYES_20=-0.74, HELO_EQ_DE=0.35, J_CHICKENPOX_65=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HvFwb9d+t+Lb for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 09:05:31 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 5D66F3A6AFB for <netmod@ietf.org>; Wed, 16 Sep 2009 09:05:31 -0700 (PDT)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 6159BC0025; Wed, 16 Sep 2009 18:06:20 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id qEzwvHRM0ahP; Wed, 16 Sep 2009 18:06:19 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 6ED26C0014; Wed, 16 Sep 2009 18:06:19 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 3F729CB7C87; Wed, 16 Sep 2009 18:06:18 +0200 (CEST)
Date: Wed, 16 Sep 2009 18:06:18 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.com>
Message-ID: <20090916160618.GA6072@elstar.local>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.com>, NETMOD Working Group <netmod@ietf.org>
References: <4AB1074D.6090305@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4AB1074D.6090305@netconfcentral.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] why is default a config-only property?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 16:05:32 -0000

On Wed, Sep 16, 2009 at 05:42:05PM +0200, Andy Bierman wrote:
 
> The concept of filtering out the default value because
> the values of interest are never the default certainly
> applies to config=false leafs.

In the explicit config model, there is no filtering of defaults.

/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/>

From lhotka@cesnet.cz  Wed Sep 16 09:09:33 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D2E343A6A64 for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 09:09:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.168
X-Spam-Level: 
X-Spam-Status: No, score=-1.168 tagged_above=-999 required=5 tests=[AWL=0.082,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id diCkmw5rH4iW for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 09:09:33 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 0E6E83A67FC for <netmod@ietf.org>; Wed, 16 Sep 2009 09:09:33 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 31F20D800C1; Wed, 16 Sep 2009 18:10:22 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AB1026B.2070505@netconfcentral.com>
References: <200909161357.n8GDvw1U099822@idle.juniper.net> <4AB1026B.2070505@netconfcentral.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 16 Sep 2009 18:10:20 +0200
Message-Id: <1253117420.27323.21.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 16:09:33 -0000

Andy Bierman píše v St 16. 09. 2009 v 08:21 -0700:

> Lada, Tom, and I (I think) agree that this exclusion of
> default leafs from the data tree confuses the database model.
> You and Juergen seem to think it helps.  That looks like
> 2 for, 3 against, and 50 don't-care.
> 

One way out of this would be to treat the default statement for leaf
"foo" as a declaration of equivalence of the configuration without "foo"
and with "foo" containing the default value. The advantage is that the
server then can use internally any of the three modes (report-all, trim,
explicit) and the only requirement is that both the server and client
always respect the fact that the two configurations are equivalent.

Lada
  
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From wjhns1@hardakers.net  Wed Sep 16 09:12:27 2009
Return-Path: <wjhns1@hardakers.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1EF223A6AF1 for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 09:12:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.556
X-Spam-Level: 
X-Spam-Status: No, score=-2.556 tagged_above=-999 required=5 tests=[AWL=0.043,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 95bT6nMVbf4d for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 09:12:26 -0700 (PDT)
Received: from mail.hardakers.net (hardaker-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::af]) by core3.amsl.com (Postfix) with ESMTP id 46F633A6A64 for <netmod@ietf.org>; Wed, 16 Sep 2009 09:12:26 -0700 (PDT)
Received: from localhost (wjh.hardakers.net [10.0.0.2]) by mail.hardakers.net (Postfix) with ESMTPSA id EC60B980DB; Wed, 16 Sep 2009 09:13:14 -0700 (PDT)
From: Wes Hardaker <wjhns1@hardakers.net>
To: Phil Shafer <phil@juniper.net>
Organization: Sparta
References: <200909161355.n8GDtkUJ099664@idle.juniper.net>
Date: Wed, 16 Sep 2009 09:13:14 -0700
In-Reply-To: <200909161355.n8GDtkUJ099664@idle.juniper.net> (Phil Shafer's message of "Wed, 16 Sep 2009 09:55:46 -0400")
Message-ID: <sd3a6m6f6t.fsf@wjh.hardakers.net>
User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.22 (linux, no MULE)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] All Powerful <get> operation
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 16:12:27 -0000

>>>>> On Wed, 16 Sep 2009 09:55:46 -0400, Phil Shafer <phil@juniper.net> said:

PS> Yup.  Not something I'd like to see repeated in NETCONF.  We have
PS> a discovery mechanism and people should use it.

Sadly, the number one reason I've seen people doing this is to discover
device features that aren't documented.  Operators who are trying to
hack something together quickly will go digging through data for the
value they're looking for, figure out which OID it's in and then see if
they can modify it via a SET or at least monitor it.

Note that no where in that did common situation they go pull a MIB to
look at the definition (or they often will *after* they're pretty sure
they found the right spot).  This is primarily because they likely don't
have the MIBs in front of them, don't know what device supports even if
they did.  It's actually easier to search through the data and then use
that to find the MIB.  I strongly doubt this will change with the
invention of yang unless netconf.  Functionally operators, whether we
like it or not, rely heavily on a "search" feature that is tied to the
data.

-- 
Wes Hardaker
Cobham Analytic Solutions

From andy@netconfcentral.com  Wed Sep 16 09:15:15 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8BC2B28C252 for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 09:15:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.187
X-Spam-Level: 
X-Spam-Status: No, score=-2.187 tagged_above=-999 required=5 tests=[AWL=-0.188, BAYES_00=-2.599, J_CHICKENPOX_65=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ehjdiq9zPURw for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 09:15:14 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id B2EC528C253 for <netmod@ietf.org>; Wed, 16 Sep 2009 09:15:14 -0700 (PDT)
Received: (qmail 95455 invoked from network); 16 Sep 2009 16:16:04 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 16 Sep 2009 16:16:04 -0000
X-YMail-OSG: BYUqmQwVM1mDTyzz725.CUtayAdmPHvAac4t_yYJ.5q38khUV_FeJmB2qwSfeqX.d1Fv733S_Bk5aQr44Lnj0BNpTNI09Q8OHuGrmJRiHSKl4EQChE84ATRLcTCa53ByT7xC9FnIBNARHpBgPZu9AXG.LGUyz7oiMdI1CJo4S6pSRvWMk9nx57SbgXzgi2vWE2RbnGVj2pJS2Lj5nm_8oHxvv3fivBlbWKc6ZJirxQNqmlKVsVSRegRvDkus1FcEkF4i2Rp5rfkgpY1m
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB10F44.2000405@netconfcentral.com>
Date: Wed, 16 Sep 2009 09:16:04 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>,  NETMOD Working Group <netmod@ietf.org>
References: <4AB1074D.6090305@netconfcentral.com> <20090916160618.GA6072@elstar.local>
In-Reply-To: <20090916160618.GA6072@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] why is default a config-only property?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 16:15:15 -0000

Juergen Schoenwaelder wrote:
> On Wed, Sep 16, 2009 at 05:42:05PM +0200, Andy Bierman wrote:
>  
>> The concept of filtering out the default value because
>> the values of interest are never the default certainly
>> applies to config=false leafs.
> 
> In the explicit config model, there is no filtering of defaults.
> 

OK -- what's the 'explicit config model', and what does
it have to do with the <get> operation processing
non-config data for an <rpc-reply>?


> /js
> 

Andy

From andy@netconfcentral.com  Wed Sep 16 09:25:30 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 988C83A67AC for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 09:25:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.481
X-Spam-Level: 
X-Spam-Status: No, score=-2.481 tagged_above=-999 required=5 tests=[AWL=0.118,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ssc7SuT6E8Q8 for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 09:25:29 -0700 (PDT)
Received: from n20.bullet.mail.mud.yahoo.com (n20.bullet.mail.mud.yahoo.com [68.142.206.147]) by core3.amsl.com (Postfix) with SMTP id AD4283A68AE for <netmod@ietf.org>; Wed, 16 Sep 2009 09:25:29 -0700 (PDT)
Received: from [68.142.200.224] by n20.bullet.mail.mud.yahoo.com with NNFMP; 16 Sep 2009 16:26:17 -0000
Received: from [68.142.201.72] by t5.bullet.mud.yahoo.com with NNFMP; 16 Sep 2009 16:26:17 -0000
Received: from [127.0.0.1] by omp424.mail.mud.yahoo.com with NNFMP; 16 Sep 2009 16:26:17 -0000
X-Yahoo-Newman-Id: 265079.7965.bm@omp424.mail.mud.yahoo.com
Received: (qmail 55302 invoked from network); 16 Sep 2009 16:26:16 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp101.sbc.mail.sp1.yahoo.com with SMTP; 16 Sep 2009 16:26:16 -0000
X-YMail-OSG: dmfUy0wVM1ll1hoCas.fRsQCZu_zv6Pn7KplM9KWIJC4CTDs6FM7dLZZO.6OsMsjbcjlnLSdVuCp9YQwMfbZ4B9wiZXWtCG0anSkX2azV.DE3bdseRUingUV9mZuR1nf0jL1V62Cbyx0Ae8y_MXCp.QPyjtF4HUrZJKTBde8h.Fs1F_UWKGrt57_0CDBCAanKp9a7w1nA.2Cz1I-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB111A8.9090603@netconfcentral.com>
Date: Wed, 16 Sep 2009 09:26:16 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
References: <200909161357.n8GDvw1U099822@idle.juniper.net>	 <4AB1026B.2070505@netconfcentral.com> <1253117420.27323.21.camel@missotis>
In-Reply-To: <1253117420.27323.21.camel@missotis>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 16:25:30 -0000

Ladislav Lhotka wrote:
> Andy Bierman píše v St 16. 09. 2009 v 08:21 -0700:
> 
>> Lada, Tom, and I (I think) agree that this exclusion of
>> default leafs from the data tree confuses the database model.
>> You and Juergen seem to think it helps.  That looks like
>> 2 for, 3 against, and 50 don't-care.
>>
> 
> One way out of this would be to treat the default statement for leaf
> "foo" as a declaration of equivalence of the configuration without "foo"
> and with "foo" containing the default value. 

I thought that is what we were claiming the client gets
from YANG default, except for all the ways that isn't
quite true.

The current draft does not provide anything close to a constant,
so your idea would require lots of edits.  I can only conclude
that the WG consensus is that it is not important if a client
can conclusively determine the meaning of a missing leaf.
Close enough for rock and roll, or something to that effect.

The advantage is that the
> server then can use internally any of the three modes (report-all, trim,
> explicit) and the only requirement is that both the server and client
> always respect the fact that the two configurations are equivalent.
> 

Except NETCONF clients need to deal with modules that
change over time, and multiple concurrent servers that implement
different revisions during the module lifecycle.
Losing the ability to conclusively identity server data contents
across the lifecycle is actually important, even if the WG does not
think so now.


> Lada
>   


Andy



From andy@netconfcentral.com  Wed Sep 16 09:45:38 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BBAB428C0FB for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 09:45:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.485
X-Spam-Level: 
X-Spam-Status: No, score=-2.485 tagged_above=-999 required=5 tests=[AWL=0.114,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OMaawxygW15m for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 09:45:38 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id E402E3A69FE for <netmod@ietf.org>; Wed, 16 Sep 2009 09:45:37 -0700 (PDT)
Received: (qmail 8958 invoked from network); 16 Sep 2009 16:46:25 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 16 Sep 2009 16:46:25 -0000
X-YMail-OSG: CfnVxF8VM1l0HT_HNC4LbRC4P5I4pP3RwlQ66KHWKs6B6MfDRGwmCqbwSQFz8Mm3Q4TFne3wPjDufND5rmlhWyQ35URfqCGpqLiPLkyLQ.XLUC.tLHiZ7hqYBJ7MbRkjGU7rXXacfenEMiLFgk.dCznUxzvLUp93dgjkeRgXRzQVY09ZYa12xGO62IF7erI9v_MxOkIdEAKhdvtuuqRaT7PDwnFQkgr5754oaMFCct6FllMoCpYodeZ1.J0bUqiMjj5ZLIaaN7zyHKhW
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB11661.4040001@netconfcentral.com>
Date: Wed, 16 Sep 2009 09:46:25 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] update the milestones?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 16:45:38 -0000

Goals and Milestones:

May 2009	  	WGLC for Netmod architecture document

Jun 2009	  	Submit the architecture document to the IESG for publication
                        as an Informational RFC

Aug 2009	  	WGLC for YANG, YIN, XML on-the-wire (if split out),
                        YANG standard library, DSDL mapping rules

Sep 2009	  	Submit YANG, YIN, XML on-the-wire (if split out),
                        YANG standard library, DSDL mapping rules to the IESG
                        for publication as a Proposed Standard

Sep 2009	  	Submit YANG Usage Guidelines to the IESG for publication
                        as an Informational RFC

The charter page does not say which milestones are done or not,
but I think this is what the archive shows:

  - WGLC on yang-05 started 4/30/09; never concluded

  - WGLC on yang-types-03, started 5/23/09; never concluded

So what is the new schedule?



thanks,
Andy

From kwatsen@juniper.net  Wed Sep 16 10:43:24 2009
Return-Path: <kwatsen@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6C4AB3A694A for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 10:43:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.392
X-Spam-Level: 
X-Spam-Status: No, score=-5.392 tagged_above=-999 required=5 tests=[AWL=1.207,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21OK1vwe88NM for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 10:43:23 -0700 (PDT)
Received: from exprod7og107.obsmtp.com (exprod7og107.obsmtp.com [64.18.2.167]) by core3.amsl.com (Postfix) with ESMTP id 14BBF3A6407 for <netmod@ietf.org>; Wed, 16 Sep 2009 10:43:23 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob107.postini.com ([64.18.6.12]) with SMTP ID DSNKSrEj66x5FnAwYT3IO2jMOKK+VYWbyz3+@postini.com; Wed, 16 Sep 2009 10:44:13 PDT
Received: from EMBX01-HQ.jnpr.net ([fe80::c821:7c81:f21f:8bc7]) by P-EMHUB02-HQ.jnpr.net ([fe80::88f9:77fd:dfc:4d51%11]) with mapi; Wed, 16 Sep 2009 10:38:11 -0700
From: Kent Watsen <kwatsen@juniper.net>
To: 'Andy Bierman' <andy@netconfcentral.com>, Phil Shafer <phil@juniper.net>
Date: Wed, 16 Sep 2009 10:38:10 -0700
Thread-Topic: [netmod] config+defaults wrt/ i-i and leafref
Thread-Index: Aco24VisBqZhVI/7Q72zqo4RIQqaBQAD/D0g
Message-ID: <84600D05C20FF943918238042D7670FD36646BFA8A@EMBX01-HQ.jnpr.net>
References: <200909161357.n8GDvw1U099822@idle.juniper.net> <4AB1026B.2070505@netconfcentral.com>
In-Reply-To: <4AB1026B.2070505@netconfcentral.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 17:43:24 -0000

> Like this text on pg. 107:
>=20
>    o  The accessible tree is made up of all nodes in the data tree, and
>       all leafs with default values.
>=20
> To any reader, this statement implies that leafs with default
> values are not nodes in the data tree.  Yet, 9.9 and 9.13
> only allow the target to be a node in the data tree.
> If that is by design, it is horrible, but I think it a a bug.
> I thought we were trying to debug this draft, and send
> it to the IESG with as few defects as possible.

I did not read it this way.  My understanding is that only values explicitl=
y set by operators are part of the "config", whether or not those values ar=
e the same as the default value.  It is important to track explicitly set v=
alues because a firmware update may change a device default value...

Thanks,
Kent

--
Kent Watsen
Network Management
Juniper Networks


From MARKSCOT@nortel.com  Wed Sep 16 11:41:07 2009
Return-Path: <MARKSCOT@nortel.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 897733A6A08; Wed, 16 Sep 2009 11:41:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.999
X-Spam-Level: 
X-Spam-Status: No, score=-5.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_43=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ec5716KunfNX; Wed, 16 Sep 2009 11:41:04 -0700 (PDT)
Received: from zcars04e.nortel.com (zcars04e.nortel.com [47.129.242.56]) by core3.amsl.com (Postfix) with ESMTP id 990513A68D7; Wed, 16 Sep 2009 11:41:03 -0700 (PDT)
Received: from zcarhxm0.corp.nortel.com (zcarhxm0.corp.nortel.com [47.129.230.95]) by zcars04e.nortel.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id n8GIfG121574; Wed, 16 Sep 2009 18:41:16 GMT
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 16 Sep 2009 14:41:13 -0400
Message-ID: <085091CB2CA14E4B8B163FFC37C84E9D1A5B2410@zcarhxm0.corp.nortel.com>
In-Reply-To: <4A7EF28E.2040502@netconfcentral.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [netmod] staying in synch on data model discovery
Thread-Index: AcoZClgw5YEVpa1TRmib019DCr8bdAd67s/Q
References: <4A7EF28E.2040502@netconfcentral.com>
From: "Mark Scott" <markscot@nortel.com>
To: "Andy Bierman" <andy@netconfcentral.com>, "NETMOD Working Group" <netmod@ietf.org>, "NETCONF" <netconf@ietf.org>
Subject: Re: [netmod] staying in synch on data model discovery
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 18:41:07 -0000

Andy,

Pardon my delayed response on this.

To address your points below.

1.  NETCONF and NETMOD collaboration:  per WG consensus we have updated
the monitoring draft to use YANG as the normative data model.  I won't
speak for other NETCONF drafts but this is a positive step for this one.

2.  <get-schema> mandatory parameters:  Initially <identifier> was the
only mandatory parameter in the <get-schema> operation, however after we
agreed to expand the key definition in the schema list we made <version>
and <format> mandatory parameters in the operation.  My preference would
be to keep this alignment between the key and <get-schema> mandatory
parms.  I agree in cases where only 1 revision and/or 1 format exists
this is heavy-handed but it protects against agents returning schema a
manager may not have intended since <identifier> is not unique in schema
list and the logic on agent to select the default revision may differ
from what the manager would have selected (esp. if more than 1 version
exists).

3.  Agree on the benefit of this and will add it to latest version which
we will be posting shortly.

Mark


-----Original Message-----
From: netmod-bounces@ietf.org [mailto:netmod-bounces@ietf.org] On Behalf
Of Andy Bierman
Sent: Sunday, August 09, 2009 12:00 PM
To: NETMOD Working Group; NETCONF
Subject: [netmod] staying in synch on data model discovery

Hi,

I would like to see the NETCONF and NETMOD WGs act more
like they play for the same team regarding YANG and all
the YANG data models under development.

I mostly care about the ietf-netconf-state data model to
use the get-schema() operation with YANG.  If others want
XSD and RNG instead, then that's extra credit, but full
support for YANG is a must-have.

YANG modules, submodules, and deviation modules all need
to be listed in the <schemas> and retrievable with <get-schema>.

However, deviations have no revision that is advertised,
yet they clearly have a revision-date just like any other
YANG module.  This is somewhere between confusing and broken.

The <version> field in the <get-schema> operation is mandatory.
It should be optional, and if missing, then the
agent will pick whatever revision it wants (usually
there will just be 1 to pick from).

The <format> field in the <get-schema> operation is mandatory.
It should be optional, and the default should be 'YANG'.

IMO, the use of capabilities instead of YANG features needs
to stop.  Even more, ALL the data models under way in the
NETCONF WG should wait for YANG, and use YANG features,
not protocol capabilities to achieve.  That will eliminate
the possibility that there can be 16 valid variants of
the same leaf,and will help start out with a coherent set of
YANG modules using the same data types (e.g., ip-address issue).

I think the <schema> node should have another leaf:

   leaf moduleType {
     description
        "The type of data model file for this schema entry.";
     type enumeration {
        enum module {
          description
            "Indicates this entry is for a main module.";
       }
       enum submodule {
          description
            "Indicates this entry is for a sub-module.";
       }
       enum deviation {
          description
            "Indicates this entry is for a deviation module.";
       }
       enum other {
          description
            "Indicates this entry is for some other type of module.";
       }
    }
 }


This will help operators understand what all the 'extra' entries are
for,
and allow better filtering of the <schemas> subtree.



Andy


_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

From mbj@tail-f.com  Wed Sep 16 12:12:41 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E01AF28C14D for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 12:12:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.016
X-Spam-Level: 
X-Spam-Status: No, score=-2.016 tagged_above=-999 required=5 tests=[AWL=0.030,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZiOTQdn0Sl6a for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 12:12:41 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 19BFF28C169 for <netmod@ietf.org>; Wed, 16 Sep 2009 12:12:40 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id EA95176C612; Wed, 16 Sep 2009 21:13:29 +0200 (CEST)
Date: Wed, 16 Sep 2009 21:13:29 +0200 (CEST)
Message-Id: <20090916.211329.13346421.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AB111A8.9090603@netconfcentral.com>
References: <4AB1026B.2070505@netconfcentral.com> <1253117420.27323.21.camel@missotis> <4AB111A8.9090603@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 19:12:42 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> The current draft does not provide anything close to a constant,
> so your idea would require lots of edits.  I can only conclude
> that the WG consensus is that it is not important if a client
> can conclusively determine the meaning of a missing leaf.

No, Andy, this is not the intention.  The intention is that if a
leaf has a default statement, and that leaf is missing, then a
standards compliant server "operationally uses" the default value.

A non-compliant server might use some other value, who knows.  If the
non-compliant server does that, it might have published a deviation
module, but we can't require that (since it is non-compliant).

I think you are saying that if a leaf is missing, there are some cases
when a client cannot tell which value a compliant server is using
internally.  Can you provide an example?  (I don't think you have sent
such an example, but if you have, I apologize for missing it).

If you think the spec will be better w/o the words re. how a client
should interpret missing leafs, then let's remove those words.  I
think the current text makes it easier, not harder, to understand, but
maybe that's just me.


/martin

From mbj@tail-f.com  Wed Sep 16 13:43:07 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4EC1F3A6AD9 for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 13:43:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.017
X-Spam-Level: 
X-Spam-Status: No, score=-2.017 tagged_above=-999 required=5 tests=[AWL=0.029,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UbVfcLDbmfoI for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 13:43:06 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id D270B3A6ADC for <netmod@ietf.org>; Wed, 16 Sep 2009 13:43:04 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 043F876C612; Wed, 16 Sep 2009 22:43:53 +0200 (CEST)
Date: Wed, 16 Sep 2009 22:43:52 +0200 (CEST)
Message-Id: <20090916.224352.230817887.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AB0E64E.1080603@netconfcentral.com>
References: <4AB0E64E.1080603@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 20:43:07 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Hi,
> 
> The YANG definition of a database (config + defaults)
> does not seem to interact well with the definition
> of require-instance:
> 
> 
>    leaf a {
>       type int32;
>       default 10;
>    }
> 
>    leaf b {
>       type leafref { path /a; }
>    }
> 
>    leaf-list c {
>       type instance-identifier;
>    }
> 
>    container np-con {
>      leaf d {
>        type int32;
>        default 42;
>      }
>    }
> 
> 
> Here is the database:
> 
>   <config>
>      // <a>10</a>
>      <b>10</b>
>      <c>/a</c>
>      <c>/np-con</c>
>      // <np-con>
>      // <d>42</d>
>      // </np-con>
>   </config>
> 
> 
> I am having a hard time understanding this design wrt/ require-instance:
> 
>   P1) The require-instance property for /b or /c is set
>       to true, so an instance of /a MUST exist for /b or /c[1] to
>       exist in a valid database.  Ditto for /np-con existing
>       for /c[2] to be valid.
> 
>   P2) Leaf /a does not exist if its value is the YANG default.
> 
>   P3) NP-container /np-con does not exist if its child <d>
>       contains the value '42'.
> 
>   C1) A leafref can never contain the YANG default value
>       for the target leaf data-type.
> 
>   C2) An instance-identifier can never point to a leaf
>       that currently contains the YANG default value.
> 
>   C3) An instance-identifier can not reliably point to
>       a non-presence container if it contains only leaf(s)
>       that may be set to a default value.
> 
> 
>   * Sec. 9.9 currently does not include default leafs.
>   * Sec. 9.13 currently does not include default leafs.
> 
> I do not think this database architecture is very helpful
> or worth using.

I hate to say it, but this seems to be a garbage-in corner case.  Why
would you have a config leafreaf to a leaf w/ a default value?
Remember the original keyref did not have this corner case.

And why would you specify a config instance-identifier with
require-instance which points to a np-container?  I suspect that most
usages of instance-identifier in config will restrict the valid
instances (in description clause for now).


> IMO, the config+defaults definition of a database is
> a horrible design decision, but if it is the WG consensus,
> then at least clean up the definitions in 9.9 and 9.13.
> 
> How about some text in the intro explaining *why* a
> leaf that happens to contain the default value exists
> for every aspect of protocol operations except retrieval?

It's not that it happens to contain the default - a leaf that is set
to its default value exists in the config.

And they are taken into account in two cases - must and when
expressions.  It would be very confusing if a must expression was true
when the default value was in effect, but false if the leaf was
explicitly set to the same value (or the other way around).


/martin

From andy@netconfcentral.com  Wed Sep 16 13:45:38 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0F8BD3A69EF for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 13:45:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.488
X-Spam-Level: 
X-Spam-Status: No, score=-2.488 tagged_above=-999 required=5 tests=[AWL=0.111,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L66TDijW-94m for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 13:45:37 -0700 (PDT)
Received: from n14.bullet.mail.mud.yahoo.com (n14.bullet.mail.mud.yahoo.com [68.142.206.41]) by core3.amsl.com (Postfix) with SMTP id 2FD903A6AA9 for <netmod@ietf.org>; Wed, 16 Sep 2009 13:45:37 -0700 (PDT)
Received: from [68.142.194.243] by n14.bullet.mail.mud.yahoo.com with NNFMP; 16 Sep 2009 20:46:25 -0000
Received: from [68.142.201.243] by t1.bullet.mud.yahoo.com with NNFMP; 16 Sep 2009 20:46:25 -0000
Received: from [127.0.0.1] by omp404.mail.mud.yahoo.com with NNFMP; 16 Sep 2009 20:46:25 -0000
X-Yahoo-Newman-Id: 719902.67619.bm@omp404.mail.mud.yahoo.com
Received: (qmail 78802 invoked from network); 16 Sep 2009 20:46:25 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp107.sbc.mail.sp1.yahoo.com with SMTP; 16 Sep 2009 20:46:25 -0000
X-YMail-OSG: 21vPphMVM1kFzQ0nrbkYixWEoekt3cdWUGn6wJ6c6YYjN6HTQXu9zQyduci08nWmFT5s3sEePRo.UoB45YFbMEzWnYWeruOyyojphkUDLqmfHy3EKgsAcARkogRxJhHkB9bCK2ApGoPtRnCYKfKFjLC1KKkjIcrv8cgSBfZoez6P3.IrGJhnqTWYPjqReOAUdtpE2pbw7TpObPUFqazauhGcC1aC3vR47P9DQBbpROTLYlXJPp.uE3IuLIjbSZM6Vw0d4.VtffAK
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB14EA2.70603@netconfcentral.com>
Date: Wed, 16 Sep 2009 13:46:26 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AB1026B.2070505@netconfcentral.com>	<1253117420.27323.21.camel@missotis>	<4AB111A8.9090603@netconfcentral.com> <20090916.211329.13346421.mbj@tail-f.com>
In-Reply-To: <20090916.211329.13346421.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 20:45:38 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> The current draft does not provide anything close to a constant,
>> so your idea would require lots of edits.  I can only conclude
>> that the WG consensus is that it is not important if a client
>> can conclusively determine the meaning of a missing leaf.
> 
> No, Andy, this is not the intention.  The intention is that if a
> leaf has a default statement, and that leaf is missing, then a
> standards compliant server "operationally uses" the default value.
> 


Then why not write:

   The accessible tree is made up of all nodes in the data tree.

Instead of:

 The accessible tree is made up of all nodes in the data tree, and
 all leafs with default values.


> A non-compliant server might use some other value, who knows.  If the
> non-compliant server does that, it might have published a deviation
> module, but we can't require that (since it is non-compliant).
> 
> I think you are saying that if a leaf is missing, there are some cases
> when a client cannot tell which value a compliant server is using
> internally.  Can you provide an example?  (I don't think you have sent
> such an example, but if you have, I apologize for missing it).
> 

I already did that, but 1 last time to practice typing:

  * A module without a revision
  * A changed module referenced by an import without a revision date
  * A leaf from a grouping changed by a refine, but the refine
    is not known because it is from a groupings-only module that
    the server shooses not to advertise
  * A default from a typedef from a module the server chooses
    not to advertise.


> If you think the spec will be better w/o the words re. how a client
> should interpret missing leafs, then let's remove those words.  I
> think the current text makes it easier, not harder, to understand, but
> maybe that's just me.
> 
> 

I'm done with this spec for awhile.
I'll check the IESG version.


> /martin
> 


Andy



From andy@netconfcentral.com  Wed Sep 16 13:50:09 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B67FC3A6A18 for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 13:50:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.325
X-Spam-Level: 
X-Spam-Status: No, score=-2.325 tagged_above=-999 required=5 tests=[AWL=-0.060, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8mkVk-SS7vfq for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 13:50:09 -0700 (PDT)
Received: from smtp127.sbc.mail.sp1.yahoo.com (smtp127.sbc.mail.sp1.yahoo.com [69.147.65.186]) by core3.amsl.com (Postfix) with SMTP id 1F8973A682E for <netmod@ietf.org>; Wed, 16 Sep 2009 13:50:09 -0700 (PDT)
Received: (qmail 98991 invoked from network); 16 Sep 2009 20:50:55 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.121.104.106 with plain) by smtp127.sbc.mail.sp1.yahoo.com with SMTP; 16 Sep 2009 20:50:55 -0000
X-YMail-OSG: NCZu_IIVM1lo3qlp95uCd7kO37xiNejRHNtBtuWAWDM.BdBmkQRqR.TfQ3uVEs7Y4drgkh7rZDzL8P4JXTTgsmvF7DA4JyDGcwbkQZeWlwG88ZUhoWmPWSUwQg1b0wgJlr7AXerjzv2bWwalCmNhNNfN3rwBjLrljW5gmn_D7R0lcPery19ORl19U1Z5gADpJvSLJFZVvQTgxoo-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB14F37.9090405@netconfcentral.com>
Date: Wed, 16 Sep 2009 13:48:55 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Kent Watsen <kwatsen@juniper.net>
References: <200909161357.n8GDvw1U099822@idle.juniper.net> <4AB1026B.2070505@netconfcentral.com> <84600D05C20FF943918238042D7670FD36646BFA8A@EMBX01-HQ.jnpr.net>
In-Reply-To: <84600D05C20FF943918238042D7670FD36646BFA8A@EMBX01-HQ.jnpr.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 20:50:09 -0000

Kent Watsen wrote:
> 
>> Like this text on pg. 107:
>>
>>    o  The accessible tree is made up of all nodes in the data tree, and
>>       all leafs with default values.
>>
>> To any reader, this statement implies that leafs with default
>> values are not nodes in the data tree.  Yet, 9.9 and 9.13
>> only allow the target to be a node in the data tree.
>> If that is by design, it is horrible, but I think it a a bug.
>> I thought we were trying to debug this draft, and send
>> it to the IESG with as few defects as possible.
> 
> I did not read it this way.  My understanding is that only values explicitly set by operators are part of the "config", whether or not those values are the same as the default value.  It is important to track explicitly set values because a firmware update may change a device default value...
> 

Where does it say that?
I thought we agreed that server-created leafs exist, if
they do not contain the YANG default value.

So what is a data node that is created by the server?


> Thanks,
> Kent


Andy

From MARKSCOT@nortel.com  Wed Sep 16 13:52:44 2009
Return-Path: <MARKSCOT@nortel.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B18B03A6A18; Wed, 16 Sep 2009 13:52:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.999
X-Spam-Level: 
X-Spam-Status: No, score=-5.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_43=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 48dpkeY+uEG7; Wed, 16 Sep 2009 13:52:43 -0700 (PDT)
Received: from zcars04e.nortel.com (zcars04e.nortel.com [47.129.242.56]) by core3.amsl.com (Postfix) with ESMTP id 727E23A6ADA; Wed, 16 Sep 2009 13:52:43 -0700 (PDT)
Received: from zcarhxm0.corp.nortel.com (zcarhxm0.corp.nortel.com [47.129.230.95]) by zcars04e.nortel.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id n8GKqv111913; Wed, 16 Sep 2009 20:52:57 GMT
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 16 Sep 2009 16:52:55 -0400
Message-ID: <085091CB2CA14E4B8B163FFC37C84E9D1A5B2674@zcarhxm0.corp.nortel.com>
In-Reply-To: <085091CB2CA14E4B8B163FFC37C84E9D1A5B2410@zcarhxm0.corp.nortel.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Netconf] [netmod] staying in synch on data model discovery
Thread-Index: AcoZClgw5YEVpa1TRmib019DCr8bdAd67s/QAAZGGcA=
References: <4A7EF28E.2040502@netconfcentral.com> <085091CB2CA14E4B8B163FFC37C84E9D1A5B2410@zcarhxm0.corp.nortel.com>
From: "Mark Scott" <markscot@nortel.com>
To: "Andy Bierman" <andy@netconfcentral.com>, "NETMOD Working Group" <netmod@ietf.org>, "NETCONF" <netconf@ietf.org>
Subject: Re: [netmod] [Netconf]  staying in synch on data model discovery
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 20:52:44 -0000

Andy (and Martin),

While updating the YANG module for point 3 below I wonder instead of
enumeration do we want to make this an identityref? =20

Similar to what we did for schema-format to allow extensibility and
allows non-YANG formats to use something more meaningful the
moduleType=3D'other'.

Mark

-----Original Message-----
From: netconf-bounces@ietf.org [mailto:netconf-bounces@ietf.org] On
Behalf Of Scott, Mark (CAR:2N00)
Sent: Wednesday, September 16, 2009 2:41 PM
To: Andy Bierman; NETMOD Working Group; NETCONF
Subject: Re: [Netconf] [netmod] staying in synch on data model discovery

Andy,

Pardon my delayed response on this.

To address your points below.

1.  NETCONF and NETMOD collaboration:  per WG consensus we have updated
the monitoring draft to use YANG as the normative data model.  I won't
speak for other NETCONF drafts but this is a positive step for this one.

2.  <get-schema> mandatory parameters:  Initially <identifier> was the
only mandatory parameter in the <get-schema> operation, however after we
agreed to expand the key definition in the schema list we made <version>
and <format> mandatory parameters in the operation.  My preference would
be to keep this alignment between the key and <get-schema> mandatory
parms.  I agree in cases where only 1 revision and/or 1 format exists
this is heavy-handed but it protects against agents returning schema a
manager may not have intended since <identifier> is not unique in schema
list and the logic on agent to select the default revision may differ
from what the manager would have selected (esp. if more than 1 version
exists).

3.  Agree on the benefit of this and will add it to latest version which
we will be posting shortly.

Mark


-----Original Message-----
From: netmod-bounces@ietf.org [mailto:netmod-bounces@ietf.org] On Behalf
Of Andy Bierman
Sent: Sunday, August 09, 2009 12:00 PM
To: NETMOD Working Group; NETCONF
Subject: [netmod] staying in synch on data model discovery

Hi,

I would like to see the NETCONF and NETMOD WGs act more
like they play for the same team regarding YANG and all
the YANG data models under development.

I mostly care about the ietf-netconf-state data model to
use the get-schema() operation with YANG.  If others want
XSD and RNG instead, then that's extra credit, but full
support for YANG is a must-have.

YANG modules, submodules, and deviation modules all need
to be listed in the <schemas> and retrievable with <get-schema>.

However, deviations have no revision that is advertised,
yet they clearly have a revision-date just like any other
YANG module.  This is somewhere between confusing and broken.

The <version> field in the <get-schema> operation is mandatory.
It should be optional, and if missing, then the
agent will pick whatever revision it wants (usually
there will just be 1 to pick from).

The <format> field in the <get-schema> operation is mandatory.
It should be optional, and the default should be 'YANG'.

IMO, the use of capabilities instead of YANG features needs
to stop.  Even more, ALL the data models under way in the
NETCONF WG should wait for YANG, and use YANG features,
not protocol capabilities to achieve.  That will eliminate
the possibility that there can be 16 valid variants of
the same leaf,and will help start out with a coherent set of
YANG modules using the same data types (e.g., ip-address issue).

I think the <schema> node should have another leaf:

   leaf moduleType {
     description
        "The type of data model file for this schema entry.";
     type enumeration {
        enum module {
          description
            "Indicates this entry is for a main module.";
       }
       enum submodule {
          description
            "Indicates this entry is for a sub-module.";
       }
       enum deviation {
          description
            "Indicates this entry is for a deviation module.";
       }
       enum other {
          description
            "Indicates this entry is for some other type of module.";
       }
    }
 }


This will help operators understand what all the 'extra' entries are
for,
and allow better filtering of the <schemas> subtree.



Andy


_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod
_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf

From mbj@tail-f.com  Wed Sep 16 14:09:47 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 054FF3A6B41 for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 14:09:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.017
X-Spam-Level: 
X-Spam-Status: No, score=-2.017 tagged_above=-999 required=5 tests=[AWL=0.029,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oJhwwgi37MIv for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 14:09:46 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id DC4BD3A6929 for <netmod@ietf.org>; Wed, 16 Sep 2009 14:09:45 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 8BBCE76C612; Wed, 16 Sep 2009 23:10:35 +0200 (CEST)
Date: Wed, 16 Sep 2009 23:10:35 +0200 (CEST)
Message-Id: <20090916.231035.199233093.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AB14EA2.70603@netconfcentral.com>
References: <4AB111A8.9090603@netconfcentral.com> <20090916.211329.13346421.mbj@tail-f.com> <4AB14EA2.70603@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 21:09:47 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Martin Bjorklund wrote:
> > Andy Bierman <andy@netconfcentral.com> wrote:
> >> The current draft does not provide anything close to a constant,
> >> so your idea would require lots of edits.  I can only conclude
> >> that the WG consensus is that it is not important if a client
> >> can conclusively determine the meaning of a missing leaf.
> > 
> > No, Andy, this is not the intention.  The intention is that if a
> > leaf has a default statement, and that leaf is missing, then a
> > standards compliant server "operationally uses" the default value.
> > 
> 
> 
> Then why not write:
> 
>    The accessible tree is made up of all nodes in the data tree.
> 
> Instead of:
> 
>  The accessible tree is made up of all nodes in the data tree, and
>  all leafs with default values.

But this text is for how the must and when xpath expressions are
evaluated.


> > A non-compliant server might use some other value, who knows.  If the
> > non-compliant server does that, it might have published a deviation
> > module, but we can't require that (since it is non-compliant).
> > 
> > I think you are saying that if a leaf is missing, there are some cases
> > when a client cannot tell which value a compliant server is using
> > internally.  Can you provide an example?  (I don't think you have sent
> > such an example, but if you have, I apologize for missing it).
> > 
> 
> I already did that, but 1 last time to practice typing:
> 
>   * A module without a revision

Ok, the problem here is if v1 does not have a default, but v2 adds a
default stmt, and the client uses v2 and the server v1.  The client
now thinks the server is using the default value, but it is not.

This can be solved in two ways:

  - do not allow default to be added in new revisions
OR
  - require a revision statement when a module has been updated.


>   * A changed module referenced by an import without a revision date

This is e.g. if a grouping in v1 does not have a default, but v2 adds
a default, and the client uses v2 and the server v1.  Same situation
as above.

This can be solved with:

  - do not allow default to be added in new revisions

>   * A leaf from a grouping changed by a refine, but the refine
>     is not known because it is from a groupings-only module that
>     the server shooses not to advertise

I don't get this.  If a module A imports B, and the client understands
A it must also understand B.  And also, the refinement is always in
the module that uses the grouping, so changing a default cannot break
anything in other modules.

>   * A default from a typedef from a module the server chooses
>     not to advertise.

Same as above.  If the client understands module A with the leaf, it
also understands B with the typedef.



/martin

From mbj@tail-f.com  Wed Sep 16 14:18:47 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E92C43A6981 for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 14:18:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.717
X-Spam-Level: 
X-Spam-Status: No, score=-1.717 tagged_above=-999 required=5 tests=[AWL=-0.271, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, J_CHICKENPOX_65=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ASn2WyfI1Hg for <netmod@core3.amsl.com>; Wed, 16 Sep 2009 14:18:47 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 243A63A679F for <netmod@ietf.org>; Wed, 16 Sep 2009 14:18:47 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id C303276C612; Wed, 16 Sep 2009 23:19:36 +0200 (CEST)
Date: Wed, 16 Sep 2009 23:19:36 +0200 (CEST)
Message-Id: <20090916.231936.172079768.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AB1074D.6090305@netconfcentral.com>
References: <4AB1074D.6090305@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] why is default a config-only property?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 16 Sep 2009 21:18:48 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Hi,
> 
> I never got an answer to my example about the operStatus leaf
> 
>   leaf operStatus {
>      config false;
>      type enumeration {
>        enum normal;
>        enum bad;
>        enum realbad;
>        enum etc;
>      }
>      default normal;
>   }
> 
>   leaf error-counter {
>     config false;
>     type yang:zero-based-counter32;
>     default 0;
>   }
> 
> 
> The concept of filtering out the default value because
> the values of interest are never the default certainly
> applies to config=false leafs.
> 
> I am curious why YANG ignores this aspect of the default property.

Where does it say that default does not apply to config false nodes?


/martin

From Washam.Fan@huaweisymantec.com  Fri Sep 18 02:16:30 2009
Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2BFA83A6862 for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 02:16:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.365
X-Spam-Level: 
X-Spam-Status: No, score=-1.365 tagged_above=-999 required=5 tests=[AWL=1.234,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UO6jE4K7aNlZ for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 02:16:29 -0700 (PDT)
Received: from mta1.huaweisymantec.com (mta1.huaweisymantec.com [218.17.155.14]) by core3.amsl.com (Postfix) with ESMTP id 412D43A6922 for <netmod@ietf.org>; Fri, 18 Sep 2009 02:16:29 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml01-in.huaweisymantec.com ([172.26.3.41]) by hstga01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KQ500843TSC8W70@hstga01-in.huaweisymantec.com> for netmod@ietf.org; Fri, 18 Sep 2009 17:17:01 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KQ500LV3TSCOE10@hstml01-in.huaweisymantec.com> for netmod@ietf.org; Fri, 18 Sep 2009 17:17:00 +0800 (CST)
Received: from [10.27.154.141] by hstml01-in.huaweisymantec.com (mshttpd); Fri, 18 Sep 2009 17:17:00 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: Balazs Lengyel <balazs.lengyel@ericsson.com>
Message-id: <fc04c9425f14.4ab3c08c@huaweisymantec.com>
Date: Fri, 18 Sep 2009 17:17:00 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-8.03 (built Apr 24 2009; 32bit)
Content-language: en
X-Accept-Language: en
Priority: normal
In-reply-to: <4AAF568A.7040701@ericsson.com>
References: <4AAF568A.7040701@ericsson.com>
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] Null namespace for a module?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 09:16:30 -0000

Personally, NULL namespace should be allowed but recommended not to use, IMO.

washam

----- Original Message -----
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
Date: Tuesday, September 15, 2009 4:58 pm
Subject: [netmod] Null namespace for a module?
To: NETMOD Working Group <netmod@ietf.org>


> Hello,
>  Is it allowed to use a NULL empty namespace for a YANG module?
>  namespace "";
>  
>  Background: We have legacy nodes that have big models, that do not 
> have a namespace, and as 
>  their model is strictly managed, avoiding all naming collisions, 
> there is no need for the 
>  namespace.
>  
>  Balazs
>  _______________________________________________
>  netmod mailing list
>  netmod@ietf.org
>  https://www.ietf.org/mailman/listinfo/netmod
>  

From mbj@tail-f.com  Fri Sep 18 02:37:27 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9328F28C14E for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 02:37:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.014
X-Spam-Level: 
X-Spam-Status: No, score=-2.014 tagged_above=-999 required=5 tests=[AWL=0.032,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y8GmL3UKv5vJ for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 02:37:26 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 8641228C0F6 for <netmod@ietf.org>; Fri, 18 Sep 2009 02:37:26 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 5071976C612; Fri, 18 Sep 2009 11:38:19 +0200 (CEST)
Date: Fri, 18 Sep 2009 11:38:19 +0200 (CEST)
Message-Id: <20090918.113819.173335056.mbj@tail-f.com>
To: Washam.Fan@huaweisymantec.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <fc04c9425f14.4ab3c08c@huaweisymantec.com>
References: <4AAF568A.7040701@ericsson.com> <fc04c9425f14.4ab3c08c@huaweisymantec.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] Null namespace for a module?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 09:37:27 -0000

WashamFan <Washam.Fan@huaweisymantec.com> wrote:
> Personally, NULL namespace should be allowed but recommended not to use, IMO.

It is currently not allowed, and I don't think it is a good idea to
allow it.  There can only be one module with a NULL namespace, and it
is bound to lead to interoperability problems if more than one such
module is used in a network.


/martin



> 
> washam
> 
> ----- Original Message -----
> From: Balazs Lengyel <balazs.lengyel@ericsson.com>
> Date: Tuesday, September 15, 2009 4:58 pm
> Subject: [netmod] Null namespace for a module?
> To: NETMOD Working Group <netmod@ietf.org>
> 
> 
> > Hello,
> >  Is it allowed to use a NULL empty namespace for a YANG module?
> >  namespace "";
> >  
> >  Background: We have legacy nodes that have big models, that do not 
> > have a namespace, and as 
> >  their model is strictly managed, avoiding all naming collisions, 
> > there is no need for the 
> >  namespace.
> >  
> >  Balazs
> >  _______________________________________________
> >  netmod mailing list
> >  netmod@ietf.org
> >  https://www.ietf.org/mailman/listinfo/netmod
> >  
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 

From lhotka@cesnet.cz  Fri Sep 18 03:49:10 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 540113A68DF for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 03:49:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.168
X-Spam-Level: 
X-Spam-Status: No, score=-1.168 tagged_above=-999 required=5 tests=[AWL=0.082,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q68Gmj41acHY for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 03:49:09 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 6A9683A67B8 for <netmod@ietf.org>; Fri, 18 Sep 2009 03:49:06 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id A8CAED800C1 for <netmod@ietf.org>; Fri, 18 Sep 2009 12:49:59 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: NETMOD Working Group <netmod@ietf.org>
In-Reply-To: <20090918.113819.173335056.mbj@tail-f.com>
References: <4AAF568A.7040701@ericsson.com> <fc04c9425f14.4ab3c08c@huaweisymantec.com> <20090918.113819.173335056.mbj@tail-f.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Fri, 18 Sep 2009 12:49:58 +0200
Message-Id: <1253270998.31750.31.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Subject: Re: [netmod] Null namespace for a module?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 10:49:10 -0000

Martin Bjorklund píše v Pá 18. 09. 2009 v 11:38 +0200:
> WashamFan <Washam.Fan@huaweisymantec.com> wrote:
> > Personally, NULL namespace should be allowed but recommended not to use, IMO.
> 
> It is currently not allowed, and I don't think it is a good idea to
> allow it.  There can only be one module with a NULL namespace, and it
> is bound to lead to interoperability problems if more than one such
> module is used in a network.

+1. Lada

> 
> 
> /martin
> 
> 
> 
> > 
> > washam
> > 
> > ----- Original Message -----
> > From: Balazs Lengyel <balazs.lengyel@ericsson.com>
> > Date: Tuesday, September 15, 2009 4:58 pm
> > Subject: [netmod] Null namespace for a module?
> > To: NETMOD Working Group <netmod@ietf.org>
> > 
> > 
> > > Hello,
> > >  Is it allowed to use a NULL empty namespace for a YANG module?
> > >  namespace "";
> > >  
> > >  Background: We have legacy nodes that have big models, that do not 
> > > have a namespace, and as 
> > >  their model is strictly managed, avoiding all naming collisions, 
> > > there is no need for the 
> > >  namespace.
> > >  
> > >  Balazs
> > >  _______________________________________________
> > >  netmod mailing list
> > >  netmod@ietf.org
> > >  https://www.ietf.org/mailman/listinfo/netmod
> > >  
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> > 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From cfinss@dial.pipex.com  Fri Sep 18 04:36:48 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E7F633A68DC for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 04:36:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.976
X-Spam-Level: 
X-Spam-Status: No, score=-0.976 tagged_above=-999 required=5 tests=[AWL=-0.977, BAYES_50=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GX4ctt7tRyg4 for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 04:36:47 -0700 (PDT)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by core3.amsl.com (Postfix) with ESMTP id A17C83A67AD for <netmod@ietf.org>; Fri, 18 Sep 2009 04:36:47 -0700 (PDT)
X-Trace: 139692169/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.100.204/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.100.204
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Au4EAH8Ns0o+vGTM/2dsb2JhbACDJUuNK6xZCY90AgeCP4FUBQ
X-IronPort-AV: E=Sophos;i="4.44,409,1249254000"; d="scan'208";a="139692169"
X-IP-Direction: IN
Received: from 1cust204.tnt1.lnd9.gbr.da.uu.net (HELO allison) ([62.188.100.204]) by smtp.pipex.tiscali.co.uk with SMTP; 18 Sep 2009 12:37:38 +0100
Message-ID: <00ef01ca384b$cea4f420$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>, "Andy Bierman" <andy@netconfcentral.com>
References: <200909151357.n8FDvrVL009717@idle.juniper.net><4AAFE3BC.3070301@netconfcentral.com><20090915192244.GA4061@elstar.local><4AAFF16C.1070806@netconfcentral.com><20090915201603.GA4194@elstar.local><4AAFFEA8.6040203@netconfcentral.com> <20090915213410.GA4334@elstar.local>
Date: Fri, 18 Sep 2009 12:25:24 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 11:36:49 -0000

----- Original Message -----
From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
Sent: Tuesday, September 15, 2009 11:34 PM


> On Tue, Sep 15, 2009 at 10:52:56PM +0200, Andy Bierman wrote:
>
> > I don't understand your concerns wrt/ with-defaults.
> > A default is the YANG default-stmt value, and <get>
> > will access running config exactly the same as a <get-config>,
> > for source=running.
>
> To me, the default-stmt only covers rare corner cases - those where a
> static constant exists. All other cases will either be dealt with in
> description clauses are they are implementation specific. The argument
> that with-defaults gets me the data I need to understand the behaviour
> of a box is for me not at all convincing - and in particular if
> default equates to YANG's default-stmt. To understand what a box
> really does, I need a mechanism to retrieve its operational state.

Juergen

I think of defaults as being more widely used.

If I configure OSPF on a router, as I have done many times, then:

Globally,
OSPF set on
Router ID set (cannot default)
Area (default to 0.0.0.0)
Area type (default)
Database timers (default to 1800s, 3600s)
and per interface
OSPF set on
Active (default in most instances, sometimes set passive)
Interface type (default, derived from link type)
Area (default 0.0.0.0)
Hello, dead, delay, rexmit timers  (default, derive from link type)
Authentication set (for active interfaces)

so on a five interface router, I might set 12 values (two passive interfaces)
and use 39 defaults,.  There will be times when I set many of those
defaults to explicit values, timers being the least likely. (And yes, I may
configure
summarisation, ACLs etc but they tend to be downloaded from a central
source).

So defaults as I understand them really are useful and widespread, for me,
not at all rare.

Tom Petch

> The with-defaults capability does not provide the primitive needed to
> analyze what a box is doing. This is why I am in favour of a primitive
> that returns the operational state (and that allows me to relate it to
> configuration state).
>
> /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/>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod


From lhotka@cesnet.cz  Fri Sep 18 05:16:39 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 77E2C3A684C for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 05:16:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.169
X-Spam-Level: 
X-Spam-Status: No, score=-1.169 tagged_above=-999 required=5 tests=[AWL=0.081,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HEZMWgyyKNwg for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 05:16:38 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 386243A698E for <netmod@ietf.org>; Fri, 18 Sep 2009 05:16:38 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 8215CD800C8; Fri, 18 Sep 2009 14:17:29 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <00ef01ca384b$cea4f420$0601a8c0@allison>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com><20090915192244.GA4061@elstar.local> <4AAFF16C.1070806@netconfcentral.com><20090915201603.GA4194@elstar.local> <4AAFFEA8.6040203@netconfcentral.com> <20090915213410.GA4334@elstar.local> <00ef01ca384b$cea4f420$0601a8c0@allison>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Fri, 18 Sep 2009 14:17:28 +0200
Message-Id: <1253276248.31750.51.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 12:16:39 -0000

tom.petch píše v Pá 18. 09. 2009 v 12:25 +0200:
> ----- Original Message -----
> From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
> Sent: Tuesday, September 15, 2009 11:34 PM
> 
> 
> > On Tue, Sep 15, 2009 at 10:52:56PM +0200, Andy Bierman wrote:
> >
> > > I don't understand your concerns wrt/ with-defaults.
> > > A default is the YANG default-stmt value, and <get>
> > > will access running config exactly the same as a <get-config>,
> > > for source=running.
> >
> > To me, the default-stmt only covers rare corner cases - those where a
> > static constant exists. All other cases will either be dealt with in
> > description clauses are they are implementation specific. The argument
> > that with-defaults gets me the data I need to understand the behaviour
> > of a box is for me not at all convincing - and in particular if
> > default equates to YANG's default-stmt. To understand what a box
> > really does, I need a mechanism to retrieve its operational state.
> 
> Juergen
> 
> I think of defaults as being more widely used.

This is true, but our discussion is only about the defaults that can
reasonably be set in the data model. In your OSPF example, this would
most likely be the case of the OSPF area 0.0.0.0, but probably not of
things like timers, because this would lead the vendors in the desire
for differentiation to make deviations or even proprietary data models
for essentially the same thing, which is BAD.

IMO, small devices with a handful of config parameters could simply
forget about defaults and always send everything. On the other hand, big
boxes with zillions of parameters will have many more vendor-specific
defaults than those set in the generic data models and the clients will
anyway have to use other mechanisms to learn about the former.

So, it seems to me that the benefit of the 'default' statement in YANG
will not be all that big and certainly not worth the bandwidth spent on
it in this mailing list.

Lada

> 
> If I configure OSPF on a router, as I have done many times, then:
> 
> Globally,
> OSPF set on
> Router ID set (cannot default)
> Area (default to 0.0.0.0)
> Area type (default)
> Database timers (default to 1800s, 3600s)
> and per interface
> OSPF set on
> Active (default in most instances, sometimes set passive)
> Interface type (default, derived from link type)
> Area (default 0.0.0.0)
> Hello, dead, delay, rexmit timers  (default, derive from link type)
> Authentication set (for active interfaces)
> 
> so on a five interface router, I might set 12 values (two passive interfaces)
> and use 39 defaults,.  There will be times when I set many of those
> defaults to explicit values, timers being the least likely. (And yes, I may
> configure
> summarisation, ACLs etc but they tend to be downloaded from a central
> source).
> 
> So defaults as I understand them really are useful and widespread, for me,
> not at all rare.
> 
> Tom Petch
> 
> > The with-defaults capability does not provide the primitive needed to
> > analyze what a box is doing. This is why I am in favour of a primitive
> > that returns the operational state (and that allows me to relate it to
> > configuration state).
> >
> > /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/>
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From j.schoenwaelder@jacobs-university.de  Fri Sep 18 06:24:15 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0E7C83A69F2 for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 06:24:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.835
X-Spam-Level: 
X-Spam-Status: No, score=-1.835 tagged_above=-999 required=5 tests=[AWL=-0.186, BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id orJAaCxCEu6e for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 06:24:14 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id C127C3A6820 for <netmod@ietf.org>; Fri, 18 Sep 2009 06:24:13 -0700 (PDT)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 93FE9C002E; Fri, 18 Sep 2009 15:24:40 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id uRBinn2gAe6r; Fri, 18 Sep 2009 15:24:39 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 1218AC0019; Fri, 18 Sep 2009 15:24:39 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 014E6CF22DB; Fri, 18 Sep 2009 15:24:37 +0200 (CEST)
Date: Fri, 18 Sep 2009 15:24:37 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "tom.petch" <cfinss@dial.pipex.com>
Message-ID: <20090918132437.GA6114@elstar.local>
Mail-Followup-To: "tom.petch" <cfinss@dial.pipex.com>, Andy Bierman <andy@netconfcentral.com>, NETMOD Working Group <netmod@ietf.org>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com> <20090915192244.GA4061@elstar.local> <4AAFF16C.1070806@netconfcentral.com> <20090915201603.GA4194@elstar.local> <4AAFFEA8.6040203@netconfcentral.com> <20090915213410.GA4334@elstar.local> <00ef01ca384b$cea4f420$0601a8c0@allison>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <00ef01ca384b$cea4f420$0601a8c0@allison>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 13:24:15 -0000

On Fri, Sep 18, 2009 at 12:25:24PM +0200, tom.petch wrote:

> If I configure OSPF on a router, as I have done many times, then:
> 
> Globally,
> OSPF set on
> Router ID set (cannot default)
> Area (default to 0.0.0.0)
> Area type (default)
> Database timers (default to 1800s, 3600s)
> and per interface
> OSPF set on
> Active (default in most instances, sometimes set passive)
> Interface type (default, derived from link type)
> Area (default 0.0.0.0)
> Hello, dead, delay, rexmit timers  (default, derive from link type)
> Authentication set (for active interfaces)
> 
> so on a five interface router, I might set 12 values (two passive interfaces)
> and use 39 defaults,.  There will be times when I set many of those
> defaults to explicit values, timers being the least likely. (And yes, I may
> configure
> summarisation, ACLs etc but they tend to be downloaded from a central
> source).
> 
> So defaults as I understand them really are useful and widespread, for me,
> not at all rare.

Only a very small subset of these qualify as YANG data model defaults
and most of the parameters are operational state (some of them derived
algorithmically) you are most of the time happy with.

/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/>

From cfinss@dial.pipex.com  Fri Sep 18 09:21:52 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C84A128C1F7 for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 09:21:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.261
X-Spam-Level: 
X-Spam-Status: No, score=-2.261 tagged_above=-999 required=5 tests=[AWL=0.338,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uHZ1-Ev+ckE6 for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 09:21:51 -0700 (PDT)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by core3.amsl.com (Postfix) with ESMTP id 9449228C19D for <netmod@ietf.org>; Fri, 18 Sep 2009 09:21:51 -0700 (PDT)
X-Trace: 139781985/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.100.50/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.100.50
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Au4EAKtKs0o+vGQy/2dsb2JhbACDJUuNK65RCY9qAgeCP4FUBQ
X-IronPort-AV: E=Sophos;i="4.44,410,1249254000"; d="scan'208";a="139781985"
X-IP-Direction: IN
Received: from 1cust50.tnt1.lnd9.gbr.da.uu.net (HELO allison) ([62.188.100.50]) by smtp.pipex.tiscali.co.uk with SMTP; 18 Sep 2009 17:22:43 +0100
Message-ID: <027d01ca3873$a190db20$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
References: <200909141836.n8EIas9g097201@idle.juniper.net> <031b01ca35f1$d9474ec0$0601a8c0@allison> <20090915130257.GC3479@elstar.local>
Date: Fri, 18 Sep 2009 17:20:44 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 16:21:52 -0000

From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
Sent: Tuesday, September 15, 2009 3:02 PM

> The discussion around defaults is in my opinion a symptom of
> fundamental disagreement what configuration really is. But this has
> been stated before. What we really need is now a plan how to resolve
> this disagreement.

Juergen 

We could find out what we do agree on and what we disagree on.  
Things I thought clear turn out not to be and I am unclear how
much we disagree on - not you and me personally but the everyone
involved - and how much we agree on.  I suspect that at present
I am thinking that we disagree on more than we do.

And I think terminology is vital; Martin just referred to a 'missing leaf' 
err, missing from what?  No doubt obvious to some but increasing
the uncertainty for others (me:-). 

And Phil just suggested that 'data node ' is in the data tree
to which Lada and I objected; others have stayed silent.  My 
uncertainty just went up a notch. (I did check that the current
definition has been there since we started, nearly two years ago,
and yes it has, unchanged).  

For what we disagree on, then we define alternatives and, assuming that
we continue to disagree, let the 'marketplace' decide.  We provide 
alternatives - specify these options in YANG and you will never
be able to retrieve this value:-) - and then it is up to those who 
write the models, not us, as to which they choose.  We just have
to make sure that the consequences are spelt out more clearly
than when the Last Call started all those months ago.  SO much seems
to have changed in meaning since then.

Tom Petch
 
> /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/>

From randy_presuhn@mindspring.com  Fri Sep 18 10:23:51 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2C30D3A6452 for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 10:23:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level: 
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[BAYES_50=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6DZQ3XXLE9Bz for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 10:23:50 -0700 (PDT)
Received: from elasmtp-masked.atl.sa.earthlink.net (elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]) by core3.amsl.com (Postfix) with ESMTP id 67F8C3A693F for <netmod@ietf.org>; Fri, 18 Sep 2009 10:23:50 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=o68zNwA82SI88MfWAQcge5ONEPhlFGJoWeEF1lZps7wNKgr2fNUuHvmT7c39W9CE; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.38.144.113] (helo=oemcomputer) by elasmtp-masked.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1MohCM-0004Zx-Ng for netmod@ietf.org; Fri, 18 Sep 2009 13:24:42 -0400
Message-ID: <002901ca3884$f7170540$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: "NETMOD Working Group" <netmod@ietf.org>
References: <200909151357.n8FDvrVL009717@idle.juniper.net><4AAFE3BC.3070301@netconfcentral.com><20090915192244.GA4061@elstar.local><4AAFF16C.1070806@netconfcentral.com><20090915201603.GA4194@elstar.local><4AAFFEA8.6040203@netconfcentral.com><20090915213410.GA4334@elstar.local> <00ef01ca384b$cea4f420$0601a8c0@allison>
Date: Fri, 18 Sep 2009 10:25:05 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f9f93517150f853d9b34207914bc2bafd1350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.38.144.113
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 17:23:51 -0000

Hi -

> From: "tom.petch" <cfinss@dial.pipex.com>
> To: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>; "Andy Bierman" <andy@netconfcentral.com>
> Cc: "NETMOD Working Group" <netmod@ietf.org>
> Sent: Friday, September 18, 2009 3:25 AM
> Subject: Re: [netmod] capabilities related edits
...
> So defaults as I understand them really are useful and widespread, for me,
> not at all rare.
...

But here's the real question: to what extent are these
defaults determined by the "standard" data model, and to what
extent are those defaults determined by vendor-specific "refinements"
of the "standard" model?

Randy


From cfinss@dial.pipex.com  Fri Sep 18 11:05:47 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 996D43A6860 for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 11:05:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.966
X-Spam-Level: 
X-Spam-Status: No, score=-1.966 tagged_above=-999 required=5 tests=[AWL=0.033,  BAYES_00=-2.599, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U3FFDdu6SuAY for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 11:05:46 -0700 (PDT)
Received: from mk-outboundfilter-5.mail.uk.tiscali.com (mk-outboundfilter-5.mail.uk.tiscali.com [212.74.114.1]) by core3.amsl.com (Postfix) with ESMTP id 6B41B3A6ADA for <netmod@ietf.org>; Fri, 18 Sep 2009 11:05:46 -0700 (PDT)
X-Trace: 196121272/mk-outboundfilter-5.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.187/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.187
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArUEAOZos0o+vGm7/2dsb2JhbACDJo12rlYJj2YCB4I+gVQF
X-IronPort-AV: E=Sophos;i="4.44,410,1249254000"; d="scan'208";a="196121272"
X-IP-Direction: IN
Received: from 1cust187.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.187]) by smtp.pipex.tiscali.co.uk with SMTP; 18 Sep 2009 19:06:21 +0100
Message-ID: <003b01ca3882$24d31e40$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com> <20090915192244.GA4061@elstar.local> <4AAFF16C.1070806@netconfcentral.com> <20090915201603.GA4194@elstar.local> <4AAFFEA8.6040203@netconfcentral.com> <20090915213410.GA4334@elstar.local> <00ef01ca384b$cea4f420$0601a8c0@allison> <20090918132437.GA6114@elstar.local>
Date: Fri, 18 Sep 2009 19:01:30 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 18:05:47 -0000

----- Original Message -----
From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
Sent: Friday, September 18, 2009 3:24 PM

> On Fri, Sep 18, 2009 at 12:25:24PM +0200, tom.petch wrote:
>
> > If I configure OSPF on a router, as I have done many times, then:
> >
> > Globally,
> > OSPF set on
> > Router ID set (cannot default)
> > Area (default to 0.0.0.0)
> > Area type (default)
> > Database timers (default to 1800s, 3600s)
> > and per interface
> > OSPF set on
> > Active (default in most instances, sometimes set passive)
> > Interface type (default, derived from link type)
> > Area (default 0.0.0.0)
> > Hello, dead, delay, rexmit timers  (default, derive from link type)
> > Authentication set (for active interfaces)
> >
> > so on a five interface router, I might set 12 values (two passive
interfaces)
> > and use 39 defaults,.  There will be times when I set many of those
> > defaults to explicit values, timers being the least likely. (And yes, I may
> > configure
> > summarisation, ACLs etc but they tend to be downloaded from a central
> > source).
> >
> > So defaults as I understand them really are useful and widespread, for me,
> > not at all rare.
>
> Only a very small subset of these qualify as YANG data model defaults
> and most of the parameters are operational state (some of them derived
> algorithmically) you are most of the time happy with.

Add another one to the list of things we <do> disagree about:-(

Incidentally, most of the items I describe as default - eg interface timers -
have default values in the OSPF MIB Module [RFC4750] ospfIfTable.
My take is then that anyone writing the YANG equivalent would want
to specify a YANG equivalent  - 'use this value as part of the configuration
when no client explicitly sets a value'.

And more items from that table would be in this category were SMI 
as powerful as YANG.

Tom Petch

> /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/>


From cfinss@dial.pipex.com  Fri Sep 18 11:06:12 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D0DEA28C231 for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 11:06:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.967
X-Spam-Level: 
X-Spam-Status: No, score=-1.967 tagged_above=-999 required=5 tests=[AWL=0.032,  BAYES_00=-2.599, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Va-IkTBPI9r1 for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 11:06:11 -0700 (PDT)
Received: from mk-outboundfilter-5.mail.uk.tiscali.com (mk-outboundfilter-5.mail.uk.tiscali.com [212.74.114.1]) by core3.amsl.com (Postfix) with ESMTP id 6DBDB28C233 for <netmod@ietf.org>; Fri, 18 Sep 2009 11:06:11 -0700 (PDT)
X-Trace: 196121337/mk-outboundfilter-5.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.187/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.187
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArUEAOZos0o+vGm7/2dsb2JhbACDJo12rlYJj2YCB4I+gVQF
X-IronPort-AV: E=Sophos;i="4.44,410,1249254000"; d="scan'208";a="196121337"
X-IP-Direction: IN
Received: from 1cust187.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.187]) by smtp.pipex.tiscali.co.uk with SMTP; 18 Sep 2009 19:06:45 +0100
Message-ID: <003c01ca3882$337cc7c0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Ladislav Lhotka" <lhotka@cesnet.cz>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com><20090915192244.GA4061@elstar.local> <4AAFF16C.1070806@netconfcentral.com><20090915201603.GA4194@elstar.local> <4AAFFEA8.6040203@netconfcentral.com> <20090915213410.GA4334@elstar.local> <00ef01ca384b$cea4f420$0601a8c0@allison> <1253276248.31750.51.camel@missotis>
Date: Fri, 18 Sep 2009 19:01:51 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 18:06:12 -0000

----- Original Message -----
From: "Ladislav Lhotka" <lhotka@cesnet.cz>
Sent: Friday, September 18, 2009 2:17 PM

> tom.petch píše v Pá 18. 09. 2009 v 12:25 +0200:
> > ----- Original Message -----
> > From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
> > Sent: Tuesday, September 15, 2009 11:34 PM
> >
> > > On Tue, Sep 15, 2009 at 10:52:56PM +0200, Andy Bierman wrote:
> > >
> > > > I don't understand your concerns wrt/ with-defaults.
> > > > A default is the YANG default-stmt value, and <get>
> > > > will access running config exactly the same as a <get-config>,
> > > > for source=running.
> > >
> > > To me, the default-stmt only covers rare corner cases - those where a
> > > static constant exists. All other cases will either be dealt with in
> > > description clauses are they are implementation specific. The argument
> > > that with-defaults gets me the data I need to understand the behaviour
> > > of a box is for me not at all convincing - and in particular if
> > > default equates to YANG's default-stmt. To understand what a box
> > > really does, I need a mechanism to retrieve its operational state.
> >
> > Juergen
> >
> > I think of defaults as being more widely used.
>
> This is true, but our discussion is only about the defaults that can
> reasonably be set in the data model. In your OSPF example, this would
> most likely be the case of the OSPF area 0.0.0.0, but probably not of
> things like timers, because this would lead the vendors in the desire
> for differentiation to make deviations or even proprietary data models
> for essentially the same thing, which is BAD.

Lada,

Well, as I said to Juergen, most of the items I describe as default - eg
interface timers - have default values in the OSPF MIB Module [RFC4750]
ospfIfTable.
My take is then that anyone writing the YANG equivalent would want
to specify a YANG equivalent  - use this value as part of the configuration
when no client explicitly sets a value.

And more items would be in this category were SMI as powerful as
YANG

Tom Petch

> IMO, small devices with a handful of config parameters could simply
> forget about defaults and always send everything. On the other hand, big
> boxes with zillions of parameters will have many more vendor-specific
> defaults than those set in the generic data models and the clients will
> anyway have to use other mechanisms to learn about the former.
>
> So, it seems to me that the benefit of the 'default' statement in YANG
> will not be all that big and certainly not worth the bandwidth spent on
> it in this mailing list.
>
> Lada
>
> >
> > If I configure OSPF on a router, as I have done many times, then:
> >
> > Globally,
> > OSPF set on
> > Router ID set (cannot default)
> > Area (default to 0.0.0.0)
> > Area type (default)
> > Database timers (default to 1800s, 3600s)
> > and per interface
> > OSPF set on
> > Active (default in most instances, sometimes set passive)
> > Interface type (default, derived from link type)
> > Area (default 0.0.0.0)
> > Hello, dead, delay, rexmit timers  (default, derive from link type)
> > Authentication set (for active interfaces)
> >
> > so on a five interface router, I might set 12 values (two passive
interfaces)
> > and use 39 defaults,.  There will be times when I set many of those
> > defaults to explicit values, timers being the least likely. (And yes, I may
> > configure
> > summarisation, ACLs etc but they tend to be downloaded from a central
> > source).
> >
> > So defaults as I understand them really are useful and widespread, for me,
> > not at all rare.
> >
> > Tom Petch
> >
> > > The with-defaults capability does not provide the primitive needed to
> > > analyze what a box is doing. This is why I am in favour of a primitive
> > > that returns the operational state (and that allows me to relate it to
> > > configuration state).
> > >
> > > /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/>
> > > _______________________________________________
> > > netmod mailing list
> > > netmod@ietf.org
> > > https://www.ietf.org/mailman/listinfo/netmod
> >
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> --
> Ladislav Lhotka, CESNET
> PGP Key ID: E74E8C0C
>


From andy@netconfcentral.com  Fri Sep 18 11:42:30 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4771F3A67E3 for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 11:42:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.347
X-Spam-Level: 
X-Spam-Status: No, score=-0.347 tagged_above=-999 required=5 tests=[AWL=0.762,  BAYES_05=-1.11, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0l2LD8Q13Dpx for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 11:42:29 -0700 (PDT)
Received: from n13b.bullet.mail.mud.yahoo.com (n13b.bullet.mail.mud.yahoo.com [68.142.207.222]) by core3.amsl.com (Postfix) with SMTP id 44EDE3A6864 for <netmod@ietf.org>; Fri, 18 Sep 2009 11:42:29 -0700 (PDT)
Received: from [68.142.200.221] by n13.bullet.mail.mud.yahoo.com with NNFMP; 18 Sep 2009 18:43:22 -0000
Received: from [68.142.201.252] by t9.bullet.mud.yahoo.com with NNFMP; 18 Sep 2009 18:43:22 -0000
Received: from [127.0.0.1] by omp413.mail.mud.yahoo.com with NNFMP; 18 Sep 2009 18:43:22 -0000
X-Yahoo-Newman-Id: 320793.8473.bm@omp413.mail.mud.yahoo.com
Received: (qmail 40630 invoked from network); 18 Sep 2009 18:43:21 -0000
Received: from adsl-67-126-128-122.dsl.irvnca.pacbell.net (andy@67.126.128.122 with plain) by smtp107.sbc.mail.sp1.yahoo.com with SMTP; 18 Sep 2009 11:43:21 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: 8i6odskVM1m1VEwczhJ7GCx0g6OpvI4qxANvnMkY9Qz7_bXlbh9rxiVjG5JO5eEDzW94QFKq5sh31Oxw8qojrn9xXfddqCmpfKiIlQgtXOxhqyL66XZ617ils3QVL74KOB8OkIhBFBYlxOTbzmQkPaWQFlpAXZg1_Na3WIQAKYpYU1vuqLiXdDNouWj7uX1IjgyDpRbw.U03Rcw-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB3D4CC.6020507@netconfcentral.com>
Date: Fri, 18 Sep 2009 11:43:24 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AB0E64E.1080603@netconfcentral.com> <20090916.224352.230817887.mbj@tail-f.com>
In-Reply-To: <20090916.224352.230817887.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 18:42:30 -0000

Martin Bjorklund wrote:
 ...
> I hate to say it, but this seems to be a garbage-in corner case.  Why
> would you have a config leafreaf to a leaf w/ a default value?
> Remember the original keyref did not have this corner case.
> 

I disagree.

I think it is bad if leafs and subtrees disappear from
the data node tree for retrieval and leafref/i-i
validation, but NOT for XPath validation (must/when),
and NOT for min/max/unique validation.

Consider an i-i that is pointing at a leaf,
or a leafref containing the value of that leaf,
for years in a config file -- then a YANG default
is added, and suddenly, in the new version,
the running config is invalid and the server shuts down,
just because the leafref happens to contain a value
that is now the default, and the i-i is pointing at 'nothing'.
I do not understand why this is a feature.

Since a server can just patch in any default they want
with a deviation, a client can *never* safely set a
leafref or i-i to any value, based on the
defaults specified in the YANG data model(s) .


> And why would you specify a config instance-identifier with
> require-instance which points to a np-container?  I suspect that most
> usages of instance-identifier in config will restrict the valid
> instances (in description clause for now).
> 
> 
>> IMO, the config+defaults definition of a database is
>> a horrible design decision, but if it is the WG consensus,
>> then at least clean up the definitions in 9.9 and 9.13.
>>
>> How about some text in the intro explaining *why* a
>> leaf that happens to contain the default value exists
>> for every aspect of protocol operations except retrieval?
> 
> It's not that it happens to contain the default - a leaf that is set
> to its default value exists in the config.
> 
> And they are taken into account in two cases - must and when
> expressions.  It would be very confusing if a must expression was true
> when the default value was in effect, but false if the leaf was
> explicitly set to the same value (or the other way around).
> 

IMO, what the draft has now wrt/ defaults and deviations is not usable.
It is a 1-legged stool.

As a data modeler, I ask myself:
"Can I write a YANG data model using any valid
YANG expression, and it will behave the same way
on every compliant NETCONF server implementation?"  No.
For some valid YANG, it is OK for a server
not to accept it or do different things (e.g., mandatory,
default, module revisions, import-by-revision).

As an application developer I ask myself:
"Can I code to the YANG data model instead of
a data silo of platform-specific data?"  No.
Deviations and possibly incomplete meta-data prevent that.


> 
> /martin
> 

Andy



From lhotka@cesnet.cz  Fri Sep 18 11:55:04 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B50703A63EB for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 11:55:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.17
X-Spam-Level: 
X-Spam-Status: No, score=-1.17 tagged_above=-999 required=5 tests=[AWL=0.080,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fIOjVY0LPcci for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 11:55:03 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 99E283A67B7 for <netmod@ietf.org>; Fri, 18 Sep 2009 11:55:03 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id DFD9DD80096; Fri, 18 Sep 2009 20:55:57 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <003c01ca3882$337cc7c0$0601a8c0@allison>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com><20090915192244.GA4061@elstar.local> <4AAFF16C.1070806@netconfcentral.com><20090915201603.GA4194@elstar.local> <4AAFFEA8.6040203@netconfcentral.com> <20090915213410.GA4334@elstar.local> <00ef01ca384b$cea4f420$0601a8c0@allison> <1253276248.31750.51.camel@missotis> <003c01ca3882$337cc7c0$0601a8c0@allison>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Fri, 18 Sep 2009 20:55:56 +0200
Message-Id: <1253300156.13285.2.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 18:55:04 -0000

tom.petch píše v Pá 18. 09. 2009 v 19:01 +0200:
> 
> Well, as I said to Juergen, most of the items I describe as default - eg
> interface timers - have default values in the OSPF MIB Module [RFC4750]
> ospfIfTable.

But these values are not mandatory, right? In YANG, they are now
supposed to be mandatory, although we don't agree on what it exactly
means.

Lada


> My take is then that anyone writing the YANG equivalent would want
> to specify a YANG equivalent  - use this value as part of the configuration
> when no client explicitly sets a value.
> 
> And more items would be in this category were SMI as powerful as
> YANG
> 
> Tom Petch
> 
> > IMO, small devices with a handful of config parameters could simply
> > forget about defaults and always send everything. On the other hand, big
> > boxes with zillions of parameters will have many more vendor-specific
> > defaults than those set in the generic data models and the clients will
> > anyway have to use other mechanisms to learn about the former.
> >
> > So, it seems to me that the benefit of the 'default' statement in YANG
> > will not be all that big and certainly not worth the bandwidth spent on
> > it in this mailing list.
> >
> > Lada
> >
> > >
> > > If I configure OSPF on a router, as I have done many times, then:
> > >
> > > Globally,
> > > OSPF set on
> > > Router ID set (cannot default)
> > > Area (default to 0.0.0.0)
> > > Area type (default)
> > > Database timers (default to 1800s, 3600s)
> > > and per interface
> > > OSPF set on
> > > Active (default in most instances, sometimes set passive)
> > > Interface type (default, derived from link type)
> > > Area (default 0.0.0.0)
> > > Hello, dead, delay, rexmit timers  (default, derive from link type)
> > > Authentication set (for active interfaces)
> > >
> > > so on a five interface router, I might set 12 values (two passive
> interfaces)
> > > and use 39 defaults,.  There will be times when I set many of those
> > > defaults to explicit values, timers being the least likely. (And yes, I may
> > > configure
> > > summarisation, ACLs etc but they tend to be downloaded from a central
> > > source).
> > >
> > > So defaults as I understand them really are useful and widespread, for me,
> > > not at all rare.
> > >
> > > Tom Petch
> > >
> > > > The with-defaults capability does not provide the primitive needed to
> > > > analyze what a box is doing. This is why I am in favour of a primitive
> > > > that returns the operational state (and that allows me to relate it to
> > > > configuration state).
> > > >
> > > > /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/>
> > > > _______________________________________________
> > > > netmod mailing list
> > > > netmod@ietf.org
> > > > https://www.ietf.org/mailman/listinfo/netmod
> > >
> > > _______________________________________________
> > > netmod mailing list
> > > netmod@ietf.org
> > > https://www.ietf.org/mailman/listinfo/netmod
> > --
> > Ladislav Lhotka, CESNET
> > PGP Key ID: E74E8C0C
> >
> 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From andy@netconfcentral.com  Fri Sep 18 13:38:06 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4E27D3A680A for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 13:38:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.931
X-Spam-Level: 
X-Spam-Status: No, score=-1.931 tagged_above=-999 required=5 tests=[AWL=0.668,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 79JRuDJukRbH for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 13:38:05 -0700 (PDT)
Received: from smtp102.sbc.mail.mud.yahoo.com (smtp102.sbc.mail.mud.yahoo.com [68.142.198.201]) by core3.amsl.com (Postfix) with SMTP id 70C983A6966 for <netmod@ietf.org>; Fri, 18 Sep 2009 13:38:05 -0700 (PDT)
Received: (qmail 69256 invoked from network); 18 Sep 2009 20:38:58 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.128.122 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 18 Sep 2009 20:38:58 -0000
X-YMail-OSG: HWtD9U8VM1m0LAVu8y2nHKzsDa6EeZVDqFgv0H5sbI9lU7O26Nn3rybfjnQgMQHK9f_EpISOpcymxIqj9sy6FquTJWTnDjOm_2p.IrDnuIXXwOkaJXnz9.8tNPGFgrM4kJ0uh7GXPc8rffvEvRxpkUx8o25KllQsNczhykk.4K9mHDoV2kvMLaDWqUgWle.mKasCMa1LpfjWglg7MJAjctVGUA--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB3EF6C.2080203@netconfcentral.com>
Date: Fri, 18 Sep 2009 13:37:00 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 18 Sep 2009 20:38:06 -0000

Hi,

7.6.5.  XML Mapping Rules

   A leaf node is encoded as an XML element.  The element's name is the
   leaf's identifier, and its XML namespace is the module's XML
   namespace.

   The value of the leaf node is encoded to XML according to the type,
   and sent as character data in the element.

   A NETCONF server that replies to a <get> or <get-config> request MAY
   choose not to send the leaf element if its value is the default
   value.



According to this normative text in 7.6.5, it is clear that
a server MAY choose to create node tree values for YANG default
leafs.

This is the rationale for explicit-mode according to Phil.
A server MAY choose to create leafs with the default value,
so the validation rules for leafref and i-i may or may not work,
depending on whether the server chooses to instantiate
particular nodes, even if they have the default value.

I do not understand why it is important that a default node NOT
exist in the database.  The spec already says the server can
do whatever it wants wrt/ returning leafs to the client.

The validation model is broken because some validation
is done with defaults, and some is not, and every server
gets to choose on their own what an 'instance' means.


Andy

From andy@netconfcentral.com  Fri Sep 18 22:00:52 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 03FB63A69B4 for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 22:00:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.765
X-Spam-Level: 
X-Spam-Status: No, score=-1.765 tagged_above=-999 required=5 tests=[AWL=0.234,  BAYES_00=-2.599, J_CHICKENPOX_65=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uxllhLlOhtY8 for <netmod@core3.amsl.com>; Fri, 18 Sep 2009 22:00:51 -0700 (PDT)
Received: from smtp102.sbc.mail.mud.yahoo.com (smtp102.sbc.mail.mud.yahoo.com [68.142.198.201]) by core3.amsl.com (Postfix) with SMTP id EDCB13A699C for <netmod@ietf.org>; Fri, 18 Sep 2009 22:00:50 -0700 (PDT)
Received: (qmail 54359 invoked from network); 19 Sep 2009 05:01:44 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.128.122 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 19 Sep 2009 05:01:43 -0000
X-YMail-OSG: QXLlNW0VM1nLyelFlyxWNFtpMzv3ypjPatU7j7UmwxnqAEjJD92Ibd_fzQYXlbOGtupF2ytRqdeGK6wAwJ2KicZxWOhiDuTfePsqDLhPazaNnSWg2WJ5xFc5c1Spcweqlpig8tTl8NBcmrRS6IwbeyDW5v_ID81W1JrUB6JknJKxYPnRs3fAfbqFXcK8UkogZapX.bV4z4TOI39D7SIheQsp_8KTUZH9XfSPK4hJFrmWidpDRjMaAn8JgGh7WmwG6qLEyV5vh3AFHEbQAax8HcsGkvStoh7bVkWCGTPqcMRj2p5ykSQLIiDv0h.r86zqcFSv2AYvnD2y8A--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB465BD.5010008@netconfcentral.com>
Date: Fri, 18 Sep 2009 22:01:49 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AB1074D.6090305@netconfcentral.com> <20090916.231936.172079768.mbj@tail-f.com>
In-Reply-To: <20090916.231936.172079768.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] why is default a config-only property?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Sep 2009 05:00:52 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Hi,
>>
>> I never got an answer to my example about the operStatus leaf
>>
>>   leaf operStatus {
>>      config false;
>>      type enumeration {
>>        enum normal;
>>        enum bad;
>>        enum realbad;
>>        enum etc;
>>      }
>>      default normal;
>>   }
>>
>>   leaf error-counter {
>>     config false;
>>     type yang:zero-based-counter32;
>>     default 0;
>>   }
>>
>>
>> The concept of filtering out the default value because
>> the values of interest are never the default certainly
>> applies to config=false leafs.
>>
>> I am curious why YANG ignores this aspect of the default property.
> 
> Where does it say that default does not apply to config false nodes?
> 

It doesn't.
There has been some discussion on the list that
default did not apply if config=false.
There is text in the with-defaults draft
that for state data, the default has no affect (report-all).

I agree this text in with-defaults is wrong,
and the yang-07 text is correct wrt/ default
applying to any leaf.  There is text in 7.13.3 and 7.14
that says default applies to rpc output and notification
content, which is no different than state data available
to <get>.

> 
> /martin
> 

Andy

From andy@netconfcentral.com  Sat Sep 19 01:56:14 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6B4AE3A6828 for <netmod@core3.amsl.com>; Sat, 19 Sep 2009 01:56:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level: 
X-Spam-Status: No, score=-2.104 tagged_above=-999 required=5 tests=[AWL=0.495,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y4mEQrK46uLf for <netmod@core3.amsl.com>; Sat, 19 Sep 2009 01:56:13 -0700 (PDT)
Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by core3.amsl.com (Postfix) with SMTP id A26B43A67A6 for <netmod@ietf.org>; Sat, 19 Sep 2009 01:56:13 -0700 (PDT)
Received: (qmail 17114 invoked from network); 19 Sep 2009 08:57:08 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.128.122 with plain) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 19 Sep 2009 08:57:08 -0000
X-YMail-OSG: 2vdla5cVM1mqmvC2JtwssGBaXOo3migITrlnH6yjYWeRjuZUu96IvJk9Mc_DZAggXFskXQjsPa6r64Cir6gSJwrDiMK6UMx0QYXeNIzHLw2IS_S77vRx1IVx00UmaH2DkrzPEtOOkjBBgXgWvS7TBR76cUH4fAzYT.v7yggjaaCz.UDvs1o9t7fs7gvmCCN1W2ehWohjTGuJkf3o5cS33GaZZBxD1MNz_QCvHIF2aMNZFy_L2EvBS3QA_GHsVP1UZqrNkzHvWokcGcrs
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB49CEA.1040100@netconfcentral.com>
Date: Sat, 19 Sep 2009 01:57:14 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] default guidelines
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Sep 2009 08:56:14 -0000

Hi,

I am trying to formulate text on defaults for the YANG
Usage Guidelines, and it is difficult, since the definition
is not really agreed upon.  I plan to add these 2 sub-sections:

  - A default in a grouping MAY be over-ridden so the rules
    in sec. 10 (a default can just be added once) do not
    apply to groupings.

    Use case (hoping for something better than this):

       grouping Timer {
          leaf timer {
             type uint32;
             units seconds;
             default 60;
          }
       }

       uses Timer {
         refine timer {
            default 10;
         }
       }


  - Since defaults are very unpredictable, and can be overridden
    by the server with deviations, or cab be undetectable because of
    incomplete module capability information, a data modeler MAY prevent
    this behavior by using a leaf-list with max-elements = 1,
    instead of a leaf:

    leaf-list timer {
       type uint32;
       units seconds;
       max-elements 1;
    }

    Because the default-stmt has no effect on a leaf-list, this
    construct can never be modified by deviations,
    or omitted by any defaults-filtering scheme.



Andy




From phil@juniper.net  Sat Sep 19 07:23:38 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AE1093A6805 for <netmod@core3.amsl.com>; Sat, 19 Sep 2009 07:23:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.575
X-Spam-Level: 
X-Spam-Status: No, score=-6.575 tagged_above=-999 required=5 tests=[AWL=0.024,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VsZKdCPc9hj4 for <netmod@core3.amsl.com>; Sat, 19 Sep 2009 07:23:37 -0700 (PDT)
Received: from exprod7og126.obsmtp.com (exprod7og126.obsmtp.com [64.18.2.206]) by core3.amsl.com (Postfix) with ESMTP id 7B3833A68B7 for <netmod@ietf.org>; Sat, 19 Sep 2009 07:23:35 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob126.postini.com ([64.18.6.12]) with SMTP ID DSNKSrTpn+rqINhc9z1q8RxjtFNK4CygakGn@postini.com; Sat, 19 Sep 2009 07:24:33 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Sat, 19 Sep 2009 07:22:01 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Sat, 19 Sep 2009 07:22:01 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Sat, 19 Sep 2009 07:22:00 -0700
Received: from merlot.juniper.net ([172.17.27.10]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Sat, 19 Sep 2009 07:22:00 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by merlot.juniper.net (8.11.3/8.11.3) with ESMTP id n8JEM0094275; Sat, 19 Sep 2009 07:22:00 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8JE9bvK034311; Sat, 19 Sep 2009 14:09:37 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909191409.n8JE9bvK034311@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AB3EF6C.2080203@netconfcentral.com> 
Date: Sat, 19 Sep 2009 10:09:37 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 19 Sep 2009 14:22:00.0505 (UTC) FILETIME=[8D4AC290:01CA3934]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Sep 2009 14:23:38 -0000

Andy Bierman writes:
>According to this normative text in 7.6.5, it is clear that
>a server MAY choose to create node tree values for YANG default
>leafs.

Yes, this was done for two scenarios:
(a) the value was explicitly set to the a value which is the default
(b) the server is auto-populating the config database with
    default values even when they are not being explicitly set

>This is the rationale for explicit-mode according to Phil.

(a) is me ("explicit"), (b) is you ("report-all").  The spec gives
the flexibility to work both ways or the "trim" way.

>I do not understand why it is important that a default node NOT
>exist in the database.  The spec already says the server can
>do whatever it wants wrt/ returning leafs to the client.

This is old ground.  Are you really not understanding or are you
just upset that it doesn't force everyone to work the way you want?

Thanks,
 Phil

From andy@netconfcentral.com  Sat Sep 19 09:11:30 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4F14C3A69BC for <netmod@core3.amsl.com>; Sat, 19 Sep 2009 09:11:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.472
X-Spam-Level: 
X-Spam-Status: No, score=-1.472 tagged_above=-999 required=5 tests=[AWL=1.126,  BAYES_00=-2.599, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Wc2SbI0MAh1 for <netmod@core3.amsl.com>; Sat, 19 Sep 2009 09:11:29 -0700 (PDT)
Received: from n13b.bullet.mail.mud.yahoo.com (n13b.bullet.mail.mud.yahoo.com [68.142.207.222]) by core3.amsl.com (Postfix) with SMTP id 554CE3A6957 for <netmod@ietf.org>; Sat, 19 Sep 2009 09:11:29 -0700 (PDT)
Received: from [209.191.108.97] by n13.bullet.mail.mud.yahoo.com with NNFMP; 19 Sep 2009 16:12:24 -0000
Received: from [68.142.201.67] by t4.bullet.mud.yahoo.com with NNFMP; 19 Sep 2009 16:12:24 -0000
Received: from [127.0.0.1] by omp419.mail.mud.yahoo.com with NNFMP; 19 Sep 2009 16:12:24 -0000
X-Yahoo-Newman-Id: 573751.23006.bm@omp419.mail.mud.yahoo.com
Received: (qmail 44663 invoked from network); 19 Sep 2009 16:12:24 -0000
Received: from adsl-67-126-128-122.dsl.irvnca.pacbell.net (andy@67.126.128.122 with plain) by smtp108.sbc.mail.sp1.yahoo.com with SMTP; 19 Sep 2009 09:12:24 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: tF9x_ZAVM1lwCC6AHpWzAOplkO21LdWDOZpXkqHFS5nNrBuxMyWrDHMIugr8687ZwkTg8U23eDwJ_.e6kfkRP8uwkuJ8KAPXqXZkti7TrDnmqMvqeFTNEOhPWcp.DbaMfGb9sIY5X9w4lW28f_n025aEr1Nbz2rdOOqi3hJ2Iyp.CituYpyDPNLRB8NBddZzpqLxgqeiIXLvh8s-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB502F0.7090705@netconfcentral.com>
Date: Sat, 19 Sep 2009 09:12:32 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909191409.n8JE9bvK034311@idle.juniper.net>
In-Reply-To: <200909191409.n8JE9bvK034311@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Sep 2009 16:11:30 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> According to this normative text in 7.6.5, it is clear that
>> a server MAY choose to create node tree values for YANG default
>> leafs.
> 
> Yes, this was done for two scenarios:
> (a) the value was explicitly set to the a value which is the default
> (b) the server is auto-populating the config database with
>     default values even when they are not being explicitly set
> 


There is no mention of explicitly set anywhere in the
YANG draft.  Any node MAY be created by the
server -- even a default leaf.


>> This is the rationale for explicit-mode according to Phil.
> 
> (a) is me ("explicit"), (b) is you ("report-all").  The spec gives
> the flexibility to work both ways or the "trim" way.
> 
>> I do not understand why it is important that a default node NOT
>> exist in the database.  The spec already says the server can
>> do whatever it wants wrt/ returning leafs to the client.
> 
> This is old ground.  Are you really not understanding or are you
> just upset that it doesn't force everyone to work the way you want?
> 

It is not old ground.
The validation model is broken because leafref and i-i treat a
leaf with a default value as non-existent according to Martin.

But I think he is wrong, and the text lets me implement
this on the server any way I want.  If I want a node
with a default value to exist, that is OK for the server to
treat the default as a node.

The client and data modeler still have no idea what to
expect from any given leaf on any given server, but so what, right?


> Thanks,
>  Phil
> 

Andy


From andy@netconfcentral.com  Sat Sep 19 09:44:24 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4FDE63A696C for <netmod@core3.amsl.com>; Sat, 19 Sep 2009 09:44:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level: 
X-Spam-Status: No, score=-1.848 tagged_above=-999 required=5 tests=[AWL=0.750,  BAYES_00=-2.599, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BxwVgaCN1n0L for <netmod@core3.amsl.com>; Sat, 19 Sep 2009 09:44:23 -0700 (PDT)
Received: from n20.bullet.mail.mud.yahoo.com (n20.bullet.mail.mud.yahoo.com [68.142.206.147]) by core3.amsl.com (Postfix) with SMTP id 87F623A69F4 for <netmod@ietf.org>; Sat, 19 Sep 2009 09:44:23 -0700 (PDT)
Received: from [209.191.108.96] by n20.bullet.mail.mud.yahoo.com with NNFMP; 19 Sep 2009 16:45:18 -0000
Received: from [68.142.201.71] by t3.bullet.mud.yahoo.com with NNFMP; 19 Sep 2009 16:45:18 -0000
Received: from [127.0.0.1] by omp423.mail.mud.yahoo.com with NNFMP; 19 Sep 2009 16:45:18 -0000
X-Yahoo-Newman-Id: 809671.67241.bm@omp423.mail.mud.yahoo.com
Received: (qmail 56868 invoked from network); 19 Sep 2009 16:45:18 -0000
Received: from adsl-67-126-128-122.dsl.irvnca.pacbell.net (andy@67.126.128.122 with plain) by smtp103.sbc.mail.sp1.yahoo.com with SMTP; 19 Sep 2009 09:45:18 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: wiP3Fi4VM1kxZSHpO0Ntru4a1LIXMrdRuwDfC6dJIupn2.wkKCQx2rpO0Ua46Wez9LIH.243uYy0MVhM8icXZEfOm5INbJ1FR2lWsUKBRm8Mk6P.Wwih6aDvCGZg0Fv7KMQ45mluLu_PnhxTfVaoro9W.5XraR1fhflkHFRyGR1yNDYtWjb_9I134OhRvvhtERStdxluSGMrCsE-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB50A2E.3050800@netconfcentral.com>
Date: Sat, 19 Sep 2009 09:43:26 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200909191409.n8JE9bvK034311@idle.juniper.net>
In-Reply-To: <200909191409.n8JE9bvK034311@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Sep 2009 16:44:24 -0000

> This is old ground.  Are you really not understanding or are you
> just upset that it doesn't force everyone to work the way you want?
> 


If you would just address the new issues that I keep finding (not you),
or if the co-Chairs ever announced any thread conclusions, then this
process would not take so long.

It is fine with me if the co-Chairs want to record
a strong objection in the doc-write-up, and move on.
The APPs A-D may or may not care about these issues.


> Thanks,
>  Phil
> 

Andy


From cfinss@dial.pipex.com  Sat Sep 19 10:16:09 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 03AD73A6A2A for <netmod@core3.amsl.com>; Sat, 19 Sep 2009 10:16:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.967
X-Spam-Level: 
X-Spam-Status: No, score=-0.967 tagged_above=-999 required=5 tests=[AWL=-0.968, BAYES_50=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WESkwG2ryR5q for <netmod@core3.amsl.com>; Sat, 19 Sep 2009 10:16:08 -0700 (PDT)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by core3.amsl.com (Postfix) with ESMTP id BEB203A696C for <netmod@ietf.org>; Sat, 19 Sep 2009 10:16:07 -0700 (PDT)
X-Trace: 139962692/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.115/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.115
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap0EAO+utEo+vGlz/2dsb2JhbACDJSyNRLt0CYQSBQ
X-IronPort-AV: E=Sophos;i="4.44,416,1249254000"; d="scan'208";a="139962692"
X-IP-Direction: IN
Received: from 1cust115.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.115]) by smtp.pipex.tiscali.co.uk with SMTP; 19 Sep 2009 18:17:00 +0100
Message-ID: <000b01ca3944$611f96e0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Randy Presuhn" <randy_presuhn@mindspring.com>, "NETMOD Working Group" <netmod@ietf.org>
References: <200909151357.n8FDvrVL009717@idle.juniper.net><4AAFE3BC.3070301@netconfcentral.com><20090915192244.GA4061@elstar.local><4AAFF16C.1070806@netconfcentral.com><20090915201603.GA4194@elstar.local><4AAFFEA8.6040203@netconfcentral.com><20090915213410.GA4334@elstar.local><00ef01ca384b$cea4f420$0601a8c0@allison> <002901ca3884$f7170540$6801a8c0@oemcomputer>
Date: Sat, 19 Sep 2009 18:14:37 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Sep 2009 17:16:09 -0000

----- Original Message -----
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: "NETMOD Working Group" <netmod@ietf.org>
Sent: Friday, September 18, 2009 7:25 PM
>
> > From: "tom.petch" <cfinss@dial.pipex.com>
> > To: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>; "Andy
Bierman" <andy@netconfcentral.com>
> > Cc: "NETMOD Working Group" <netmod@ietf.org>
> > Sent: Friday, September 18, 2009 3:25 AM
> > Subject: Re: [netmod] capabilities related edits
> ...
> > So defaults as I understand them really are useful and widespread, for me,
> > not at all rare.
> ...
>
> But here's the real question: to what extent are these
> defaults determined by the "standard" data model, and to what
> extent are those defaults determined by vendor-specific "refinements"
> of the "standard" model?

Randy,

As you may see in my other answers, the authors of RFC4750 have
much the same ideas as me, even going further in places, suggesting
that the router ID could default, which I find a step too far.

Incidentally, I chose OSPF because it is a core and widespread
router function, and I see router configuration as a key part of any
effort such as this, and because it was one I could cite without
needing to look it up.  I was pleasantly surprised to find that
RFC4750 said much the same as me.

So very much the (SNMP) standard model.

Tom Petch



> Randy
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod


From phil@juniper.net  Sat Sep 19 11:50:31 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9BDEE3A6A74 for <netmod@core3.amsl.com>; Sat, 19 Sep 2009 11:50:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.575
X-Spam-Level: 
X-Spam-Status: No, score=-6.575 tagged_above=-999 required=5 tests=[AWL=0.024,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z3-Nn6Krq54V for <netmod@core3.amsl.com>; Sat, 19 Sep 2009 11:50:30 -0700 (PDT)
Received: from exprod7og107.obsmtp.com (exprod7og107.obsmtp.com [64.18.2.167]) by core3.amsl.com (Postfix) with ESMTP id 697AD3A6A66 for <netmod@ietf.org>; Sat, 19 Sep 2009 11:50:28 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob107.postini.com ([64.18.6.12]) with SMTP ID DSNKSrUoLN4Q+h+d41VR1LyhCxwS7dXNwTrn@postini.com; Sat, 19 Sep 2009 11:51:28 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Sat, 19 Sep 2009 11:47:30 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Sat, 19 Sep 2009 11:47:30 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Sat, 19 Sep 2009 11:47:29 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Sat, 19 Sep 2009 11:47:29 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8JIlSj49432; Sat, 19 Sep 2009 11:47:28 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8JIZ5OH035597; Sat, 19 Sep 2009 18:35:06 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909191835.n8JIZ5OH035597@idle.juniper.net>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <000b01ca3944$611f96e0$0601a8c0@allison> 
Date: Sat, 19 Sep 2009 14:35:05 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 19 Sep 2009 18:47:29.0594 (UTC) FILETIME=[A3C4D9A0:01CA3959]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Sep 2009 18:50:31 -0000

"tom.petch" writes:
>Incidentally, I chose OSPF because it is a core and widespread
>router function, and I see router configuration as a key part of any
>effort such as this, and because it was one I could cite without
>needing to look it up.  I was pleasantly surprised to find that
>RFC4750 said much the same as me.

So the question is whether the default values for the four per-interface
timers (in your example) are part of the configuration if the user
does not specify them but wants the default value?  Should these
default values appear in the configuration if the user has decided
not to set them, intending to get the default values?

SNMP lacks a distinct configuration model, so fetching these variables
will give you the current operational "in use" value.  I may be
reading between the lines in rfc3535, but I think this is part of
the "clear distinction" between data sources they are asking for.

The JUNOS view is that if you didn't give an instruction, that
instruction isn't part of the configuration.  This certainly is
what our users want.

Thanks,
 Phil

From mbj@tail-f.com  Mon Sep 21 01:15:24 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2E4CE3A6A32 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 01:15:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.94
X-Spam-Level: 
X-Spam-Status: No, score=-1.94 tagged_above=-999 required=5 tests=[AWL=0.106,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ez1JIOLeHIE6 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 01:15:23 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 57FB53A67B3 for <netmod@ietf.org>; Mon, 21 Sep 2009 01:15:23 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id E46E976C504; Mon, 21 Sep 2009 10:16:22 +0200 (CEST)
Date: Mon, 21 Sep 2009 10:16:22 +0200 (CEST)
Message-Id: <20090921.101622.06622480.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AB502F0.7090705@netconfcentral.com>
References: <200909191409.n8JE9bvK034311@idle.juniper.net> <4AB502F0.7090705@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 08:15:24 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Phil Shafer wrote:
> > Andy Bierman writes:
> >> According to this normative text in 7.6.5, it is clear that
> >> a server MAY choose to create node tree values for YANG default
> >> leafs.
> > 
> > Yes, this was done for two scenarios:
> > (a) the value was explicitly set to the a value which is the default
> > (b) the server is auto-populating the config database with
> >     default values even when they are not being explicitly set
> > 
> 
> 
> There is no mention of explicitly set anywhere in the
> YANG draft.  Any node MAY be created by the
> server -- even a default leaf.

I think we agreed that we should introduce a new statement
'system-assignable' (was: assigned-by system), which controls this.
With this statement, it should become clear that only nodes marked as
system-assignable true MAY be created by the server.  I have an action
point to provide some initial text for this, to be further discussed
on the ML of course.


/martin

From mbj@tail-f.com  Mon Sep 21 01:23:29 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4DEAB3A6907 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 01:23:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.013
X-Spam-Level: 
X-Spam-Status: No, score=-1.013 tagged_above=-999 required=5 tests=[AWL=-0.826, BAYES_20=-0.74, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DHyuZ35W6RXt for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 01:23:28 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 882A43A68AF for <netmod@ietf.org>; Mon, 21 Sep 2009 01:23:28 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id 1AD8E76C67E; Mon, 21 Sep 2009 10:24:29 +0200 (CEST)
Date: Mon, 21 Sep 2009 10:24:28 +0200 (CEST)
Message-Id: <20090921.102428.59888669.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AB3D4CC.6020507@netconfcentral.com>
References: <4AB0E64E.1080603@netconfcentral.com> <20090916.224352.230817887.mbj@tail-f.com> <4AB3D4CC.6020507@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 08:23:29 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Martin Bjorklund wrote:
>  ...
> > I hate to say it, but this seems to be a garbage-in corner case.  Why
> > would you have a config leafreaf to a leaf w/ a default value?
> > Remember the original keyref did not have this corner case.
> > 
> 
> I disagree.
> 
> I think it is bad if leafs and subtrees disappear from
> the data node tree for retrieval and leafref/i-i
> validation, but NOT for XPath validation (must/when),
> and NOT for min/max/unique validation.
> 
> Consider an i-i that is pointing at a leaf,
> or a leafref containing the value of that leaf,
> for years in a config file -- then a YANG default
> is added, and suddenly, in the new version,
> the running config is invalid and the server shuts down,
> just because the leafref happens to contain a value
> that is now the default, and the i-i is pointing at 'nothing'.

This is not what will happen.  Let's examplify:

   leaf a {
      type int32;
   }
   leaf b {
      type leafref {
        path "/a";  // warning: stupid model for illustration purpose only
      }
   }

And config file:

  <a>42</a>
  <b>42</b>

Now in the new version, leaf a gets a default statement with value
'42'.  The config file / datastore does not change; it will contain
both a and b.  So the leaf that b points to still exists.  This is
because a is "explicitly set".  



/martin

From andy@netconfcentral.com  Mon Sep 21 03:13:14 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 546673A6A16 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 03:13:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.775
X-Spam-Level: 
X-Spam-Status: No, score=-0.775 tagged_above=-999 required=5 tests=[BAYES_05=-1.11, IP_NOT_FRIENDLY=0.334, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dmnf7xy5axqZ for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 03:13:13 -0700 (PDT)
Received: from smtp128.sbc.mail.sp1.yahoo.com (smtp128.sbc.mail.sp1.yahoo.com [69.147.65.187]) by core3.amsl.com (Postfix) with SMTP id EC1073A6820 for <netmod@ietf.org>; Mon, 21 Sep 2009 03:13:12 -0700 (PDT)
Received: (qmail 80430 invoked from network); 21 Sep 2009 10:14:11 -0000
Received: from adsl-67-126-128-122.dsl.irvnca.pacbell.net (andy@67.126.128.122 with plain) by smtp128.sbc.mail.sp1.yahoo.com with SMTP; 21 Sep 2009 03:14:11 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: DXS7jywVM1knPz27CHeebwclG5urJB32NsH.4q7ef6Kr2Fpm0AyqbSc9noHw7BhHlslCE0mKwlz4EJqpShOkyXL8Rn.jr1fRsRntnWu93cSiVZLNQRG.d1r4zEsc5H9_MyzZcThZbMqw.SuJdSd1TFytcjjf8khAl2Gel1l1SUkUSHG4U.ZKMEqFHcBpobAHwXUb5h6sPugKUqFUaXVGBvWnS0lG9PiDr9guAVLSNLz.uMVHdxIYLLRzWegjrj604wluz89NB4lO
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB75204.3090708@netconfcentral.com>
Date: Mon, 21 Sep 2009 03:14:28 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AB0E64E.1080603@netconfcentral.com>	<20090916.224352.230817887.mbj@tail-f.com>	<4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com>
In-Reply-To: <20090921.102428.59888669.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 10:13:14 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Martin Bjorklund wrote:
>>  ...
>>> I hate to say it, but this seems to be a garbage-in corner case.  Why
>>> would you have a config leafreaf to a leaf w/ a default value?
>>> Remember the original keyref did not have this corner case.
>>>
>> I disagree.
>>
>> I think it is bad if leafs and subtrees disappear from
>> the data node tree for retrieval and leafref/i-i
>> validation, but NOT for XPath validation (must/when),
>> and NOT for min/max/unique validation.
>>
>> Consider an i-i that is pointing at a leaf,
>> or a leafref containing the value of that leaf,
>> for years in a config file -- then a YANG default
>> is added, and suddenly, in the new version,
>> the running config is invalid and the server shuts down,
>> just because the leafref happens to contain a value
>> that is now the default, and the i-i is pointing at 'nothing'.
> 
> This is not what will happen.  Let's examplify:
> 
>    leaf a {
>       type int32;
>    }
>    leaf b {
>       type leafref {
>         path "/a";  // warning: stupid model for illustration purpose only
>       }
>    }
> 
> And config file:
> 
>   <a>42</a>
>   <b>42</b>
> 
> Now in the new version, leaf a gets a default statement with value
> '42'.  The config file / datastore does not change; it will contain
> both a and b.  So the leaf that b points to still exists.  This is
> because a is "explicitly set".  
> 

But none of the text on validation (maybe 30 places) says
anything about how the node was created.  They all refer
to 'the data node', or something to that effect.  There is
no text that says a unique-stmt applies to explicitly set
leafs but not server created leafs.

Whether or not the server actually contains a data structure
for a default value which is somehow different to the data
structure for a non-default leaf, is totally irrelevant
to the XML representation of that database in NETCONF PDUs.
Too bad you don't understand that.


Andy

> 
> 
> /martin
> 


From mbj@tail-f.com  Mon Sep 21 03:48:55 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 448863A684E for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 03:48:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.925
X-Spam-Level: 
X-Spam-Status: No, score=-1.925 tagged_above=-999 required=5 tests=[AWL=0.121,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id syOcY7oQKwnI for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 03:48:54 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id AF5D03A6849 for <netmod@ietf.org>; Mon, 21 Sep 2009 03:48:53 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id CDF8976C67E; Mon, 21 Sep 2009 12:49:51 +0200 (CEST)
Date: Mon, 21 Sep 2009 12:49:51 +0200 (CEST)
Message-Id: <20090921.124951.58974622.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4AB75204.3090708@netconfcentral.com>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 10:48:55 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Martin Bjorklund wrote:
> > Andy Bierman <andy@netconfcentral.com> wrote:
> >> Martin Bjorklund wrote:
> >>  ...
> >>> I hate to say it, but this seems to be a garbage-in corner case.  Why
> >>> would you have a config leafreaf to a leaf w/ a default value?
> >>> Remember the original keyref did not have this corner case.
> >>>
> >> I disagree.
> >>
> >> I think it is bad if leafs and subtrees disappear from
> >> the data node tree for retrieval and leafref/i-i
> >> validation, but NOT for XPath validation (must/when),
> >> and NOT for min/max/unique validation.
> >>
> >> Consider an i-i that is pointing at a leaf,
> >> or a leafref containing the value of that leaf,
> >> for years in a config file -- then a YANG default
> >> is added, and suddenly, in the new version,
> >> the running config is invalid and the server shuts down,
> >> just because the leafref happens to contain a value
> >> that is now the default, and the i-i is pointing at 'nothing'.
> > 
> > This is not what will happen.  Let's examplify:
> > 
> >    leaf a {
> >       type int32;
> >    }
> >    leaf b {
> >       type leafref {
> >         path "/a";  // warning: stupid model for illustration purpose only
> >       }
> >    }
> > 
> > And config file:
> > 
> >   <a>42</a>
> >   <b>42</b>
> > 
> > Now in the new version, leaf a gets a default statement with value
> > '42'.  The config file / datastore does not change; it will contain
> > both a and b.  So the leaf that b points to still exists.  This is
> > because a is "explicitly set".  
> > 
> 
> But none of the text on validation (maybe 30 places) says
> anything about how the node was created.  They all refer
> to 'the data node', or something to that effect.  There is
> no text that says a unique-stmt applies to explicitly set
> leafs but not server created leafs.

They apply to explicitly set leafs and server created leafs.  But a
default value is used by the server when there is no node in the data
store.  The new proposed not-yet-published section "The leaf's default
value" (see
e.g. http://www.ietf.org/mail-archive/web/netmod/current/msg03754.html)
starts with:

  The default value of a leaf is the value that the server uses if no
  value has been explicitly set. 




/martin

From andy@netconfcentral.com  Mon Sep 21 04:09:26 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CA63E3A69FE for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 04:09:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.52
X-Spam-Level: 
X-Spam-Status: No, score=-1.52 tagged_above=-999 required=5 tests=[AWL=0.744,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id naOf3XIXT13V for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 04:09:26 -0700 (PDT)
Received: from smtp128.sbc.mail.sp1.yahoo.com (smtp128.sbc.mail.sp1.yahoo.com [69.147.65.187]) by core3.amsl.com (Postfix) with SMTP id 0FCEE3A6994 for <netmod@ietf.org>; Mon, 21 Sep 2009 04:09:26 -0700 (PDT)
Received: (qmail 89574 invoked from network); 21 Sep 2009 11:10:24 -0000
Received: from adsl-67-126-128-122.dsl.irvnca.pacbell.net (andy@67.126.128.122 with plain) by smtp128.sbc.mail.sp1.yahoo.com with SMTP; 21 Sep 2009 04:10:23 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: QugoqgoVM1n.lXftHkUIEc3FpVChPc1ZKtGnu8NxV_6OTHj3EPwK5KR_0vQQsSxq3js4kKmaZqA0X3reSmiBZsgcpolcCvi6Z28SNPyfhjOf0CcahTDlOm3z479G5lMIRpQ2YmStrubR85HASa9Ei7C4v3X4gH83ThbhXkzDnlqBOviJ0KuN6lIX291yyr43SzMwgsYGo8ArhW6vleJWfqcmpqawpDvgw1jiiOXLmUENcEw-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB75EB9.9040000@netconfcentral.com>
Date: Mon, 21 Sep 2009 04:08:41 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AB3D4CC.6020507@netconfcentral.com>	<20090921.102428.59888669.mbj@tail-f.com>	<4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com>
In-Reply-To: <20090921.124951.58974622.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 11:09:26 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Martin Bjorklund wrote:
>>> Andy Bierman <andy@netconfcentral.com> wrote:
>>>> Martin Bjorklund wrote:
>>>>  ...
>>>>> I hate to say it, but this seems to be a garbage-in corner case.  Why
>>>>> would you have a config leafreaf to a leaf w/ a default value?
>>>>> Remember the original keyref did not have this corner case.
>>>>>
>>>> I disagree.
>>>>
>>>> I think it is bad if leafs and subtrees disappear from
>>>> the data node tree for retrieval and leafref/i-i
>>>> validation, but NOT for XPath validation (must/when),
>>>> and NOT for min/max/unique validation.
>>>>
>>>> Consider an i-i that is pointing at a leaf,
>>>> or a leafref containing the value of that leaf,
>>>> for years in a config file -- then a YANG default
>>>> is added, and suddenly, in the new version,
>>>> the running config is invalid and the server shuts down,
>>>> just because the leafref happens to contain a value
>>>> that is now the default, and the i-i is pointing at 'nothing'.
>>> This is not what will happen.  Let's examplify:
>>>
>>>    leaf a {
>>>       type int32;
>>>    }
>>>    leaf b {
>>>       type leafref {
>>>         path "/a";  // warning: stupid model for illustration purpose only
>>>       }
>>>    }
>>>
>>> And config file:
>>>
>>>   <a>42</a>
>>>   <b>42</b>
>>>
>>> Now in the new version, leaf a gets a default statement with value
>>> '42'.  The config file / datastore does not change; it will contain
>>> both a and b.  So the leaf that b points to still exists.  This is
>>> because a is "explicitly set".  
>>>
>> But none of the text on validation (maybe 30 places) says
>> anything about how the node was created.  They all refer
>> to 'the data node', or something to that effect.  There is
>> no text that says a unique-stmt applies to explicitly set
>> leafs but not server created leafs.
> 
> They apply to explicitly set leafs and server created leafs.  But a
> default value is used by the server when there is no node in the data
> store.  The new proposed not-yet-published section "The leaf's default
> value" (see
> e.g. http://www.ietf.org/mail-archive/web/netmod/current/msg03754.html)
> starts with:
> 
>   The default value of a leaf is the value that the server uses if no
>   value has been explicitly set. 
> 
> 


A few people (including me) do not
accept the premise that a node only exists
if the client creates it. Instead, a node exists
if its behavior is affecting system operation.
Your definition of default is focused on syntax
instead of semantics, and therefore is an inferior
modeling mechanism.

Besides, what you are saying totally contradicts
your previous comments that default leafs exist
for validation purposes.  If the 'value' exists
when it is time to generate a 'must-violation'
(for example), then there must be a node there.

The fact that the validation rules apply to the default leafs
is proof that they exist in the conceptual database model.

> 
> 
> /martin
> 

Andy

From j.schoenwaelder@jacobs-university.de  Mon Sep 21 05:22:15 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D6DEC28C119 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 05:22:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.199
X-Spam-Level: 
X-Spam-Status: No, score=-1.199 tagged_above=-999 required=5 tests=[AWL=-0.809, BAYES_20=-0.74, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zh28aWSIQ5ss for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 05:22:15 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 9F53728C131 for <netmod@ietf.org>; Mon, 21 Sep 2009 05:22:14 -0700 (PDT)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id A44AEC0028; Mon, 21 Sep 2009 14:23:15 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 2FjQtHCDxgyE; Mon, 21 Sep 2009 14:23:14 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 44D1AC0009; Mon, 21 Sep 2009 14:23:14 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 50685CF916F; Mon, 21 Sep 2009 14:23:13 +0200 (CEST)
Date: Mon, 21 Sep 2009 14:23:13 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.com>
Message-ID: <20090921122313.GA9765@elstar.local>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.com>, Martin Bjorklund <mbj@tail-f.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4AB75EB9.9040000@netconfcentral.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 12:22:16 -0000

On Mon, Sep 21, 2009 at 01:08:41PM +0200, Andy Bierman wrote:
 
> A few people (including me) do not
> accept the premise that a node only exists
> if the client creates it. Instead, a node exists
> if its behavior is affecting system operation.
> Your definition of default is focused on syntax
> instead of semantics, and therefore is an inferior
> modeling mechanism.

As you know, I am proponent of separating operational state from
config state. So we do disagree here.
 
> Besides, what you are saying totally contradicts
> your previous comments that default leafs exist
> for validation purposes.  If the 'value' exists
> when it is time to generate a 'must-violation'
> (for example), then there must be a node there.

I think you have a point here and I think must statement expressions
on config data nodes must be validated on config data nodes and not
implicitely generated nodes derived solely for validation purposes.
So I am actually with you that the current text is somewhat odd.

> The fact that the validation rules apply to the default leafs
> is proof that they exist in the conceptual database model.

I believe this is a sign of an inconsistency that needs fixing. How we
fix it needs to be worked out.

/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/>

From andy@netconfcentral.com  Mon Sep 21 05:52:04 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5E31D3A6765 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 05:52:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.892
X-Spam-Level: 
X-Spam-Status: No, score=-1.892 tagged_above=-999 required=5 tests=[AWL=0.372,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 59-26PbXerBa for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 05:52:03 -0700 (PDT)
Received: from smtp126.sbc.mail.sp1.yahoo.com (smtp126.sbc.mail.sp1.yahoo.com [69.147.65.185]) by core3.amsl.com (Postfix) with SMTP id A208428C13D for <netmod@ietf.org>; Mon, 21 Sep 2009 05:52:03 -0700 (PDT)
Received: (qmail 44151 invoked from network); 21 Sep 2009 12:53:02 -0000
Received: from adsl-67-126-128-122.dsl.irvnca.pacbell.net (andy@67.126.128.122 with plain) by smtp126.sbc.mail.sp1.yahoo.com with SMTP; 21 Sep 2009 05:53:02 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: t3Bi2awVM1nYMLAzzisCjWudVboYS.Pb1wrosLmwsuctJF3LGFDg2XAddKFJc30Dd7WCCdqPFV0TrZSgrIE_hzybw2Ly5dxZ3CRQUwinBx8BGvpKmNlmCNflUnlOba0kwDnpfBD96Vp.T7IhlD9eLmx_M587BZwtFGx4n.2SR9SusrXHDq5VN8IOefN7eHULumrqqNX_KqV335U-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB776C8.1000003@netconfcentral.com>
Date: Mon, 21 Sep 2009 05:51:20 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>, Martin Bjorklund <mbj@tail-f.com>,  "netmod@ietf.org" <netmod@ietf.org>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com> <20090921122313.GA9765@elstar.local>
In-Reply-To: <20090921122313.GA9765@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 12:52:04 -0000

Juergen Schoenwaelder wrote:
> On Mon, Sep 21, 2009 at 01:08:41PM +0200, Andy Bierman wrote:
>  
>> A few people (including me) do not
>> accept the premise that a node only exists
>> if the client creates it. Instead, a node exists
>> if its behavior is affecting system operation.
>> Your definition of default is focused on syntax
>> instead of semantics, and therefore is an inferior
>> modeling mechanism.
> 
> As you know, I am proponent of separating operational state from
> config state. So we do disagree here.
>  

I do not object to additional data retrieval filtering
mechanisms over time, but the database as conceptual
model has all the instructions in it, not just client instructions.

Whether the server decides the interface MTU is 1500
or the client decides it is 1500 does not
change the fact that there is a configuration instruction for
the system to limit packet size on that interface
to 1500 bytes.


>> Besides, what you are saying totally contradicts
>> your previous comments that default leafs exist
>> for validation purposes.  If the 'value' exists
>> when it is time to generate a 'must-violation'
>> (for example), then there must be a node there.
> 


  list fubar {
     key x;
     must "count(y) > 0";
     must "count(y) <= 10";
     min-elements 1;
     max-elements 10;
     leaf x { type string; }
     leaf y {
        type string;
        default 'foo';
     }
  }

IMO, if the min-elements/max-elements do not produce the
same runtime evaluation results as the must-stmts, then
the validation model is confusing and broken.

(Note that min-elements and max-elements are redundant
because of the count() function in XPath -- e.g. count(keyleaf)
better equal number of elements in min/max test.)

> I think you have a point here and I think must statement expressions
> on config data nodes must be validated on config data nodes and not
> implicitely generated nodes derived solely for validation purposes.
> So I am actually with you that the current text is somewhat odd.
> 
>> The fact that the validation rules apply to the default leafs
>> is proof that they exist in the conceptual database model.
> 
> I believe this is a sign of an inconsistency that needs fixing. How we
> fix it needs to be worked out.
> 
> /js
> 

Andy

From j.schoenwaelder@jacobs-university.de  Mon Sep 21 06:58:34 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3EC823A6A3A for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 06:58:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.195
X-Spam-Level: 
X-Spam-Status: No, score=-1.195 tagged_above=-999 required=5 tests=[AWL=-0.805, BAYES_20=-0.74, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U2MsQPRplR9J for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 06:58:33 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 255633A6A32 for <netmod@ietf.org>; Mon, 21 Sep 2009 06:58:33 -0700 (PDT)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 5032CC0029; Mon, 21 Sep 2009 15:59:34 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id sBoLpq-mnz88; Mon, 21 Sep 2009 15:59:32 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id C047FC0028; Mon, 21 Sep 2009 15:59:31 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id B2CFCCF9386; Mon, 21 Sep 2009 15:59:30 +0200 (CEST)
Date: Mon, 21 Sep 2009 15:59:30 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.com>
Message-ID: <20090921135930.GA10546@elstar.local>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.com>, Martin Bjorklund <mbj@tail-f.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com> <20090921122313.GA9765@elstar.local> <4AB776C8.1000003@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4AB776C8.1000003@netconfcentral.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 13:58:34 -0000

On Mon, Sep 21, 2009 at 02:51:20PM +0200, Andy Bierman wrote:
> Juergen Schoenwaelder wrote:
> > On Mon, Sep 21, 2009 at 01:08:41PM +0200, Andy Bierman wrote:
> >  
> >> A few people (including me) do not
> >> accept the premise that a node only exists
> >> if the client creates it. Instead, a node exists
> >> if its behavior is affecting system operation.
> >> Your definition of default is focused on syntax
> >> instead of semantics, and therefore is an inferior
> >> modeling mechanism.
> > 
> > As you know, I am proponent of separating operational state from
> > config state. So we do disagree here.
> >  
> 
> I do not object to additional data retrieval filtering
> mechanisms over time, but the database as conceptual
> model has all the instructions in it, not just client instructions.
> 
> Whether the server decides the interface MTU is 1500
> or the client decides it is 1500 does not
> change the fact that there is a configuration instruction for
> the system to limit packet size on that interface
> to 1500 bytes.

There is no configuration, there is operational state. As I wrote,
we simply disagree on this. 
 
> >> Besides, what you are saying totally contradicts
> >> your previous comments that default leafs exist
> >> for validation purposes.  If the 'value' exists
> >> when it is time to generate a 'must-violation'
> >> (for example), then there must be a node there.
> 
>   list fubar {
>      key x;
>      must "count(y) > 0";
>      must "count(y) <= 10";
>      min-elements 1;
>      max-elements 10;
>      leaf x { type string; }
>      leaf y {
>         type string;
>         default 'foo';
>      }
>   }
> 
> IMO, if the min-elements/max-elements do not produce the
> same runtime evaluation results as the must-stmts, then
> the validation model is confusing and broken.

I did not suggest that.

A crucial point here is that constraints on config data elements are
not the same as contraints on operational data. Our confusion here (if
there is any) results from our previous disagreement.

/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/>

From andy@netconfcentral.com  Mon Sep 21 07:41:50 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B4C883A6ABE for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 07:41:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.016
X-Spam-Level: 
X-Spam-Status: No, score=-2.016 tagged_above=-999 required=5 tests=[AWL=0.248,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GZAHa6GC21cD for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 07:41:48 -0700 (PDT)
Received: from smtp127.sbc.mail.sp1.yahoo.com (smtp127.sbc.mail.sp1.yahoo.com [69.147.65.186]) by core3.amsl.com (Postfix) with SMTP id EAFE63A6A35 for <netmod@ietf.org>; Mon, 21 Sep 2009 07:41:48 -0700 (PDT)
Received: (qmail 60177 invoked from network); 21 Sep 2009 14:42:48 -0000
Received: from adsl-67-126-128-122.dsl.irvnca.pacbell.net (andy@67.126.128.122 with plain) by smtp127.sbc.mail.sp1.yahoo.com with SMTP; 21 Sep 2009 07:42:47 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: Xxi2GogVM1l23NgpqdGBVuGGikKkn5cj9ZzCkL4tXcSrQ_sphYaLcouWutiix_tiOsk4w_btXoNOAjjWUfD0nFDp9gFfKKtuDzbxagIIWyyrc2S5TeVIzPWzsdqwacFxBjaEebMuVyzIe7SLlPs6lUWRgqlKRmvvvRvNvlQRgixjas6ckwTwuZ5D4Y8GhcpRFwWe1lrnjLqoeVQ-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB790FA.2010101@netconfcentral.com>
Date: Mon, 21 Sep 2009 07:43:06 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>, Martin Bjorklund <mbj@tail-f.com>,  "netmod@ietf.org" <netmod@ietf.org>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com> <20090921122313.GA9765@elstar.local> <4AB776C8.1000003@netconfcentral.com> <20090921135930.GA10546@elstar.local>
In-Reply-To: <20090921135930.GA10546@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 14:41:50 -0000

Juergen Schoenwaelder wrote:
> On Mon, Sep 21, 2009 at 02:51:20PM +0200, Andy Bierman wrote:
>> Juergen Schoenwaelder wrote:
>>> On Mon, Sep 21, 2009 at 01:08:41PM +0200, Andy Bierman wrote:
>>>  
>>>> A few people (including me) do not
>>>> accept the premise that a node only exists
>>>> if the client creates it. Instead, a node exists
>>>> if its behavior is affecting system operation.
>>>> Your definition of default is focused on syntax
>>>> instead of semantics, and therefore is an inferior
>>>> modeling mechanism.
>>> As you know, I am proponent of separating operational state from
>>> config state. So we do disagree here.
>>>  
>> I do not object to additional data retrieval filtering
>> mechanisms over time, but the database as conceptual
>> model has all the instructions in it, not just client instructions.
>>
>> Whether the server decides the interface MTU is 1500
>> or the client decides it is 1500 does not
>> change the fact that there is a configuration instruction for
>> the system to limit packet size on that interface
>> to 1500 bytes.
> 
> There is no configuration, there is operational state. As I wrote,
> we simply disagree on this. 
>  

We do not even agree on the basic components of
the managed system.  IMO, the NETCONF server is the
configuration broker between the outside world
and the managed device.  The mtu=1500 configuration
instruction is given from the NETCONF server to the
managed system.  The NETCONF server itself has no
interfaces to limit packet size on -- only the managed system
has interfaces to operate.

But what matters is that the NETCONF standard does not
make any distinction between instructions given by the
operator and by the server, so your proposal will take
several years before it will be available in real devices,
since it will require new protocol operations.

Also, the NETCONF WG agreed that the 3 forms of defaults
were all valid within a NETCONF server.  This means that
report-all is a valid defaults model and must be supported.

>>>> Besides, what you are saying totally contradicts
>>>> your previous comments that default leafs exist
>>>> for validation purposes.  If the 'value' exists
>>>> when it is time to generate a 'must-violation'
>>>> (for example), then there must be a node there.
>>   list fubar {
>>      key x;
>>      must "count(y) > 0";
>>      must "count(y) <= 10";
>>      min-elements 1;
>>      max-elements 10;
>>      leaf x { type string; }
>>      leaf y {
>>         type string;
>>         default 'foo';
>>      }
>>   }
>>
>> IMO, if the min-elements/max-elements do not produce the
>> same runtime evaluation results as the must-stmts, then
>> the validation model is confusing and broken.
> 
> I did not suggest that.
> 

It is up to each individual server to decide if it
wants a leaf with a default to exist or not.
This means that database validation will work differently
on every server, but it should be consistent
within a single server. (IMO, a totally worthless standard,
but pretty much what developers get now with proprietary CLI).


> A crucial point here is that constraints on config data elements are
> not the same as contraints on operational data. Our confusion here (if
> there is any) results from our previous disagreement.
>
> /js
> 

Andy

From cfinss@dial.pipex.com  Mon Sep 21 10:12:12 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6490F28C1F7 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 10:12:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.747
X-Spam-Level: 
X-Spam-Status: No, score=-0.747 tagged_above=-999 required=5 tests=[AWL=-1.162, BAYES_40=-0.185, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SfJvA-ChNbjw for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 10:12:10 -0700 (PDT)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by core3.amsl.com (Postfix) with ESMTP id ADA8B28C1FC for <netmod@ietf.org>; Mon, 21 Sep 2009 10:12:09 -0700 (PDT)
X-Trace: 140414134/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.100.70/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.100.70
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArkEAL9Qt0o+vGRG/2dsb2JhbACDJkuND7M0CY4RAgeCPoFUBQ
X-IronPort-AV: E=Sophos;i="4.44,425,1249254000"; d="scan'208";a="140414134"
X-IP-Direction: IN
Received: from 1cust70.tnt1.lnd9.gbr.da.uu.net (HELO allison) ([62.188.100.70]) by smtp.pipex.tiscali.co.uk with SMTP; 21 Sep 2009 18:13:10 +0100
Message-ID: <001601ca3ad6$2adfc1c0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Ladislav Lhotka" <lhotka@cesnet.cz>
References: <200909151357.n8FDvrVL009717@idle.juniper.net> <4AAFE3BC.3070301@netconfcentral.com><20090915192244.GA4061@elstar.local> <4AAFF16C.1070806@netconfcentral.com><20090915201603.GA4194@elstar.local> <4AAFFEA8.6040203@netconfcentral.com> <20090915213410.GA4334@elstar.local> <00ef01ca384b$cea4f420$0601a8c0@allison> <1253276248.31750.51.camel@missotis> <003c01ca3882$337cc7c0$0601a8c0@allison> <1253300156.13285.2.camel@missotis>
Date: Mon, 21 Sep 2009 18:03:19 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 17:12:12 -0000

----- Original Message -----
From: "Ladislav Lhotka" <lhotka@cesnet.cz>
Sent: Friday, September 18, 2009 8:55 PM

> tom.petch píše v Pá 18. 09. 2009 v 19:01 +0200:
> >
> > Well, as I said to Juergen, most of the items I describe as default - eg
> > interface timers - have default values in the OSPF MIB Module [RFC4750]
> > ospfIfTable.
>
> But these values are not mandatory, right? In YANG, they are now
> supposed to be mandatory, although we don't agree on what it exactly
> means.

Yes, they are mandatory; well, depends what you mean by mandatory:-)

The Hello and Dead interval timers are required by the OSPF protocol.
They must be set in the packets that an OSPF router sends to a
neighbour and the neighbour must use the same values ie be configured
with or be using the same values by default.

If the two routers do not have matching values, then an OSPF adjacency
will not form, no further exchange will take place, no OSPF, no IGP,
no routing (I've seen it happen:-(

So, defaults do really matter for me, and are in widespread use.

Tom Petch

> Lada
>
>
> > My take is then that anyone writing the YANG equivalent would want
> > to specify a YANG equivalent  - use this value as part of the configuration
> > when no client explicitly sets a value.
> >
> > And more items would be in this category were SMI as powerful as
> > YANG
> >
> > Tom Petch
> >
> > > IMO, small devices with a handful of config parameters could simply
> > > forget about defaults and always send everything. On the other hand, big
> > > boxes with zillions of parameters will have many more vendor-specific
> > > defaults than those set in the generic data models and the clients will
> > > anyway have to use other mechanisms to learn about the former.
> > >
> > > So, it seems to me that the benefit of the 'default' statement in YANG
> > > will not be all that big and certainly not worth the bandwidth spent on
> > > it in this mailing list.
> > >
> > > Lada
> > >
> > > > If I configure OSPF on a router, as I have done many times, then:
> > > >
> > > > Globally,
> > > > OSPF set on
> > > > Router ID set (cannot default)
> > > > Area (default to 0.0.0.0)
> > > > Area type (default)
> > > > Database timers (default to 1800s, 3600s)
> > > > and per interface
> > > > OSPF set on
> > > > Active (default in most instances, sometimes set passive)
> > > > Interface type (default, derived from link type)
> > > > Area (default 0.0.0.0)
> > > > Hello, dead, delay, rexmit timers  (default, derive from link type)
> > > > Authentication set (for active interfaces)
> > > >
> > > > so on a five interface router, I might set 12 values (two passive
> > interfaces)
> > > > and use 39 defaults,.  There will be times when I set many of those
> > > > defaults to explicit values, timers being the least likely. (And yes, I
may
> > > > configure
> > > > summarisation, ACLs etc but they tend to be downloaded from a central
> > > > source).
> > > >
> > > > So defaults as I understand them really are useful and widespread, for
me,
> > > > not at all rare.
> > > >
> > > > Tom Petch
> > > >
> > > > > The with-defaults capability does not provide the primitive needed to
> > > > > analyze what a box is doing. This is why I am in favour of a primitive
> > > > > that returns the operational state (and that allows me to relate it to
> > > > > configuration state).
> > > > >
> > > > > /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/>
> > > Ladislav Lhotka, CESNET
> > > PGP Key ID: E74E8C0C
> --
> Ladislav Lhotka, CESNET
> PGP Key ID: E74E8C0C
>


From cfinss@dial.pipex.com  Mon Sep 21 10:12:14 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D66D528C1F5 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 10:12:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.308
X-Spam-Level: 
X-Spam-Status: No, score=-1.308 tagged_above=-999 required=5 tests=[AWL=-0.568, BAYES_20=-0.74]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ctnc9C+DPuU5 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 10:12:12 -0700 (PDT)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by core3.amsl.com (Postfix) with ESMTP id 3052428C1C9 for <netmod@ietf.org>; Mon, 21 Sep 2009 10:12:11 -0700 (PDT)
X-Trace: 140414141/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.100.70/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.100.70
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArkEAL9Qt0o+vGRG/2dsb2JhbACDJkuND8FOCYQSBYJL
X-IronPort-AV: E=Sophos;i="4.44,425,1249254000"; d="scan'208";a="140414141"
X-IP-Direction: IN
Received: from 1cust70.tnt1.lnd9.gbr.da.uu.net (HELO allison) ([62.188.100.70]) by smtp.pipex.tiscali.co.uk with SMTP; 21 Sep 2009 18:13:11 +0100
Message-ID: <001701ca3ad6$2bf57780$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Phil Shafer" <phil@juniper.net>
References: <200909191835.n8JIZ5OH035597@idle.juniper.net>
Date: Mon, 21 Sep 2009 18:05:37 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 17:12:14 -0000

----- Original Message ----- 
From: "Phil Shafer" <phil@juniper.net>
Sent: Saturday, September 19, 2009 8:35 PM

> So the question is whether the default values for the four per-interface
> timers (in your example) are part of the configuration if the user
> does not specify them but wants the default value?  Should these
> default values appear in the configuration if the user has decided
> not to set them, intending to get the default values?

Phil

My experience is that these timers are left to default by many,
perhaps most, people currently configuring routers by CLI. 

There is one set in common use in most cases, but there are
other sets of values for less common cases.

And, since the values have to match the neighbour router -
else no adjacency, no OSPF, no IGP, no routing - then it is
vital that the value in use is displayed in any display command.
Making assumptions that the value in use must be what the 
documentation says, because we live in a perfect world:-),
will make trouble shooting unnecessarily complex.

So I want a 'default' statement in YANG that means much the
same is in SMI, this will be used if not explicitly overridden by a
user, and I want to be able to read the value in use, without a
smart client or server making assumptions on my behalf,
assumptions which may be the source of the problem.

> SNMP lacks a distinct configuration model, so fetching these variables
> will give you the current operational "in use" value.  I may be
> reading between the lines in rfc3535, but I think this is part of
> the "clear distinction" between data sources they are asking for.

I see it differently.  I think that they are asking not to have to get the 
LSA database or BGP RIB when all they want is what they did
or might have specified.  It is the might haves, such as these two
timers, which do get and must be specified in places, but mostly
are left to default, where we are parting company.

As I said to Juergen, one way forward is to have this in black and
white in YANG statements and then let data modellers decide
which category, gotten in a get-config, gotten by some other means,
or not gettable, their data definitions come under.

Tom Petch

> The JUNOS view is that if you didn't give an instruction, that
> instruction isn't part of the configuration.  This certainly is
> what our users want.
> 
> Thanks,
>  Phil

From randy_presuhn@mindspring.com  Mon Sep 21 12:50:01 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 11D943A682D for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 12:50:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.695
X-Spam-Level: 
X-Spam-Status: No, score=-0.695 tagged_above=-999 required=5 tests=[AWL=-0.696, BAYES_50=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PisMfbBaqZPG for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 12:50:00 -0700 (PDT)
Received: from elasmtp-curtail.atl.sa.earthlink.net (elasmtp-curtail.atl.sa.earthlink.net [209.86.89.64]) by core3.amsl.com (Postfix) with ESMTP id 25EDE3A6999 for <netmod@ietf.org>; Mon, 21 Sep 2009 12:50:00 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=T5VsYFRKOoybULsezOyO4Lz+UJUiLRHX4P1Z1G7VbZFnhfIzfDmMphtkom1reY10; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.55.175.130] (helo=oemcomputer) by elasmtp-curtail.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1Mpoub-0005HS-TK for netmod@ietf.org; Mon, 21 Sep 2009 15:51:02 -0400
Message-ID: <00d601ca3af4$eccbf060$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netmod@ietf.org>
References: <200909191409.n8JE9bvK034311@idle.juniper.net><4AB502F0.7090705@netconfcentral.com> <20090921.101622.06622480.mbj@tail-f.com>
Date: Mon, 21 Sep 2009 12:51:34 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f949c85f82fc2886831a4f924f9ed3a6fc350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.55.175.130
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 19:50:01 -0000

Hi -

> From: "Martin Bjorklund" <mbj@tail-f.com>
> To: <andy@netconfcentral.com>
> Cc: <netmod@ietf.org>
> Sent: Monday, September 21, 2009 1:16 AM
> Subject: Re: [netmod] validation of default up to server
...
> I think we agreed that we should introduce a new statement
> 'system-assignable' (was: assigned-by system), which controls this.
> With this statement, it should become clear that only nodes marked as
> system-assignable true MAY be created by the server.
...

This doesn't sound right.  Rephrasing what I think you wrote, you'll
see why I think it isn't right:

Nodes not marked as system-assignable MUST NOT be created
by the server.

Wouldn't this exclude defaults specified by the model?  It seems to
me that defaults specified by the model are a special case of 'system-assignable'.

Randy


From mbj@tail-f.com  Mon Sep 21 13:39:10 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5F9CB3A6900 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 13:39:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.015
X-Spam-Level: 
X-Spam-Status: No, score=-2.015 tagged_above=-999 required=5 tests=[AWL=0.031,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nYxTA45MdKZ9 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 13:39:09 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 876DB3A682D for <netmod@ietf.org>; Mon, 21 Sep 2009 13:39:09 -0700 (PDT)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id D578376C61C; Mon, 21 Sep 2009 22:40:09 +0200 (CEST)
Date: Mon, 21 Sep 2009 22:40:09 +0200 (CEST)
Message-Id: <20090921.224009.218553642.mbj@tail-f.com>
To: randy_presuhn@mindspring.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <00d601ca3af4$eccbf060$6801a8c0@oemcomputer>
References: <4AB502F0.7090705@netconfcentral.com> <20090921.101622.06622480.mbj@tail-f.com> <00d601ca3af4$eccbf060$6801a8c0@oemcomputer>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 20:39:10 -0000

"Randy Presuhn" <randy_presuhn@mindspring.com> wrote:
> Hi -
> 
> > From: "Martin Bjorklund" <mbj@tail-f.com>
> > To: <andy@netconfcentral.com>
> > Cc: <netmod@ietf.org>
> > Sent: Monday, September 21, 2009 1:16 AM
> > Subject: Re: [netmod] validation of default up to server
> ...
> > I think we agreed that we should introduce a new statement
> > 'system-assignable' (was: assigned-by system), which controls this.
> > With this statement, it should become clear that only nodes marked as
> > system-assignable true MAY be created by the server.
> ...
> 
> This doesn't sound right.  Rephrasing what I think you wrote, you'll
> see why I think it isn't right:
> 
> Nodes not marked as system-assignable MUST NOT be created
> by the server.
> 
> Wouldn't this exclude defaults specified by the model?  It seems to
> me that defaults specified by the model are a special case of
> 'system-assignable'.

The intention is that defaults specified by the model are not created
by the server, i.e. they are not part of the database.  This is the
"explicit" model for handling defaults.

However, since we thought that it would not be possible to agree on
one default handling method, the spec allows a server to send back the
default values in a reply to <get-config>, so that the "trim" and
"all" methods can be implemented as well.

Do you want to say that default values MAY be assigned by the system?


/martin

From randy_presuhn@mindspring.com  Mon Sep 21 13:47:58 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 383A13A6900 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 13:47:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.834
X-Spam-Level: 
X-Spam-Status: No, score=-0.834 tagged_above=-999 required=5 tests=[AWL=-0.094, BAYES_20=-0.74]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2VnqON6eXQ1Y for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 13:47:57 -0700 (PDT)
Received: from elasmtp-mealy.atl.sa.earthlink.net (elasmtp-mealy.atl.sa.earthlink.net [209.86.89.69]) by core3.amsl.com (Postfix) with ESMTP id BB2B93A6452 for <netmod@ietf.org>; Mon, 21 Sep 2009 13:47:53 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=NM6JHnfCjQlzQdD2Z1EiMsfH3TTSzh3PFTPbsSiym3bUBoX2Q2K72jlfDSOrwe6m; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.55.175.130] (helo=oemcomputer) by elasmtp-mealy.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1Mppod-0008SS-KO for netmod@ietf.org; Mon, 21 Sep 2009 16:48:55 -0400
Message-ID: <013601ca3afd$02e3c960$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: "NETMOD Working Group" <netmod@ietf.org>
References: <200909191835.n8JIZ5OH035597@idle.juniper.net> <001701ca3ad6$2bf57780$0601a8c0@allison>
Date: Mon, 21 Sep 2009 13:49:27 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f9f33554896dc1a5bb9fec3ff6e9295801350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.55.175.130
Subject: Re: [netmod] capabilities related edits
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 20:47:58 -0000

Hi -

> From: "tom.petch" <cfinss@dial.pipex.com>
> To: "Phil Shafer" <phil@juniper.net>
> Cc: "Randy Presuhn" <randy_presuhn@mindspring.com>; "NETMOD Working Group" <netmod@ietf.org>
> Sent: Monday, September 21, 2009 9:05 AM
> Subject: Re: [netmod] capabilities related edits 
...
> So I want a 'default' statement in YANG that means much the
> same is in SMI, this will be used if not explicitly overridden by a
> user, and I want to be able to read the value in use, without a
> smart client or server making assumptions on my behalf,
> assumptions which may be the source of the problem.

That is *NOT* what DEFVAL means in SMI!
There is no assurance whatsoever that, if not supplied by
the manager in a set request, the value supplied by the
instrumentation will be the same as the DEFVAL specified
in the MIB.  This is a long-recognized shortcoming of the SMI.

RFC 2578 clause 7.9:
   The DEFVAL clause, which need not be present, defines an acceptable
   default value which may be used at the discretion of an agent when an
   object instance is created.  That is, the value is a "hint" to
   implementors.

Randy


From randy_presuhn@mindspring.com  Mon Sep 21 14:10:35 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AA7D63A6AD9 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 14:10:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.74
X-Spam-Level: 
X-Spam-Status: No, score=-1.74 tagged_above=-999 required=5 tests=[AWL=0.859,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HkCDOqScjIND for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 14:10:34 -0700 (PDT)
Received: from elasmtp-masked.atl.sa.earthlink.net (elasmtp-masked.atl.sa.earthlink.net [209.86.89.68]) by core3.amsl.com (Postfix) with ESMTP id 66B043A6832 for <netmod@ietf.org>; Mon, 21 Sep 2009 14:10:34 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=T2TL2LOF7qv9leb7nW/0GXMVbuavdmFkYK5KZSCGNBmuFXEyrlLiaYEOcSPSl8cS; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.55.175.130] (helo=oemcomputer) by elasmtp-masked.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1MpqAa-0005VF-6Y for netmod@ietf.org; Mon, 21 Sep 2009 17:11:36 -0400
Message-ID: <017301ca3b00$2ed48980$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netmod@ietf.org>
References: <4AB502F0.7090705@netconfcentral.com><20090921.101622.06622480.mbj@tail-f.com><00d601ca3af4$eccbf060$6801a8c0@oemcomputer> <20090921.224009.218553642.mbj@tail-f.com>
Date: Mon, 21 Sep 2009 14:12:09 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f9ebf2603841d69766c667da1831e7bb71350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.55.175.130
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Sep 2009 21:10:35 -0000

Hi -

> From: "Martin Bjorklund" <mbj@tail-f.com>
> To: <randy_presuhn@mindspring.com>
> Cc: <netmod@ietf.org>
> Sent: Monday, September 21, 2009 1:40 PM
> Subject: Re: [netmod] validation of default up to server
>
> "Randy Presuhn" <randy_presuhn@mindspring.com> wrote:
> > Hi -
> > 
> > > From: "Martin Bjorklund" <mbj@tail-f.com>
> > > To: <andy@netconfcentral.com>
> > > Cc: <netmod@ietf.org>
> > > Sent: Monday, September 21, 2009 1:16 AM
> > > Subject: Re: [netmod] validation of default up to server
> > ...
> > > I think we agreed that we should introduce a new statement
> > > 'system-assignable' (was: assigned-by system), which controls this.
> > > With this statement, it should become clear that only nodes marked as
> > > system-assignable true MAY be created by the server.
> > ...
> > 
> > This doesn't sound right.  Rephrasing what I think you wrote, you'll
> > see why I think it isn't right:
> > 
> > Nodes not marked as system-assignable MUST NOT be created
> > by the server.
> > 
> > Wouldn't this exclude defaults specified by the model?  It seems to
> > me that defaults specified by the model are a special case of
> > 'system-assignable'.
> 
> The intention is that defaults specified by the model are not created
> by the server, i.e. they are not part of the database.  This is the
> "explicit" model for handling defaults.
> 
> However, since we thought that it would not be possible to agree on
> one default handling method, the spec allows a server to send back the
> default values in a reply to <get-config>, so that the "trim" and
> "all" methods can be implemented as well.
> 
> Do you want to say that default values MAY be assigned by the system?
...

No.  I'd phrase it more like: "if a value is not supplied by the client, the
default value specified in the model MUST be assigned by the system."

Stepping back a bit, if I had to use this stuff, here's how I'd like it to work:

    - for purposes of consistency checks and conditional retrieval (e.g.
      using xpath to find "interesting" parts of the configuration, etc.)
      the system must behave as though "default" values actually exist,
      regardless of how they are (not) represented in the internal data store;

    - it must be possible to retrieve the complete set of values actually being used
      as configuration data, regardless of whether explicitly set by the user
      or not, and regardless of how they are (not) represented in the internal
      data store;

    - for some applications it is desirable to be able to retrieve only the subset of
      configuration data  which has been explicitly configured, along with those
      configuration values  supplied by the server which are not specified in
      machine-readable form in the model.  Since this requires an implementation
      to remember how a bit of configuration came to have its value, I'd consider
      this to be an extra-cost (but perhaps high-value) option, rather than a basic
      mode of operation.

Randy


From kwatsen@juniper.net  Mon Sep 21 18:27:46 2009
Return-Path: <kwatsen@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B73CB3A6991 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 18:27:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.995
X-Spam-Level: 
X-Spam-Status: No, score=-5.995 tagged_above=-999 required=5 tests=[AWL=0.603,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2xB1E4XTMrE2 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 18:27:46 -0700 (PDT)
Received: from exprod7og119.obsmtp.com (exprod7og119.obsmtp.com [64.18.2.16]) by core3.amsl.com (Postfix) with ESMTP id B29343A696C for <netmod@ietf.org>; Mon, 21 Sep 2009 18:27:45 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob119.postini.com ([64.18.6.12]) with SMTP ID DSNKSrgoTamxABjG0Klhy5QqH0ZZBoNtc0eC@postini.com; Mon, 21 Sep 2009 18:28:48 PDT
Received: from EMBX01-HQ.jnpr.net ([fe80::c821:7c81:f21f:8bc7]) by P-EMHUB01-HQ.jnpr.net ([fe80::fc92:eb1:759:2c72%11]) with mapi; Mon, 21 Sep 2009 18:27:34 -0700
From: Kent Watsen <kwatsen@juniper.net>
To: 'Randy Presuhn' <randy_presuhn@mindspring.com>, "netmod@ietf.org" <netmod@ietf.org>
Date: Mon, 21 Sep 2009 18:27:33 -0700
Thread-Topic: [netmod] validation of default up to server
Thread-Index: Aco7AB1bOX3wqTJjSm2s/LxEuX4I7QAIihzQ
Message-ID: <84600D05C20FF943918238042D7670FD36646BFAC9@EMBX01-HQ.jnpr.net>
References: <4AB502F0.7090705@netconfcentral.com><20090921.101622.06622480.mbj@tail-f.com><00d601ca3af4$eccbf060$6801a8c0@oemcomputer> <20090921.224009.218553642.mbj@tail-f.com> <017301ca3b00$2ed48980$6801a8c0@oemcomputer>
In-Reply-To: <017301ca3b00$2ed48980$6801a8c0@oemcomputer>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 01:27:46 -0000

A couple related things we considered:

1. fetching config should include a flag to indicate if defaults should be =
returned.  If defaults are returned, then they should be marked with an att=
ribute (i.e. default=3D"true") so an app can differentiate them

2. marking nodes as server-assignable is a start, but we took it a step fur=
ther and created schema that described which operations would assign a node=
.  We call these "implicit-changes" and also implemented a mechanism whereb=
y the <rpc-reply> can provide an XPATH to each implicitly modified node.  T=
his way a app knows which tree nodes it needs to re-fetch

Thanks,
Kent





From andy@netconfcentral.com  Mon Sep 21 19:55:33 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BADED3A68A5 for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 19:55:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.228
X-Spam-Level: 
X-Spam-Status: No, score=-2.228 tagged_above=-999 required=5 tests=[AWL=0.371,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YPJw7-yD-9yV for <netmod@core3.amsl.com>; Mon, 21 Sep 2009 19:55:33 -0700 (PDT)
Received: from smtp105.sbc.mail.mud.yahoo.com (smtp105.sbc.mail.mud.yahoo.com [68.142.198.204]) by core3.amsl.com (Postfix) with SMTP id E3EC23A6965 for <netmod@ietf.org>; Mon, 21 Sep 2009 19:55:32 -0700 (PDT)
Received: (qmail 53651 invoked from network); 22 Sep 2009 02:56:34 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.128.122 with plain) by smtp105.sbc.mail.mud.yahoo.com with SMTP; 22 Sep 2009 02:56:33 -0000
X-YMail-OSG: XgJLSvMVM1ku97ZEAp1hfbpTnksPJqu85.kZybR6Y4iLR.KivE4fx91aewvyHv.MitVGUEMgb.VmKXMB2LeCqqHMFp89eKaDjml7BwbE2qP4IWE.m11qSAbJFVK.leBaaqMHVJMzStFiTI2rKbd89feiQ5cyJGRObJBncZNF.v0AJFt1awcD784hMos6Bdd.iXvrg60OY8RLwRyTLqu2q2MU8VVtz7LGXcuEf5bUs23S7JcfXpD0oAcc6kCgwUYBZ8DCqiY4PKL.C.E0
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB83CF7.8080402@netconfcentral.com>
Date: Mon, 21 Sep 2009 19:56:55 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Kent Watsen <kwatsen@juniper.net>
References: <4AB502F0.7090705@netconfcentral.com><20090921.101622.06622480.mbj@tail-f.com><00d601ca3af4$eccbf060$6801a8c0@oemcomputer>	<20090921.224009.218553642.mbj@tail-f.com>	<017301ca3b00$2ed48980$6801a8c0@oemcomputer> <84600D05C20FF943918238042D7670FD36646BFAC9@EMBX01-HQ.jnpr.net>
In-Reply-To: <84600D05C20FF943918238042D7670FD36646BFAC9@EMBX01-HQ.jnpr.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 02:55:33 -0000

Kent Watsen wrote:
> A couple related things we considered:
> 
> 1. fetching config should include a flag to indicate if defaults should be returned.  If defaults are returned, then they should be marked with an attribute (i.e. default="true") so an app can differentiate them
> 

Phil says that Juniper customers do not want to
see the defaults.  You are saying that you want
the defaults, plus some meta-data flagging the defaults.

The issue with adding meta-data is whether the client
will deal with it properly.  There is an expectation
that the XML returned in <get-config> can be used directly
in a <copy-config> or <edit-config>, back to the same server.


> 2. marking nodes as server-assignable is a start, but we took it a step further and created schema that described which operations would assign a node.  We call these "implicit-changes" and also implemented a mechanism whereby the <rpc-reply> can provide an XPATH to each implicitly modified node.  This way a app knows which tree nodes it needs to re-fetch
> 

I've seen an interesting CableLabs document (CM-SP-EQAM-PMI-I01-081209)
that identifies which CRUD operations are allowed for every parameter.

I prefer an algorithmic approach for YANG, if possible, but
this basic idea is still much better than ad-hoc description statements.


> Thanks,
> Kent

Andy

From mbj@tail-f.com  Tue Sep 22 00:36:57 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C384F3A686A for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 00:36:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.927
X-Spam-Level: 
X-Spam-Status: No, score=-1.927 tagged_above=-999 required=5 tests=[AWL=0.119,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ra5gC2J2GudX for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 00:36:53 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 0031E3A68C7 for <netmod@ietf.org>; Tue, 22 Sep 2009 00:36:50 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id DA5DC76C5D8; Tue, 22 Sep 2009 09:37:52 +0200 (CEST)
Date: Tue, 22 Sep 2009 09:37:52 +0200 (CEST)
Message-Id: <20090922.093752.44893494.mbj@tail-f.com>
To: randy_presuhn@mindspring.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <017301ca3b00$2ed48980$6801a8c0@oemcomputer>
References: <00d601ca3af4$eccbf060$6801a8c0@oemcomputer> <20090921.224009.218553642.mbj@tail-f.com> <017301ca3b00$2ed48980$6801a8c0@oemcomputer>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 07:36:57 -0000

"Randy Presuhn" <randy_presuhn@mindspring.com> wrote:
> > Do you want to say that default values MAY be assigned by the system?
> ...
> 
> No.  I'd phrase it more like: "if a value is not supplied by the client, the
> default value specified in the model MUST be assigned by the system."
> 
> Stepping back a bit, if I had to use this stuff, here's how I'd like it to
> work:
> 
>     - for purposes of consistency checks and conditional retrieval (e.g.
>       using xpath to find "interesting" parts of the configuration, etc.)
>       the system must behave as though "default" values actually exist,
>       regardless of how they are (not) represented in the internal data store;

Ok.

>     - it must be possible to retrieve the complete set of values actually being
>       used
>       as configuration data, regardless of whether explicitly set by the user
>       or not, and regardless of how they are (not) represented in the internal
>       data store;

Ok.

>     - for some applications it is desirable to be able to retrieve only the
>       subset of
>       configuration data which has been explicitly configured, along with those
>       configuration values  supplied by the server which are not specified in
>       machine-readable form in the model.

Ok.


>       Since this requires an
>       implementation
>       to remember how a bit of configuration came to have its value,

This is implementation specific.  In an implementation which doesn't
store the defaults, there is no extra bit to consider.

It seems we agree on the functionality needed.  But we disagree how it
should be specified.

The problem with always sending all defaults, is that save / restore
will not produce the same result in an implementation that does not
store defaults, since the <get-config> will include all default, and
the <edit-config> (or <copy-config>) will explicitly set all
defaults.

The approach taken in the YANG spec is the opposite.  It allows both
types (actually all three as defined in with-defaults) of
implementations, and the with-defaults I-D allows the client to
control this behavior further.


/martin

From lhotka@cesnet.cz  Tue Sep 22 01:16:20 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0AEB03A696A for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 01:16:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.171
X-Spam-Level: 
X-Spam-Status: No, score=-1.171 tagged_above=-999 required=5 tests=[AWL=0.079,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AxKFvCEBR6TE for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 01:16:19 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 1C0DB3A685C for <netmod@ietf.org>; Tue, 22 Sep 2009 01:16:18 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 10CE2D800EF; Tue, 22 Sep 2009 10:17:21 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AB75EB9.9040000@netconfcentral.com>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Tue, 22 Sep 2009 10:17:19 +0200
Message-Id: <1253607440.6904.14.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 08:16:20 -0000

Andy Bierman píše v Po 21. 09. 2009 v 04:08 -0700:

> A few people (including me) do not
> accept the premise that a node only exists
> if the client creates it. Instead, a node exists
> if its behavior is affecting system operation.
> Your definition of default is focused on syntax
> instead of semantics, and therefore is an inferior
> modeling mechanism.
> 
> Besides, what you are saying totally contradicts
> your previous comments that default leafs exist
> for validation purposes.  If the 'value' exists
> when it is time to generate a 'must-violation'
> (for example), then there must be a node there.

Yes, XPath relies on the notion of "XML document" and for our purposes
this document must contain the leafs with default values, otherwise the
XPath expressions in 'must' and elsewhere won't work properly. Do we
agree on this?

If so, I think the cleanest and least confusing approach is to have the
"conceptual data tree" in YANG the same as this "XML document" for
XPath. This of course doesn't prevent implementors from using the
"explicit" or "trim" approaches in the database and PDUs, they only have
to keep in mind that all statements in the YANG language standard refer
to the "report-all" data tree. The current situation where "conceptual
data tree" may mean different things to different people is IMO very
problematic.

Lada

> 
> The fact that the validation rules apply to the default leafs
> is proof that they exist in the conceptual database model.
> 
> > 
> > 
> > /martin
> > 
> 
> Andy
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From andy@netconfcentral.com  Tue Sep 22 06:28:57 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A8F823A6A47 for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 06:28:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.874
X-Spam-Level: 
X-Spam-Status: No, score=-1.874 tagged_above=-999 required=5 tests=[AWL=0.390,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vbZMHe-DtedS for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 06:28:56 -0700 (PDT)
Received: from smtp128.sbc.mail.sp1.yahoo.com (smtp128.sbc.mail.sp1.yahoo.com [69.147.65.187]) by core3.amsl.com (Postfix) with SMTP id E0C1B3A6A38 for <netmod@ietf.org>; Tue, 22 Sep 2009 06:28:56 -0700 (PDT)
Received: (qmail 14375 invoked from network); 22 Sep 2009 13:29:58 -0000
Received: from adsl-67-126-128-122.dsl.irvnca.pacbell.net (andy@67.126.128.122 with plain) by smtp128.sbc.mail.sp1.yahoo.com with SMTP; 22 Sep 2009 06:29:58 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: n.AIbT4VM1kwrVEB5sMcpTusbsEPnlEi8mu3Tvjj.LoyplkNYSb8lMZSjGPVyFxdhXiqOYR1ff.X3lWfYH4a579Wc9U8cMQ1PJrJ1832dX4yN10NTIJ2cg6xIoaVTzGNqRrlEtzlDKjnmL5Qt4KR7E7GCpyHChSrDp8T3izshw_q55qfQnso3NL4RnRJwMuNd45ltmqhJzD7oR0-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB8D16E.40602@netconfcentral.com>
Date: Tue, 22 Sep 2009 06:30:22 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
References: <4AB3D4CC.6020507@netconfcentral.com>	 <20090921.102428.59888669.mbj@tail-f.com>	 <4AB75204.3090708@netconfcentral.com>	 <20090921.124951.58974622.mbj@tail-f.com>	 <4AB75EB9.9040000@netconfcentral.com> <1253607440.6904.14.camel@missotis>
In-Reply-To: <1253607440.6904.14.camel@missotis>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 13:28:57 -0000

Ladislav Lhotka wrote:
> Andy Bierman píše v Po 21. 09. 2009 v 04:08 -0700:
> 
>> A few people (including me) do not
>> accept the premise that a node only exists
>> if the client creates it. Instead, a node exists
>> if its behavior is affecting system operation.
>> Your definition of default is focused on syntax
>> instead of semantics, and therefore is an inferior
>> modeling mechanism.
>>
>> Besides, what you are saying totally contradicts
>> your previous comments that default leafs exist
>> for validation purposes.  If the 'value' exists
>> when it is time to generate a 'must-violation'
>> (for example), then there must be a node there.
> 
> Yes, XPath relies on the notion of "XML document" and for our purposes
> this document must contain the leafs with default values, otherwise the
> XPath expressions in 'must' and elsewhere won't work properly. Do we
> agree on this?
> 
> If so, I think the cleanest and least confusing approach is to have the
> "conceptual data tree" in YANG the same as this "XML document" for
> XPath. This of course doesn't prevent implementors from using the
> "explicit" or "trim" approaches in the database and PDUs, they only have
> to keep in mind that all statements in the YANG language standard refer
> to the "report-all" data tree. The current situation where "conceptual
> data tree" may mean different things to different people is IMO very
> problematic.
> 

Yes, and it is not just XPath constraints that apply here.
Unique-stmt and other 'plain' YANG constructs are impacted.
It has been stated that the 'full view' of the data tree
is only needed for XPath, but this is false.


> Lada
> 

Andy

From andy@netconfcentral.com  Tue Sep 22 07:24:32 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4E3D03A68AA for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 07:24:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.269
X-Spam-Level: 
X-Spam-Status: No, score=-2.269 tagged_above=-999 required=5 tests=[AWL=0.330,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IKTOv7AvZbec for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 07:24:31 -0700 (PDT)
Received: from smtp105.sbc.mail.mud.yahoo.com (smtp105.sbc.mail.mud.yahoo.com [68.142.198.204]) by core3.amsl.com (Postfix) with SMTP id 679723A697F for <netmod@ietf.org>; Tue, 22 Sep 2009 07:24:31 -0700 (PDT)
Received: (qmail 54294 invoked from network); 22 Sep 2009 14:25:33 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.128.122 with plain) by smtp105.sbc.mail.mud.yahoo.com with SMTP; 22 Sep 2009 14:25:33 -0000
X-YMail-OSG: 7aJtnzUVM1miw0cyc_2epuKkEiqkxICyXAOZtmw2LFjd.ZdwVljfM8a64nP.awYPv7K35FKp9n9ntpSQBGQFrBDY0z3STdxmaotDBpiCYu8OLtp2hfmuFLP1U2GSx0viW5zfOpgLOi_uE4tAyV9wrj2YAA3SA1Gtw21Y71g71zOqem_egrHOYpITNy1mMAIjIENdGaqY5CH4boKOy8FIKN1qkqYZ9o4vo2nJALtoieYdIi32X7_F9tUg6XiBGWcMH0UjBExR4WA1spe0WS7UmWNKlvLiRkJaEOFXfwLjk1Mcpx0ply1kjKmo
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB8DE75.20205@netconfcentral.com>
Date: Tue, 22 Sep 2009 07:25:57 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <00d601ca3af4$eccbf060$6801a8c0@oemcomputer>	<20090921.224009.218553642.mbj@tail-f.com>	<017301ca3b00$2ed48980$6801a8c0@oemcomputer> <20090922.093752.44893494.mbj@tail-f.com>
In-Reply-To: <20090922.093752.44893494.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 14:24:32 -0000

Martin Bjorklund wrote:
> "Randy Presuhn" <randy_presuhn@mindspring.com> wrote:
>>> Do you want to say that default values MAY be assigned by the system?
>> ...
>>
>> No.  I'd phrase it more like: "if a value is not supplied by the client, the
>> default value specified in the model MUST be assigned by the system."
>>
>> Stepping back a bit, if I had to use this stuff, here's how I'd like it to
>> work:
>>
>>     - for purposes of consistency checks and conditional retrieval (e.g.
>>       using xpath to find "interesting" parts of the configuration, etc.)
>>       the system must behave as though "default" values actually exist,
>>       regardless of how they are (not) represented in the internal data store;
> 
> Ok.
> 
>>     - it must be possible to retrieve the complete set of values actually being
>>       used
>>       as configuration data, regardless of whether explicitly set by the user
>>       or not, and regardless of how they are (not) represented in the internal
>>       data store;
> 
> Ok.
> 
>>     - for some applications it is desirable to be able to retrieve only the
>>       subset of
>>       configuration data which has been explicitly configured, along with those
>>       configuration values  supplied by the server which are not specified in
>>       machine-readable form in the model.
> 
> Ok.
> 
> 
>>       Since this requires an
>>       implementation
>>       to remember how a bit of configuration came to have its value,
> 
> This is implementation specific.  In an implementation which doesn't
> store the defaults, there is no extra bit to consider.
> 
> It seems we agree on the functionality needed.  But we disagree how it
> should be specified.
> 


In the conceptual database model, a leaf containing the default value
exists in all implementations.  If there is any value in use at all,
regardless of how it was created, then a 'report-all' retrieval
request will return this leaf.  It is not an implementation-specific
concept at all.  Every server could generate this bit.


> The problem with always sending all defaults, is that save / restore
> will not produce the same result in an implementation that does not
> store defaults, since the <get-config> will include all default, and
> the <edit-config> (or <copy-config>) will explicitly set all
> defaults.
> 

I hope we are not back to Strawman #37:  The only choices are
never send the defaults are always send the defaults, so
better to choose 'never'.

The solution almost 2 years in development by the NETCONF WG
is 'with-defaults'.   If all servers supported 'report-all',
then the problem is solved.  The NETMOD WG is ignored chartered
work almost done in the NETCONF WG, and talking about starting
over in NETCONF with new protocol operations.  This must be
a new definition of 'synergy' I am not familiar with.


> The approach taken in the YANG spec is the opposite.  It allows both
> types (actually all three as defined in with-defaults) of
> implementations, and the with-defaults I-D allows the client to
> control this behavior further.
> 

YANG allows every NETCONF server to decide what each YANG module means,
how it will be validated, and what NETCONF operations will actually
work.  A leafref or i-i can never be set
safely to any value, based on the YANG module, because
a server can provide a different default
to every single session if it wants, via the deviation-stmt.
This is not usable as a standard.


> 
> /martin


Andy

From randy_presuhn@mindspring.com  Tue Sep 22 10:16:17 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id ACB3B3A6A2F for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 10:16:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.301
X-Spam-Level: 
X-Spam-Status: No, score=0.301 tagged_above=-999 required=5 tests=[AWL=0.300,  BAYES_50=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hxONLv12g5fm for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 10:16:16 -0700 (PDT)
Received: from elasmtp-scoter.atl.sa.earthlink.net (elasmtp-scoter.atl.sa.earthlink.net [209.86.89.67]) by core3.amsl.com (Postfix) with ESMTP id 6B78C3A6A1D for <netmod@ietf.org>; Tue, 22 Sep 2009 10:16:16 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=QaC9QSJA82irt5VfUQrYPFfpHyUfTiu99dCbwgSxr+IH+TTtJ0uRAIoafmcLmsPQ; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.187.239.105] (helo=oemcomputer) by elasmtp-scoter.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1Mq8zQ-0004G2-9M for netmod@ietf.org; Tue, 22 Sep 2009 13:17:20 -0400
Message-ID: <006801ca3ba8$9ff29460$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netmod@ietf.org>
References: <4AB3D4CC.6020507@netconfcentral.com><20090921.102428.59888669.mbj@tail-f.com><4AB75204.3090708@netconfcentral.com><20090921.124951.58974622.mbj@tail-f.com><4AB75EB9.9040000@netconfcentral.com> <1253607440.6904.14.camel@missotis>
Date: Tue, 22 Sep 2009 10:17:54 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f903a8923f141782d9b9874085e927353b350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.187.239.105
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 17:16:17 -0000

Hi -

> From: "Ladislav Lhotka" <lhotka@cesnet.cz>
> To: "Andy Bierman" <andy@netconfcentral.com>
> Cc: <netmod@ietf.org>
> Sent: Tuesday, September 22, 2009 1:17 AM
> Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
...
> Yes, XPath relies on the notion of "XML document" and for our purposes
> this document must contain the leafs with default values, otherwise the
> XPath expressions in 'must' and elsewhere won't work properly. Do we
> agree on this?
> 
> If so, I think the cleanest and least confusing approach is to have the
> "conceptual data tree" in YANG the same as this "XML document" for
> XPath. This of course doesn't prevent implementors from using the
> "explicit" or "trim" approaches in the database and PDUs, they only have
> to keep in mind that all statements in the YANG language standard refer
> to the "report-all" data tree. The current situation where "conceptual
> data tree" may mean different things to different people is IMO very
> problematic.
...

I totally agree.

Randy 


From kwatsen@juniper.net  Tue Sep 22 10:48:32 2009
Return-Path: <kwatsen@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EDAC53A6AAA for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 10:48:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.197
X-Spam-Level: 
X-Spam-Status: No, score=-6.197 tagged_above=-999 required=5 tests=[AWL=0.402,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oiOpdgdntFke for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 10:48:30 -0700 (PDT)
Received: from exprod7og105.obsmtp.com (exprod7og105.obsmtp.com [64.18.2.163]) by core3.amsl.com (Postfix) with ESMTP id 0787A3A6946 for <netmod@ietf.org>; Tue, 22 Sep 2009 10:48:29 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob105.postini.com ([64.18.6.12]) with SMTP ID DSNKSrkOK2o/N51m1KSltOHbCNb3N+cXoucD@postini.com; Tue, 22 Sep 2009 10:49:34 PDT
Received: from EMBX01-HQ.jnpr.net ([fe80::c821:7c81:f21f:8bc7]) by P-EMHUB02-HQ.jnpr.net ([fe80::88f9:77fd:dfc:4d51%11]) with mapi; Tue, 22 Sep 2009 10:45:51 -0700
From: Kent Watsen <kwatsen@juniper.net>
To: 'Andy Bierman' <andy@netconfcentral.com>
Date: Tue, 22 Sep 2009 10:45:50 -0700
Thread-Topic: [netmod] validation of default up to server
Thread-Index: Aco7ME6mLql06h7JRoe3nxfAynMMkwAeC9+A
Message-ID: <84600D05C20FF943918238042D7670FD36646BFACC@EMBX01-HQ.jnpr.net>
References: <4AB502F0.7090705@netconfcentral.com><20090921.101622.06622480.mbj@tail-f.com><00d601ca3af4$eccbf060$6801a8c0@oemcomputer> <20090921.224009.218553642.mbj@tail-f.com> <017301ca3b00$2ed48980$6801a8c0@oemcomputer> <84600D05C20FF943918238042D7670FD36646BFAC9@EMBX01-HQ.jnpr.net> <4AB83CF7.8080402@netconfcentral.com>
In-Reply-To: <4AB83CF7.8080402@netconfcentral.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 17:48:32 -0000

> > 1. fetching config should include a flag to indicate if defaults should
> be returned.  If defaults are returned, then they should be marked with a=
n
> attribute (i.e. default=3D"true") so an app can differentiate them
> >
>=20
> Phil says that Juniper customers do not want to
> see the defaults.  You are saying that you want
> the defaults, plus some meta-data flagging the defaults.

Sorry if I was a bit ambiguous, but I was referring to the SOAP interface f=
or our mgt-app; though I believe the same logic applies to the NetConf retu=
rned by the device.  Point being is to give the clients a choice, but havin=
g meta-data flagging the defaults, when returned, is key

Essentially, some clients are smart and able/prefer to figure the impact of=
 defaults for themselves, saving a large amount of bandwidth and then there=
 are the dumb/thin clients that need to have the data-sourcing information =
provided in the response




> The issue with adding meta-data is whether the client
> will deal with it properly.  There is an expectation
> that the XML returned in <get-config> can be used directly
> in a <copy-config> or <edit-config>, back to the same server.
=20
Maybe the spec could satisfy this expectation by stating that the NetConf s=
erver would ignore nodes marked with the "default" attribute in <copy-confi=
g> and <edit-config> operations?
=20


> > 2. marking nodes as server-assignable is a start, but we took it a step
> further and created schema that described which operations would assign a
> node.  We call these "implicit-changes" and also implemented a mechanism
> whereby the <rpc-reply> can provide an XPATH to each implicitly modified
> node.  This way a app knows which tree nodes it needs to re-fetch
> >
>=20
> I've seen an interesting CableLabs document (CM-SP-EQAM-PMI-I01-081209)
> that identifies which CRUD operations are allowed for every parameter.
>=20
> I prefer an algorithmic approach for YANG, if possible, but
> this basic idea is still much better than ad-hoc description statements.


OK, FWIW, here is more detail on what we do (note: we're using XSD for all =
this):

  - in the <appinfo> of the source-node whose modification would trigger an
    implicit change, we can have the following, which indicates how a serve=
r
    might modify other nodes in the config for various <edit-config>
    operations:

      <xs:element name=3D"implicit-changes" minOccurs=3D"0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name=3D"implicit-change" maxOccurs=3D"unbounded">
              <xs:complexType>
                <xs:sequence>

                  <!-- NETCONF <edit-config> operations      -->
                  <xs:element name=3D"source-operation"/>
                    <xs:simpleType>
                      <xs:restriction base=3D"xs:string">
                        <xs:enumeration value=3D"merge"/>
                        <xs:enumeration value=3D"replace"/>
                        <xs:enumeration value=3D"create"/>
                        <xs:enumeration value=3D"delete"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>

                  <!-- NETCONF <edit-config> operations       -->
                  <!-- Optional if same as <source-operation> -->
                  <xs:element name=3D"target-operation" minOccurs=3D"0"/>
                    <xs:simpleType>
                      <xs:restriction base=3D"xs:string">
                        <xs:enumeration value=3D"merge"/>
                        <xs:enumeration value=3D"replace"/>
                        <xs:enumeration value=3D"create"/>
                        <xs:enumeration value=3D"delete"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>

                  <!-- The XPath(s) of target(s) of the      -->
                  <!-- implicit change                       -->
                  <xs:element name=3D"path" type=3D"xpath-value"/>

                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>


Thanks,
Kent


From andy@netconfcentral.com  Tue Sep 22 11:22:06 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2822E3A6964 for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 11:22:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.742
X-Spam-Level: 
X-Spam-Status: No, score=-0.742 tagged_above=-999 required=5 tests=[AWL=-0.878, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_29=0.6, J_CHICKENPOX_43=0.6, J_CHICKENPOX_45=0.6, J_CHICKENPOX_46=0.6, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s-o7XU5-5pXs for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 11:22:05 -0700 (PDT)
Received: from smtp128.sbc.mail.sp1.yahoo.com (smtp128.sbc.mail.sp1.yahoo.com [69.147.65.187]) by core3.amsl.com (Postfix) with SMTP id 0FFDF28C123 for <netmod@ietf.org>; Tue, 22 Sep 2009 11:22:04 -0700 (PDT)
Received: (qmail 37920 invoked from network); 22 Sep 2009 18:23:06 -0000
Received: from adsl-67-126-128-122.dsl.irvnca.pacbell.net (andy@67.126.128.122 with plain) by smtp128.sbc.mail.sp1.yahoo.com with SMTP; 22 Sep 2009 11:23:05 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: vbhgBmsVM1k8BvzM4Q_gyViSYFAQy3XDhbs3Oi7vy8zvT9q_JTPO7.K.LdOKn6n1CEopdLJhFkEDBBK0f5m.4pPWayeCt.6..HWzur5e87lCz6er.8wrTXM9WH.laMFZ8tEdh2HDwuUY6k1oppkbvBFI8.Ihe7WrIiJi9gie7Yi.ctke5eu2H0.QSTwVwRvb_4M0w16Ic7dUJ9s-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB915AA.9020103@netconfcentral.com>
Date: Tue, 22 Sep 2009 11:21:30 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Kent Watsen <kwatsen@juniper.net>
References: <4AB502F0.7090705@netconfcentral.com><20090921.101622.06622480.mbj@tail-f.com><00d601ca3af4$eccbf060$6801a8c0@oemcomputer>	<20090921.224009.218553642.mbj@tail-f.com>	<017301ca3b00$2ed48980$6801a8c0@oemcomputer> <84600D05C20FF943918238042D7670FD36646BFAC9@EMBX01-HQ.jnpr.net> <4AB83CF7.8080402@netconfcentral.com> <84600D05C20FF943918238042D7670FD36646BFACC@EMBX01-HQ.jnpr.net>
In-Reply-To: <84600D05C20FF943918238042D7670FD36646BFACC@EMBX01-HQ.jnpr.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 18:22:06 -0000

Kent Watsen wrote:
> 
>>> 1. fetching config should include a flag to indicate if defaults should
>> be returned.  If defaults are returned, then they should be marked with an
>> attribute (i.e. default="true") so an app can differentiate them
>> Phil says that Juniper customers do not want to
>> see the defaults.  You are saying that you want
>> the defaults, plus some meta-data flagging the defaults.
> 
> Sorry if I was a bit ambiguous, but I was referring to the SOAP interface for our mgt-app; though I believe the same logic applies to the NetConf returned by the device.  Point being is to give the clients a choice, but having meta-data flagging the defaults, when returned, is key
> 

Well, the current YANG proposal allows NETCONF servers to
always leave out default nodes, let alone extra meta-data
describing how each value was added to the conceptual database.


> Essentially, some clients are smart and able/prefer to figure the impact of defaults for themselves, saving a large amount of bandwidth and then there are the dumb/thin clients that need to have the data-sourcing information provided in the response
> 
> 
> 
> 
>> The issue with adding meta-data is whether the client
>> will deal with it properly.  There is an expectation
>> that the XML returned in <get-config> can be used directly
>> in a <copy-config> or <edit-config>, back to the same server.
>  
> Maybe the spec could satisfy this expectation by stating that the NetConf server would ignore nodes marked with the "default" attribute in <copy-config> and <edit-config> operations?
>  
> 

IMO, this is a bit overkill, but not unreasonable to have in
the standard somehow.  I was thinking of qualified XML attributes
stuffed into specific data nodes (in PDUs), like we already
do with the nc:operation, yang:insert, yang:key, and yang:value attributes.

E.g, yang:is-default="true"

  <xs:attribute name="is-boolean" type="xs:boolean" default="false" />


> 
>>> 2. marking nodes as server-assignable is a start, but we took it a step
>> further and created schema that described which operations would assign a
>> node.  We call these "implicit-changes" and also implemented a mechanism
>> whereby the <rpc-reply> can provide an XPATH to each implicitly modified
>> node.  This way a app knows which tree nodes it needs to re-fetch
>> I've seen an interesting CableLabs document (CM-SP-EQAM-PMI-I01-081209)
>> that identifies which CRUD operations are allowed for every parameter.
>>
>> I prefer an algorithmic approach for YANG, if possible, but
>> this basic idea is still much better than ad-hoc description statements.
> 
> 
> OK, FWIW, here is more detail on what we do (note: we're using XSD for all this):
> 
>   - in the <appinfo> of the source-node whose modification would trigger an
>     implicit change, we can have the following, which indicates how a server
>     might modify other nodes in the config for various <edit-config>
>     operations:


So what PDUs would include an instance document conforming
to this XSD?  Does the <implicit-changes> element appear
in NETCONF PDUs?  IT is unclear how this XSD is used.


> 
>       <xs:element name="implicit-changes" minOccurs="0">
>         <xs:complexType>
>           <xs:sequence>
>             <xs:element name="implicit-change" maxOccurs="unbounded">
>               <xs:complexType>
>                 <xs:sequence>
> 
>                   <!-- NETCONF <edit-config> operations      -->
>                   <xs:element name="source-operation"/>
>                     <xs:simpleType>
>                       <xs:restriction base="xs:string">
>                         <xs:enumeration value="merge"/>
>                         <xs:enumeration value="replace"/>
>                         <xs:enumeration value="create"/>
>                         <xs:enumeration value="delete"/>
>                       </xs:restriction>
>                     </xs:simpleType>
>                   </xs:element>
> 
>                   <!-- NETCONF <edit-config> operations       -->
>                   <!-- Optional if same as <source-operation> -->
>                   <xs:element name="target-operation" minOccurs="0"/>
>                     <xs:simpleType>
>                       <xs:restriction base="xs:string">
>                         <xs:enumeration value="merge"/>
>                         <xs:enumeration value="replace"/>
>                         <xs:enumeration value="create"/>
>                         <xs:enumeration value="delete"/>
>                       </xs:restriction>
>                     </xs:simpleType>
>                   </xs:element>
> 
>                   <!-- The XPath(s) of target(s) of the      -->
>                   <!-- implicit change                       -->
>                   <xs:element name="path" type="xpath-value"/>
> 
>                 </xs:sequence>
>               </xs:complexType>
>             </xs:element>
>           </xs:sequence>
>         </xs:complexType>
>       </xs:element>
> 
> 
> Thanks,
> Kent
> 
> 

Andy

From j.schoenwaelder@jacobs-university.de  Tue Sep 22 11:45:18 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 541003A6ADA for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 11:45:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.118
X-Spam-Level: 
X-Spam-Status: No, score=-2.118 tagged_above=-999 required=5 tests=[AWL=0.131,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h+2zy3JhI0Pt for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 11:45:16 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 4149E3A6AD1 for <netmod@ietf.org>; Tue, 22 Sep 2009 11:45:13 -0700 (PDT)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 13B64C000C; Tue, 22 Sep 2009 20:46:17 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id L2nMp2T6FgKh; Tue, 22 Sep 2009 20:46:15 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 9CB00C000A; Tue, 22 Sep 2009 20:46:15 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id AD193CFB196; Tue, 22 Sep 2009 20:46:14 +0200 (CEST)
Date: Tue, 22 Sep 2009 20:46:14 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Randy Presuhn <randy_presuhn@mindspring.com>
Message-ID: <20090922184614.GC13441@elstar.local>
Mail-Followup-To: Randy Presuhn <randy_presuhn@mindspring.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com> <1253607440.6904.14.camel@missotis> <006801ca3ba8$9ff29460$6801a8c0@oemcomputer>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <006801ca3ba8$9ff29460$6801a8c0@oemcomputer>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 18:45:18 -0000

On Tue, Sep 22, 2009 at 07:17:54PM +0200, Randy Presuhn wrote:
> Hi -
> 
> > From: "Ladislav Lhotka" <lhotka@cesnet.cz>
> > To: "Andy Bierman" <andy@netconfcentral.com>
> > Cc: <netmod@ietf.org>
> > Sent: Tuesday, September 22, 2009 1:17 AM
> > Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
> ...
> > Yes, XPath relies on the notion of "XML document" and for our purposes
> > this document must contain the leafs with default values, otherwise the
> > XPath expressions in 'must' and elsewhere won't work properly. Do we
> > agree on this?
> > 
> > If so, I think the cleanest and least confusing approach is to have the
> > "conceptual data tree" in YANG the same as this "XML document" for
> > XPath. This of course doesn't prevent implementors from using the
> > "explicit" or "trim" approaches in the database and PDUs, they only have
> > to keep in mind that all statements in the YANG language standard refer
> > to the "report-all" data tree. The current situation where "conceptual
> > data tree" may mean different things to different people is IMO very
> > problematic.
> ...
> 
> I totally agree.

And I disagree. I am fine with evaluating constraints on the
conceptual data tree and have the isomorph to the XML document but I
have a problem to agree that this implies "report-all" for the data
tree.

/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/>

From randy_presuhn@mindspring.com  Tue Sep 22 12:02:52 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 27B123A6896 for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 12:02:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.149
X-Spam-Level: 
X-Spam-Status: No, score=-1.149 tagged_above=-999 required=5 tests=[AWL=1.450,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vwWmCKJYvAcQ for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 12:02:50 -0700 (PDT)
Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by core3.amsl.com (Postfix) with ESMTP id D50F73A680F for <netmod@ietf.org>; Tue, 22 Sep 2009 12:02:49 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=tmB7e90tpmEqPJPtjR6QV1QtxhpyuItwcbys9hbG4kyz5rrIlAY5RGMWmyJ/VKZj; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [99.187.239.105] (helo=oemcomputer) by elasmtp-banded.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1MqAeX-00065K-RO for netmod@ietf.org; Tue, 22 Sep 2009 15:03:54 -0400
Message-ID: <001001ca3bb7$8306df00$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netmod@ietf.org>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com> <1253607440.6904.14.camel@missotis> <006801ca3ba8$9ff29460$6801a8c0@oemcomputer> <20090922184614.GC13441@elstar.local>
Date: Tue, 22 Sep 2009 12:04:28 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8881afdcb5313ff34f97ecdebb77d21d398e865059ed3739561350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 99.187.239.105
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 19:02:52 -0000

Hi -

> From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
> To: "Randy Presuhn" <randy_presuhn@mindspring.com>
> Cc: <netmod@ietf.org>
> Sent: Tuesday, September 22, 2009 11:46 AM
> Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
>
> On Tue, Sep 22, 2009 at 07:17:54PM +0200, Randy Presuhn wrote:
> > Hi -
> > 
> > > From: "Ladislav Lhotka" <lhotka@cesnet.cz>
> > > To: "Andy Bierman" <andy@netconfcentral.com>
> > > Cc: <netmod@ietf.org>
> > > Sent: Tuesday, September 22, 2009 1:17 AM
> > > Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
> > ...
> > > Yes, XPath relies on the notion of "XML document" and for our purposes
> > > this document must contain the leafs with default values, otherwise the
> > > XPath expressions in 'must' and elsewhere won't work properly. Do we
> > > agree on this?
> > > 
> > > If so, I think the cleanest and least confusing approach is to have the
> > > "conceptual data tree" in YANG the same as this "XML document" for
> > > XPath. This of course doesn't prevent implementors from using the
> > > "explicit" or "trim" approaches in the database and PDUs, they only have
> > > to keep in mind that all statements in the YANG language standard refer
> > > to the "report-all" data tree. The current situation where "conceptual
> > > data tree" may mean different things to different people is IMO very
> > > problematic.
> > ...
> > 
> > I totally agree.
> 
> And I disagree. I am fine with evaluating constraints on the
> conceptual data tree and have the isomorph to the XML document but I
> have a problem to agree that this implies "report-all" for the data
> tree.

I think we're in violent agreement.  Lada wrote "refer to the 'report-all' data
tree'.  I read that as meaning what you described as "isomorph to the
XML document."  That doesn't mean that responses to requests are
necessarily "report-all" - that's a problem for the protocol to nail down.

Randy


From andy@netconfcentral.com  Tue Sep 22 12:22:25 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 867D73A6A60 for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 12:22:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.302
X-Spam-Level: 
X-Spam-Status: No, score=-2.302 tagged_above=-999 required=5 tests=[AWL=0.297,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TjkRz-KS8Ueu for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 12:22:24 -0700 (PDT)
Received: from smtp102.sbc.mail.mud.yahoo.com (smtp102.sbc.mail.mud.yahoo.com [68.142.198.201]) by core3.amsl.com (Postfix) with SMTP id 925A13A696C for <netmod@ietf.org>; Tue, 22 Sep 2009 12:22:23 -0700 (PDT)
Received: (qmail 11568 invoked from network); 22 Sep 2009 19:23:26 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.128.122 with plain) by smtp102.sbc.mail.mud.yahoo.com with SMTP; 22 Sep 2009 19:23:26 -0000
X-YMail-OSG: rnjq5SUVM1lEeIQMt2puVOpFXBYaL49jLVhn5xg1rzh6zV1FXpvyhp.IrPSgoVqwbqcu1pAGxtuMk1suVqQtiU9wg_0GLHzUxdmsFoN50fkPLl5VffEmr_t8WIwb9dNKYLr6OlHvf8x_WQFO760hpUMP.yxPGucNToI3vc12RgvkjuhCzqg89rzAvvXAGD1TD27BjEfcpsX5kJojZU_9i07E8c5TW.n06JlkUtxKPG8EHjDYPx_aX6r_d_Kjb0ZGV8z8MtUYPQjqn0sRNX3fgj8pzOK6Ifjt1gGLwaZOjbYznqtX
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB923CE.4030604@netconfcentral.com>
Date: Tue, 22 Sep 2009 12:21:50 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Randy Presuhn <randy_presuhn@mindspring.com>
References: <4AB3D4CC.6020507@netconfcentral.com>	<20090921.102428.59888669.mbj@tail-f.com>	<4AB75204.3090708@netconfcentral.com>	<20090921.124951.58974622.mbj@tail-f.com>	<4AB75EB9.9040000@netconfcentral.com>	<1253607440.6904.14.camel@missotis>	<006801ca3ba8$9ff29460$6801a8c0@oemcomputer>	<20090922184614.GC13441@elstar.local> <001001ca3bb7$8306df00$6801a8c0@oemcomputer>
In-Reply-To: <001001ca3bb7$8306df00$6801a8c0@oemcomputer>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 19:22:25 -0000

Randy Presuhn wrote:
> Hi -
> 
>> From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
>> To: "Randy Presuhn" <randy_presuhn@mindspring.com>
>> Cc: <netmod@ietf.org>
>> Sent: Tuesday, September 22, 2009 11:46 AM
>> Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
>>
>> On Tue, Sep 22, 2009 at 07:17:54PM +0200, Randy Presuhn wrote:
>>> Hi -
>>>
>>>> From: "Ladislav Lhotka" <lhotka@cesnet.cz>
>>>> To: "Andy Bierman" <andy@netconfcentral.com>
>>>> Cc: <netmod@ietf.org>
>>>> Sent: Tuesday, September 22, 2009 1:17 AM
>>>> Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
>>> ...
>>>> Yes, XPath relies on the notion of "XML document" and for our purposes
>>>> this document must contain the leafs with default values, otherwise the
>>>> XPath expressions in 'must' and elsewhere won't work properly. Do we
>>>> agree on this?
>>>>
>>>> If so, I think the cleanest and least confusing approach is to have the
>>>> "conceptual data tree" in YANG the same as this "XML document" for
>>>> XPath. This of course doesn't prevent implementors from using the
>>>> "explicit" or "trim" approaches in the database and PDUs, they only have
>>>> to keep in mind that all statements in the YANG language standard refer
>>>> to the "report-all" data tree. The current situation where "conceptual
>>>> data tree" may mean different things to different people is IMO very
>>>> problematic.
>>> ...
>>>
>>> I totally agree.
>> And I disagree. I am fine with evaluating constraints on the
>> conceptual data tree and have the isomorph to the XML document but I
>> have a problem to agree that this implies "report-all" for the data
>> tree.
> 
> I think we're in violent agreement.  Lada wrote "refer to the 'report-all' data
> tree'.  I read that as meaning what you described as "isomorph to the
> XML document."  That doesn't mean that responses to requests are
> necessarily "report-all" - that's a problem for the protocol to nail down.
> 

Exactly -- that is what I was trying to say 2 or 3 days ago.
Just because the conceptual model for database validation
is consistent and predictable, does not mean the <copy-config>,
<get> or <get-config> operations always return the defaults.

Although, if I have to know the exact values in use in
order to be able to edit the database (and I do), then retrieval
is critical as well -- in those cases where a hidden default is
causing the database to be invalid somehow.


> Randy
> 

Andy

From lhotka@cesnet.cz  Tue Sep 22 12:24:35 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9F05E3A6849 for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 12:24:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.171
X-Spam-Level: 
X-Spam-Status: No, score=-1.171 tagged_above=-999 required=5 tests=[AWL=0.079,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XQa9sMJ4Tr3v for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 12:24:34 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 6EDB63A6889 for <netmod@ietf.org>; Tue, 22 Sep 2009 12:24:34 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 28FE5D800C1 for <netmod@ietf.org>; Tue, 22 Sep 2009 21:25:38 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: NETMOD Working Group <netmod@ietf.org>
In-Reply-To: <001001ca3bb7$8306df00$6801a8c0@oemcomputer>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com> <1253607440.6904.14.camel@missotis> <006801ca3ba8$9ff29460$6801a8c0@oemcomputer> <20090922184614.GC13441@elstar.local> <001001ca3bb7$8306df00$6801a8c0@oemcomputer>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Tue, 22 Sep 2009 21:25:36 +0200
Message-Id: <1253647536.6904.42.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 19:24:35 -0000

Randy Presuhn píše v Út 22. 09. 2009 v 12:04 -0700:
> Hi -
> 
> > From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
> > To: "Randy Presuhn" <randy_presuhn@mindspring.com>
> > Cc: <netmod@ietf.org>
> > Sent: Tuesday, September 22, 2009 11:46 AM
> > Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
> >
> > On Tue, Sep 22, 2009 at 07:17:54PM +0200, Randy Presuhn wrote:
> > > Hi -
> > > 
> > > > From: "Ladislav Lhotka" <lhotka@cesnet.cz>
> > > > To: "Andy Bierman" <andy@netconfcentral.com>
> > > > Cc: <netmod@ietf.org>
> > > > Sent: Tuesday, September 22, 2009 1:17 AM
> > > > Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
> > > ...
> > > > Yes, XPath relies on the notion of "XML document" and for our purposes
> > > > this document must contain the leafs with default values, otherwise the
> > > > XPath expressions in 'must' and elsewhere won't work properly. Do we
> > > > agree on this?
> > > > 
> > > > If so, I think the cleanest and least confusing approach is to have the
> > > > "conceptual data tree" in YANG the same as this "XML document" for
> > > > XPath. This of course doesn't prevent implementors from using the
> > > > "explicit" or "trim" approaches in the database and PDUs, they only have
> > > > to keep in mind that all statements in the YANG language standard refer
> > > > to the "report-all" data tree. The current situation where "conceptual
> > > > data tree" may mean different things to different people is IMO very
> > > > problematic.
> > > ...
> > > 
> > > I totally agree.
> > 
> > And I disagree. I am fine with evaluating constraints on the
> > conceptual data tree and have the isomorph to the XML document but I
> > have a problem to agree that this implies "report-all" for the data
> > tree.
> 
> I think we're in violent agreement.  Lada wrote "refer to the 'report-all' data
> tree'.  I read that as meaning what you described as "isomorph to the
> XML document."  That doesn't mean that responses to requests are
> necessarily "report-all" - that's a problem for the protocol to nail down.

That's right. For example, the intuitive notion of "mandatory" has a
quite different meaning when applied to different but isomorphic - I'd
say  equivalent - views of the configuration database (hence the lengthy
discussions in this ML). IMO it would be considerably easier to choose
one of the views for specifying the standard. It is not that important
which of the views is chosen but then why not choose the view that's
natural for XPath expressions?

Lada

> 
> Randy
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From andy@netconfcentral.com  Tue Sep 22 12:47:41 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 82FDE3A687B for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 12:47:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.035
X-Spam-Level: 
X-Spam-Status: No, score=-2.035 tagged_above=-999 required=5 tests=[AWL=0.563,  BAYES_00=-2.599, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yrHMtfrLeXey for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 12:47:40 -0700 (PDT)
Received: from n18.bullet.mail.mud.yahoo.com (n18.bullet.mail.mud.yahoo.com [68.142.206.145]) by core3.amsl.com (Postfix) with SMTP id 348483A685B for <netmod@ietf.org>; Tue, 22 Sep 2009 12:47:40 -0700 (PDT)
Received: from [68.142.200.227] by n18.bullet.mail.mud.yahoo.com with NNFMP; 22 Sep 2009 19:48:42 -0000
Received: from [68.142.201.252] by t8.bullet.mud.yahoo.com with NNFMP; 22 Sep 2009 19:48:42 -0000
Received: from [127.0.0.1] by omp413.mail.mud.yahoo.com with NNFMP; 22 Sep 2009 19:48:42 -0000
X-Yahoo-Newman-Id: 874712.10677.bm@omp413.mail.mud.yahoo.com
Received: (qmail 78553 invoked from network); 22 Sep 2009 19:48:42 -0000
Received: from adsl-67-126-128-122.dsl.irvnca.pacbell.net (andy@67.126.128.122 with plain) by smtp105.sbc.mail.sp1.yahoo.com with SMTP; 22 Sep 2009 12:48:41 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: .14JRGsVM1kSXCJQgH4znG768f6qXXZxn9kk3BtXFkIUCznLRZlNCbrGZi8VGCT7R1wz0iPFE8Afyv.KakCt96tHhq4OytS7qF5SIcHzGYgJ0HMuAKerE60GMXKHBIH7lMtgqP5NSFfyCqxGpObYWbMx9nKHa4Mzd3F35hjmB.3BC7cxnIFZ8h6LnrCMDypHqKhavWadCwHedX.8FVUWo2oH9UWOBOSc4qXJWEigxqXYwGk-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB92A33.5030209@netconfcentral.com>
Date: Tue, 22 Sep 2009 12:49:07 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
References: <4AB3D4CC.6020507@netconfcentral.com>	<20090921.102428.59888669.mbj@tail-f.com>	<4AB75204.3090708@netconfcentral.com>	<20090921.124951.58974622.mbj@tail-f.com>	<4AB75EB9.9040000@netconfcentral.com>	<1253607440.6904.14.camel@missotis>	<006801ca3ba8$9ff29460$6801a8c0@oemcomputer>	<20090922184614.GC13441@elstar.local>	<001001ca3bb7$8306df00$6801a8c0@oemcomputer> <1253647536.6904.42.camel@missotis>
In-Reply-To: <1253647536.6904.42.camel@missotis>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 19:47:41 -0000

Ladislav Lhotka wrote:
> Randy Presuhn píše v Út 22. 09. 2009 v 12:04 -0700:
>> Hi -
>>
>>> From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
>>> To: "Randy Presuhn" <randy_presuhn@mindspring.com>
>>> Cc: <netmod@ietf.org>
>>> Sent: Tuesday, September 22, 2009 11:46 AM
>>> Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
>>>
>>> On Tue, Sep 22, 2009 at 07:17:54PM +0200, Randy Presuhn wrote:
>>>> Hi -
>>>>
>>>>> From: "Ladislav Lhotka" <lhotka@cesnet.cz>
>>>>> To: "Andy Bierman" <andy@netconfcentral.com>
>>>>> Cc: <netmod@ietf.org>
>>>>> Sent: Tuesday, September 22, 2009 1:17 AM
>>>>> Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
>>>> ...
>>>>> Yes, XPath relies on the notion of "XML document" and for our purposes
>>>>> this document must contain the leafs with default values, otherwise the
>>>>> XPath expressions in 'must' and elsewhere won't work properly. Do we
>>>>> agree on this?
>>>>>
>>>>> If so, I think the cleanest and least confusing approach is to have the
>>>>> "conceptual data tree" in YANG the same as this "XML document" for
>>>>> XPath. This of course doesn't prevent implementors from using the
>>>>> "explicit" or "trim" approaches in the database and PDUs, they only have
>>>>> to keep in mind that all statements in the YANG language standard refer
>>>>> to the "report-all" data tree. The current situation where "conceptual
>>>>> data tree" may mean different things to different people is IMO very
>>>>> problematic.
>>>> ...
>>>>
>>>> I totally agree.
>>> And I disagree. I am fine with evaluating constraints on the
>>> conceptual data tree and have the isomorph to the XML document but I
>>> have a problem to agree that this implies "report-all" for the data
>>> tree.
>> I think we're in violent agreement.  Lada wrote "refer to the 'report-all' data
>> tree'.  I read that as meaning what you described as "isomorph to the
>> XML document."  That doesn't mean that responses to requests are
>> necessarily "report-all" - that's a problem for the protocol to nail down.
> 
> That's right. For example, the intuitive notion of "mandatory" has a
> quite different meaning when applied to different but isomorphic - I'd
> say  equivalent - views of the configuration database (hence the lengthy
> discussions in this ML). IMO it would be considerably easier to choose
> one of the views for specifying the standard. It is not that important
> which of the views is chosen but then why not choose the view that's
> natural for XPath expressions?
> 

I disagree that it is not important which model is chosen.
I have shown examples where client applications which work
fine, will suddenly break because the server decided it was time
to call that value a default (either new default or deviation).

Also, there are examples where the XPath and non-XPath
constraints need to be in synch

  unique x;
  // XPath omitted, but the default needs to cause an error
  // if a client-provided value is not used for the 2nd to Nth
  // entries, or a client value is the same as the server-selected default

OR


  max-elements 4;

  must "count(.) <= 4";

OR

  must "foo/bar";

  leaf X {
     mandatory true;
     type leafref {
        path ../foo/bar";
     }
  }


IMO, it is critical that the data modeler and application
developer get the same validation behavior on every compliant server
for every YANG database property, not just most of them.

> Lada
> 
>> Randy


Andy



From andy@netconfcentral.com  Tue Sep 22 13:07:09 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B077E3A6A56 for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 13:07:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.833
X-Spam-Level: 
X-Spam-Status: No, score=-1.833 tagged_above=-999 required=5 tests=[AWL=0.431,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8r11EMdXUP9c for <netmod@core3.amsl.com>; Tue, 22 Sep 2009 13:07:09 -0700 (PDT)
Received: from smtp128.sbc.mail.sp1.yahoo.com (smtp128.sbc.mail.sp1.yahoo.com [69.147.65.187]) by core3.amsl.com (Postfix) with SMTP id 0BE6C3A6822 for <netmod@ietf.org>; Tue, 22 Sep 2009 13:07:09 -0700 (PDT)
Received: (qmail 86897 invoked from network); 22 Sep 2009 20:08:10 -0000
Received: from adsl-67-126-128-122.dsl.irvnca.pacbell.net (andy@67.126.128.122 with plain) by smtp128.sbc.mail.sp1.yahoo.com with SMTP; 22 Sep 2009 13:08:10 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: 8ueLNKcVM1kGlH2KBiYaCcblB0kzaoQRZMhTU.EgfERHetFN283Rrpdt_jADHW4DTQl8XFm7cvPy5TKLPvpfACJbrI5_93r3lolxLdeIF6L3bYo7_QFDHAXmLZ0F0iUT1tvK8EsSiCOf6oPUDeQR_n5OwwjiCe_klGLo_LTx.2icnCxTvFs-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4AB92E4B.4080000@netconfcentral.com>
Date: Tue, 22 Sep 2009 13:06:35 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
References: <4AB3D4CC.6020507@netconfcentral.com>	<20090921.102428.59888669.mbj@tail-f.com>	<4AB75204.3090708@netconfcentral.com>	<20090921.124951.58974622.mbj@tail-f.com>	<4AB75EB9.9040000@netconfcentral.com>	<1253607440.6904.14.camel@missotis>	<006801ca3ba8$9ff29460$6801a8c0@oemcomputer>	<20090922184614.GC13441@elstar.local>	<001001ca3bb7$8306df00$6801a8c0@oemcomputer>	<1253647536.6904.42.camel@missotis> <4AB92A33.5030209@netconfcentral.com>
In-Reply-To: <4AB92A33.5030209@netconfcentral.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 20:07:09 -0000

...

Also, default does not apply to leaf-list at all.
It is important that validation rules for leaf and leaf-list
work the same, especially if max-elements=1 (this should
be conceptually equivalent to a leaf for validation purposes).


> 
> I disagree that it is not important which model is chosen.
> I have shown examples where client applications which work
> fine, will suddenly break because the server decided it was time
> to call that value a default (either new default or deviation).
> 
> Also, there are examples where the XPath and non-XPath
> constraints need to be in synch
> 
>   unique x;
>   // XPath omitted, but the default needs to cause an error
>   // if a client-provided value is not used for the 2nd to Nth
>   // entries, or a client value is the same as the server-selected default
> 
> OR
> 
> 
>   max-elements 4;
> 
>   must "count(.) <= 4";
> 
> OR
> 
>   must "foo/bar";
> 
>   leaf X {
>      mandatory true;
>      type leafref {
>         path ../foo/bar";
>      }
>   }
> 
> 
> IMO, it is critical that the data modeler and application
> developer get the same validation behavior on every compliant server
> for every YANG database property, not just most of them.
> 
>> Lada
>>
>>> Randy
> 
> 
> Andy
> 
> 

Andy

From lhotka@cesnet.cz  Wed Sep 23 00:04:31 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7E8713A682F for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 00:04:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.172
X-Spam-Level: 
X-Spam-Status: No, score=-1.172 tagged_above=-999 required=5 tests=[AWL=0.078,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vCYi88FdK0Z5 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 00:04:30 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 6B4B23A67A2 for <netmod@ietf.org>; Wed, 23 Sep 2009 00:04:30 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 15A53D800C1; Wed, 23 Sep 2009 09:05:33 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4AB92A33.5030209@netconfcentral.com>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com>	<1253607440.6904.14.camel@missotis> <006801ca3ba8$9ff29460$6801a8c0@oemcomputer> <20090922184614.GC13441@elstar.local> <001001ca3bb7$8306df00$6801a8c0@oemcomputer> <1253647536.6904.42.camel@missotis> <4AB92A33.5030209@netconfcentral.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 23 Sep 2009 09:05:31 +0200
Message-Id: <1253689531.31142.31.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 07:04:31 -0000

Andy Bierman píše v Út 22. 09. 2009 v 12:49 -0700:
> > 
> > That's right. For example, the intuitive notion of "mandatory" has a
> > quite different meaning when applied to different but isomorphic - I'd
> > say  equivalent - views of the configuration database (hence the lengthy
> > discussions in this ML). IMO it would be considerably easier to choose
> > one of the views for specifying the standard. It is not that important
> > which of the views is chosen but then why not choose the view that's
> > natural for XPath expressions?
> > 
> 
> I disagree that it is not important which model is chosen.
> I have shown examples where client applications which work
> fine, will suddenly break because the server decided it was time
> to call that value a default (either new default or deviation).

Well, this depends on the definition of 'default' and 'mandatory' for a
given model - it should be different for each. But it's true that with
the "report-all" model the server has less degrees of freedom.

> 
> Also, there are examples where the XPath and non-XPath
> constraints need to be in synch

Yes, you are right with these non-XPath constraints.

Lada

> 
>   unique x;
>   // XPath omitted, but the default needs to cause an error
>   // if a client-provided value is not used for the 2nd to Nth
>   // entries, or a client value is the same as the server-selected default
> 
> OR
> 
> 
>   max-elements 4;
> 
>   must "count(.) <= 4";
> 
> OR
> 
>   must "foo/bar";
> 
>   leaf X {
>      mandatory true;
>      type leafref {
>         path ../foo/bar";
>      }
>   }
> 
> 
> IMO, it is critical that the data modeler and application
> developer get the same validation behavior on every compliant server
> for every YANG database property, not just most of them.
> 
> > Lada
> > 
> >> Randy
> 
> 
> Andy
> 
> 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From andy@netconfcentral.com  Wed Sep 23 05:48:53 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F07293A67B3 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 05:48:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.329
X-Spam-Level: 
X-Spam-Status: No, score=-2.329 tagged_above=-999 required=5 tests=[AWL=0.270,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dHOfVQQcOdaD for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 05:48:53 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id 1BA783A6359 for <netmod@ietf.org>; Wed, 23 Sep 2009 05:48:52 -0700 (PDT)
Received: (qmail 87209 invoked from network); 23 Sep 2009 12:49:56 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.243.218 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 23 Sep 2009 12:49:56 -0000
X-YMail-OSG: jkIaLi0VM1mwUpNS1h58v9ybLT2LZ4JWCzAsnisSgGplXx5Vp3nmLNlo1OhnAnSeE89tCtggprSQZiYCTWk_DjD86yr8ASA6Xxg03Pu7De_cvocT7CQWKWfe99USq.sH2KRgALJJ3mLqzd0svYTUM8OKoGSYzWuIWF192vdkRES6MFxxDilwQ3WQ.EhZZK9NfmHp20j7Bt1ROyYIh.fX.LBfFv8K62X8mFdnRwiRuFyeVUWKKpsExSktDtiCLEgY.9XXeRZJ53Ap1Sop
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4ABA1919.9070606@netconfcentral.com>
Date: Wed, 23 Sep 2009 05:48:25 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
References: <4AB3D4CC.6020507@netconfcentral.com>	 <20090921.102428.59888669.mbj@tail-f.com>	 <4AB75204.3090708@netconfcentral.com>	 <20090921.124951.58974622.mbj@tail-f.com>	 <4AB75EB9.9040000@netconfcentral.com>	<1253607440.6904.14.camel@missotis>	 <006801ca3ba8$9ff29460$6801a8c0@oemcomputer>	 <20090922184614.GC13441@elstar.local>	 <001001ca3bb7$8306df00$6801a8c0@oemcomputer>	 <1253647536.6904.42.camel@missotis> <4AB92A33.5030209@netconfcentral.com> <1253689531.31142.31.camel@missotis>
In-Reply-To: <1253689531.31142.31.camel@missotis>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 12:48:54 -0000

Ladislav Lhotka wrote:
> Andy Bierman píše v Út 22. 09. 2009 v 12:49 -0700:
>>> That's right. For example, the intuitive notion of "mandatory" has a
>>> quite different meaning when applied to different but isomorphic - I'd
>>> say  equivalent - views of the configuration database (hence the lengthy
>>> discussions in this ML). IMO it would be considerably easier to choose
>>> one of the views for specifying the standard. It is not that important
>>> which of the views is chosen but then why not choose the view that's
>>> natural for XPath expressions?
>>>
>> I disagree that it is not important which model is chosen.
>> I have shown examples where client applications which work
>> fine, will suddenly break because the server decided it was time
>> to call that value a default (either new default or deviation).
> 
> Well, this depends on the definition of 'default' and 'mandatory' for a
> given model - it should be different for each. But it's true that with
> the "report-all" model the server has less degrees of freedom.
> 

The 'standard' is mostly useless because there is
no standard definition of mandatory or default.


>> Also, there are examples where the XPath and non-XPath
>> constraints need to be in synch
> 
> Yes, you are right with these non-XPath constraints.
> 


Notice that no XPath or 'unique' constraint example we have
ever written on this mailing list has even once made
a distinction between a server-assigned and a client-assigned
leaf value.

To me, this is rather important.
If there is a must-stmt:

   must "foo < (bar+baz+12)";

1) I want it to work the same on every server
2) I want it to work the same whether the client or the server
   created the leafs that are referenced in the expression
3) I want to be able to retrieve the leafs in the expression
   so I know when it is OK to attempt a commit

So far, YANG is what we baseball fans call an 'oh-fer'
on all these issues.

> Lada

Andy

From jmh@joelhalpern.com  Wed Sep 23 06:12:39 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C9C0128C0F3 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 06:12:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.531
X-Spam-Level: 
X-Spam-Status: No, score=-3.531 tagged_above=-999 required=5 tests=[AWL=0.068,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oI0806d05YAO for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 06:12:39 -0700 (PDT)
Received: from hermes.mail.tigertech.net (hermes.mail.tigertech.net [64.62.209.72]) by core3.amsl.com (Postfix) with ESMTP id 3C53A28C0EB for <netmod@ietf.org>; Wed, 23 Sep 2009 06:12:39 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hermes.tigertech.net (Postfix) with ESMTP id A75254300CB; Wed, 23 Sep 2009 06:13:43 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hermes.tigertech.net
Received: from [192.168.1.12] (pool-173-59-34-176.phlapa.fios.verizon.net [173.59.34.176]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hermes.tigertech.net (Postfix) with ESMTP id 454574300C1; Wed, 23 Sep 2009 06:13:43 -0700 (PDT)
Message-ID: <4ABA1F06.4050003@joelhalpern.com>
Date: Wed, 23 Sep 2009 09:13:42 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
References: <4AB3D4CC.6020507@netconfcentral.com>	<20090921.102428.59888669.mbj@tail-f.com>	<4AB75204.3090708@netconfcentral.com>	<20090921.124951.58974622.mbj@tail-f.com>	<4AB75EB9.9040000@netconfcentral.com>	<1253607440.6904.14.camel@missotis>	<006801ca3ba8$9ff29460$6801a8c0@oemcomputer>	<20090922184614.GC13441@elstar.local>	<001001ca3bb7$8306df00$6801a8c0@oemcomputer>	<1253647536.6904.42.camel@missotis>	<4AB92A33.5030209@netconfcentral.com> <1253689531.31142.31.camel@missotis>
In-Reply-To: <1253689531.31142.31.camel@missotis>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 13:12:39 -0000

If the terms mandatory and default mean different things for different 
models then they effectively mean nothing.

If that is true, then they should both be removed from the language.

If we purely want syntax, with no semantics, then that is fine.
If we are trying to add some semantic content, then mandatory and 
default seem the obvious starting point.
And if so those terms MUST mean the same thing for all YANG models.

Yours,
Joel

Ladislav Lhotka wrote:
...
> Well, this depends on the definition of 'default' and 'mandatory' for a
> given model - it should be different for each. 
....

From mbj@tail-f.com  Wed Sep 23 06:16:53 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 12D4C3A6A2E for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 06:16:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.93
X-Spam-Level: 
X-Spam-Status: No, score=-1.93 tagged_above=-999 required=5 tests=[AWL=0.116,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VaHjqdYrMTy0 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 06:16:52 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 580CB3A6881 for <netmod@ietf.org>; Wed, 23 Sep 2009 06:16:52 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id 81FF576C4F6; Wed, 23 Sep 2009 15:17:57 +0200 (CEST)
Date: Wed, 23 Sep 2009 15:17:57 +0200 (CEST)
Message-Id: <20090923.151757.74526186.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4ABA1919.9070606@netconfcentral.com>
References: <4AB92A33.5030209@netconfcentral.com> <1253689531.31142.31.camel@missotis> <4ABA1919.9070606@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 13:16:53 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> If there is a must-stmt:
> 
>    must "foo < (bar+baz+12)";
> 
> 1) I want it to work the same on every server

On every compliant server, yes.

> 2) I want it to work the same whether the client or the server
>    created the leafs that are referenced in the expression

... or if one leaf happens to have its default value.

> 3) I want to be able to retrieve the leafs in the expression
>    so I know when it is OK to attempt a commit

Provided that you have the data models, or the server supports
with-defaults, you can do this.




/martin

From andy@netconfcentral.com  Wed Sep 23 06:22:33 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 696553A6828 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 06:22:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.148
X-Spam-Level: 
X-Spam-Status: No, score=-2.148 tagged_above=-999 required=5 tests=[AWL=0.450,  BAYES_00=-2.599, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HEF55pbb2avs for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 06:22:32 -0700 (PDT)
Received: from n13b.bullet.mail.mud.yahoo.com (n13b.bullet.mail.mud.yahoo.com [68.142.207.222]) by core3.amsl.com (Postfix) with SMTP id 6A31F3A6881 for <netmod@ietf.org>; Wed, 23 Sep 2009 06:22:32 -0700 (PDT)
Received: from [68.142.200.227] by n13.bullet.mail.mud.yahoo.com with NNFMP; 23 Sep 2009 13:23:37 -0000
Received: from [68.142.201.246] by t8.bullet.mud.yahoo.com with NNFMP; 23 Sep 2009 13:23:37 -0000
Received: from [127.0.0.1] by omp407.mail.mud.yahoo.com with NNFMP; 23 Sep 2009 13:23:36 -0000
X-Yahoo-Newman-Id: 983809.4017.bm@omp407.mail.mud.yahoo.com
Received: (qmail 32049 invoked from network); 23 Sep 2009 13:23:36 -0000
Received: from ppp-67-126-243-218.dsl.irvnca.pacbell.net (andy@67.126.243.218 with plain) by smtp103.sbc.mail.sp1.yahoo.com with SMTP; 23 Sep 2009 06:23:36 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: qN8fJhIVM1nkAsWOZn4bKhVkf0jUK7qnkE5xdb6WtF_L9SNwfzkV8dmf2xpsooTJnboD9.Bl5UST2JTCmzMK7vbaqyPX68uZqCxHVdGISL45RtS8FfZiDgoi9AtoChovSh.9YwdUgL0Gl6xVA_MgCohP41f7.pzhEuBYl__tWg8UnKPtbm0-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4ABA2175.4030900@netconfcentral.com>
Date: Wed, 23 Sep 2009 06:24:05 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "Joel M. Halpern" <jmh@joelhalpern.com>
References: <4AB3D4CC.6020507@netconfcentral.com>	<20090921.102428.59888669.mbj@tail-f.com>	<4AB75204.3090708@netconfcentral.com>	<20090921.124951.58974622.mbj@tail-f.com>	<4AB75EB9.9040000@netconfcentral.com>	<1253607440.6904.14.camel@missotis>	<006801ca3ba8$9ff29460$6801a8c0@oemcomputer>	<20090922184614.GC13441@elstar.local>	<001001ca3bb7$8306df00$6801a8c0@oemcomputer>	<1253647536.6904.42.camel@missotis>	<4AB92A33.5030209@netconfcentral.com>	<1253689531.31142.31.camel@missotis> <4ABA1F06.4050003@joelhalpern.com>
In-Reply-To: <4ABA1F06.4050003@joelhalpern.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 13:22:33 -0000

Joel M. Halpern wrote:
> If the terms mandatory and default mean different things for different
> models then they effectively mean nothing.
> 
> If that is true, then they should both be removed from the language.
> 
> If we purely want syntax, with no semantics, then that is fine.
> If we are trying to add some semantic content, then mandatory and
> default seem the obvious starting point.
> And if so those terms MUST mean the same thing for all YANG models.
> 

Well, at the core, we do not agree on what it means
for a data node to exist or not.  Pretty basic stuff.

We do not agree whether the NETCONF server is
the entire system or part of a larger system architecture.

We do not even agree that NETCONF has the right
protocol operations to access these nodes that we can't agree on.

We are better off with no standard content layer in NETCONF,
than a standard that can be implemented so many different ways
that it is useless to the modeler and the application developer.

My concern before YANG started was that it is not the end goal.
The end goal is standard NETCONF content.  It seems like we are still
5 years away from having our first standard configuration object,
if the protocol has to be redesigned to work with YANG.


> Yours,
> Joel

Andy


From andy@netconfcentral.com  Wed Sep 23 06:42:01 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BF16E28C13F for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 06:42:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.351
X-Spam-Level: 
X-Spam-Status: No, score=-2.351 tagged_above=-999 required=5 tests=[AWL=0.248,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kStX7XuSEV9W for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 06:42:00 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id 9F81A28C13A for <netmod@ietf.org>; Wed, 23 Sep 2009 06:42:00 -0700 (PDT)
Received: (qmail 32295 invoked from network); 23 Sep 2009 13:43:04 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.243.218 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 23 Sep 2009 13:43:04 -0000
X-YMail-OSG: oBI3tl4VM1nB_oDtOgUZAOayzRvLEECT9w4AZ7AQWbaYBac6mgdqnoAzntFiOZIshmsKAKeJd87Meu1i2_ME9m41zoisdmJHITgtP8waiQ7MWrAgN2WAW3goNn1Shhypdq7ybBa7mnLPmJSyfKsQ_i5Ja7_kIQ8LgMlHL8q6Mdc.w3hyPs6Gr.EUl68YoE7ChU0Byu7ocNcy.JpwSWf6RFeR9KtYdJCha5EViY3yzp0CcPoKzCoMIIlCTPfGgjtcsT4amkxvj4Kd_t44hxOuPgxuUtN8IJdnCl0opAG4QX5.lPmTHbTvnjU6TzFZd6EtaowJwTdLJu8Biw--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4ABA258A.7090009@netconfcentral.com>
Date: Wed, 23 Sep 2009 06:41:30 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4AB92A33.5030209@netconfcentral.com>	<1253689531.31142.31.camel@missotis>	<4ABA1919.9070606@netconfcentral.com> <20090923.151757.74526186.mbj@tail-f.com>
In-Reply-To: <20090923.151757.74526186.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 13:42:02 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> If there is a must-stmt:
>>
>>    must "foo < (bar+baz+12)";
>>
>> 1) I want it to work the same on every server
> 
> On every compliant server, yes.
> 

But every client is forced to use the deviations
from the server, so the constants specified in the
YANG data models are useless for 'coding to the standard'.


>> 2) I want it to work the same whether the client or the server
>>    created the leafs that are referenced in the expression
> 
> ... or if one leaf happens to have its default value.
> 

But, constraints such as must,
i-i, and leafref do not work the same at all on every server.
The server can have a different 'defaults scheme' for
every leaf, and every session if it wants.

>> 3) I want to be able to retrieve the leafs in the expression
>>    so I know when it is OK to attempt a commit
> 
> Provided that you have the data models, or the server supports
> with-defaults, you can do this.
> 

With-defaults is optional-to-implement and the meta-data
from the server is likely to be incomplete, so 'old server'
and 'new server' distinction algorithms will be impossible to execute.

> 
> 
> 
> /martin
> 

Andy

From mbj@tail-f.com  Wed Sep 23 07:02:56 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7FFBC28C113 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 07:02:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.932
X-Spam-Level: 
X-Spam-Status: No, score=-1.932 tagged_above=-999 required=5 tests=[AWL=0.114,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6++cdVVMX8a6 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 07:02:55 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 9BC1928C101 for <netmod@ietf.org>; Wed, 23 Sep 2009 07:02:55 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id 022EA61600A; Wed, 23 Sep 2009 16:04:00 +0200 (CEST)
Date: Wed, 23 Sep 2009 16:04:00 +0200 (CEST)
Message-Id: <20090923.160400.139995167.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4ABA258A.7090009@netconfcentral.com>
References: <4ABA1919.9070606@netconfcentral.com> <20090923.151757.74526186.mbj@tail-f.com> <4ABA258A.7090009@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 14:02:56 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Martin Bjorklund wrote:
> > Andy Bierman <andy@netconfcentral.com> wrote:
> >> If there is a must-stmt:
> >>
> >>    must "foo < (bar+baz+12)";
> >>
> >> 1) I want it to work the same on every server
> > 
> > On every compliant server, yes.
> > 
> 
> But every client is forced to use the deviations
> from the server, so the constants specified in the
> YANG data models are useless for 'coding to the standard'.

Deviations tells the client how a server is non-compliant.

Where does it say that the client is forced to use them?

We have had this conversation before.  Let's try to identify problems
in the text and fix them.


> >> 2) I want it to work the same whether the client or the server
> >>    created the leafs that are referenced in the expression
> > 
> > ... or if one leaf happens to have its default value.
> > 
> 
> But, constraints such as must,
> i-i, and leafref do not work the same at all on every server.
> The server can have a different 'defaults scheme' for
> every leaf, and every session if it wants.
>
> >> 3) I want to be able to retrieve the leafs in the expression
> >>    so I know when it is OK to attempt a commit
> > 
> > Provided that you have the data models, or the server supports
> > with-defaults, you can do this.
> > 
> 
> With-defaults is optional-to-implement

Should we say that it is mandatory for servers which implements YANG
models?

> and the meta-data
> from the server is likely to be incomplete, so 'old server'
> and 'new server' distinction algorithms will be impossible to execute.

What exactly is the problem?


/martin

From lhotka@cesnet.cz  Wed Sep 23 07:17:31 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 563B73A6A0B for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 07:17:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.173
X-Spam-Level: 
X-Spam-Status: No, score=-1.173 tagged_above=-999 required=5 tests=[AWL=0.077,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 747gDUQPKKQt for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 07:17:30 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 837273A6835 for <netmod@ietf.org>; Wed, 23 Sep 2009 07:17:30 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id C32F7D800C1; Wed, 23 Sep 2009 16:18:33 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4ABA1F06.4050003@joelhalpern.com>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com>	<1253607440.6904.14.camel@missotis> <006801ca3ba8$9ff29460$6801a8c0@oemcomputer> <20090922184614.GC13441@elstar.local> <001001ca3bb7$8306df00$6801a8c0@oemcomputer> <1253647536.6904.42.camel@missotis>	<4AB92A33.5030209@netconfcentral.com> <1253689531.31142.31.camel@missotis> <4ABA1F06.4050003@joelhalpern.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Wed, 23 Sep 2009 16:18:32 +0200
Message-Id: <1253715512.31142.42.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 14:17:31 -0000

Joel M. Halpern píše v St 23. 09. 2009 v 09:13 -0400:
> If the terms mandatory and default mean different things for different 
> models then they effectively mean nothing.

This is a misunderstanding, by models we meant "database models", i.e.
equivalent views of the configuration datastore using the "report-all",
"trim" and "explicit" methods. I am sorry for the confusion.

Lada

> 
> If that is true, then they should both be removed from the language.
> 
> If we purely want syntax, with no semantics, then that is fine.
> If we are trying to add some semantic content, then mandatory and 
> default seem the obvious starting point.
> And if so those terms MUST mean the same thing for all YANG models.
> 
> Yours,
> Joel
> 
> Ladislav Lhotka wrote:
> ...
> > Well, this depends on the definition of 'default' and 'mandatory' for a
> > given model - it should be different for each. 
> ....
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From andy@netconfcentral.com  Wed Sep 23 07:26:44 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 231F43A6A22 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 07:26:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.37
X-Spam-Level: 
X-Spam-Status: No, score=-2.37 tagged_above=-999 required=5 tests=[AWL=0.229,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5mo8WhwVu++F for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 07:26:43 -0700 (PDT)
Received: from smtp105.sbc.mail.mud.yahoo.com (smtp105.sbc.mail.mud.yahoo.com [68.142.198.204]) by core3.amsl.com (Postfix) with SMTP id 36A383A682E for <netmod@ietf.org>; Wed, 23 Sep 2009 07:26:43 -0700 (PDT)
Received: (qmail 48501 invoked from network); 23 Sep 2009 14:27:48 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.243.218 with plain) by smtp105.sbc.mail.mud.yahoo.com with SMTP; 23 Sep 2009 14:27:47 -0000
X-YMail-OSG: mjXsMz0VM1np581ko2eLyD7oOn6.An8JGLC.HpYjJJ57MYRWnJp7S2xQBTXB3H4HC0bEUko6GjDEFIxcRDxv9wNBKaMMLWh8D4rd1OYs5VBT2RgXEoNHLCEn15xp4TSCNXzNlMfnb7Mw6HfntsMerQ8.cesp5T0saeYnqBwq.AfamTifan2h4jdWglVyQ5UJCMu7TvU4JqU3PD3lmhRc5tC2Ve15qJX_HBRMF7dZa68YEp_ohfCyrUzK007vtgA5biI__UStnAwn3c6CStY5YK5K.g.X1fkKMyTIDiVkDecL.ka.UqKiT8JnBpfLwgf_OVcRPweIcdbcyg--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4ABA3081.9060806@netconfcentral.com>
Date: Wed, 23 Sep 2009 07:28:17 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <4ABA1919.9070606@netconfcentral.com>	<20090923.151757.74526186.mbj@tail-f.com>	<4ABA258A.7090009@netconfcentral.com> <20090923.160400.139995167.mbj@tail-f.com>
In-Reply-To: <20090923.160400.139995167.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 14:26:44 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Martin Bjorklund wrote:
>>> Andy Bierman <andy@netconfcentral.com> wrote:
>>>> If there is a must-stmt:
>>>>
>>>>    must "foo < (bar+baz+12)";
>>>>
>>>> 1) I want it to work the same on every server
>>> On every compliant server, yes.
>>>
>> But every client is forced to use the deviations
>> from the server, so the constants specified in the
>> YANG data models are useless for 'coding to the standard'.
> 
> Deviations tells the client how a server is non-compliant.
> 
> Where does it say that the client is forced to use them?
> 

The text in 4 or 5 places that says the client MUST
use the default value.  This text does not say
anything about deviations.

I want it to be clear where to point the blame when
a client and server do not interoperate.  This is
why specs matter in the IETF.  Vendor A won't
budge and vendor B claims vendor A is wrong
and won't change any code either.  If the standard
says they are both right, then the standard is
not that useful.


> We have had this conversation before.  Let's try to identify problems
> in the text and fix them.
> 
> 
>>>> 2) I want it to work the same whether the client or the server
>>>>    created the leafs that are referenced in the expression
>>> ... or if one leaf happens to have its default value.
>>>
>> But, constraints such as must,
>> i-i, and leafref do not work the same at all on every server.
>> The server can have a different 'defaults scheme' for
>> every leaf, and every session if it wants.
>>
>>>> 3) I want to be able to retrieve the leafs in the expression
>>>>    so I know when it is OK to attempt a commit
>>> Provided that you have the data models, or the server supports
>>> with-defaults, you can do this.
>>>
>> With-defaults is optional-to-implement
> 
> Should we say that it is mandatory for servers which implements YANG
> models?
> 

yes.
IMO, this is the most operationally friendly decision,
because forcing data modelers and servers to keep all
the meta-data 100% complete is not realistic.
It also allows the server to leave out defaults
except when explicitly requested by the client.
This is exactly the operational mode everybody
wants anyway.


>> and the meta-data
>> from the server is likely to be incomplete, so 'old server'
>> and 'new server' distinction algorithms will be impossible to execute.
> 
> What exactly is the problem?
> 

I'm not going to re-list all the
ways for the client to guess wrong about
the meaning of a missing leaf.  It's in the
ML archive if you care to read it.


> 
> /martin
> 

Andy

From andy@netconfcentral.com  Wed Sep 23 08:36:58 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 412903A699D for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 08:36:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.223
X-Spam-Level: 
X-Spam-Status: No, score=-2.223 tagged_above=-999 required=5 tests=[AWL=0.375,  BAYES_00=-2.599, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ymbLRl5EHQgs for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 08:36:57 -0700 (PDT)
Received: from n22.bullet.mail.mud.yahoo.com (n22.bullet.mail.mud.yahoo.com [68.142.206.161]) by core3.amsl.com (Postfix) with SMTP id 4AC793A6887 for <netmod@ietf.org>; Wed, 23 Sep 2009 08:36:57 -0700 (PDT)
Received: from [68.142.200.226] by n22.bullet.mail.mud.yahoo.com with NNFMP; 23 Sep 2009 15:38:01 -0000
Received: from [68.142.201.254] by t7.bullet.mud.yahoo.com with NNFMP; 23 Sep 2009 15:38:01 -0000
Received: from [127.0.0.1] by omp415.mail.mud.yahoo.com with NNFMP; 23 Sep 2009 15:38:01 -0000
X-Yahoo-Newman-Id: 655924.56623.bm@omp415.mail.mud.yahoo.com
Received: (qmail 2139 invoked from network); 23 Sep 2009 15:38:01 -0000
Received: from ppp-67-126-243-218.dsl.irvnca.pacbell.net (andy@67.126.243.218 with plain) by smtp108.sbc.mail.sp1.yahoo.com with SMTP; 23 Sep 2009 08:38:01 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: 4LNz0YAVM1lw9.AkZUnH6s1zwBAMP89y7XybM1vZZvA58frZiUJaQ9bRmIyyu6.Yv5MHSe8T6BJWctETukjubU_2cbxevHbfFwx5YYoR9WunuQqJ0sG8.PU.xDfUZM0sBTV8TSTzT70B6_IclDVHjsoVAeOzPVGat8iRkmm6nPNbVN4SpxBbZwFZhai7vIy8myP3Aca_8USGh1U-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4ABA40F7.4020104@netconfcentral.com>
Date: Wed, 23 Sep 2009 08:38:31 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] sshd_config example
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 15:36:58 -0000

Hi,

One implementation choice for a NETCONF server running
on linux is to run a 'thin client' between the OpenSSH 'sshd'
server and the NETCONF server.

When adding the thin-client subsystem to the sshd_config file,
a 'Port 830' command needs to be added, or sshd will
not listen on port 830 for any connections.

If no Port command is given, then only port 22 will be used by sshd.

But if the NETCONF server adds 'Port 830', the sshd server will
not listen on port 22 anymore.  Both 'Port 22' and 'Port 830'
need to be specified to get the desired results.  In a config file,
the Port command can appear multiple times, even duplicates.

   leaf-list Port {
     description
      "TCP ports that sshd will listen for new connections.";
     type inet:port-number;
     default 22;    // if client does not set any ports,
                    // then there will be 1 data node == 22
                    // if the client sets any ports, the
                    // default will not be used anymore
   }


YANG does not actually support this semantics for leaf-list
of course, but maybe it should allow the default-stmt,
with the same sort of semantics as used by sshd.

As for retrieval operations on <Port>,
a generalized automation-focused application wants
to retrieve the port number(s) that can be used,
not guess at the values in use.

The CLI-focused way is say there is no instance of <Port>
if the server creates the default, and the
operator 'knows' that.  IMO, it is better to use
a few milliseconds of CPU time to be sure, especially if
there is reason to think the server behavior
could be the cause of a network outage.


Andy







From andy@netconfcentral.com  Wed Sep 23 09:32:05 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0A3AC3A6A3B for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 09:32:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.387
X-Spam-Level: 
X-Spam-Status: No, score=-2.387 tagged_above=-999 required=5 tests=[AWL=0.212,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rC4no7uH-ame for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 09:32:04 -0700 (PDT)
Received: from smtp105.sbc.mail.mud.yahoo.com (smtp105.sbc.mail.mud.yahoo.com [68.142.198.204]) by core3.amsl.com (Postfix) with SMTP id 38ACE3A68A7 for <netmod@ietf.org>; Wed, 23 Sep 2009 09:32:04 -0700 (PDT)
Received: (qmail 45148 invoked from network); 23 Sep 2009 16:33:10 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.243.218 with plain) by smtp105.sbc.mail.mud.yahoo.com with SMTP; 23 Sep 2009 16:33:10 -0000
X-YMail-OSG: eAUGzFgVM1lWM30QK329prkeoD37bUvie1YtkkReLxAvvClGsNcrh6s.8vQDETw7BYERRT2GCDOo7xgP2w4OOXyb7qvZTaowPzflu0y.knmfadz2_9EtF8MMwZskN8cbodHvr4BrQnNgtJGnF9BjCKvbN5gk38iHYDpdx6YRJ5vBSGa2QYA6BoGvohbEBvO9dlpKvFu.QnD6b72pSfnlMFBN23bMN.hXWt2wMh4Ub_QUshF4ljVcW31Ard34zosHTa5HzqIMx5rZsqSNX0ylchL9aBEvGYyhejMChFxp53cInq0N
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4ABA4DE4.4010806@netconfcentral.com>
Date: Wed, 23 Sep 2009 09:33:40 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Randy Presuhn <randy_presuhn@mindspring.com>,  "netmod@ietf.org" <netmod@ietf.org>
References: <4AB3D4CC.6020507@netconfcentral.com>	<20090921.102428.59888669.mbj@tail-f.com>	<4AB75204.3090708@netconfcentral.com>	<20090921.124951.58974622.mbj@tail-f.com>	<4AB75EB9.9040000@netconfcentral.com>	<1253607440.6904.14.camel@missotis>	<006801ca3ba8$9ff29460$6801a8c0@oemcomputer> <20090922184614.GC13441@elstar.local>
In-Reply-To: <20090922184614.GC13441@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 16:32:05 -0000

Juergen Schoenwaelder wrote:
> On Tue, Sep 22, 2009 at 07:17:54PM +0200, Randy Presuhn wrote:
>> Hi -
>>
>>> From: "Ladislav Lhotka" <lhotka@cesnet.cz>
>>> To: "Andy Bierman" <andy@netconfcentral.com>
>>> Cc: <netmod@ietf.org>
>>> Sent: Tuesday, September 22, 2009 1:17 AM
>>> Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
>> ...
>>> Yes, XPath relies on the notion of "XML document" and for our purposes
>>> this document must contain the leafs with default values, otherwise the
>>> XPath expressions in 'must' and elsewhere won't work properly. Do we
>>> agree on this?
>>>
>>> If so, I think the cleanest and least confusing approach is to have the
>>> "conceptual data tree" in YANG the same as this "XML document" for
>>> XPath. This of course doesn't prevent implementors from using the
>>> "explicit" or "trim" approaches in the database and PDUs, they only have
>>> to keep in mind that all statements in the YANG language standard refer
>>> to the "report-all" data tree. The current situation where "conceptual
>>> data tree" may mean different things to different people is IMO very
>>> problematic.
>> ...
>>
>> I totally agree.
> 
> And I disagree. I am fine with evaluating constraints on the
> conceptual data tree and have the isomorph to the XML document but I
> have a problem to agree that this implies "report-all" for the data
> tree.
> 

Why?

When a data modeler writes a YANG module, they are trying
to specify the desired end state of the running system.
They are *not* focusing on the YANG syntax, or the external
representation of a YANG configuration database.
If they write some constraints (e.g. mtu value on an
interface), the constraint refers to the behavior
of the running system, not the syntax in an external
config file.

So we are a million miles apart on the reason for even
having a data modeling language, let alone the details.

> /js
> 

Andy

From andy@netconfcentral.com  Wed Sep 23 10:22:35 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B965C3A691B for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 10:22:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level: 
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5 tests=[AWL=0.022,  BAYES_00=-2.599, J_CHICKENPOX_64=0.6, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uktl1w7mPD67 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 10:22:35 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id E66733A659A for <netmod@ietf.org>; Wed, 23 Sep 2009 10:22:34 -0700 (PDT)
Received: (qmail 23708 invoked from network); 23 Sep 2009 17:23:38 -0000
Received: from ppp-67-126-243-218.dsl.irvnca.pacbell.net (andy@67.126.243.218 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 23 Sep 2009 10:23:37 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: _l9e0.sVM1lETaDe5pc8Z58d00QfqKhvURRhkqxvayBetWqGDMou8vVUpf6VyT.ID575yyKuaHhEoDmHp0GKt7hEtDKlkR.2_.znGzUFomaTB6JIDlP2XoBIgdsVqmbV3xhtLtLEi63IvjWj6Vq9AtH1r4QhQ5L.MYdwxzjeeYo5uIVgbUVwzf9Psf5NRzoSWVJG3.rHhpZPcDQCVrjqKp1OV8LAxfRrBUaTtPJqGVdx3QKMnlx7oriZ2Io7NRriLlvJM6WNissqlsabl4ZHRGoO9gWaYTIURhhHVgjBrkoMQhTo
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4ABA593E.5080202@netconfcentral.com>
Date: Wed, 23 Sep 2009 10:22:06 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
References: <4ABA40F7.4020104@netconfcentral.com>
In-Reply-To: <4ABA40F7.4020104@netconfcentral.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] sshd_config example
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 17:22:35 -0000

Andy Bierman wrote:
> Hi,


I forgot to point out that this unix use-case is more
the exception than the rule -- I'm not sure how important
it really is to YANG.

But it shows that the SSH server will treat a client-set
Port command and a server-set Port command very differently.
and treating the default as if it were config=true in this
case would not be consistent with the intended system behavior.

(I.e., when client adds a Port command, this needs to replace the
default, not add another node to the leaf-list. I don't
see much difference for a leaf though, other than wasting
space in NV-storage.)


Andy


> 
> One implementation choice for a NETCONF server running
> on linux is to run a 'thin client' between the OpenSSH 'sshd'
> server and the NETCONF server.
> 
> When adding the thin-client subsystem to the sshd_config file,
> a 'Port 830' command needs to be added, or sshd will
> not listen on port 830 for any connections.
> 
> If no Port command is given, then only port 22 will be used by sshd.
> 
> But if the NETCONF server adds 'Port 830', the sshd server will
> not listen on port 22 anymore.  Both 'Port 22' and 'Port 830'
> need to be specified to get the desired results.  In a config file,
> the Port command can appear multiple times, even duplicates.
> 
>    leaf-list Port {
>      description
>       "TCP ports that sshd will listen for new connections.";
>      type inet:port-number;
>      default 22;    // if client does not set any ports,
>                     // then there will be 1 data node == 22
>                     // if the client sets any ports, the
>                     // default will not be used anymore
>    }
> 
> 
> YANG does not actually support this semantics for leaf-list
> of course, but maybe it should allow the default-stmt,
> with the same sort of semantics as used by sshd.
> 
> As for retrieval operations on <Port>,
> a generalized automation-focused application wants
> to retrieve the port number(s) that can be used,
> not guess at the values in use.
> 
> The CLI-focused way is say there is no instance of <Port>
> if the server creates the default, and the
> operator 'knows' that.  IMO, it is better to use
> a few milliseconds of CPU time to be sure, especially if
> there is reason to think the server behavior
> could be the cause of a network outage.
> 
> 
> Andy
> 
> 
> 
> 
> 
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
> 


From david.partain@ericsson.com  Wed Sep 23 14:00:08 2009
Return-Path: <david.partain@ericsson.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 809F03A688D; Wed, 23 Sep 2009 14:00:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.749
X-Spam-Level: 
X-Spam-Status: No, score=-5.749 tagged_above=-999 required=5 tests=[AWL=0.500,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1FtpxLymUNDz; Wed, 23 Sep 2009 14:00:07 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id EE8463A6819; Wed, 23 Sep 2009 14:00:06 -0700 (PDT)
X-AuditID: c1b4fb3c-b7b6eae000003d08-71-4aba8c98ba3e
Received: from esealmw128.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 28.D6.15624.89C8ABA4; Wed, 23 Sep 2009 23:01:12 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.170]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 23 Sep 2009 23:00:13 +0200
Received: from [153.88.44.75] ([153.88.44.75]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 23 Sep 2009 23:00:12 +0200
Content-Disposition: inline
From: David Partain <david.partain@ericsson.com>
Organization: Ericsson AB
To: NETMOD Working Group <netmod@ietf.org>, NETCONF <netconf@ietf.org>
Date: Wed, 23 Sep 2009 23:00:15 +0200
User-Agent: KMail/1.9.10
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200909232300.15671.david.partain@ericsson.com>
X-OriginalArrivalTime: 23 Sep 2009 21:00:12.0934 (UTC) FILETIME=[D7F11A60:01CA3C90]
X-Brightmail-Tracker: AAAAAA==
Subject: [netmod] Information about a phone call tomorrow (Thursday)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 21:00:08 -0000

Greetings,

I apologize for the cross-posting, but it seems necessary in this case.

The chairs of NETCONF and NETMOD are trying to find a good way forward from 
the current discussions around default handling in NETCONF and NETMOD.  In 
order for us (the chairs) to understand what the issues are, we've asked some 
of the primary participants if they'd be join a conference call to help us 
understand the issues better.  This call will take place tomorrow (Thursday, 
Sep 24) for two hours from 22:00 CET (16:00 East Coast U.S., 13:00 West Coast 
U.S.).

This is _not_ an "interim" of any kind, simply the chairs trying to get input.  
No decisions will be taken during the meeting.  Any suggestions that might 
come out of the discussions will be published, discussed, and decided upon on 
the NETCONF and NETMOD mailing lists, of course.

The issue at hand is default handling, which some think is broken and others 
do not.  We as chairs need to determine if there is any common ground so we 
can move on.

Others are welcome to participate in the meeting.  If you want to call in, 
please contact me in advance of the meeting.

Two things about the meeting:

1. Prior to the meeting (please...), we would like each participant to write a 
short message to the four of us giving us your take on the situation.  As you 
see it, what are the issues where there is disagreement?  If you have 
concrete suggestions about what you think should be done to fix it, that's 
good, too.

2. All participants SHOULD be connected to jabber.  We're going to use it for 
floor control.  We will use the NETMOD jabber room:

Server: jabber.ietf.org
Room: netmod

The moderator will call on people who "raise their hand" in jabber.  
Otherwise, the call may be too chaotic to be helpful.  If you cannot use 
jabber, let me know.

Please let me know if you want to participate.

Cheers,

David, on behalf of NETMOD and NETMOD chairs

From kwatsen@juniper.net  Wed Sep 23 14:13:39 2009
Return-Path: <kwatsen@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 045293A6977 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 14:13:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.297
X-Spam-Level: 
X-Spam-Status: No, score=-6.297 tagged_above=-999 required=5 tests=[AWL=0.302,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kqIw--MUlw7p for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 14:13:38 -0700 (PDT)
Received: from exprod7og120.obsmtp.com (exprod7og120.obsmtp.com [64.18.2.18]) by core3.amsl.com (Postfix) with ESMTP id ECD9F3A68A1 for <netmod@ietf.org>; Wed, 23 Sep 2009 14:13:37 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob120.postini.com ([64.18.6.12]) with SMTP ID DSNKSrqPwnl9uiDcezgNshhDevpiWl58HWJ3@postini.com; Wed, 23 Sep 2009 14:14:45 PDT
Received: from EMBX01-HQ.jnpr.net ([fe80::c821:7c81:f21f:8bc7]) by P-EMHUB01-HQ.jnpr.net ([fe80::fc92:eb1:759:2c72%11]) with mapi; Wed, 23 Sep 2009 14:10:13 -0700
From: Kent Watsen <kwatsen@juniper.net>
To: 'Andy Bierman' <andy@netconfcentral.com>
Date: Wed, 23 Sep 2009 14:10:13 -0700
Thread-Topic: [netmod] validation of default up to server
Thread-Index: Aco7sbv0atqvYnh+R6ivv0OmikER+AA24NEQ
Message-ID: <84600D05C20FF943918238042D7670FD36646BFADB@EMBX01-HQ.jnpr.net>
References: <4AB502F0.7090705@netconfcentral.com><20090921.101622.06622480.mbj@tail-f.com><00d601ca3af4$eccbf060$6801a8c0@oemcomputer> <20090921.224009.218553642.mbj@tail-f.com> <017301ca3b00$2ed48980$6801a8c0@oemcomputer> <84600D05C20FF943918238042D7670FD36646BFAC9@EMBX01-HQ.jnpr.net> <4AB83CF7.8080402@netconfcentral.com> <84600D05C20FF943918238042D7670FD36646BFACC@EMBX01-HQ.jnpr.net> <4AB915AA.9020103@netconfcentral.com>
In-Reply-To: <4AB915AA.9020103@netconfcentral.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] validation of default up to server
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 21:13:39 -0000

> E.g, yang:is-default=3D"true"
>=20
>   <xs:attribute name=3D"is-boolean" type=3D"xs:boolean" default=3D"false"=
 />

Right, I think we're saying the same thing.  For instance:

<get-config>
   <yang:expand/>  // client requests server to also return defaults
</get-config>      // PS: I don't care what the flag is called


RPC Reply:

  ----SNIP----
  <interfaces>
    <interface>
      <mtu>1400<mtu>  // user has explicitly configured MTU =3D 1400
      ...
    </interface>
    <interface>
      <mtu>1500<mtu>  // user has explicitly configured MTU =3D 1500
      ...
    </interface>
    <interface>
      <mtu is-default=3D"true">1500<mtu>  // no user value, default used
      ...
    </interface>
  </interfaces>
  ----SNIP----


> So what PDUs would include an instance document conforming
> to this XSD?  Does the <implicit-changes> element appear
> in NETCONF PDUs?  IT is unclear how this XSD is used.

No PDUs would contain this appinfo, it is only in our config schema so the =
app can determine which config node(s) would need to be re-imported thru st=
atic analysis.  Anyway, the point is that we can do better than just markin=
g nodes as <server-assignable> - it's more useful to detail when/how they a=
re server-modified

That said, we also defined a ":implicit-change" capability to extend the <g=
et-config> rpc-reply (using <rpc-error> with severity=3D"warning") to dynam=
ically return a list of nodes implicitly changed by the server.  Thus it is=
 up to the device team if they want to model it or calculate it at runtime


Thanks,
Kent



From jmh@joelhalpern.com  Wed Sep 23 15:51:08 2009
Return-Path: <jmh@joelhalpern.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BD5913A6918 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 15:51:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.833
X-Spam-Level: 
X-Spam-Status: No, score=-2.833 tagged_above=-999 required=5 tests=[AWL=-0.234, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DlRbVT1LjuoL for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 15:51:08 -0700 (PDT)
Received: from hgblob.mail.tigertech.net (hgblob.mail.tigertech.net [64.62.209.71]) by core3.amsl.com (Postfix) with ESMTP id 1BF2A3A68CC for <netmod@ietf.org>; Wed, 23 Sep 2009 15:51:08 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by hgblob.tigertech.net (Postfix) with ESMTP id 8A0A632317AF; Wed, 23 Sep 2009 15:52:15 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at hgblob.tigertech.net
Received: from [10.10.10.101] (pool-71-161-51-45.clppva.btas.verizon.net [71.161.51.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hgblob.tigertech.net (Postfix) with ESMTP id F093232317AB; Wed, 23 Sep 2009 15:52:14 -0700 (PDT)
Message-ID: <4ABAA69D.8080806@joelhalpern.com>
Date: Wed, 23 Sep 2009 18:52:13 -0400
From: "Joel M. Halpern" <jmh@joelhalpern.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
References: <4AB3D4CC.6020507@netconfcentral.com>	 <20090921.102428.59888669.mbj@tail-f.com>	 <4AB75204.3090708@netconfcentral.com>	 <20090921.124951.58974622.mbj@tail-f.com>	 <4AB75EB9.9040000@netconfcentral.com>	<1253607440.6904.14.camel@missotis>	 <006801ca3ba8$9ff29460$6801a8c0@oemcomputer>	 <20090922184614.GC13441@elstar.local>	 <001001ca3bb7$8306df00$6801a8c0@oemcomputer>	 <1253647536.6904.42.camel@missotis>	<4AB92A33.5030209@netconfcentral.com>	 <1253689531.31142.31.camel@missotis> <4ABA1F06.4050003@joelhalpern.com> <1253715512.31142.42.camel@missotis>
In-Reply-To: <1253715512.31142.42.camel@missotis>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 22:51:08 -0000

At least as you have phrased this, I disagree.
The difference between report-all, trim, or explicit, should not (MUST 
NOT) actually drive any difference in what the "mandatory" or "default" 
statements mean or do.
Those reporting flags simply affect what portion of the contents of the 
theoretical data model are reported to the requestor.  If those are 
treated as corresponding to three actually distinct data models, we have 
a nightmare that noone will be able to understand, and I would be 
willing to bet on sufficiently different implementations that 
interoperability will be near-meaningless.

Yours,
Joel

Ladislav Lhotka wrote:
> Joel M. Halpern píše v St 23. 09. 2009 v 09:13 -0400:
>> If the terms mandatory and default mean different things for different 
>> models then they effectively mean nothing.
> 
> This is a misunderstanding, by models we meant "database models", i.e.
> equivalent views of the configuration datastore using the "report-all",
> "trim" and "explicit" methods. I am sorry for the confusion.
> 
> Lada
> 
>> If that is true, then they should both be removed from the language.
>>
>> If we purely want syntax, with no semantics, then that is fine.
>> If we are trying to add some semantic content, then mandatory and 
>> default seem the obvious starting point.
>> And if so those terms MUST mean the same thing for all YANG models.
>>
>> Yours,
>> Joel
>>
>> Ladislav Lhotka wrote:
>> ...
>>> Well, this depends on the definition of 'default' and 'mandatory' for a
>>> given model - it should be different for each. 
>> ....

From j.schoenwaelder@jacobs-university.de  Wed Sep 23 16:09:26 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 986863A6819 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 16:09:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.119
X-Spam-Level: 
X-Spam-Status: No, score=-2.119 tagged_above=-999 required=5 tests=[AWL=0.130,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id akCBMemTyR-X for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 16:09:25 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 94B973A6818 for <netmod@ietf.org>; Wed, 23 Sep 2009 16:09:25 -0700 (PDT)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 54707C0011; Thu, 24 Sep 2009 01:10:32 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id qOaEubW4FkGI; Thu, 24 Sep 2009 01:10:31 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 45FBCC0004; Thu, 24 Sep 2009 01:10:31 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 63EBCCFCC48; Thu, 24 Sep 2009 01:10:30 +0200 (CEST)
Date: Thu, 24 Sep 2009 01:10:30 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.com>
Message-ID: <20090923231030.GA15567@elstar.local>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.com>, Randy Presuhn <randy_presuhn@mindspring.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com> <1253607440.6904.14.camel@missotis> <006801ca3ba8$9ff29460$6801a8c0@oemcomputer> <20090922184614.GC13441@elstar.local> <4ABA4DE4.4010806@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4ABA4DE4.4010806@netconfcentral.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 23:09:26 -0000

On Wed, Sep 23, 2009 at 06:33:40PM +0200, Andy Bierman wrote:
 
> When a data modeler writes a YANG module, they are trying
> to specify the desired end state of the running system.
> They are *not* focusing on the YANG syntax, or the external
> representation of a YANG configuration database.
> If they write some constraints (e.g. mtu value on an
> interface), the constraint refers to the behavior
> of the running system, not the syntax in an external
> config file.

So far, I thought we agree that constraints are validated at
config commit time and this meant to me that constraints apply to
a system's config and not to "the desired end state".
 
> So we are a million miles apart on the reason for even
> having a data modeling language, let alone the details.

Yes, every email seems to increase our distance.

/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/>

From andy@netconfcentral.com  Wed Sep 23 16:30:33 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7647E3A659C for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 16:30:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.401
X-Spam-Level: 
X-Spam-Status: No, score=-2.401 tagged_above=-999 required=5 tests=[AWL=0.198,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rqXfyZ-yuA33 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 16:30:31 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id 065F43A6976 for <netmod@ietf.org>; Wed, 23 Sep 2009 16:30:30 -0700 (PDT)
Received: (qmail 18096 invoked from network); 23 Sep 2009 23:31:35 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.243.218 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 23 Sep 2009 23:31:35 -0000
X-YMail-OSG: 9sqADxIVM1k6GuT.0_o2z8hJoFNHVPDZ4Uyd6tRlMJdStYEBKYSPF4c59HzrhZ7AZ0ruN.BT_KuV6TtXYfZ4AEIQMHRVFuGhfsUYwG31TcM6Aw1pcqooCF4Omh21dd0lENvFsboFlAkJYNtp.2ea3mWGLT42KYzcEqw43umoOlJQ3dO_23053pQmMg4K6i4itw1xwyjUc7T6lVYRVRZWs8dCFbpUTKtC9DEcYwF8XT1rbzC.PN89W01zXQ--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4ABAAFF6.4070106@netconfcentral.com>
Date: Wed, 23 Sep 2009 16:32:06 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: "Joel M. Halpern" <jmh@joelhalpern.com>
References: <4AB3D4CC.6020507@netconfcentral.com>		<20090921.102428.59888669.mbj@tail-f.com>		<4AB75204.3090708@netconfcentral.com>		<20090921.124951.58974622.mbj@tail-f.com>		<4AB75EB9.9040000@netconfcentral.com>	<1253607440.6904.14.camel@missotis>		<006801ca3ba8$9ff29460$6801a8c0@oemcomputer>		<20090922184614.GC13441@elstar.local>		<001001ca3bb7$8306df00$6801a8c0@oemcomputer>		<1253647536.6904.42.camel@missotis>	<4AB92A33.5030209@netconfcentral.com>		<1253689531.31142.31.camel@missotis>	<4ABA1F06.4050003@joelhalpern.com>	<1253715512.31142.42.camel@missotis> <4ABAA69D.8080806@joelhalpern.com>
In-Reply-To: <4ABAA69D.8080806@joelhalpern.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Sep 2009 23:30:33 -0000

Joel M. Halpern wrote:
> At least as you have phrased this, I disagree.
> The difference between report-all, trim, or explicit, should not (MUST
> NOT) actually drive any difference in what the "mandatory" or "default"
> statements mean or do.
> Those reporting flags simply affect what portion of the contents of the
> theoretical data model are reported to the requestor.  If those are
> treated as corresponding to three actually distinct data models, we have
> a nightmare that noone will be able to understand, and I would be
> willing to bet on sufficiently different implementations that
> interoperability will be near-meaningless.
> 

I agree 100%
I do not care if 'mtu' is called config, operational
state, or something else.  If 'mtu' is part of the
validation criteria for a managed system, then it applies
to the value of 'mtu', not whether the client set it
or the server did.  Having some (but not all) the constraints in
a YANG data model fail unless the client set the value
is worthless at every level, not just interoperability.


> Yours,
> Joel

Andy

> 
> Ladislav Lhotka wrote:
>> Joel M. Halpern píše v St 23. 09. 2009 v 09:13 -0400:
>>> If the terms mandatory and default mean different things for
>>> different models then they effectively mean nothing.
>>
>> This is a misunderstanding, by models we meant "database models", i.e.
>> equivalent views of the configuration datastore using the "report-all",
>> "trim" and "explicit" methods. I am sorry for the confusion.
>>
>> Lada
>>
>>> If that is true, then they should both be removed from the language.
>>>
>>> If we purely want syntax, with no semantics, then that is fine.
>>> If we are trying to add some semantic content, then mandatory and
>>> default seem the obvious starting point.
>>> And if so those terms MUST mean the same thing for all YANG models.
>>>
>>> Yours,
>>> Joel
>>>
>>> Ladislav Lhotka wrote:
>>> ...
>>>> Well, this depends on the definition of 'default' and 'mandatory' for a
>>>> given model - it should be different for each. 
>>> ....
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod


From andy@netconfcentral.com  Wed Sep 23 17:34:13 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 915963A680A for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 17:34:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.413
X-Spam-Level: 
X-Spam-Status: No, score=-2.413 tagged_above=-999 required=5 tests=[AWL=0.186,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6vdKwdh-0k5B for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 17:34:12 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id BB06B3A67A3 for <netmod@ietf.org>; Wed, 23 Sep 2009 17:34:12 -0700 (PDT)
Received: (qmail 24913 invoked from network); 24 Sep 2009 00:35:17 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.243.218 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 24 Sep 2009 00:35:17 -0000
X-YMail-OSG: Uy.BhogVM1k3FjQ0_z4Ttz.TGXYBp7La5kYbBkdnOZRxq3wcI3b332dhEzyldMeFttqx.wBoY_J0qBfZhCjB5alTdPEiqVWS.AydCNO8vNhFAHpFp3_Uttma3AGTFQsEq5mScl6gspfmTvpgYnhUNEth4csHjUp3ag9oG6EHzGA7bnOI9Iv911qKd.CuIPIVSdcsorB1L1uyKvV58h7gkTypADgMB9jNuiWNaMnpBZSn6LdzoHU_d3wgJQcJ5qgLaSwGmJ_yXKzMVA2K
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4ABABEE4.3070908@netconfcentral.com>
Date: Wed, 23 Sep 2009 17:35:48 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>,  Randy Presuhn <randy_presuhn@mindspring.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com> <1253607440.6904.14.camel@missotis> <006801ca3ba8$9ff29460$6801a8c0@oemcomputer> <20090922184614.GC13441@elstar.local> <4ABA4DE4.4010806@netconfcentral.com> <20090923231030.GA15567@elstar.local>
In-Reply-To: <20090923231030.GA15567@elstar.local>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2009 00:34:13 -0000

Juergen Schoenwaelder wrote:
> On Wed, Sep 23, 2009 at 06:33:40PM +0200, Andy Bierman wrote:
>  
>> When a data modeler writes a YANG module, they are trying
>> to specify the desired end state of the running system.
>> They are *not* focusing on the YANG syntax, or the external
>> representation of a YANG configuration database.
>> If they write some constraints (e.g. mtu value on an
>> interface), the constraint refers to the behavior
>> of the running system, not the syntax in an external
>> config file.
> 
> So far, I thought we agree that constraints are validated at
> config commit time and this meant to me that constraints apply to
> a system's config and not to "the desired end state".
>  

So you think that constraints should only work
if the client set the value in use, but if the
server set the value, then the constraint should
fail and the database is therefore invalid?  This is how
Martin claims leafref and i-i should work.
This applies to any server-set value, not just a YANG default.

Do you think all validation rules should fail if the
server sets a value instead of the client, or just some?
Should the the validation rule be ignored unless the
client set the value?

Since default leafs impact if NP containers are present
and which case is selected from a choice, are you
suggesting that if the server sets the value, the NP container
is not really there, or the choice is not really set.
This affects how mandatory, must, when constraints work.


   container fubar {
      leaf x { type string; }
      leaf y { type int8; default 1; }
   }


If the client creates /fubar/x, the server will create /fubar/y = 1.
Then the client deletes /fubar/x.  Does /fubar/y remain
or not?  I do not agree that all servers must
use the 'explicit' mode, so IMO it does not matter
how /fubar/y got created originally.
Once it does get created, it stays instantiated instead
of magically disappearing.  The client wanted it to
exist, or the delete would have been for /fubar, not /fubar/x.

I agree with Joel that if there is no
WG consensus on how a database property works on
every server, then it needs to be removed from YANG.
Only the constructs that have WG consensus should remain
in the standard.


>> So we are a million miles apart on the reason for even
>> having a data modeling language, let alone the details.
> 
> Yes, every email seems to increase our distance.

Imagine how much fun the IESG will have reviewing this draft.


> 
> /js
> 

Andy

From j.schoenwaelder@jacobs-university.de  Wed Sep 23 22:05:29 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 023D83A67F0 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 22:05:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.12
X-Spam-Level: 
X-Spam-Status: No, score=-2.12 tagged_above=-999 required=5 tests=[AWL=0.129,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vm9XpvjzUITh for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 22:05:28 -0700 (PDT)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id B55A83A67BE for <netmod@ietf.org>; Wed, 23 Sep 2009 22:05:27 -0700 (PDT)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 3C626C0011; Thu, 24 Sep 2009 07:06:35 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id xxcY+gAYNblB; Thu, 24 Sep 2009 07:06:33 +0200 (CEST)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 32DF6C0004; Thu, 24 Sep 2009 07:06:32 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id E6CACCFCF52; Thu, 24 Sep 2009 07:06:31 +0200 (CEST)
Date: Thu, 24 Sep 2009 07:06:31 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.com>
Message-ID: <20090924050631.GA15790@elstar.local>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.com>, Randy Presuhn <randy_presuhn@mindspring.com>, "netmod@ietf.org" <netmod@ietf.org>
References: <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com> <1253607440.6904.14.camel@missotis> <006801ca3ba8$9ff29460$6801a8c0@oemcomputer> <20090922184614.GC13441@elstar.local> <4ABA4DE4.4010806@netconfcentral.com> <20090923231030.GA15567@elstar.local> <4ABABEE4.3070908@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4ABABEE4.3070908@netconfcentral.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2009 05:05:29 -0000

On Thu, Sep 24, 2009 at 02:35:48AM +0200, Andy Bierman wrote:

> So you think that constraints should only work
> if the client set the value in use, but if the
> server set the value, then the constraint should
> fail and the database is therefore invalid?

I said config is validated at commit time. There will be "assigned-by
server" config nodes (the uid example) and the question how a config
node came into existance does not matter for validation. This,
however, does not mean all operational state of the system becomes
config, that is I do not want to have the server populate hundreds of
config nodes just because there is operational state. This is where we
differ.

> Do you think all validation rules should fail if the
> server sets a value instead of the client, or just some?
> Should the the validation rule be ignored unless the
> client set the value?

see above
 
> Since default leafs impact if NP containers are present
> and which case is selected from a choice, are you
> suggesting that if the server sets the value, the NP container
> is not really there, or the choice is not really set.
> This affects how mandatory, must, when constraints work.

see above
 
>    container fubar {
>       leaf x { type string; }
>       leaf y { type int8; default 1; }
>    }
> 
> 
> If the client creates /fubar/x, the server will create /fubar/y = 1.
> Then the client deletes /fubar/x.  Does /fubar/y remain
> or not?  I do not agree that all servers must
> use the 'explicit' mode, so IMO it does not matter
> how /fubar/y got created originally.
> Once it does get created, it stays instantiated instead
> of magically disappearing.  The client wanted it to
> exist, or the delete would have been for /fubar, not /fubar/x.

My preferred interpretation of "default 1;" is that this statement
creates a leaf "assigned-by server;" with a constant initial value -
so the config leaf would stay instantiated. Note that this does not
mean that all operational state a system has becomes config.

/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/>

From Washam.Fan@huaweisymantec.com  Wed Sep 23 23:04:04 2009
Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 56B6A3A6782 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 23:04:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.407
X-Spam-Level: 
X-Spam-Status: No, score=-1.407 tagged_above=-999 required=5 tests=[AWL=1.192,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RR5DX0n5c2fk for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 23:04:03 -0700 (PDT)
Received: from mta1.huaweisymantec.com (mta1.huaweisymantec.com [218.17.155.14]) by core3.amsl.com (Postfix) with ESMTP id 668B63A6824 for <netmod@ietf.org>; Wed, 23 Sep 2009 23:04:03 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml01-in.huaweisymantec.com ([172.26.3.41]) by hstga01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KQG006R7OW17E00@hstga01-in.huaweisymantec.com> for netmod@ietf.org; Thu, 24 Sep 2009 14:04:49 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KQG005SROW1FZ10@hstml01-in.huaweisymantec.com> for netmod@ietf.org; Thu, 24 Sep 2009 14:04:49 +0800 (CST)
Received: from [10.27.154.141] by hstml01-in.huaweisymantec.com (mshttpd); Thu, 24 Sep 2009 14:04:49 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Message-id: <fbd3f0914e24.4abb7c81@huaweisymantec.com>
Date: Thu, 24 Sep 2009 14:04:49 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-8.03 (built Apr 24 2009; 32bit)
Content-language: en
X-Accept-Language: en
Priority: normal
In-reply-to: <20090924050631.GA15790@elstar.local>
References: <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com> <1253607440.6904.14.camel@missotis> <006801ca3ba8$9ff29460$6801a8c0@oemcomputer> <20090922184614.GC13441@elstar.local> <4ABA4DE4.4010806@netconfcentral.com> <20090923231030.GA15567@elstar.local> <4ABABEE4.3070908@netconfcentral.com> <20090924050631.GA15790@elstar.local>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2009 06:04:04 -0000

>  >    container fubar {
>  >       leaf x { type string; }
>  >       leaf y { type int8; default 1; }
>  >    }
>  > 
>  > 
>  > If the client creates /fubar/x, the server will create /fubar/y = 1.
>  > Then the client deletes /fubar/x.  Does /fubar/y remain
>  > or not?  I do not agree that all servers must
>  > use the 'explicit' mode, so IMO it does not matter
>  > how /fubar/y got created originally.
>  > Once it does get created, it stays instantiated instead
>  > of magically disappearing.  The client wanted it to
>  > exist, or the delete would have been for /fubar, not /fubar/x.
>  
>  My preferred interpretation of "default 1;" is that this statement
>  creates a leaf "assigned-by server;" with a constant initial value -
>  so the config leaf would stay instantiated. Note that this does not
>  mean that all operational state a system has becomes config.

What I wanna say is, from the client's perspective, it doesn't matter
whether default leafs in internal config database or not, it doesn't
matter whether default leafs are meta-data or not. it doesn't matter
whether the default leafs are created by client or not. What it matters
is whether default leafs exist in "conceptual XML document" which can
be retrieved in 3 ways (report-all, trim, explicit). And all constraints are
applied to this co-called "conceptual XML documents".

washam 

From mbj@tail-f.com  Wed Sep 23 23:07:31 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BBBFD3A68DE for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 23:07:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.934
X-Spam-Level: 
X-Spam-Status: No, score=-1.934 tagged_above=-999 required=5 tests=[AWL=0.112,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lg1s8N8r-61s for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 23:07:31 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id E8A993A68B7 for <netmod@ietf.org>; Wed, 23 Sep 2009 23:07:30 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id E154676C60A; Thu, 24 Sep 2009 08:08:37 +0200 (CEST)
Date: Thu, 24 Sep 2009 08:08:37 +0200 (CEST)
Message-Id: <20090924.080837.200120476.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4ABABEE4.3070908@netconfcentral.com>
References: <4ABA4DE4.4010806@netconfcentral.com> <20090923231030.GA15567@elstar.local> <4ABABEE4.3070908@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2009 06:07:31 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> So you think that constraints should only work
> if the client set the value in use, but if the
> server set the value, then the constraint should
> fail and the database is therefore invalid?  This is how
> Martin claims leafref and i-i should work.
> This applies to any server-set value, not just a YANG default.

No, I never meant that.  For the purpose of constraints, it doesn't
matter if the server or client created the value.  Once it is in the
db, it counts.



/martin

From lhotka@cesnet.cz  Wed Sep 23 23:52:31 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7382C3A6902 for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 23:52:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.174
X-Spam-Level: 
X-Spam-Status: No, score=-1.174 tagged_above=-999 required=5 tests=[AWL=0.076,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0FCXDPD88yTP for <netmod@core3.amsl.com>; Wed, 23 Sep 2009 23:52:30 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 6DB8E3A6824 for <netmod@ietf.org>; Wed, 23 Sep 2009 23:52:30 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id BF080D800C1; Thu, 24 Sep 2009 08:53:37 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: "Joel M. Halpern" <jmh@joelhalpern.com>
In-Reply-To: <4ABAA69D.8080806@joelhalpern.com>
References: <4AB3D4CC.6020507@netconfcentral.com> <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com>	<1253607440.6904.14.camel@missotis> <006801ca3ba8$9ff29460$6801a8c0@oemcomputer> <20090922184614.GC13441@elstar.local> <001001ca3bb7$8306df00$6801a8c0@oemcomputer> <1253647536.6904.42.camel@missotis>	<4AB92A33.5030209@netconfcentral.com> <1253689531.31142.31.camel@missotis> <4ABA1F06.4050003@joelhalpern.com> <1253715512.31142.42.camel@missotis> <4ABAA69D.8080806@joelhalpern.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Thu, 24 Sep 2009 08:53:36 +0200
Message-Id: <1253775216.28106.57.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2009 06:52:31 -0000

Joel M. Halpern píše v St 23. 09. 2009 v 18:52 -0400:
> At least as you have phrased this, I disagree.
> The difference between report-all, trim, or explicit, should not (MUST 
> NOT) actually drive any difference in what the "mandatory" or "default" 
> statements mean or do.
> Those reporting flags simply affect what portion of the contents of the 
> theoretical data model are reported to the requestor.  If those are 
> treated as corresponding to three actually distinct data models, we have 
> a nightmare that noone will be able to understand, and I would be 
> willing to bet on sufficiently different implementations that 
> interoperability will be near-meaningless.

No, the three different views "report-all", "trim" and "explicit" are of
course equivalent, but nevertheless it is IMO important to fix the view
against which the YANG spec is written because it does make a difference
in quite a few places - XPath expressions, definitions of 'unique',
'mandatory' etc.

For example, in the "report-all" view the leafs with specified defaults
become in fact mandatory in that they are always present in a valid
configuration - either they are provided by the client or supplied from
the default. I think the current definition of 'mandatory' actually
supports the "trim" view - at least this is how it gets translated to
RELAX NG <optional> patterns.

Lada

> 
> Yours,
> Joel
> 
> Ladislav Lhotka wrote:
> > Joel M. Halpern píše v St 23. 09. 2009 v 09:13 -0400:
> >> If the terms mandatory and default mean different things for different 
> >> models then they effectively mean nothing.
> > 
> > This is a misunderstanding, by models we meant "database models", i.e.
> > equivalent views of the configuration datastore using the "report-all",
> > "trim" and "explicit" methods. I am sorry for the confusion.
> > 
> > Lada
> > 
> >> If that is true, then they should both be removed from the language.
> >>
> >> If we purely want syntax, with no semantics, then that is fine.
> >> If we are trying to add some semantic content, then mandatory and 
> >> default seem the obvious starting point.
> >> And if so those terms MUST mean the same thing for all YANG models.
> >>
> >> Yours,
> >> Joel
> >>
> >> Ladislav Lhotka wrote:
> >> ...
> >>> Well, this depends on the definition of 'default' and 'mandatory' for a
> >>> given model - it should be different for each. 
> >> ....
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From andy@netconfcentral.com  Thu Sep 24 03:56:39 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2DBC13A6876 for <netmod@core3.amsl.com>; Thu, 24 Sep 2009 03:56:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.424
X-Spam-Level: 
X-Spam-Status: No, score=-2.424 tagged_above=-999 required=5 tests=[AWL=0.175,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2FBG36acfQr6 for <netmod@core3.amsl.com>; Thu, 24 Sep 2009 03:56:38 -0700 (PDT)
Received: from smtp105.sbc.mail.mud.yahoo.com (smtp105.sbc.mail.mud.yahoo.com [68.142.198.204]) by core3.amsl.com (Postfix) with SMTP id 652C23A67FB for <netmod@ietf.org>; Thu, 24 Sep 2009 03:56:38 -0700 (PDT)
Received: (qmail 63870 invoked from network); 24 Sep 2009 10:57:44 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.243.218 with plain) by smtp105.sbc.mail.mud.yahoo.com with SMTP; 24 Sep 2009 10:57:44 -0000
X-YMail-OSG: x0N_cVYVM1lNlrxDuUs_Tiq0ZtZMSf3I91us8udlSNoa85Nxab2zHlj8Ml.r0DPLsCvSeyjj.bSavI9Ps8V7V2rZM6TDfHwkBhmr5MjyS.Ao6nMmC2hDOhTXzmVXGtKp4Ekt0lwmiqefubBvzv4UoLyWA8uRVlzZLrv_ZCJOjaRiIh_bVyrVE3TCvIe8y.roKkKCA7_zoeiU7T5hJIWE06R_xrRR5FtlcYkGUfCxT1OP8yWZOvMn5Wb_PpPIHMiPPUBEC0bPscr0fFO.
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4ABB50CA.8080606@netconfcentral.com>
Date: Thu, 24 Sep 2009 03:58:18 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: WashamFan <Washam.Fan@huaweisymantec.com>
References: <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com> <1253607440.6904.14.camel@missotis> <006801ca3ba8$9ff29460$6801a8c0@oemcomputer> <20090922184614.GC13441@elstar.local> <4ABA4DE4.4010806@netconfcentral.com> <20090923231030.GA15567@elstar.local> <4ABABEE4.3070908@netconfcentral.com> <20090924050631.GA15790@elstar.local> <fbd3f0914e24.4abb7c81@huaweisymantec.com>
In-Reply-To: <fbd3f0914e24.4abb7c81@huaweisymantec.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2009 10:56:39 -0000

WashamFan wrote:
>>  >    container fubar {
>>  >       leaf x { type string; }
>>  >       leaf y { type int8; default 1; }
>>  >    }
>>  > 
>>  > 
>>  > If the client creates /fubar/x, the server will create /fubar/y = 1.
>>  > Then the client deletes /fubar/x.  Does /fubar/y remain
>>  > or not?  I do not agree that all servers must
>>  > use the 'explicit' mode, so IMO it does not matter
>>  > how /fubar/y got created originally.
>>  > Once it does get created, it stays instantiated instead
>>  > of magically disappearing.  The client wanted it to
>>  > exist, or the delete would have been for /fubar, not /fubar/x.
>>  
>>  My preferred interpretation of "default 1;" is that this statement
>>  creates a leaf "assigned-by server;" with a constant initial value -
>>  so the config leaf would stay instantiated. Note that this does not
>>  mean that all operational state a system has becomes config.
> 
> What I wanna say is, from the client's perspective, it doesn't matter
> whether default leafs in internal config database or not, it doesn't
> matter whether default leafs are meta-data or not. it doesn't matter
> whether the default leafs are created by client or not. What it matters
> is whether default leafs exist in "conceptual XML document" which can
> be retrieved in 3 ways (report-all, trim, explicit). And all constraints are
> applied to this co-called "conceptual XML documents".
> 

well said.

+1

> washam 
> 

Andy

From lhotka@cesnet.cz  Thu Sep 24 05:37:08 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E87373A6942 for <netmod@core3.amsl.com>; Thu, 24 Sep 2009 05:37:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.174
X-Spam-Level: 
X-Spam-Status: No, score=-1.174 tagged_above=-999 required=5 tests=[AWL=0.076,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sZ-SO-aBr89V for <netmod@core3.amsl.com>; Thu, 24 Sep 2009 05:37:08 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id DB5AE3A69E0 for <netmod@ietf.org>; Thu, 24 Sep 2009 05:37:07 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id E5F81D800CE for <netmod@ietf.org>; Thu, 24 Sep 2009 14:38:14 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: NETMOD Working Group <netmod@ietf.org>
In-Reply-To: <4ABB50CA.8080606@netconfcentral.com>
References: <20090921.102428.59888669.mbj@tail-f.com> <4AB75204.3090708@netconfcentral.com> <20090921.124951.58974622.mbj@tail-f.com> <4AB75EB9.9040000@netconfcentral.com> <1253607440.6904.14.camel@missotis> <006801ca3ba8$9ff29460$6801a8c0@oemcomputer> <20090922184614.GC13441@elstar.local> <4ABA4DE4.4010806@netconfcentral.com> <20090923231030.GA15567@elstar.local> <4ABABEE4.3070908@netconfcentral.com> <20090924050631.GA15790@elstar.local> <fbd3f0914e24.4abb7c81@huaweisymantec.com> <4ABB50CA.8080606@netconfcentral.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Thu, 24 Sep 2009 14:38:08 +0200
Message-Id: <1253795888.7996.16.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2009 12:37:09 -0000

Andy Bierman píše v Čt 24. 09. 2009 v 03:58 -0700:
> WashamFan wrote:
> >>  >    container fubar {
> >>  >       leaf x { type string; }
> >>  >       leaf y { type int8; default 1; }
> >>  >    }
> >>  > 
> >>  > 
> >>  > If the client creates /fubar/x, the server will create /fubar/y = 1.
> >>  > Then the client deletes /fubar/x.  Does /fubar/y remain
> >>  > or not?  I do not agree that all servers must
> >>  > use the 'explicit' mode, so IMO it does not matter
> >>  > how /fubar/y got created originally.
> >>  > Once it does get created, it stays instantiated instead
> >>  > of magically disappearing.  The client wanted it to
> >>  > exist, or the delete would have been for /fubar, not /fubar/x.
> >>  
> >>  My preferred interpretation of "default 1;" is that this statement
> >>  creates a leaf "assigned-by server;" with a constant initial value -
> >>  so the config leaf would stay instantiated. Note that this does not
> >>  mean that all operational state a system has becomes config.
> > 
> > What I wanna say is, from the client's perspective, it doesn't matter
> > whether default leafs in internal config database or not, it doesn't
> > matter whether default leafs are meta-data or not. it doesn't matter
> > whether the default leafs are created by client or not. What it matters
> > is whether default leafs exist in "conceptual XML document" which can
> > be retrieved in 3 ways (report-all, trim, explicit). And all constraints are
> > applied to this co-called "conceptual XML documents".
> > 
> 
> well said.
> 
> +1

Yes, this is exactly my position, too. The conceptual data tree also
needn't be the same as the contents of the configuration database in any
particular box, it is just a reference XML infoset on which YANG
semantics can be explained in the easiest way.

Lada

> 
> > washam 
> > 
> 
> Andy
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From mbj@tail-f.com  Thu Sep 24 05:48:04 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6FA6A28C105 for <netmod@core3.amsl.com>; Thu, 24 Sep 2009 05:48:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.937
X-Spam-Level: 
X-Spam-Status: No, score=-1.937 tagged_above=-999 required=5 tests=[AWL=0.109,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZHZ3sZaPOvqP for <netmod@core3.amsl.com>; Thu, 24 Sep 2009 05:48:03 -0700 (PDT)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 66E7228C104 for <netmod@ietf.org>; Thu, 24 Sep 2009 05:48:03 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id EA95C76C60F; Thu, 24 Sep 2009 14:49:10 +0200 (CEST)
Date: Thu, 24 Sep 2009 14:49:10 +0200 (CEST)
Message-Id: <20090924.144910.115024233.mbj@tail-f.com>
To: lhotka@cesnet.cz
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <1253795888.7996.16.camel@missotis>
References: <fbd3f0914e24.4abb7c81@huaweisymantec.com> <4ABB50CA.8080606@netconfcentral.com> <1253795888.7996.16.camel@missotis>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=utf-8
Content-Transfer-Encoding: base64
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2009 12:48:04 -0000

TGFkaXNsYXYgTGhvdGthIDxsaG90a2FAY2VzbmV0LmN6PiB3cm90ZToNCj4gQW5keSBCaWVybWFu
IHDDrcWhZSB2IMSMdCAyNC4gMDkuIDIwMDkgdiAwMzo1OCAtMDcwMDoNCj4gPiBXYXNoYW1GYW4g
d3JvdGU6DQo+ID4gPj4gID4gICAgY29udGFpbmVyIGZ1YmFyIHsNCj4gPiA+PiAgPiAgICAgICBs
ZWFmIHggeyB0eXBlIHN0cmluZzsgfQ0KPiA+ID4+ICA+ICAgICAgIGxlYWYgeSB7IHR5cGUgaW50
ODsgZGVmYXVsdCAxOyB9DQo+ID4gPj4gID4gICAgfQ0KPiA+ID4+ICA+IA0KPiA+ID4+ICA+IA0K
PiA+ID4+ICA+IElmIHRoZSBjbGllbnQgY3JlYXRlcyAvZnViYXIveCwgdGhlIHNlcnZlciB3aWxs
IGNyZWF0ZSAvZnViYXIveSA9IDEuDQo+ID4gPj4gID4gVGhlbiB0aGUgY2xpZW50IGRlbGV0ZXMg
L2Z1YmFyL3guICBEb2VzIC9mdWJhci95IHJlbWFpbg0KPiA+ID4+ICA+IG9yIG5vdD8gIEkgZG8g
bm90IGFncmVlIHRoYXQgYWxsIHNlcnZlcnMgbXVzdA0KPiA+ID4+ICA+IHVzZSB0aGUgJ2V4cGxp
Y2l0JyBtb2RlLCBzbyBJTU8gaXQgZG9lcyBub3QgbWF0dGVyDQo+ID4gPj4gID4gaG93IC9mdWJh
ci95IGdvdCBjcmVhdGVkIG9yaWdpbmFsbHkuDQo+ID4gPj4gID4gT25jZSBpdCBkb2VzIGdldCBj
cmVhdGVkLCBpdCBzdGF5cyBpbnN0YW50aWF0ZWQgaW5zdGVhZA0KPiA+ID4+ICA+IG9mIG1hZ2lj
YWxseSBkaXNhcHBlYXJpbmcuICBUaGUgY2xpZW50IHdhbnRlZCBpdCB0bw0KPiA+ID4+ICA+IGV4
aXN0LCBvciB0aGUgZGVsZXRlIHdvdWxkIGhhdmUgYmVlbiBmb3IgL2Z1YmFyLCBub3QgL2Z1YmFy
L3guDQo+ID4gPj4gIA0KPiA+ID4+ICBNeSBwcmVmZXJyZWQgaW50ZXJwcmV0YXRpb24gb2YgImRl
ZmF1bHQgMTsiIGlzIHRoYXQgdGhpcyBzdGF0ZW1lbnQNCj4gPiA+PiAgY3JlYXRlcyBhIGxlYWYg
ImFzc2lnbmVkLWJ5IHNlcnZlcjsiIHdpdGggYSBjb25zdGFudCBpbml0aWFsIHZhbHVlIC0NCj4g
PiA+PiAgc28gdGhlIGNvbmZpZyBsZWFmIHdvdWxkIHN0YXkgaW5zdGFudGlhdGVkLiBOb3RlIHRo
YXQgdGhpcyBkb2VzIG5vdA0KPiA+ID4+ICBtZWFuIHRoYXQgYWxsIG9wZXJhdGlvbmFsIHN0YXRl
IGEgc3lzdGVtIGhhcyBiZWNvbWVzIGNvbmZpZy4NCj4gPiA+IA0KPiA+ID4gV2hhdCBJIHdhbm5h
IHNheSBpcywgZnJvbSB0aGUgY2xpZW50J3MgcGVyc3BlY3RpdmUsIGl0IGRvZXNuJ3QgbWF0dGVy
DQo+ID4gPiB3aGV0aGVyIGRlZmF1bHQgbGVhZnMgaW4gaW50ZXJuYWwgY29uZmlnIGRhdGFiYXNl
IG9yIG5vdCwgaXQgZG9lc24ndA0KPiA+ID4gbWF0dGVyIHdoZXRoZXIgZGVmYXVsdCBsZWFmcyBh
cmUgbWV0YS1kYXRhIG9yIG5vdC4gaXQgZG9lc24ndCBtYXR0ZXINCj4gPiA+IHdoZXRoZXIgdGhl
IGRlZmF1bHQgbGVhZnMgYXJlIGNyZWF0ZWQgYnkgY2xpZW50IG9yIG5vdC4gV2hhdCBpdCBtYXR0
ZXJzDQo+ID4gPiBpcyB3aGV0aGVyIGRlZmF1bHQgbGVhZnMgZXhpc3QgaW4gImNvbmNlcHR1YWwg
WE1MIGRvY3VtZW50IiB3aGljaCBjYW4NCj4gPiA+IGJlIHJldHJpZXZlZCBpbiAzIHdheXMgKHJl
cG9ydC1hbGwsIHRyaW0sIGV4cGxpY2l0KS4gQW5kIGFsbCBjb25zdHJhaW50cw0KPiA+ID4gYXJl
DQo+ID4gPiBhcHBsaWVkIHRvIHRoaXMgY28tY2FsbGVkICJjb25jZXB0dWFsIFhNTCBkb2N1bWVu
dHMiLg0KPiA+ID4gDQo+ID4gDQo+ID4gd2VsbCBzYWlkLg0KPiA+IA0KPiA+ICsxDQo+IA0KPiBZ
ZXMsIHRoaXMgaXMgZXhhY3RseSBteSBwb3NpdGlvbiwgdG9vLiBUaGUgY29uY2VwdHVhbCBkYXRh
IHRyZWUgYWxzbw0KPiBuZWVkbid0IGJlIHRoZSBzYW1lIGFzIHRoZSBjb250ZW50cyBvZiB0aGUg
Y29uZmlndXJhdGlvbiBkYXRhYmFzZSBpbiBhbnkNCj4gcGFydGljdWxhciBib3gsIGl0IGlzIGp1
c3QgYSByZWZlcmVuY2UgWE1MIGluZm9zZXQgb24gd2hpY2ggWUFORw0KPiBzZW1hbnRpY3MgY2Fu
IGJlIGV4cGxhaW5lZCBpbiB0aGUgZWFzaWVzdCB3YXkuDQoNClNvIHdlIGNhbiBrZWVwIHRoZSB0
ZXh0IHRoYXQgc2F5czoNCg0KICBBIE5FVENPTkYgc2VydmVyIHRoYXQgcmVwbGllcyB0byBhIDxn
ZXQ+IG9yIDxnZXQtY29uZmlnPiByZXF1ZXN0IE1BWQ0KICBjaG9vc2Ugbm90IHRvIHNlbmQgdGhl
IGxlYWYgZWxlbWVudCBpZiBpdHMgdmFsdWUgaXMgdGhlIGRlZmF1bHQNCiAgdmFsdWUuIA0KDQo/
DQoNCkkgdGhpbmsgdGhhdCB0aGlzIGNvdWxkIHdvcmsgYXMgd2VsbC4NCg0KDQovbWFydGluDQo=

From lhotka@cesnet.cz  Thu Sep 24 06:04:04 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9883128C0FF for <netmod@core3.amsl.com>; Thu, 24 Sep 2009 06:04:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.175
X-Spam-Level: 
X-Spam-Status: No, score=-1.175 tagged_above=-999 required=5 tests=[AWL=0.075,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8sSSmGzQ-rry for <netmod@core3.amsl.com>; Thu, 24 Sep 2009 06:04:03 -0700 (PDT)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id C757B28C112 for <netmod@ietf.org>; Thu, 24 Sep 2009 06:04:03 -0700 (PDT)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 635AAD800E8; Thu, 24 Sep 2009 15:05:12 +0200 (CEST)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <20090924.144910.115024233.mbj@tail-f.com>
References: <fbd3f0914e24.4abb7c81@huaweisymantec.com> <4ABB50CA.8080606@netconfcentral.com> <1253795888.7996.16.camel@missotis> <20090924.144910.115024233.mbj@tail-f.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Thu, 24 Sep 2009 15:05:10 +0200
Message-Id: <1253797510.7996.22.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.26.1 
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2009 13:04:04 -0000

Martin Bjorklund píše v Čt 24. 09. 2009 v 14:49 +0200:
> Ladislav Lhotka <lhotka@cesnet.cz> wrote:

> > > > 
> > > > What I wanna say is, from the client's perspective, it doesn't matter
> > > > whether default leafs in internal config database or not, it doesn't
> > > > matter whether default leafs are meta-data or not. it doesn't matter
> > > > whether the default leafs are created by client or not. What it matters
> > > > is whether default leafs exist in "conceptual XML document" which can
> > > > be retrieved in 3 ways (report-all, trim, explicit). And all constraints
> > > > are
> > > > applied to this co-called "conceptual XML documents".
> > > > 
> > > 
> > > well said.
> > > 
> > > +1
> > 
> > Yes, this is exactly my position, too. The conceptual data tree also
> > needn't be the same as the contents of the configuration database in any
> > particular box, it is just a reference XML infoset on which YANG
> > semantics can be explained in the easiest way.
> 
> So we can keep the text that says:
> 
>   A NETCONF server that replies to a <get> or <get-config> request MAY
>   choose not to send the leaf element if its value is the default
>   value. 

Yes, or alternatively the text could refer to the with-defaults draft
and only declare that the default values specified by the 'default'
statement are exactly those that with-defaults procedures apply to.

Lada

> 
> ?
> 
> I think that this could work as well.
> 
> 
> /martin
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From andy@netconfcentral.com  Thu Sep 24 07:00:26 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6A17728C0FA for <netmod@core3.amsl.com>; Thu, 24 Sep 2009 07:00:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.679
X-Spam-Level: 
X-Spam-Status: No, score=-1.679 tagged_above=-999 required=5 tests=[AWL=-0.281, BAYES_00=-2.599, J_CHICKENPOX_65=0.6, J_CHICKENPOX_75=0.6, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LMH7qbRYlhP5 for <netmod@core3.amsl.com>; Thu, 24 Sep 2009 07:00:25 -0700 (PDT)
Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by core3.amsl.com (Postfix) with SMTP id 7BAD13A687E for <netmod@ietf.org>; Thu, 24 Sep 2009 07:00:25 -0700 (PDT)
Received: (qmail 19722 invoked from network); 24 Sep 2009 14:01:34 -0000
Received: from ppp-67-126-243-218.dsl.irvnca.pacbell.net (andy@67.126.243.218 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 24 Sep 2009 07:01:34 -0700 PDT
X-Yahoo-SMTP: Z6xhxCCswBAlhcxjVNwaQtp4EKpLdTUUf5Nx_pGy81o-
X-YMail-OSG: UbSRlu0VM1n2z5J9cYPu71560Rx8NLrygvvpPB25MzC8tgrMs_KqzErfLqIY8owRG8MD6zfzWWhTu.TzYYTRsB5mSZEoG6wxk0R9aX2GGEkzhgswXrdq5z_7_GJEuzbzDPLmosskffO6bRh8XAo4yJIj8FZOXMpplbAXh2LYQAqfjhIqwW9_JnrmkqSCR2OYBWRRwtjq55Hu1WFK6SeMGDzKzOk3HxcEBsCBO741AFH7mEkAI2sQNxBqk73z8snb6j39uFqHpsWYfbeHQf_QnGqIMZ9nBTd3eiNJFZrHluKWUTsaQh6S06MxMr9ci7oRzedD
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4ABB7B65.2000009@netconfcentral.com>
Date: Thu, 24 Sep 2009 07:00:05 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <fbd3f0914e24.4abb7c81@huaweisymantec.com>	<4ABB50CA.8080606@netconfcentral.com>	<1253795888.7996.16.camel@missotis> <20090924.144910.115024233.mbj@tail-f.com>
In-Reply-To: <20090924.144910.115024233.mbj@tail-f.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2009 14:00:26 -0000

Martin Bjorklund wrote:
> Ladislav Lhotka <lhotka@cesnet.cz> wrote:
>> Andy Bierman píše v Čt 24. 09. 2009 v 03:58 -0700:
>>> WashamFan wrote:
>>>>>  >    container fubar {
>>>>>  >       leaf x { type string; }
>>>>>  >       leaf y { type int8; default 1; }
>>>>>  >    }
>>>>>  > 
>>>>>  > 
>>>>>  > If the client creates /fubar/x, the server will create /fubar/y = 1.
>>>>>  > Then the client deletes /fubar/x.  Does /fubar/y remain
>>>>>  > or not?  I do not agree that all servers must
>>>>>  > use the 'explicit' mode, so IMO it does not matter
>>>>>  > how /fubar/y got created originally.
>>>>>  > Once it does get created, it stays instantiated instead
>>>>>  > of magically disappearing.  The client wanted it to
>>>>>  > exist, or the delete would have been for /fubar, not /fubar/x.
>>>>>  
>>>>>  My preferred interpretation of "default 1;" is that this statement
>>>>>  creates a leaf "assigned-by server;" with a constant initial value -
>>>>>  so the config leaf would stay instantiated. Note that this does not
>>>>>  mean that all operational state a system has becomes config.
>>>> What I wanna say is, from the client's perspective, it doesn't matter
>>>> whether default leafs in internal config database or not, it doesn't
>>>> matter whether default leafs are meta-data or not. it doesn't matter
>>>> whether the default leafs are created by client or not. What it matters
>>>> is whether default leafs exist in "conceptual XML document" which can
>>>> be retrieved in 3 ways (report-all, trim, explicit). And all constraints
>>>> are
>>>> applied to this co-called "conceptual XML documents".
>>>>
>>> well said.
>>>
>>> +1
>> Yes, this is exactly my position, too. The conceptual data tree also
>> needn't be the same as the contents of the configuration database in any
>> particular box, it is just a reference XML infoset on which YANG
>> semantics can be explained in the easiest way.
> 
> So we can keep the text that says:
> 
>   A NETCONF server that replies to a <get> or <get-config> request MAY
>   choose not to send the leaf element if its value is the default
>   value. 
> 
> ?
> 
> I think that this could work as well.
> 

agreed.

A clarification: I do not support config=false nodes
in validation constraints against candidate.  There just isn't
any state data to access in candidate.

In other words, I run the commit-checks against the configuration
database, and config=false is never in the candidate database.
Maybe this is a 4741bis issue, but if I had to run the commit-tests
against running+state, instead of against candidate, then
different XPath results might occur.

So Juergen's original concern remains -- is there is a new
classification that is neither config or state?
What is being validated?  Just the client provided
instructions, or the combination of all server and client
instructions?  Is candidate validated on its own, or
is the state data (available with <get> only) part of
the validation criteria?




> /martin

Andy

From Washam.Fan@huaweisymantec.com  Thu Sep 24 07:37:26 2009
Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 221573A695A for <netmod@core3.amsl.com>; Thu, 24 Sep 2009 07:37:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.162
X-Spam-Level: 
X-Spam-Status: No, score=0.162 tagged_above=-999 required=5 tests=[AWL=-1.143,  BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553,  J_CHICKENPOX_64=0.6, J_CHICKENPOX_65=0.6, J_CHICKENPOX_75=0.6,  RDNS_NONE=0.1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s1rVqX2nkaZL for <netmod@core3.amsl.com>; Thu, 24 Sep 2009 07:37:25 -0700 (PDT)
Received: from mta2.huaweisymantec.com (unknown [218.17.155.15]) by core3.amsl.com (Postfix) with ESMTP id 2980B3A6883 for <netmod@ietf.org>; Thu, 24 Sep 2009 07:37:25 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml02-in.huaweisymantec.com ([172.26.3.42]) by hstga02-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KQH00F07CNFZK40@hstga02-in.huaweisymantec.com> for netmod@ietf.org; Thu, 24 Sep 2009 22:38:03 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml02-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-8.03 (built Apr 24 2009; 32bit)) with ESMTP id <0KQH00HR7CNFL720@hstml02-in.huaweisymantec.com> for netmod@ietf.org; Thu, 24 Sep 2009 22:38:03 +0800 (CST)
Received: from [117.79.65.106] by hstml02-in.huaweisymantec.com (mshttpd); Thu, 24 Sep 2009 22:38:03 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: Andy Bierman <andy@netconfcentral.com>
Message-id: <fc10cda422ae.4abbf4cb@huaweisymantec.com>
Date: Thu, 24 Sep 2009 22:38:03 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-8.03 (built Apr 24 2009; 32bit)
Content-language: en
X-Accept-Language: en
Priority: normal
In-reply-to: <4ABB7B65.2000009@netconfcentral.com>
References: <fbd3f0914e24.4abb7c81@huaweisymantec.com> <4ABB50CA.8080606@netconfcentral.com> <1253795888.7996.16.camel@missotis> <20090924.144910.115024233.mbj@tail-f.com> <4ABB7B65.2000009@netconfcentral.com>
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2009 14:37:26 -0000

> A clarification: I do not support config=false nodes
> in validation constraints against candidate.  There just isn't
> any state data to access in candidate.
> 
> In other words, I run the commit-checks against the configuration
> database, and config=false is never in the candidate database.
> Maybe this is a 4741bis issue, but if I had to run the commit-tests
> against running+state, instead of against candidate, then
> different XPath results might occur.

If YANG allows XPath to apply to all nodes which could be
specified by YANG. XPath should apply to both config=true and
config=false nodes. So I am afraid "conceptual XML document"
should contain both kind of nodes.

> So Juergen's original concern remains -- is there is a new
> classification that is neither config or state?
> What is being validated?  Just the client provided
> instructions, or the combination of all server and client
> instructions?  Is candidate validated on its own, or
> is the state data (available with <get> only) part of
> the validation criteria?

If validation applies to whatever the "third kind" nodes.
"conceptual XML document" should contain them.

washam 
> 
> 
> 
> > /martin
> 
> Andy
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

From cfinss@dial.pipex.com  Fri Sep 25 08:18:48 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 039063A69A4 for <netmod@core3.amsl.com>; Fri, 25 Sep 2009 08:18:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.235
X-Spam-Level: 
X-Spam-Status: No, score=-2.235 tagged_above=-999 required=5 tests=[AWL=0.364,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ilOefrqWs1ZW for <netmod@core3.amsl.com>; Fri, 25 Sep 2009 08:18:47 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id D6CFF3A6961 for <netmod@ietf.org>; Fri, 25 Sep 2009 08:18:46 -0700 (PDT)
X-Trace: 252208913/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.239/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.239
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AuQEAA18vEo+vGnv/2dsb2JhbACDJEyNGLZrCY9KAgiCQIFUBYFY
X-IronPort-AV: E=Sophos;i="4.44,452,1249254000"; d="scan'208";a="252208913"
X-IP-Direction: IN
Received: from 1cust239.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.239]) by smtp.pipex.tiscali.co.uk with SMTP; 25 Sep 2009 16:19:55 +0100
Message-ID: <001c01ca3dea$fedb31a0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>, "Andy Bierman" <andy@netconfcentral.com>
References: <20090921.102428.59888669.mbj@tail-f.com><4AB75204.3090708@netconfcentral.com><20090921.124951.58974622.mbj@tail-f.com><4AB75EB9.9040000@netconfcentral.com><1253607440.6904.14.camel@missotis><006801ca3ba8$9ff29460$6801a8c0@oemcomputer><20090922184614.GC13441@elstar.local><4ABA4DE4.4010806@netconfcentral.com><20090923231030.GA15567@elstar.local><4ABABEE4.3070908@netconfcentral.com> <20090924050631.GA15790@elstar.local>
Date: Fri, 25 Sep 2009 16:17:56 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Sep 2009 15:18:48 -0000

---- Original Message ----- 
From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
Sent: Thursday, September 24, 2009 7:06 AM

> On Thu, Sep 24, 2009 at 02:35:48AM +0200, Andy Bierman wrote:
> 
> > So you think that constraints should only work
> > if the client set the value in use, but if the
> > server set the value, then the constraint should
> > fail and the database is therefore invalid?
> 
> I said config is validated at commit time. There will be "assigned-by
> server" config nodes (the uid example) and the question how a config
> node came into existance does not matter for validation. This,
> however, does not mean all operational state of the system becomes
> config, that is I do not want to have the server populate hundreds of
> config nodes just because there is operational state. This is where we
> differ.

Juergen

I think that validation depends on the datastore, as in 8.3.3, so an 
<edit-config> of <running/> may access operational state with a 
must statement, whereas a <commit> of <candidate/> may not.

We could end up with two different must statements for the two
different conditions.

Tom Petch

> 
> > Do you think all validation rules should fail if the
> > server sets a value instead of the client, or just some?
> > Should the the validation rule be ignored unless the
> > client set the value?
> 
> see above
>  
> > Since default leafs impact if NP containers are present
> > and which case is selected from a choice, are you
> > suggesting that if the server sets the value, the NP container
> > is not really there, or the choice is not really set.
> > This affects how mandatory, must, when constraints work.
> 
> see above
>  
> >    container fubar {
> >       leaf x { type string; }
> >       leaf y { type int8; default 1; }
> >    }
> > 
> > 
> > If the client creates /fubar/x, the server will create /fubar/y = 1.
> > Then the client deletes /fubar/x.  Does /fubar/y remain
> > or not?  I do not agree that all servers must
> > use the 'explicit' mode, so IMO it does not matter
> > how /fubar/y got created originally.
> > Once it does get created, it stays instantiated instead
> > of magically disappearing.  The client wanted it to
> > exist, or the delete would have been for /fubar, not /fubar/x.
> 
> My preferred interpretation of "default 1;" is that this statement
> creates a leaf "assigned-by server;" with a constant initial value -
> so the config leaf would stay instantiated. Note that this does not
> mean that all operational state a system has becomes config.
> 
> /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/>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

From andy@netconfcentral.com  Fri Sep 25 09:51:28 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 43C283A67A7 for <netmod@core3.amsl.com>; Fri, 25 Sep 2009 09:51:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.464
X-Spam-Level: 
X-Spam-Status: No, score=-2.464 tagged_above=-999 required=5 tests=[AWL=0.135,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eSrRxFr71h8b for <netmod@core3.amsl.com>; Fri, 25 Sep 2009 09:51:27 -0700 (PDT)
Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by core3.amsl.com (Postfix) with SMTP id 907593A63D3 for <netmod@ietf.org>; Fri, 25 Sep 2009 09:51:24 -0700 (PDT)
Received: (qmail 87697 invoked from network); 25 Sep 2009 16:52:36 -0000
Received: from unknown (HELO ?192.168.0.10?) (andy@67.126.243.218 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 25 Sep 2009 16:52:35 -0000
X-YMail-OSG: XliiHG8VM1mepWDDaQXIQKAMz0muTso4zTi89Gc64.7OT3jRmJKFn6ZJGBzLoECovYH7TNZ4TXXEmdN2BEq8_hdm.jU0OPDtW0TEEGAm6WuHVp_jErzRQqRjXQYZbr.qUeBWtget9YA9hnZKvSN8IRDkI9rReDXfPwBX7wTruXp87TfzqcbOzRUqovzhN3PYiPy2miyBHV3tkU7BTQTTmOWF5_JWKPlH2sBEqHpL1.EX3wjC8I9KH4wuQB2vlbf1ZGoNZT0sfeWXK4es
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4ABCF502.6010002@netconfcentral.com>
Date: Fri, 25 Sep 2009 09:51:14 -0700
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: NETMOD Working Group <netmod@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: [netmod] defaults wrap-up
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Sep 2009 16:51:28 -0000

Hi,

There were some action items that came out of the conf-call
yesterday.  One of them is for Martin, myself and others
to somehow describe the known corner-cases which impact
the reliability of the meta-data used to synthesize defaults.

I would like the YANG Usage Guidelines to capture all
the good and bad practices wrt/ defaults.  The YANG draft text
is spread out and hard to follow, so a summary in the guidelines
draft is needed.

It seemed like we were close to consensus on the
module capability advertisement text.  I would like
the text to say the server MUST advertise all the YANG
modules/revisions it is using.  It should be obvious that
multiple revisions within a single server is most relevant
to typedefs, not objects.  Most server developers will
choose to support only the latest revision of an accessible
object, rpc, or notification, not multiple revisions.

Therefore, the only way multiple capabilities for
the same module will occur is through the import/include
by-revision ripple effect.

So modules of just groupings and typedefs are far
more likely to need a capability URI than any other
YANG construct.  Since their namespace URI doesn't
show up in any NETCONF <rpc> PDU, the <hello>  module capability
may be the only chance the client has to match a module name/revision
to a namespace-stmt.  (The netconf-state/schemas tree is optional.)



Andy

From phil@juniper.net  Fri Sep 25 11:27:17 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B66B828C0DB for <netmod@core3.amsl.com>; Fri, 25 Sep 2009 11:27:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.276
X-Spam-Level: 
X-Spam-Status: No, score=-6.276 tagged_above=-999 required=5 tests=[AWL=-0.277, BAYES_00=-2.599, J_CHICKENPOX_64=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KgsKPj3qoD93 for <netmod@core3.amsl.com>; Fri, 25 Sep 2009 11:27:17 -0700 (PDT)
Received: from exprod7og119.obsmtp.com (exprod7og119.obsmtp.com [64.18.2.16]) by core3.amsl.com (Postfix) with ESMTP id D2D2F3A6A55 for <netmod@ietf.org>; Fri, 25 Sep 2009 11:27:11 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob119.postini.com ([64.18.6.12]) with SMTP ID DSNKSr0LxoDez722ZtTovU5eFTeoBnUbVIMI@postini.com; Fri, 25 Sep 2009 11:28:28 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Fri, 25 Sep 2009 11:17:12 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 25 Sep 2009 11:17:12 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 25 Sep 2009 11:17:12 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 25 Sep 2009 11:17:11 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8PIHAj12848; Fri, 25 Sep 2009 11:17:10 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8PI4eac017613; Fri, 25 Sep 2009 18:04:41 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909251804.n8PI4eac017613@idle.juniper.net>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <001c01ca3dea$fedb31a0$0601a8c0@allison> 
Date: Fri, 25 Sep 2009 14:04:40 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 25 Sep 2009 18:17:11.0639 (UTC) FILETIME=[66A96E70:01CA3E0C]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Sep 2009 18:27:17 -0000

"tom.petch" writes:
>I think that validation depends on the datastore, as in 8.3.3, so an 
><edit-config> of <running/> may access operational state with a 
>must statement, whereas a <commit> of <candidate/> may not.

This is not true, since 7.19.5 details the nodes which are accessible
based on the the context node:

   o  If the context node represents configuration, the tree is the data
      in one of the NETCONF datastores.  The XPath root node has all
      top-level configuration data nodes in all modules as children.

   o  If the context node represents state data, the tree is all state
      data on the device, and the <running/> datastore.  The XPath root
      node has all top-level data nodes in all modules as children.

So even for <running>, only config=true nodes are available.

You could have two "twin" leafs, one of which represents config
data and the other operational data, each of which have related
constraints that are evaluated with different sets of available
nodes, but the same node's must constraints are always evaluated
in the same style.

Thanks,
 Phil

From cfinss@dial.pipex.com  Mon Sep 28 08:31:14 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B7B633A6801 for <netmod@core3.amsl.com>; Mon, 28 Sep 2009 08:31:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.624
X-Spam-Level: 
X-Spam-Status: No, score=-0.624 tagged_above=-999 required=5 tests=[AWL=-1.225, BAYES_50=0.001, J_CHICKENPOX_64=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vrrMKqxDkFHv for <netmod@core3.amsl.com>; Mon, 28 Sep 2009 08:31:14 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id C18BA3A68A5 for <netmod@ietf.org>; Mon, 28 Sep 2009 08:31:13 -0700 (PDT)
X-Trace: 252760985/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.63/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.63
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AtUEAEl0wEo+vGk//2dsb2JhbACDJUyNGsYXCoQUBQ
X-IronPort-AV: E=Sophos;i="4.44,466,1249254000"; d="scan'208";a="252760985"
X-IP-Direction: IN
Received: from 1cust63.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.63]) by smtp.pipex.tiscali.co.uk with SMTP; 28 Sep 2009 16:32:30 +0100
Message-ID: <002701ca4048$3d90c040$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Phil Shafer" <phil@juniper.net>
References: <200909251804.n8PI4eac017613@idle.juniper.net>
Date: Mon, 28 Sep 2009 16:30:29 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Sep 2009 15:31:14 -0000

----- Original Message ----- 
From: "Phil Shafer" <phil@juniper.net>
Sent: Friday, September 25, 2009 8:04 PM

> "tom.petch" writes:
> >I think that validation depends on the datastore, as in 8.3.3, so an 
> ><edit-config> of <running/> may access operational state with a 
> >must statement, whereas a <commit> of <candidate/> may not.
> 
> This is not true, since 7.19.5 details the nodes which are accessible
> based on the the context node:
> 
>    o  If the context node represents configuration, the tree is the data
>       in one of the NETCONF datastores.  The XPath root node has all
>       top-level configuration data nodes in all modules as children.
> 
>    o  If the context node represents state data, the tree is all state
>       data on the device, and the <running/> datastore.  The XPath root
>       node has all top-level data nodes in all modules as children.
> 
> So even for <running>, only config=true nodes are available.
 
Phil

Thanks for the correction; I overstated my case.

I think it still true, though, as I first said, that it is not just at <commit>
when validation occurs.

Tom  Petch

> You could have two "twin" leafs, one of which represents config
> data and the other operational data, each of which have related
> constraints that are evaluated with different sets of available
> nodes, but the same node's must constraints are always evaluated
> in the same style.
> 
> Thanks,
>  Phil

From phil@juniper.net  Mon Sep 28 08:53:09 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 54C333A685C for <netmod@core3.amsl.com>; Mon, 28 Sep 2009 08:53:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.574
X-Spam-Level: 
X-Spam-Status: No, score=-6.574 tagged_above=-999 required=5 tests=[AWL=0.025,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FWdNAqOK3PSM for <netmod@core3.amsl.com>; Mon, 28 Sep 2009 08:53:08 -0700 (PDT)
Received: from exprod7og116.obsmtp.com (exprod7og116.obsmtp.com [64.18.2.219]) by core3.amsl.com (Postfix) with ESMTP id CF57E3A6358 for <netmod@ietf.org>; Mon, 28 Sep 2009 08:53:02 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob116.postini.com ([64.18.6.12]) with SMTP ID DSNKSsDcLL/w0Bv+qR5cQUxp4gl+BQ27dBlQ@postini.com; Mon, 28 Sep 2009 08:54:27 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Mon, 28 Sep 2009 08:46:01 -0700
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 28 Sep 2009 08:46:01 -0700
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 28 Sep 2009 08:46:01 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 28 Sep 2009 08:46:00 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8SFjxj86771; Mon, 28 Sep 2009 08:45:59 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8SFXRAo003990; Mon, 28 Sep 2009 15:33:27 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909281533.n8SFXRAo003990@idle.juniper.net>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <002701ca4048$3d90c040$0601a8c0@allison> 
Date: Mon, 28 Sep 2009 11:33:27 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 28 Sep 2009 15:46:00.0568 (UTC) FILETIME=[C71F1780:01CA4052]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Sep 2009 15:53:09 -0000

"tom.petch" writes:
>> "tom.petch" writes:
>> >I think that validation depends on the datastore, as in 8.3.3, so an 
>> ><edit-config> of <running/> may access operational state with a 
>> >must statement, whereas a <commit> of <candidate/> may not.
>
>Thanks for the correction; I overstated my case.
>
>I think it still true, though, as I first said, that it is not just at <commit>
>when validation occurs.

Okay, so now I'm confused.  What statement are you refering to as
"still true"?  That edit-config may access operational state with
a must statement?  If the must statement is on a "config=true"
node, the validation will not see the operational nodes.  If
the must statement is on a "config=false" node, then it cannot
be affected by <edit-config>.

Thanks,
 Phil

From cfinss@dial.pipex.com  Tue Sep 29 02:10:32 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 871223A6849 for <netmod@core3.amsl.com>; Tue, 29 Sep 2009 02:10:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.909
X-Spam-Level: 
X-Spam-Status: No, score=-0.909 tagged_above=-999 required=5 tests=[AWL=-0.910, BAYES_50=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q63ySb-df7jw for <netmod@core3.amsl.com>; Tue, 29 Sep 2009 02:10:31 -0700 (PDT)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id 7C5A128C0E7 for <netmod@ietf.org>; Tue, 29 Sep 2009 02:10:31 -0700 (PDT)
X-Trace: 252926409/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.191/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.191
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-SMTP-AUTH: 
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AsQEALdswUo+vGm//2dsb2JhbACDJEyNHsYUCoQUBQ
X-IronPort-AV: E=Sophos;i="4.44,472,1249254000"; d="scan'208";a="252926409"
X-IP-Direction: IN
Received: from 1cust191.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.191]) by smtp.pipex.tiscali.co.uk with SMTP; 29 Sep 2009 10:11:41 +0100
Message-ID: <001b01ca40dc$34838de0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Phil Shafer" <phil@juniper.net>
References: <200909281533.n8SFXRAo003990@idle.juniper.net>
Date: Tue, 29 Sep 2009 10:06:01 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Sep 2009 09:10:32 -0000

----- Original Message -----
From: "Phil Shafer" <phil@juniper.net>
Sent: Monday, September 28, 2009 5:33 PM


> "tom.petch" writes:
> >> "tom.petch" writes:
> >> >I think that validation depends on the datastore, as in 8.3.3, so an
> >> ><edit-config> of <running/> may access operational state with a
> >> >must statement, whereas a <commit> of <candidate/> may not.
> >
> >Thanks for the correction; I overstated my case.
> >
> >I think it still true, though, as I first said, that it is not just at
<commit>
> >when validation occurs.
>
> Okay, so now I'm confused.  What statement are you refering to as
> "still true"?  That edit-config may access operational state with
> a must statement?  If the must statement is on a "config=true"
> node, the validation will not see the operational nodes.  If
> the must statement is on a "config=false" node, then it cannot
> be affected by <edit-config>.

Phil

The original statement, to which I was responding, said
'config is validated at commit time'
so my initial comment was that it was not only at <commit> time
that validation would occur but also at <edit-config> time
and it would then be <running/>  that was being validated and
not <candidate/>.

I was then thinking what else might be in <running/> and
not in <candidate/> and the answer is quite a lot.  I was wrong
to consider state, as you have pointed out, but anything that
has been previously edited in <running/> could be different.

Will there be cases where such editing creates validation that
works for <candidate/> and fails for <running/> or vice versa?
I cannot think of a realistic example (yet:-) but am still mulling
that one over.

Tom Petch

> Thanks,
>  Phil


From phil@juniper.net  Tue Sep 29 05:18:13 2009
Return-Path: <phil@juniper.net>
X-Original-To: netmod@core3.amsl.com
Delivered-To: netmod@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C1B8A3A6806 for <netmod@core3.amsl.com>; Tue, 29 Sep 2009 05:18:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.575
X-Spam-Level: 
X-Spam-Status: No, score=-6.575 tagged_above=-999 required=5 tests=[AWL=0.024,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Uv8GAfMK4r9 for <netmod@core3.amsl.com>; Tue, 29 Sep 2009 05:18:13 -0700 (PDT)
Received: from exprod7og106.obsmtp.com (exprod7og106.obsmtp.com [64.18.2.165]) by core3.amsl.com (Postfix) with ESMTP id 4D60B28C128 for <netmod@ietf.org>; Tue, 29 Sep 2009 05:18:07 -0700 (PDT)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob106.postini.com ([64.18.6.12]) with SMTP ID DSNKSsH7T0N7TOetVde8nvaMPs6ohD/5c1O6@postini.com; Tue, 29 Sep 2009 05:19:33 PDT
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.375.2; Tue, 29 Sep 2009 05:14:24 -0700
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 29 Sep 2009 05:14:24 -0700
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 29 Sep 2009 05:14:23 -0700
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 29 Sep 2009 05:14:23 -0700
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n8TCEMj10036; Tue, 29 Sep 2009 05:14:22 -0700 (PDT)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n8TC1mZ6011644; Tue, 29 Sep 2009 12:01:49 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200909291201.n8TC1mZ6011644@idle.juniper.net>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <001b01ca40dc$34838de0$0601a8c0@allison> 
Date: Tue, 29 Sep 2009 08:01:48 -0400
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 29 Sep 2009 12:14:23.0342 (UTC) FILETIME=[6165E8E0:01CA40FE]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netmod@ietf.org
Subject: Re: [netmod] config+defaults wrt/ i-i and leafref
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Sep 2009 12:18:13 -0000

"tom.petch" writes:
>The original statement, to which I was responding, said
>'config is validated at commit time'
>so my initial comment was that it was not only at <commit> time
>that validation would occur but also at <edit-config> time
>and it would then be <running/>  that was being validated and
>not <candidate/>.

Ahh, so you're talking about the rules in section 8.3
(esp 8.3.3) about when differing constraints are enforced.

Thanks,
 Phil
