RE: [YANG] keyref

"Bert Wijnen" <bertietf@bwijnen.net> Tue, 22 January 2008 14:26 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 1JHK5G-0007mI-3C; Tue, 22 Jan 2008 09:26:38 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JHK5F-0007mB-Fx for yang-confirm+ok@megatron.ietf.org; Tue, 22 Jan 2008 09:26:37 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JHK5F-0007m3-5Z for yang@ietf.org; Tue, 22 Jan 2008 09:26:37 -0500
Received: from relay.versatel.net ([62.250.3.110]) by chiedprmail1.ietf.org with smtp (Exim 4.43) id 1JHK5E-0004dv-Mm for yang@ietf.org; Tue, 22 Jan 2008 09:26:37 -0500
Received: (qmail 55338 invoked from network); 22 Jan 2008 14:26:34 -0000
Received: from unknown (HELO bwMedion) (87.215.199.34) by relay.versatel.net with SMTP; 22 Jan 2008 14:26:34 -0000
From: "Bert Wijnen" <bertietf@bwijnen.net>
To: "Balazs Lengyel" <balazs.lengyel@ericsson.com>, "Martin Bjorklund" <mbj@tail-f.com>
Subject: RE: [YANG] keyref
Date: Tue, 22 Jan 2008 15:26:34 +0100
Message-ID: <NIEJLKBACMDODCGLGOCNCELGEFAA.bertietf@bwijnen.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
In-Reply-To: <4795F2C3.4080004@ericsson.com>
Importance: Normal
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7d33c50f3756db14428398e2bdedd581
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

Balazs writes:
> So if I have a keyref to ifIndex 3 and then I remove interface 
> with ifIndex 3, that is I get a 
> dangling reference that points into the void, will I have an 
> invalid configuration?
> 
> If you want to check at delete interface all the leafs that 
> reference the interface, that might not be simple.
> 

Let me remind everyone that the referential integrity (specifically 
for ifIndex) was/is one of the big open issues in the MIB space.

It would be good if we can solve it in the NETCONF DML space.

Unfortunately, I have no solution to offer at this point. Sorry.

> Balazs
> 

Bert


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