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

Kent Watsen <kwatsen@juniper.net> Fri, 03 February 2017 01:38 UTC

Return-Path: <kwatsen@juniper.net>
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 32CCD129612; Thu, 2 Feb 2017 17:38:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.058
X-Spam-Level:
X-Spam-Status: No, score=-3.058 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_H2=-1.156, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=junipernetworks.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 nv9vIn6XNxaB; Thu, 2 Feb 2017 17:38:35 -0800 (PST)
Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0110.outbound.protection.outlook.com [104.47.37.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2C169129A68; Thu, 2 Feb 2017 17:38:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junipernetworks.onmicrosoft.com; s=selector1-juniper-net; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=VMAU0SIpBuTOaZ80E0Uo9KoSaBzaUWk3Cf8Pk++YFd4=; b=IODo+CXSWMv2qLtGGkgcObnhv/d6MbXxnTZea5X81r8oznlQeoPTkNIaX3S095gXF2rNRUXUZXCHDeff/46MrUji95qRBFca0CPXFMUdSh6/lsTvCrcYquFyk6OFHE6kMRPeDwO2izHjvCr4sj0gbd678dr8UAdg9E299vsS5GA=
Received: from BN3PR0501MB1442.namprd05.prod.outlook.com (10.160.117.151) by BN3PR0501MB1442.namprd05.prod.outlook.com (10.160.117.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.5; Fri, 3 Feb 2017 01:38:33 +0000
Received: from BN3PR0501MB1442.namprd05.prod.outlook.com ([10.160.117.151]) by BN3PR0501MB1442.namprd05.prod.outlook.com ([10.160.117.151]) with mapi id 15.01.0888.018; Fri, 3 Feb 2017 01:38:33 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Xufeng Liu <Xufeng_Liu@jabil.com>
Thread-Topic: [i2rs] Kathleen Moriarty's No Objection on draft-ietf-i2rs-yang-l3-topology-08: (with COMMENT)
Thread-Index: AQHSdw/yqRSiXVe4g0u0BDQlaxXyX6FJRx6AgAAEUoCAAALgAIALPDeAgAALPQCAABeFgIAABLgAgAAODICAAJ8egIAAbOUAgAAlhgCAAA+qAIAAOUOA
Date: Fri, 03 Feb 2017 01:38:33 +0000
Message-ID: <0D6214AD-503C-4570-BB5E-F0042ABC6641@juniper.net>
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>
In-Reply-To: <BN3PR02MB11415971D591FE5181D53409F14C0@BN3PR02MB1141.namprd02.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.1e.0.170107
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kwatsen@juniper.net;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [66.129.241.14]
x-ms-office365-filtering-correlation-id: b4bb7544-661a-417f-1ee3-08d44bd55da6
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:BN3PR0501MB1442;
x-microsoft-exchange-diagnostics: 1; BN3PR0501MB1442; 7:4hZcYY8lf5cvbW2Io4b3OPlOIqGyfKOqAd4sPLzXmwZ0vOjANpS8DjfXBnNgcC4DfazRxfh4X1iGRqWj6GxS2rZ/g1I6g//Az2yVA2H5SvnEikx8pMbyXjfs9cM1X3eiCeKo6/SD4A/JrKb2ia1cwaK9qrbKW3dhoQpm2WK14sOm+osgAkn83m64FCLShGRztbGr2RjnoJ5XyUKnc4az3DD/sUEYLNEt7T6gODznxZ6Aqenfpem9MZiazmPKbE9uxgsD/XGES1pGhU2nK5BT4BG5KnokEqTSWYAajpiXsVUqhKVItaxTv7ulHQZjL4Gf5kJUE4Zfc/kAPz/es65S4/xFnxpMTTvEmm2m1KpeY0gbs8z9gYWUpfeI/LsIG7HLb5jwFPC5qnfjD1sNgXKz8OyWtkcwxxFxT1wz7VFBLXfXHGTlH+Hsn+TjHsVhefjJjRPZaPwWxEwHsVADqs4k+2GK1jT9Wbik4o9F2nPbrYSPDdyM0cKgDhTJEh0pptmUB6kCWqe0ZXopBGobswQlWw==
x-microsoft-antispam-prvs: <BN3PR0501MB1442F607918BC139572BCE20A54F0@BN3PR0501MB1442.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123560025)(20161123564025)(20161123555025)(20161123558025)(6072148); SRVR:BN3PR0501MB1442; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0501MB1442;
x-forefront-prvs: 02070414A1
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39410400002)(39860400002)(39840400002)(39850400002)(39450400003)(199003)(189002)(3660700001)(86362001)(54356999)(36756003)(50986999)(101416001)(92566002)(122556002)(2900100001)(66066001)(81166006)(6246003)(305945005)(93886004)(7736002)(76176999)(8676002)(106356001)(105586002)(106116001)(33656002)(81156014)(97736004)(230783001)(2906002)(4326007)(82746002)(53936002)(83506001)(189998001)(102836003)(83716003)(4001350100001)(6116002)(8936002)(6486002)(25786008)(6512007)(77096006)(38730400001)(3846002)(6436002)(6916009)(229853002)(6506006)(99286003)(54906002)(68736007)(2950100002)(3280700002)(110136003)(5660300001)(104396002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0501MB1442; H:BN3PR0501MB1442.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <D8253159A1D93F43BD076670709CD5C8@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2017 01:38:33.5536 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0501MB1442
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/EWavOrdOvchKY5oOkIa3n-46tng>
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 01:38:40 -0000

[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.";
   }

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