Re: [YANG] errors
Andy Bierman <ietf@andybierman.com> Thu, 24 January 2008 20:40 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 1JI8sX-0005iQ-EC; Thu, 24 Jan 2008 15:40:53 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43)
id 1JI8sV-0005iF-Uy
for yang-confirm+ok@megatron.ietf.org; Thu, 24 Jan 2008 15:40:51 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1JI8sV-0005i0-Ji
for yang@ietf.org; Thu, 24 Jan 2008 15:40:51 -0500
Received: from smtp113.sbc.mail.mud.yahoo.com ([68.142.198.212])
by ietf-mx.ietf.org with smtp (Exim 4.43) id 1JI8sT-0000C4-JD
for yang@ietf.org; Thu, 24 Jan 2008 15:40:51 -0500
Received: (qmail 32458 invoked from network); 24 Jan 2008 20:40:48 -0000
Received: from unknown (HELO ?192.168.0.10?) (andybierman@att.net@68.120.83.75
with plain)
by smtp113.sbc.mail.mud.yahoo.com with SMTP; 24 Jan 2008 20:40:48 -0000
X-YMail-OSG: XXAnjOQVM1lJWAH094CyqulP8Ih8QisgPbtJU5zpRq9h5gdA
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4798F7CF.3010203@andybierman.com>
Date: Thu, 24 Jan 2008 12:40:47 -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] errors
References: <20080124.153853.210376606.mbj@tail-f.com> <4798BFCD.3000706@andybierman.com> <20080124194143.GC16515@elstar.local>
<20080124.212822.254714100.mbj@tail-f.com>
In-Reply-To: <20080124.212822.254714100.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: 7aafa0432175920a4b3e118e16c5cb64
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: > Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote: >> On Thu, Jan 24, 2008 at 08:41:49AM -0800, Andy Bierman wrote: >> >>> What if the DM writer wants to raise an existing standard error? > > That's what I meant when I wrote that the raise-error is in addition > to the standard errors. I.e. nothing needs to be done in the DM for > this scenario. > except there has to be a CLR that no error-app-tag value can be one of the standard error-tag values. If the standard error-tag values grow over time, this creating potential naming conflicts with previously released error-app-tag values. >>> Does there need to be a standard module for the NETCONF errors, >>> added as an appendix? >> Yes. > > No, that's not possible with the way the error statement is done, > since the identifier is error-app-tag. > >>> Notably missing from the error-stmt is definition of any error-info data. >>> An open issue is whether there is some simple mechanism for defining >>> error-info, other than full-blown data-def-stmt, to define error >>> leafs. > > Why can't the normal data-def stmts be used? That would be the > obvious choice if we want to do error-info. > IMO, the document needs lots of work in the area of specifying how all the data-def-stmt clauses apply to rpc/input, rpc/output, and notification. Now add error-info to that list. The document has to specify exactly what every clause and sub-clause means for each of these data definition types. >>> (E.g., lock-denied has the <session-id> of the current lock owner.) >>> If not, then I would rather leave it out. >> Correct, this is needed. I think error-info is actually not much >> different from in and out parameters where we also use standard YANG >> constructs. > > I agree. > > > /martin > > Andy _______________________________________________ YANG mailing list YANG@ietf.org https://www1.ietf.org/mailman/listinfo/yang
- [YANG] errors Martin Bjorklund
- Re: [YANG] errors Juergen Schoenwaelder
- Re: [YANG] errors Phil Shafer
- Re: [YANG] errors Andy Bierman
- Re: [YANG] errors Martin Bjorklund
- Re: [YANG] errors Juergen Schoenwaelder
- Re: [YANG] errors Juergen Schoenwaelder
- Re: [YANG] errors Martin Bjorklund
- Re: [YANG] errors Andy Bierman
- Re: [YANG] errors Martin Bjorklund
- Re: [YANG] errors Andy Bierman
- Re: [YANG] errors Martin Bjorklund
- Re: [YANG] errors Andy Bierman
- Re: [YANG] errors Martin Bjorklund
- Re: [YANG] errors Andy Bierman
- Re: [YANG] errors Juergen Schoenwaelder
- Re: [YANG] errors Martin Bjorklund
- Re: [YANG] errors Juergen Schoenwaelder
- Re: [YANG] errors Martin Bjorklund