Re: [netmod] OpsState Direction Impact on Recommended IETF YANG Model Structure

Kent Watsen <kwatsen@juniper.net> Tue, 26 July 2016 22:19 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 0AAA412D9E6 for <netmod@ietfa.amsl.com>; Tue, 26 Jul 2016 15:19:41 -0700 (PDT)
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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 DxfkdxdGYcCQ for <netmod@ietfa.amsl.com>; Tue, 26 Jul 2016 15:19:38 -0700 (PDT)
Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0139.outbound.protection.outlook.com [104.47.42.139]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DB10D12DA20 for <netmod@ietf.org>; Tue, 26 Jul 2016 15:19:38 -0700 (PDT)
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=iGQhmJrPG3iKMGxupgkpSADc9zHGkyHgmnjsfjBYH98=; b=HubmuiItVFNUo3M8IOH0v9EMNfByDXPBTtfNIbBCWdU0B6HEfBu5Jv/bi86QBYbCyjREE0Pa2IJWGc+3phQ2WaAjF2ByX4Gw3bPTROf/jSFcYBYWd/QZFhGIGV6KD8n4/m8EMh3u7PM5jHSG+bWRJm6DDKOM61/TzzDCMJM4ypE=
Received: from CY1PR0501MB1450.namprd05.prod.outlook.com (10.160.149.11) by CY1PR0501MB1449.namprd05.prod.outlook.com (10.160.148.155) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.8; Tue, 26 Jul 2016 22:19:36 +0000
Received: from CY1PR0501MB1450.namprd05.prod.outlook.com ([10.160.149.11]) by CY1PR0501MB1450.namprd05.prod.outlook.com ([10.160.149.11]) with mapi id 15.01.0557.009; Tue, 26 Jul 2016 22:19:36 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: "Acee Lindem (acee)" <acee@cisco.com>, "Robert Wilton -X (rwilton - ENSOFT LIMITED at Cisco)" <rwilton@cisco.com>, netmod WG <netmod@ietf.org>
Thread-Topic: [netmod] OpsState Direction Impact on Recommended IETF YANG Model Structure
Thread-Index: AQHR426Bbp8QhQYR/0+rHOW0oBTwuqAjJxmAgADv8QCABT5TAIABj1SAgAAMLoCAAFQogP//yKMA
Date: Tue, 26 Jul 2016 22:19:36 +0000
Message-ID: <D3FB31E6-75BD-44F9-A977-533FD03A9F11@juniper.net>
References: <D3A935F0.6A4DC%acee@cisco.com> <eb15fd23-2c0a-50c4-1ebc-7c0e4867dfd8@cisco.com> <20160721174033.GB54646@elstar.local> <d18f5dd0-64d0-e223-88a9-faa4df4b7866@cisco.com> <DCB3EBBF-5EB1-4C8E-AA55-F59C4B5A8E4D@juniper.net> <bed9398c-0e6a-450e-d2ac-b381b6bebf87@cisco.com> <5296754B-8178-4B1B-B4A6-FE228ABB8E7F@juniper.net> <D3BD4DBB.70D87%acee@cisco.com>
In-Reply-To: <D3BD4DBB.70D87%acee@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.18.0.160709
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kwatsen@juniper.net;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [66.129.241.10]
x-ms-office365-filtering-correlation-id: 25bac07a-6249-4148-af90-08d3b5a2edbc
x-microsoft-exchange-diagnostics: 1; CY1PR0501MB1449; 6:DLmf1u5XgpetmFVV7gVn+R5znH+BOj3kpUU10TFadWgCrnFsH0T6f1fOIIIZVN5qj/M/I5ieyybogTjdTUBCIUqaVg13wdf++4lP2U3uoc7WxBuWBWf9ITTGEM40uFnsrEm1Ui0ni2VK65vkQnU3yKVnYpFP7D87LRjlPUZWzmG1zRhRQJq8Xq2DaJdcTHuFxFKRUPsS+SPtoqCOM+QYohuGeE0yTLi6n40fEHA3zfBfnDgIArozd9L80QQDUFx2q77zwoOm1subw+8VlWp7bpWB32vdRYnY7s56TRxrUZXuWqixp//w1Q9kmVRrtm4BNP73VmA7KO07OUbQ/XFeRg==; 5:GIafVyhWSq9KnHxXnkHk9D1ZvZti3xCNFv8WcNlwO2SgZpp90u7RCz/fX/wNpc2ITw+cQnMUHp4KQZQ8mgfqIffjXgrgw6NSiJiyWuM+HNcvq0RI4O6bCQMmIPwKj85Thm5pd/bBfvgA8+/oD6SCh7976kRZZ0/WfveLHpyEg0M=; 24:ywlejCejmZiMX1ElhcCkzd+YUln9RwILSeFgBj0SsOedFfiycb61+pGcMLKbANkyVK/shgwK504t3GVSjyDfIEK7VspLGLoKR6HqVvzuVRc=; 7:rhey6dQ8rMO8d5hNybwYUaWsEWwC6L+aOd5RdNqwWni+au/0EBHfF1uK5EowHXozX4KU7HVI7wUIBHSKVzg36wPB2TEJ2hVXOZdpHa28DmUkn1r21Qi2ouwrmobecj6cuI+ZEX+G1NQqM8QyemsKv0bF1CBaeR12CUZ3+v4Kkq1DN1rkU6UDHiFTamP1Bh75ACdVnV0i3+rsT4dnSbgyj1EQZW6v5LbUAeYGQd5sVa8=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB1449;
x-microsoft-antispam-prvs: <CY1PR0501MB1449C7C318823820740F560CA50E0@CY1PR0501MB1449.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:CY1PR0501MB1449; BCL:0; PCL:0; RULEID:(304825044); SRVR:CY1PR0501MB1449;
x-forefront-prvs: 00159D1518
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(199003)(189002)(51444003)(7736002)(586003)(2906002)(76176999)(189998001)(6116002)(7846002)(33656002)(16236675004)(102836003)(77096005)(50986999)(68736007)(8676002)(3846002)(99286002)(54356999)(2950100001)(19625215002)(8936002)(87936001)(101416001)(81156014)(81166006)(86362001)(105586002)(3660700001)(83506001)(83716003)(5001770100001)(97736004)(10400500002)(106356001)(15975445007)(122556002)(5002640100001)(11100500001)(107886002)(3280700002)(82746002)(66066001)(19300405004)(2900100001)(92566002)(106116001)(4001350100001)(93886004)(36756003)(19580395003)(104396002)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0501MB1449; H:CY1PR0501MB1450.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_D3FB31E675BD44F9A977533FD03A9F11junipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jul 2016 22:19:36.6316 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0501MB1449
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/0YdSYiZRSt94YRHZjYTTAAlrJ5E>
Subject: Re: [netmod] OpsState Direction Impact on Recommended IETF YANG Model Structure
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: Tue, 26 Jul 2016 22:19:41 -0000

<Acee>
There are a number of issues here. The first is that you are now depending on the separate applied state data store being implemented on every network device if you are going to eliminate the duplication of actual values in the OpState. The second is that OpsState is MUCH more than just counters. For example, for routing protocols will many times include a local RIB. The third is that it is a big change for these draft models and, if you have been following the discussion on the list, you should know that this option is not universally accepted (reference the E-mail thread I started with options before IETF 96).
</Acee>


But I specifically called out that I was only talking about counters (e.g., 7223) and not applied config.   For applied config, I think that we’ll wait for the opstate solution, per decision ‘B’.

Regardless, let’s not lose focus on my first question about how prevalent an issue this is.  If 7223 is a singularity, then we should stop worrying about this as a general problem.  I’d like to understand how big this box is before jumping into it.

We’ve had config false leafs mixed in config true trees forever.  Only when there are system-generated values or values whose lifetimes extend past the lifetime of the config true object is there an issue.   This isn’t a new thing, nor an applied config thing, but it can be nicely solved by the opstate solution.  The only question is what we do in the interim.

Kent  // as a contributor