Re: [i2rs] Kathleen Moriarty's No Objection on draft-ietf-i2rs-yang-l3-topology-08: (with COMMENT)

Xufeng Liu <Xufeng_Liu@jabil.com> Fri, 03 February 2017 14:28 UTC

Return-Path: <Xufeng_Liu@jabil.com>
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 E5D85129648; Fri, 3 Feb 2017 06:28:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.921
X-Spam-Level:
X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=jabil.onmicrosoft.com
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 S2VG9whm-ZZB; Fri, 3 Feb 2017 06:28:31 -0800 (PST)
Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0122.outbound.protection.outlook.com [104.47.40.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6751B129417; Fri, 3 Feb 2017 06:28:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jabil.onmicrosoft.com; s=selector1-jabil-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=t1p4Y0oqHCASVF8FnjW3vcl9TdguRtUTKuuOIgNLCWI=; b=LjjrfDhnnD2E3Oakd92Of+ILHHFEn/VyBWt8MIa0Z0MKvPv9SHkhzBNzeP0irUmqCa/qomu0qEY8aByyZUMS3wCmF6X4uRCKJrXHtjMBQ8BdW9P3EQexekqtSSstz8RmC3ErxmWJ0IhCcK/Wu5D8ia811QQcOt01z1a1F9kjZzs=
Received: from BN3PR02MB1141.namprd02.prod.outlook.com (10.162.168.147) by BN3PR02MB1141.namprd02.prod.outlook.com (10.162.168.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.874.12; Fri, 3 Feb 2017 14:28:29 +0000
Received: from BN3PR02MB1141.namprd02.prod.outlook.com ([10.162.168.147]) by BN3PR02MB1141.namprd02.prod.outlook.com ([10.162.168.147]) with mapi id 15.01.0874.025; Fri, 3 Feb 2017 14:28:29 +0000
From: Xufeng Liu <Xufeng_Liu@jabil.com>
To: Kent Watsen <kwatsen@juniper.net>
Thread-Topic: [i2rs] Kathleen Moriarty's No Objection on draft-ietf-i2rs-yang-l3-topology-08: (with COMMENT)
Thread-Index: AQHSdw/y6tc6V0kTeEi7pAhS6Zp8AqFJRx6AgAAEUoCAAALgAIALPDeAgAALPQCAABeFgIAABLgAgAAODICAAJ8egIAAZlpAgAAsEQCAAAgoYIAAlJeAgADPNaA=
Date: Fri, 03 Feb 2017 14:28:28 +0000
Message-ID: <BN3PR02MB1141BE8B907D10AAFAA6BDA7F14F0@BN3PR02MB1141.namprd02.prod.outlook.com>
References: <644DA50AFA8C314EA9BDDAC83BD38A2E0DF7D7EE@SJCEML703-CHM.china.huawei.com> <20170202.083329.1828765889486608943.mbj@tail-f.com> <BN3PR02MB1141CB95373AA63789365FEDF14C0@BN3PR02MB1141.namprd02.prod.outlook.com> <20170202.171732.487428777571541086.mbj@tail-f.com> <BN3PR02MB11415971D591FE5181D53409F14C0@BN3PR02MB1141.namprd02.prod.outlook.com> <0D6214AD-503C-4570-BB5E-F0042ABC6641@juniper.net>
In-Reply-To: <0D6214AD-503C-4570-BB5E-F0042ABC6641@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Xufeng_Liu@jabil.com;
x-originating-ip: [98.191.72.170]
x-ms-office365-filtering-correlation-id: 6257475c-2388-4168-872c-08d44c40ec4f
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:BN3PR02MB1141;
x-microsoft-exchange-diagnostics: 1; BN3PR02MB1141; 7:YpgJ+D8ZDijmVOdwmum0OA4Uh1qfOwxukSalNMJsYWqZxY96Y9XWEwbw4qppbx+uHOz0kOH05d5e3MZYe+832fhu6iZOqXAp7SmKoeTvTjc1NVgLGASOaQyo/gxpiu97CvwblGYWy96oS8CEmDdpCxb7AAzGH6vO9rp4ksPL+/kDTnvFFcQiRgCOrOUzfH2umUe9DaH2CUZoLa8jiE0HmJuwW+Z5RDLfBOlh95Z7sS27zg4HbGpdHoEzItR8PE/4DDbY3YOW7vBjchEazuSMwU3vA/AZcws7parkQosftn10mt7PF1Qsaen0ubhUxq0MZs8cM4LaS7L6RxpiSnsSiCgaiG0akZS9CMA30Twc/AfJ5ITuqGCbopNwkmxKTVFpu3MZyubtO+lWKw+R+QkRXOkT33E7g/bNUSqn8OxuQar+0GSeCZLnY373CPEeE35hcYsVmWOT3DcRQ4Btg/AGLI42W5BcNTXRVYDD8xKNyLm7bApGAs6ls3Xkc3T7EKczWlBfCswAmaV6VNbH55/N5A==
x-microsoft-antispam-prvs: <BN3PR02MB114111B81935CB2EE78F608FF14F0@BN3PR02MB1141.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(138986009662008)(21534305686606);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123558025)(20161123564025)(20161123555025)(20161123560025)(6072148); SRVR:BN3PR02MB1141; BCL:0; PCL:0; RULEID:; SRVR:BN3PR02MB1141;
x-forefront-prvs: 02070414A1
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39450400003)(39840400002)(39860400002)(39850400002)(39410400002)(199003)(189002)(51444003)(377454003)(13464003)(25786008)(305945005)(6436002)(99286003)(55016002)(230783001)(54906002)(6506006)(8666007)(38730400001)(2900100001)(2950100002)(77096006)(2906002)(33656002)(93886004)(1941001)(101416001)(74316002)(122556002)(53936002)(9686003)(189998001)(102836003)(3846002)(54356999)(76176999)(50986999)(229853002)(6116002)(8936002)(6246003)(110136003)(3660700001)(97736004)(81156014)(7736002)(80792005)(3280700002)(8676002)(81166006)(106116001)(4326007)(105586002)(106356001)(5660300001)(66066001)(6916009)(86362001)(92566002)(7696004)(68736007); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR02MB1141; H:BN3PR02MB1141.namprd02.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: jabil.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: jabil.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2017 14:28:29.0443 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bc876b21-f134-4c12-a265-8ed26b7f0f3b
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR02MB1141
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/I7Row4FvQYTNF4kXYnywk99B-ms>
Cc: "draft-ietf-i2rs-yang-l3-topology@ietf.org" <draft-ietf-i2rs-yang-l3-topology@ietf.org>, "i2rs@ietf.org" <i2rs@ietf.org>
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
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 14:28:34 -0000

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/. 

> 
> This would be cleaner in a revised-datastores oriented model, as then it would
> be obvious that the list's key space spanned across both datastores.
> 
> 
> Kent
>