Re: [netmod] I-D Action: draft-ietf-netmod-entity-02.txt

Kent Watsen <kwatsen@juniper.net> Wed, 08 March 2017 14:06 UTC

Return-Path: <kwatsen@juniper.net>
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 E13911295E5 for <netmod@ietfa.amsl.com>; Wed, 8 Mar 2017 06:06:27 -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=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 ZWn91dncjhhi for <netmod@ietfa.amsl.com>; Wed, 8 Mar 2017 06:06:26 -0800 (PST)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0133.outbound.protection.outlook.com [104.47.36.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A1B7C12941D for <netmod@ietf.org>; Wed, 8 Mar 2017 06:06:26 -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=j+khKxqV3eON/BoaswM9/JrifNroOYxi1yJA/ZFQXPY=; b=PdEyPqv5LtmHYMvWTLdikqHhEEay+ZINbk6CTpoHahWARyZv+ni/2+WII/yxaHxKMbJ6UdYMRMiAZzf5rNKwKz8IN96kWzOORwrKBKaRj3uxIGuwA+AlhTSpO0Be7kh/1/QUdQmVD+thKey84kFDZcXDbh9zv0QmJS5XtSX/Q3M=
Received: from BN3PR0501MB1442.namprd05.prod.outlook.com (10.160.117.151) by BN3PR0501MB1441.namprd05.prod.outlook.com (10.160.117.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.961.8; Wed, 8 Mar 2017 14:06:25 +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.0961.012; Wed, 8 Mar 2017 14:06:25 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Martin Bjorklund <mbj@tail-f.com>, "bart.bogaert@nokia.com" <bart.bogaert@nokia.com>
Thread-Topic: [netmod] I-D Action: draft-ietf-netmod-entity-02.txt
Thread-Index: AQHSdVe2myZjLkxL00qutsYEnuL9EKFFz1wAgAAVRICAAYXIAIAABoKAgAABC4CAQohOgIABBZyAgAAvUwD//7ykAA==
Date: Wed, 08 Mar 2017 14:06:25 +0000
Message-ID: <620E45FE-90AA-4BF4-8C22-A128D1748205@juniper.net>
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>
In-Reply-To: <20170308.140730.165843214949076575.mbj@tail-f.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.1f.0.170216
authentication-results: tail-f.com; dkim=none (message not signed) header.d=none;tail-f.com; dmarc=none action=none header.from=juniper.net;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [66.129.241.13]
x-microsoft-exchange-diagnostics: 1; BN3PR0501MB1441; 7:6W/mE/H5zkKW+mdzDYSdwvHCZzJGoNo1n7LAEHWIqN8WwK9gAlc2LlqntaUJp8QIGW3qRKLRPoJoRaae93J2gtSsSYpAaMl94JDpk6Dj4H8uCow6NMpvHX0kR+FJ6nEK8MKyaxL3xdxttBCBB8KVfqvSpMlWwRRzTlmv+t6buFZFw/AOCkrHE3dkXYfMSaCFSOE0l60jsa48sQjG1703UoEpDCFu0pl/3RSrBZN0RnSCGH5mF7XhWOM2HrjEA0kOMtTPYWwBtZHY7tWbc6yCdnXJncpsvpLq73FK/rLV50Ad3q5B/M2Xj/eJpNv6RUzFpWRBzHZg/Mg14tOZAC3BPQ==
x-ms-office365-filtering-correlation-id: fa5c16a0-c098-4d3c-8d4a-08d4662c4ef9
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:BN3PR0501MB1441;
x-microsoft-antispam-prvs: <BN3PR0501MB14412787C0F43460DC430EB1A52E0@BN3PR0501MB1441.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123562025)(20161123560025)(20161123558025)(20161123564025)(6072148); SRVR:BN3PR0501MB1441; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0501MB1441;
x-forefront-prvs: 02408926C4
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(39450400003)(39840400002)(39410400002)(39850400002)(305945005)(6116002)(102836003)(8676002)(122556002)(93886004)(8936002)(81166006)(54356999)(50986999)(106116001)(3846002)(3280700002)(33656002)(76176999)(2501003)(86362001)(5660300001)(4001350100001)(3660700001)(66066001)(2906002)(230783001)(83716003)(36756003)(7736002)(6246003)(189998001)(77096006)(53936002)(229853002)(99286003)(4326008)(82746002)(25786008)(6512007)(6436002)(2950100002)(6506006)(6486002)(83506001)(38730400002)(2900100001)(104396002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0501MB1441; H:BN3PR0501MB1442.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <509352C10FFA3942AA4A797DAE4E11FE@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2017 14:06:25.4560 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0501MB1441
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Cwyc6m9EMHeA_FA1f3_6TI3VBY4>
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 14:06:28 -0000


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

This conversation seems to mirrors the we had regarding the i2rs 
topologoy model, where we landed on a leafref in 'running' could
point to a config true node in 'operational-state', as to apply 
configuration to, for instance, system-discovered underlays...or
do I misunderstand, is the intention here for the leafref to point
to a config false node?

Kent  // contributor