Re: [YANG] errors
Andy Bierman <ietf@andybierman.com> Thu, 24 January 2008 21:35 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 1JI9jO-0008FE-14; Thu, 24 Jan 2008 16:35:30 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43)
id 1JI9jN-0008Er-Kz
for yang-confirm+ok@megatron.ietf.org; Thu, 24 Jan 2008 16:35:29 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org)
by megatron.ietf.org with esmtp (Exim 4.43) id 1JI9jN-0008Ej-A1
for yang@ietf.org; Thu, 24 Jan 2008 16:35:29 -0500
Received: from smtp112.sbc.mail.mud.yahoo.com ([68.142.198.211])
by chiedprmail1.ietf.org with smtp (Exim 4.43) id 1JI9jM-0004Fx-Tu
for yang@ietf.org; Thu, 24 Jan 2008 16:35:29 -0500
Received: (qmail 11376 invoked from network); 24 Jan 2008 21:35:27 -0000
Received: from unknown (HELO ?192.168.0.10?) (andybierman@att.net@68.120.83.75
with plain)
by smtp112.sbc.mail.mud.yahoo.com with SMTP; 24 Jan 2008 21:35:27 -0000
X-YMail-OSG: USkFhrIVM1kMypd99qix5IIjO3x3dZY8Dna506w_jKNXEn.d
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4799049F.4030400@andybierman.com>
Date: Thu, 24 Jan 2008 13:35:27 -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: <4798F7CF.3010203@andybierman.com> <20080124.214232.175587160.mbj@tail-f.com> <4798FCA9.60500@andybierman.com>
<20080124.220749.135318331.mbj@tail-f.com>
In-Reply-To: <20080124.220749.135318331.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: 5a9a1bd6c2d06a21d748b7d0070ddcb8
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: >> Martin Bjorklund wrote: >>> Andy Bierman <ietf@andybierman.com> wrote: >>>> 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. >>> Why? >>> >>> >> error lock-denied { >> error-tag operation-failed; >> } >> >> ... >> raise-error lock-denied; >> >> >> Is this raise-error for the standard lock-denied or for the >> vendor error called lock-denied, defined in the same module? > > The idea was (I think it came from you :) that the identifier for the > error clause is error-app-tag. So the above would be in XML: > > <rpc-error> > <error-tag>operation-failed</error> > <error-app-tag>lock-denied</error-app-tag> > </rpc-error> > > Thus, no name clash. > huh? then how do you specify a 'raise-error' for the lock-denied in RFC 4741? > Side note: the error-app-tag is defined as a string in rfc4741, but > IMO is should have been a QName. If it was, all error-app-tags would > be local per namespace, so the above would be: > > <error-app-tag xmlns:foo="...">foo:lock-denied</error-app-tag> > > > /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