Re: [YANG] new pyang errors

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 23 January 2008 12:13 UTC

Return-path: <yang-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1JHeTu-00032M-PI; Wed, 23 Jan 2008 07:13:26 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JHeTs-00032H-VL for yang-confirm+ok@megatron.ietf.org; Wed, 23 Jan 2008 07:13:24 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JHeTs-00031R-Jw for yang@ietf.org; Wed, 23 Jan 2008 07:13:24 -0500
Received: from hermes.jacobs-university.de ([212.201.44.23]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1JHeTs-0004rR-1V for yang@ietf.org; Wed, 23 Jan 2008 07:13:24 -0500
Received: from localhost (demetrius.jacobs-university.de [212.201.44.32]) by hermes.jacobs-university.de (Postfix) with ESMTP id 74DA58A24E; Wed, 23 Jan 2008 13:13:23 +0100 (CET)
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 09701-07-19; Wed, 23 Jan 2008 13:13:18 +0100 (CET)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 9F2578A419; Wed, 23 Jan 2008 13:11:10 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 05704479CC2; Wed, 23 Jan 2008 13:11:08 +0100 (CET)
Date: Wed, 23 Jan 2008 13:11:08 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@cesnet.cz>
Subject: Re: [YANG] new pyang errors
Message-ID: <20080123121108.GC7700@elstar.local>
Mail-Followup-To: Ladislav Lhotka <lhotka@cesnet.cz>, yang@ietf.org
References: <200801230559.m0N5xoXf020086@idle.juniper.net> <1201074051.17304.35.camel@missotis> <20080123074427.GE7105@elstar.local> <1201076756.17304.62.camel@missotis> <20080123084123.GB7227@elstar.local> <1201079984.17304.85.camel@missotis> <20080123092832.GD7227@elstar.local> <1201081170.17304.104.camel@missotis> <20080123100640.GA7700@elstar.local> <1201089763.17304.126.camel@missotis>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1201089763.17304.126.camel@missotis>
User-Agent: Mutt/1.5.17 (2007-11-01)
X-Virus-Scanned: amavisd-new 2.3.3 (20050822) at jacobs-university.de
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a7d6aff76b15f3f56fcb94490e1052e4
Cc: yang@ietf.org
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: YANG modeling Language for NETCONF <yang.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/yang>
List-Post: <mailto:yang@ietf.org>
List-Help: <mailto:yang-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=subscribe>
Errors-To: yang-bounces@ietf.org

On Wed, Jan 23, 2008 at 01:02:43PM +0100, Ladislav Lhotka wrote:

> > But we seem to have fundamental differences about the split of work:
> > 
> > - I want the NETCONF server to be authoritative to tell the client what
> >   the configuration is, with and without defaults expanded.
> 
> A simpler protocol is better. If you allow this choice, you also have
> to:
> 1. extend the NETCONF protocol so that it is able to distinguish 
>    between the two cases,
> 2. carefully specify the semantics of concepts like default values, 
>    mandatory versus optional etc.

I think this is why we are discussing these questions here.

> > - You seem to assume some magic processing exists on the manager side
> >   which takes what the device reports and modifies it e.g. by patching
> >   in defaults yielding a complete config.
> 
> Why do you call it magic? It's perfectly deterministic and local
> processing from client's point of view - the application has all
> information and just does what the user wants. And the user can always
> check what's going on without caring about what "magic" happened at the
> remote end. It can efficiently work even with different devices - the
> factory defaults are not relevant here.

The point is that the application does not really kow whether it has
all the information and it is a pain for the user to check this.

> It does imply slightly more complexity than raw ssh on the manager side,
> but for the managed device it is actually simpler - it needn't care
> about which values in its config datastore differ from factory defaults.

Lets agree to disagree on this. We won't convince each other.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>


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