Re: [YANG] insert and key attributes
Andy Bierman <ietf@andybierman.com> Sun, 13 January 2008 17:45 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 1JE6ty-0000Dn-FW; Sun, 13 Jan 2008 12:45:42 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43)
id 1JE6ty-0000Dh-07
for yang-confirm+ok@megatron.ietf.org; Sun, 13 Jan 2008 12:45:42 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1JE6tx-0000DY-Mi
for yang@ietf.org; Sun, 13 Jan 2008 12:45:41 -0500
Received: from smtp106.sbc.mail.mud.yahoo.com ([68.142.198.205])
by ietf-mx.ietf.org with smtp (Exim 4.43) id 1JE6tx-0002So-AU
for yang@ietf.org; Sun, 13 Jan 2008 12:45:41 -0500
Received: (qmail 48448 invoked from network); 13 Jan 2008 17:45:40 -0000
Received: from unknown (HELO ?192.168.0.10?)
(andybierman@att.net@67.126.240.103 with plain)
by smtp106.sbc.mail.mud.yahoo.com with SMTP; 13 Jan 2008 17:45:40 -0000
X-YMail-OSG: .ur3_p4VM1nAJk8vCAm3z256ieccUVjNhIQYD2EMFSxz0SlA
Message-ID: <478A4DC7.1020705@andybierman.com>
Date: Sun, 13 Jan 2008 09:43:35 -0800
From: Andy Bierman <ietf@andybierman.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
Subject: Re: [YANG] insert and key attributes
References: <200801130549.m0D5nSFR049573@idle.juniper.net> <478A2621.2060603@andybierman.com>
<20080113.173532.102915601.mbj@tail-f.com>
In-Reply-To: <20080113.173532.102915601.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7baded97d9887f7a0c7e8a33c2e3ea1b
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
Martin Bjorklund wrote: > Andy Bierman <ietf@andybierman.com> wrote: >> How is a manager supposed to know that the agent uses the "-00 YANG" >> version of the NETCONF protocol, vs. the "-01 YANG" version >> vs. "RFC 4741 NETCONF"? > > If the manager knows the datamodel, then it knows how to manipulate an > ordered-by user list; it also knows which element(s) are keys, how > they are encoded to XML etc. > IMO, it is important to separate the data modeling language from the protocol, and to keep the NETCONF protocol as DML-neutral as possible. It doesn't seem like a good idea for interoperability to have one flavor of NETCONF if the vendor uses YANG data models and another if the vendor uses XSD or RelaxNG. Even worse, what if the vendor publishes some modules as YANG, others as XSD, and there are different flavors of NETCONF within the same agent. Note that error-app-tag and error-message are not extensions to the protocol at all -- they simply specify values for fields already defined in <rpc-error>. But the key and insert attributes change the behavior of the <edit-config> operation. It doesn't matter that they change it for the better, by adding support for user-ordered lists. What matters is that a standard protocol needs to be changed by a WG, and should be done in a way that is not specific to one particular DML. > > /martin > > Andy _______________________________________________ YANG mailing list YANG@ietf.org https://www1.ietf.org/mailman/listinfo/yang
- [YANG] insert and key attributes Andy Bierman
- Re: [YANG] insert and key attributes Phil Shafer
- Re: [YANG] insert and key attributes Andy Bierman
- Re: [YANG] insert and key attributes Phil Shafer
- Re: [YANG] insert and key attributes Andy Bierman
- Re: [YANG] insert and key attributes Martin Bjorklund
- Re: [YANG] insert and key attributes Andy Bierman
- Re: [YANG] insert and key attributes Juergen Schoenwaelder
- Re: [YANG] insert and key attributes Phil Shafer
- Re: [YANG] insert and key attributes Andy Bierman
- Re: [YANG] insert and key attributes Martin Bjorklund
- Re: [YANG] insert and key attributes Phil Shafer
- Re: [YANG] insert and key attributes Andy Bierman
- Re: [YANG] insert and key attributes Phil Shafer
- Re: [YANG] insert and key attributes Andy Bierman
- Re: [YANG] insert and key attributes Phil Shafer
- Re: [YANG] insert and key attributes Andy Bierman