Re: [Rtg-yang-coord] Restrictions on list keys
Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Mon, 02 March 2015 22:09 UTC
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: rtg-yang-coord@ietfa.amsl.com
Delivered-To: rtg-yang-coord@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 415581A89E1
for <rtg-yang-coord@ietfa.amsl.com>; Mon, 2 Mar 2015 14:09:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.86
X-Spam-Level:
X-Spam-Status: No, score=-3.86 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-2.3,
T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44])
by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id wAwNjgfmTVPP for <rtg-yang-coord@ietfa.amsl.com>;
Mon, 2 Mar 2015 14:09:33 -0800 (PST)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de
[212.201.44.18])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id 19C911A8958
for <rtg-yang-coord@ietf.org>; Mon, 2 Mar 2015 14:09:33 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222])
by atlas3.jacobs-university.de (Postfix) with ESMTP id 9465671A;
Mon, 2 Mar 2015 23:09:31 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220])
by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new,
port 10030)
with ESMTP id B4NDYBWDlqJo; Mon, 2 Mar 2015 23:09:27 +0100 (CET)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de
[212.201.44.23])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "hermes.jacobs-university.de",
Issuer "Jacobs University CA - G01" (verified OK))
by atlas3.jacobs-university.de (Postfix) with ESMTPS;
Mon, 2 Mar 2015 23:09:31 +0100 (CET)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46])
by hermes.jacobs-university.de (Postfix) with ESMTP id 12DDF20036;
Mon, 2 Mar 2015 23:09:31 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23])
by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new,
port 10024)
with ESMTP id ilDY99wQMUGG; Mon, 2 Mar 2015 23:09:30 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de
[10.50.231.133])
by hermes.jacobs-university.de (Postfix) with ESMTP id 1315520031;
Mon, 2 Mar 2015 23:09:30 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501)
id 2960D325901F; Mon, 2 Mar 2015 23:09:28 +0100 (CET)
Date: Mon, 2 Mar 2015 23:09:28 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-ID: <20150302220928.GA60924@elstar.local>
Mail-Followup-To: Mahesh Jethanandani <mjethanandani@gmail.com>,
rtg-yang-coord@ietf.org
References: <A722B25D-D8F2-439C-817E-BBA981DFD698@gmail.com>
<20150301214345.GA38655@elstar.local>
<CCDAA563-CF0A-4E0D-85F2-3693E3C74E75@gmail.com>
<20150302055649.GA59539@elstar.local>
<CAAchPMvCL9EsewZ2BH1xzf+-HyHG24vYJCBXp6F8WLxbJD3Wfg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAAchPMvCL9EsewZ2BH1xzf+-HyHG24vYJCBXp6F8WLxbJD3Wfg@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/3CzOT-CyTrX0s7zE0QOsqT-JhcY>
Cc: rtg-yang-coord@ietf.org
Subject: Re: [Rtg-yang-coord] Restrictions on list keys
X-BeenThere: rtg-yang-coord@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: "\"List to discuss coordination between the Routing related YANG
models\"" <rtg-yang-coord.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-yang-coord>,
<mailto:rtg-yang-coord-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtg-yang-coord/>
List-Post: <mailto:rtg-yang-coord@ietf.org>
List-Help: <mailto:rtg-yang-coord-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-yang-coord>,
<mailto:rtg-yang-coord-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Mar 2015 22:09:35 -0000
On Mon, Mar 02, 2015 at 08:56:29PM +0000, Mahesh Jethanandani wrote: > Juergen, > > Thanks for the responses. One additional followup question. What happens in > case of a list, with a choice statement that is mandatory (see changed > below in the module). How would (or could one) one define a key using the > parameters in the 'choice mode' statement? > The leafs listed in a key statement must exist for all elements of a list. Hence, a branch in a choice cannot be a key even if the choice itself is mandatory. /js -- Juergen Schoenwaelder Jacobs University Bremen gGmbH Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany Fax: +49 421 200 3103 <http://www.jacobs-university.de/>
- [Rtg-yang-coord] Restrictions on list keys Mahesh Jethanandani
- Re: [Rtg-yang-coord] Restrictions on list keys Juergen Schoenwaelder
- Re: [Rtg-yang-coord] Restrictions on list keys Mahesh Jethanandani
- Re: [Rtg-yang-coord] Restrictions on list keys Juergen Schoenwaelder
- Re: [Rtg-yang-coord] Restrictions on list keys Mahesh Jethanandani
- Re: [Rtg-yang-coord] Restrictions on list keys Juergen Schoenwaelder