Re: [i2rs] Kathleen Moriarty's No Objection on draft-ietf-i2rs-yang-l3-topology-08: (with COMMENT)
Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Fri, 03 February 2017 16:11 UTC
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: i2rs@ietfa.amsl.com
Delivered-To: i2rs@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CC19A129662; Fri, 3 Feb 2017 08:11:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.398
X-Spam-Level:
X-Spam-Status: No, score=-7.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-3.199, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 Ztjk6pYSoSYS; Fri, 3 Feb 2017 08:11:01 -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 E6A3F12946B; Fri, 3 Feb 2017 08:11:00 -0800 (PST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id C02A7782; Fri, 3 Feb 2017 17:10:59 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.205]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id nJkR9tLoTUJj; Fri, 3 Feb 2017 17:10:55 +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; Fri, 3 Feb 2017 17:10:59 +0100 (CET)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 3EF92200AD; Fri, 3 Feb 2017 17:10:59 +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 IVjY3dcvMBzh; Fri, 3 Feb 2017 17:10:58 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 35862200AB; Fri, 3 Feb 2017 17:10:58 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 54B6A3E66242; Fri, 3 Feb 2017 17:11:01 +0100 (CET)
Date: Fri, 03 Feb 2017 17:11:00 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Xufeng Liu <Xufeng_Liu@jabil.com>
Message-ID: <20170203161100.GA87190@elstar.local>
Mail-Followup-To: Xufeng Liu <Xufeng_Liu@jabil.com>, Martin Bjorklund <mbj@tail-f.com>, "draft-ietf-i2rs-yang-l3-topology@ietf.org" <draft-ietf-i2rs-yang-l3-topology@ietf.org>, "i2rs@ietf.org" <i2rs@ietf.org>, "kwatsen@juniper.net" <kwatsen@juniper.net>
References: <BN3PR02MB11415971D591FE5181D53409F14C0@BN3PR02MB1141.namprd02.prod.outlook.com> <0D6214AD-503C-4570-BB5E-F0042ABC6641@juniper.net> <BN3PR02MB1141BE8B907D10AAFAA6BDA7F14F0@BN3PR02MB1141.namprd02.prod.outlook.com> <20170203.163216.1400419881696462638.mbj@tail-f.com> <BN3PR02MB11416DD67AB92C6620CEF7E4F14F0@BN3PR02MB1141.namprd02.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <BN3PR02MB11416DD67AB92C6620CEF7E4F14F0@BN3PR02MB1141.namprd02.prod.outlook.com>
User-Agent: Mutt/1.6.0 (2016-04-01)
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/BVr90iFCy5BHkofs-_b8SokaFjs>
Cc: "draft-ietf-i2rs-yang-l3-topology@ietf.org" <draft-ietf-i2rs-yang-l3-topology@ietf.org>, "i2rs@ietf.org" <i2rs@ietf.org>, Martin Bjorklund <mbj@tail-f.com>, "kwatsen@juniper.net" <kwatsen@juniper.net>
Subject: Re: [i2rs] Kathleen Moriarty's No Objection on draft-ietf-i2rs-yang-l3-topology-08: (with COMMENT)
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: "Interface to The Internet Routing System \(IRS\)" <i2rs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2rs>, <mailto:i2rs-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2rs/>
List-Post: <mailto:i2rs@ietf.org>
List-Help: <mailto:i2rs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2rs>, <mailto:i2rs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 03 Feb 2017 16:11:03 -0000
On Fri, Feb 03, 2017 at 03:50:57PM +0000, Xufeng Liu wrote: > Hi, > > > -----Original Message----- > > From: Martin Bjorklund [mailto:mbj@tail-f.com] > > Sent: Friday, February 3, 2017 10:32 AM > > To: Xufeng Liu <Xufeng_Liu@jabil.com> > > Cc: kwatsen@juniper.net; draft-ietf-i2rs-yang-l3-topology@ietf.org; > > i2rs@ietf.org > > Subject: Re: [i2rs] Kathleen Moriarty's No Objection on draft-ietf-i2rs-yang-l3- > > topology-08: (with COMMENT) > > > > Hi, > > > > > > Xufeng Liu <Xufeng_Liu@jabil.com> wrote: > > > Hi Kent, > > > > > > > -----Original Message----- > > > > From: Kent Watsen [mailto:kwatsen@juniper.net] > > > > Sent: Thursday, February 2, 2017 8:39 PM > > > > To: Xufeng Liu <Xufeng_Liu@jabil.com> > > > > Cc: i2rs@ietf.org; draft-ietf-i2rs-yang-l3-topology@ietf.org > > > > Subject: Re: [i2rs] Kathleen Moriarty's No Objection on > > > > draft-ietf-i2rs-yang-l3- > > > > topology-08: (with COMMENT) > > > > > > > > [reducing distribution] > > > > > > > > > > > > Hi Xufeng, > > > > > > > > > Assume the following model: > > > > > > > > > > +--rw nodes > > > > > +--rw node [id] > > > > > +--rw id string > > > > > +--rw under-lay-attribute-a ??? > > > > > +---ro nodes-state > > > > > +--ro node [id] > > > > > +--ro id string > > > > > +--ro attribute-a string > > > > > > > > > > I cannot define the under-lay-attribute-a to reference attribute-a as: > > > > > type leafref { > > > > > path "../node/attribute-a"' > > > > > } > > > > > > > > > > > > True, but maybe it could be: > > > > > > > > type leafref { > > > > path "../node/attribute-a" > > > > require-instance false; > > > > description > > > > "In the case when the referenced instance is not a configured > > > > object, the system may resolve it by looking for it under the > > > > /nodes-state node. As the referenced operational state data > > > > may have a lifecycle independent of configuration, this results > > > > in an effect much like pre-provisioning interfaces in RFC 7223."; > > > > } > > > [Xufeng] I think that "require-instance false" does not help here. The > > > validation for path "../node/attribute-a" still fails because > > > "attribute-a" does not exist under /nodes/node/. > > > > No, "require-instance false" essentially turns off validation. Section > > 9.9.3 in RFC 7950 says: > > > > If "require-instance" is "false", it means that the instance being > > referred to MAY exist in valid data. > > > [Xufeng] My understanding is that this section talks about instance "data" validation, but I was talking about schema validation. The path statement is pointing to a non-existing schema node. At least, pyang, yangdump, and yangvalidator all fail on this currently. Yes, the example is confusing. If the idea was that the path would be ../node/under-lay-attribute-a then I find the description questionable since the leafref is restricted to ../node/under-lay-attribute-a but the description says go look elsewhere. Perhaps I need an even simpler example. ;-) /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/>
- [i2rs] Kathleen Moriarty's No Objection on draft-… Kathleen Moriarty
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Kathleen Moriarty
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Andy Bierman
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Andy Bierman
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Andy Bierman
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Giles Heron
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Giles Heron
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Giles Heron
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Thomas Nadeau
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Thomas Nadeau
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Robert Varga
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Kathleen Moriarty
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Andy Bierman
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Andy Bierman
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Anton Ivanov
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Scharf, Michael (Nokia - DE)
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Anton Ivanov
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Anton Ivanov
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Thomas Nadeau
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Benoit Claise
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Thomas Nadeau
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Alia Atlas
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Anton Ivanov
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Giles Heron
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Anton Ivanov
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Alia Atlas
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Giles Heron
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Lou Berger
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Alia Atlas
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Giles Heron
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Lou Berger
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Andy Bierman
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Lou Berger
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Lou Berger
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Alia Atlas
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Alexander Clemm
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Xufeng Liu
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- [i2rs] What is RFC 7223 style pre-provisioning (w… Lou Berger
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Xufeng Liu
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Susan Hares
- Re: [i2rs] What is RFC 7223 style pre-provisionin… Susan Hares
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Lou Berger
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Kent Watsen
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Xufeng Liu
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Xufeng Liu
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Juergen Schoenwaelder
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Xufeng Liu
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Martin Bjorklund
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Kent Watsen
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Alia Atlas
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Kent Watsen
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Lou Berger
- Re: [i2rs] Kathleen Moriarty's No Objection on dr… Alexander Clemm