Re: [YANG] new pyang errors

Ladislav Lhotka <lhotka@cesnet.cz> Wed, 23 January 2008 09:19 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 1JHblv-0002BX-2v; Wed, 23 Jan 2008 04:19:51 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JHblu-0002BS-CV for yang-confirm+ok@megatron.ietf.org; Wed, 23 Jan 2008 04:19:50 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JHblu-0002BK-2s for yang@ietf.org; Wed, 23 Jan 2008 04:19:50 -0500
Received: from office2.cesnet.cz ([195.113.144.244]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1JHblr-0000tl-LW for yang@ietf.org; Wed, 23 Jan 2008 04:19:50 -0500
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 07361D800C5 for <yang@ietf.org>; Wed, 23 Jan 2008 10:19:45 +0100 (CET)
Subject: Re: [YANG] new pyang errors
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: yang@ietf.org
In-Reply-To: <20080123084123.GB7227@elstar.local>
References: <200801230559.m0N5xoXf020086@idle.juniper.net> <1201074051.17304.35.camel@missotis> <20080123074427.GE7105@elstar.local> <1201076756.17304.62.camel@missotis> <20080123084123.GB7227@elstar.local>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Wed, 23 Jan 2008 10:19:44 +0100
Message-Id: <1201079984.17304.85.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.1
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: f60d0f7806b0c40781eee6b9cd0b2135
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: YANG modeling Language for NETCONF <yang.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/yang>
List-Post: <mailto:yang@ietf.org>
List-Help: <mailto:yang-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=subscribe>
Errors-To: yang-bounces@ietf.org

Juergen Schoenwaelder píše v St 23. 01. 2008 v 09:41 +0100:
> On Wed, Jan 23, 2008 at 09:25:56AM +0100, Ladislav Lhotka wrote:
> 
> > > a) ssh is not going to do that for me anytime soon
> > 
> > It's important that raw ssh works in principle but let's face it -
> > reading and typing NETCONF XML stuff via stdin/stdout is only for
> > masochists.
> 
> Perhaps real operators are masochists. Seriously, the amount of
> existing scripting code using CLI interfaces is huge. This is not
> going to go away.

Yes, but scripts connected via stdin to ssh are something different. You
can then set up a pipeline with a filter that suppresses (or fills in in
the opposite direction) the default values - but these could be your
default values that needn't necessarily be the same defaults the device
uses.
 
> 
> > > b) only the device really knows what has been touched
> > 
> > I'd like to make sure that my configurations work - as much as possible
> > - even after the device has been replaced by another brand.
> 
> There is no contradiction between these two statements so I guess you
> agree with my statement. ;-)

Well, if you only have a diff against factory default configuration of
device A and device B has a different one ...

> 
> > > c) configuration will always be to some extend proprietary; so your
> > >    app needs to understand all the proprietary stuff of all your devices
> > 
> > I don't agree - the whole NETCONF then wouldn't make much sense. That
> > "some extent" must be rather minor IMO.
> 
> It is an illusion to believe that all router vendors will ship exactly
> the same feature set. Whether the proprietary configuration knobs will
> be 1% or 100% we don't know - but it will exist.

If two devices advertise the same DM then I can assume they both have
the knobs that are present in the DM - perhaps others as well. The
simpler the DM is, the more likely it is that different vendors accept
it. That's why I'd like to remove all constraints that can be handled in
a different way, even if it means more data on the wire.

> 
> > > d) SNMP failed badly in this space, partly because of b) and c)
> > 
> > Avoiding hidden assumptions cannot make the situation worse, only
> > better.
> 
> I am not sure which hidden assumptions you have in mind.

That configuration parameters in the device have certain values even
though you haven't seen them.

Lada

-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



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