Re: [YANG] insert and key attributes

Martin Bjorklund <mbj@tail-f.com> Mon, 14 January 2008 08:43 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 1JEKuW-00020C-CF; Mon, 14 Jan 2008 03:43:12 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JEKuU-0001xa-KO for yang-confirm+ok@megatron.ietf.org; Mon, 14 Jan 2008 03:43:10 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JEKuN-0001bK-Jm for yang@ietf.org; Mon, 14 Jan 2008 03:43:03 -0500
Received: from [213.180.94.162] (helo=mail.tail-f.com) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1JEKuN-0002RC-7W for yang@ietf.org; Mon, 14 Jan 2008 03:43:03 -0500
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTP id 7CF271B80C4; Mon, 14 Jan 2008 09:43:01 +0100 (CET)
Date: Mon, 14 Jan 2008 09:44:03 +0100 (CET)
Message-Id: <20080114.094403.17841730.mbj@tail-f.com>
To: ietf@andybierman.com
Subject: Re: [YANG] insert and key attributes
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <478AFA5A.5040505@andybierman.com>
References: <200801140406.m0E46gCC053535@idle.juniper.net> <478AFA5A.5040505@andybierman.com>
X-Mailer: Mew version 5.1.51 on Emacs 22.1 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 93238566e09e6e262849b4f805833007
Cc: yang@ietf.org
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

Andy Bierman <ietf@andybierman.com> wrote:
> Conformance to RFC 4741 does not require any additional
> attributes for <edit-config>.

RFC4741 is pretty silent on the semantics of the edit-config
operations... by design.

> If the same operation
> without the YANG attributes does not produce the same result,
> like the 'move barney' example, then the agent is not RFC 4741
> compliant.

I don't agree with this statement.  Where in RFC4741 is this rule
described?  Are you saying that attributes are special, and that for
any NETCONF compliant request, I should be able to remove all
attributes and get the same result?  (This would of course rule out
any implementation that uses XML attributes for encoding of data,
which rfc 4741 does not do.)  If not, how am I supposed to know which
attributes I can remove?

Are you suggesting that we should remove 'ordered-by user' from YANG?


/martin


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