Re: [Netconf] quick comment on NETCONF Light draft

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 19 January 2012 07:44 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4F18C21F85BE for <netconf@ietfa.amsl.com>; Wed, 18 Jan 2012 23:44:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.224
X-Spam-Level:
X-Spam-Status: No, score=-103.224 tagged_above=-999 required=5 tests=[AWL=0.025, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KsYqk-3OcVxI for <netconf@ietfa.amsl.com>; Wed, 18 Jan 2012 23:44:18 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by ietfa.amsl.com (Postfix) with ESMTP id AC5D021F85A3 for <netconf@ietf.org>; Wed, 18 Jan 2012 23:44:18 -0800 (PST)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 89C7220BCD; Thu, 19 Jan 2012 08:44:15 +0100 (CET)
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 PCSw0fygNX2D; Thu, 19 Jan 2012 08:44:15 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 3A6CF20BC1; Thu, 19 Jan 2012 08:44:15 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 651EE1C913AF; Thu, 19 Jan 2012 08:43:57 +0100 (CET)
Date: Thu, 19 Jan 2012 08:43:57 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.org>
Message-ID: <20120119074356.GA31476@elstar.local>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.org>, NETCONF <netconf@ietf.org>
References: <4F17662E.3010209@netconfcentral.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <4F17662E.3010209@netconfcentral.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: NETCONF <netconf@ietf.org>
Subject: Re: [Netconf] quick comment on NETCONF Light draft
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netconf>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jan 2012 07:44:19 -0000

On Wed, Jan 18, 2012 at 04:39:10PM -0800, Andy Bierman wrote:
> Hi,
> 
> I was looking over this draft:
> 
> http://www.ietf.org/id/draft-schoenw-netconf-light-01.txt
> 
> I can agree with the problem statement:
> There is a need for a constrained server which supports a limited subset of NETCONF operations.
> 
> I don't agree with the solution, since it is not backward-compatible with
> any version of NETCONF.  A base:1.0 or base:1.1 peer will simply terminate
> the session when a NETCONF Light peer does not advertise either of these capabilities.

And this is correct. A NETCONF Light server does not implement
base:1.0 nor base:1.1 - so announcing it would be bad.
 
> YANG deviations can be used to fully describe the operations subset
> that a server implements, and this is backward-compatible with the
> current version of NETCONF.

There are two concerns with this:

1) YANG says deviations can't be standardized:

   Deviations define the way a device or class of devices deviate from a
   standard.  This means that deviations MUST never be part of a
   published standard, since they are the mechanism for learning how
   implementations vary from the standards.

2) Can we reasonably expect all client implementations, including
   scripts, to handle deviations correctly? If not, announcing the
   base:1.x with deviations will likely lead dumb clients to assume
   the server speaks NETCONF while it does not. By using a different
   capability, it is explicit from the start that the device
   implements NETCONF Lite.

I believe it is more robust to use a different capability + features
than using the NETCONF base:1.1 capability + deviations.

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