Re: [netmod] I-D Action: draft-ietf-netmod-entity-02.txt
"Bogaert, Bart (Nokia - BE)" <bart.bogaert@nokia.com> Wed, 08 March 2017 15:00 UTC
Return-Path: <bart.bogaert@nokia.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 95AF51294B9 for <netmod@ietfa.amsl.com>; Wed, 8 Mar 2017 07:00:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 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=-0.001, 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=nokia.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 zYjRsr5LJZ7I for <netmod@ietfa.amsl.com>; Wed, 8 Mar 2017 07:00:10 -0800 (PST)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40096.outbound.protection.outlook.com [40.107.4.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 825B0129496 for <netmod@ietf.org>; Wed, 8 Mar 2017 07:00:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=f6nmLGMXQM4+XrbOQdKD4Hd3fndwq4Bcho8SzML9Wx4=; b=TeD6tadxouB9LJdU1fpAZCiMmBqd1zSDMJ+oe/kIIey9tcaYqYa7U9PYIJSN9BC6zlh3sgW1yGuJ1cVrzRB33RaHGcD1XPT2XOJTzE60SFp4scJw4m9jjDjaX1jyHY8GCcExx4dE4oSZguoCp5im6JFM1sKcqi3nUnsAh3t7m2U=
Received: from AM2PR07MB0627.eurprd07.prod.outlook.com (10.160.54.154) by AM2PR07MB0626.eurprd07.prod.outlook.com (10.160.54.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.2; Wed, 8 Mar 2017 15:00:07 +0000
Received: from AM2PR07MB0627.eurprd07.prod.outlook.com ([10.160.54.154]) by AM2PR07MB0627.eurprd07.prod.outlook.com ([10.160.54.154]) with mapi id 15.01.0947.020; Wed, 8 Mar 2017 15:00:07 +0000
From: "Bogaert, Bart (Nokia - BE)" <bart.bogaert@nokia.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Thread-Topic: [netmod] I-D Action: draft-ietf-netmod-entity-02.txt
Thread-Index: AQHSl6caLbof61hN1kCkZer1IzW2RaGKudKAgAAwwgCAAAUDYIAAGA+AgAACGVA=
Date: Wed, 08 Mar 2017 15:00:07 +0000
Message-ID: <AM2PR07MB0627B82703EB1746E4C4C6A3942E0@AM2PR07MB0627.eurprd07.prod.outlook.com>
References: <D62E05768DBAFF42A72B9F4954476D65010EB1F736@FR712WXCHMBA09.zeu.alcatel-lucent.com> <20170307.194147.1826195488124124099.mbj@tail-f.com> <AM2PR07MB06279B5FF45770892B69273D942E0@AM2PR07MB0627.eurprd07.prod.outlook.com> <20170308.140730.165843214949076575.mbj@tail-f.com> <AM2PR07MB06274901D9A0765AA847E026942E0@AM2PR07MB0627.eurprd07.prod.outlook.com> <20170308145133.GC9814@elstar.local>
In-Reply-To: <20170308145133.GC9814@elstar.local>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: jacobs-university.de; dkim=none (message not signed) header.d=none;jacobs-university.de; dmarc=none action=none header.from=nokia.com;
x-originating-ip: [178.117.39.114]
x-ms-office365-filtering-correlation-id: 2ab7e25c-6700-44f6-7360-08d46633cf44
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:AM2PR07MB0626;
x-microsoft-exchange-diagnostics: 1; AM2PR07MB0626; 7:O+4KwLmL8GZ69cK8FJviSJlI/HYZKm/481zfr3CialZlZEPWmumqj6TZSYHWIrht7zSCMbficKK4Q5LGMY3piKz5+6NYsZwCrcON8n/SgvnxH3yljkL2J2EbaduVM/xWt7U4me23Sei4fe7XlF3UJwxCpHdsb/ZMpLDOCSXP6dy9uD6EZOufcq0Qgmi4jychi1FpLixIks2BCEH/BsfsngRHCjSEo3GAW3FeH346I9kCfOMGob54+sLRdGW3UvIR8IHA+Az51bqc0QnKkzQmogrrKrewPLk3DlXedR6vy3UGQTJ4axqEzL2px3WBsodFP39iC+zAQ5ClVKOw+0Yygw==
x-microsoft-antispam-prvs: <AM2PR07MB0626C5201CC864AADCAE7874942E0@AM2PR07MB0626.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(102415395)(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(20161123558025)(6072148); SRVR:AM2PR07MB0626; BCL:0; PCL:0; RULEID:; SRVR:AM2PR07MB0626;
x-forefront-prvs: 02408926C4
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39450400003)(39410400002)(39850400002)(39860400002)(39840400002)(24454002)(74316002)(7736002)(81166006)(7696004)(99936001)(230783001)(8676002)(77096006)(8936002)(93886004)(6506006)(33656002)(305945005)(189998001)(50986999)(2950100002)(122556002)(25786008)(66066001)(6436002)(5660300001)(76176999)(54356999)(4326008)(54906002)(2906002)(53936002)(55016002)(229853002)(110136004)(99286003)(3846002)(102836003)(6306002)(6246003)(6116002)(86362001)(9686003)(3280700002)(106116001)(3660700001)(2900100001)(38730400002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM2PR07MB0626; H:AM2PR07MB0627.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_0490_01D29825.0C02FCE0"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2017 15:00:07.0786 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR07MB0626
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/8hxzBuH04YZSo-UQKLZoCutcFjQ>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] I-D Action: draft-ietf-netmod-entity-02.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 08 Mar 2017 15:00:11 -0000
On Wed, Mar 08, 2017 at 02:48:15PM +0000, Bogaert, Bart (Nokia - BE) wrote: > Hi, > > > If we pick the former, it will not be possible to configure a > > component with a system controlled parent (unless you also add the > > system controlled parent to the configuration). > > [Bart Bogaert] Is there a reason to only have this parent in the > > state tree and not in the config tree? > > I am not sure I understand the question. Suppose the config tree is > empty, and the system boots and populates the state tree with all > detected harwdare. Next, a client would like to pre-provision a > module in a chassis that exists in state. If the leafref is to the > config tree, the client would have to create both the chassis and the > module in the config tree, since the leafef would otherwise fail to validate. > > [Bart Bogaert] Ok, so you are looking for a solution that refers to an > entry in the state tree. I always thought that one could not refer > from config to state but it seems I misunderstood this since this is > exactly what you are proposing. > > > If we pick the latter you will not get any validation (since it has > > to be require-instance false). > > > > It is fine w/ me to change the type string to a leafref of the > > former > type. > > Correction: I am fine with changing the string to a leafref to state. > > > [Bart Bogaert] If we leave it as a string it would mean that an > > external application would have to check whether the value of the > > string actually corresponds to a component that should exist (in the > > case of a non-system-controlled parent)? > > So are you ok with a leafref to state? > > [Bart Bogaert] Since that seems possible this would solve the problem. > I'm checking this with our people. Are you discussing leafref to a config false node with require instance false? I am not sure this is valid YANG. [Bart Bogaert] Well this is what I was thinking too but this was suggested by Martin. Regards, Bart /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/>
- [netmod] I-D Action: draft-ietf-netmod-entity-02.… internet-drafts
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Martin Bjorklund
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Juergen Schoenwaelder
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Martin Bjorklund
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Bogaert, Bart (Nokia - BE)
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Martin Bjorklund
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Bogaert, Bart (Nokia - BE)
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Juergen Schoenwaelder
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Bogaert, Bart (Nokia - BE)
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Bogaert, Bart (Nokia - BE)
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Martin Bjorklund
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Bogaert, Bart (Nokia - BE)
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Martin Bjorklund
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Bogaert, Bart (Nokia - BE)
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Martin Bjorklund
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Kent Watsen
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Martin Bjorklund
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Bogaert, Bart (Nokia - BE)
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Juergen Schoenwaelder
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Bogaert, Bart (Nokia - BE)
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Martin Bjorklund
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Bogaert, Bart (Nokia - BE)
- Re: [netmod] I-D Action: draft-ietf-netmod-entity… Martin Bjorklund