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

Kent Watsen <kwatsen@juniper.net> Thu, 14 July 2016 20:01 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 2440212D8CB for <netmod@ietfa.amsl.com>; Thu, 14 Jul 2016 13:01:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.922
X-Spam-Level:
X-Spam-Status: No, score=-1.922 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] 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 JHc9EGHJekX5 for <netmod@ietfa.amsl.com>; Thu, 14 Jul 2016 13:00:58 -0700 (PDT)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0107.outbound.protection.outlook.com [104.47.36.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 90F1E12D93F for <netmod@ietf.org>; Thu, 14 Jul 2016 13:00:48 -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=IDCSRTJE2F9XUTv5oxlaYe98iGER86KdiH4L0f7Jo0M=; b=MvbMF6wImNB7nIqmQUU6Wik9egACLB8MnAkOGZ2bz2ChuSAHcVV2jOM7cM7Tf7+RkIOs7szRQf6mLpVGm8INhWCnr9Gi6x/2Bw5xcxwH0aAwugR7Hl9AnUi+hNwTRmPliqiDz2LF3RbL4ZKHx0E1lVRI596iCEZ7NiF80Xvh5FY=
Received: from CY1PR0501MB1450.namprd05.prod.outlook.com (10.160.149.11) by CY1PR0501MB1450.namprd05.prod.outlook.com (10.160.149.11) with Microsoft SMTP Server (TLS) id 15.1.528.16; Thu, 14 Jul 2016 20:00:44 +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.0528.024; Thu, 14 Jul 2016 20:00:44 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Lou Berger <lberger@labn.net>, "Acee Lindem (acee)" <acee@cisco.com>, netmod WG <netmod@ietf.org>
Thread-Topic: [netmod] OpsState Direction Impact on Recommended IETF YANG Model Structure
Thread-Index: AQHR3FNlQ72i11gu+0i3s+X/hzaHTqAYGRcA
Date: Thu, 14 Jul 2016 20:00:44 +0000
Message-ID: <8C4216F2-6F47-4E37-8D54-3AA1F6981417@juniper.net>
References: <D3A935F0.6A4DC%acee@cisco.com> <02b5661f-22e0-6ccc-89d2-ef0370c4e87c@labn.net>
In-Reply-To: <02b5661f-22e0-6ccc-89d2-ef0370c4e87c@labn.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.17.0.160611
authentication-results: spf=none (sender IP is ) smtp.mailfrom=kwatsen@juniper.net;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [66.129.241.11]
x-ms-office365-filtering-correlation-id: 95bab601-f5ad-40e0-4d41-08d3ac218a91
x-microsoft-exchange-diagnostics: 1; CY1PR0501MB1450; 6:PN536Oe5lvzz+BaMPGum3UuwPW0I0iFQAABB/sadQVwdiWaolEkJq60ds1safSz0SW0ajU8sA4amRboq0x5MYtYqUl/LkqXUqnoOyQMB9KJzagNdjnTWVqNkL5wFbDYLVXZOXI1cd1sNfJerMJfGOthFmKTyG48iFXPCAQNk4abgS6lsZCspEzRr0Bi6E45f7ACGsy3c7ccWshxqivBpW+3xnz7cNzi/+f113ySqGlLuhgab9CQXs0GQppgQuc+10Ca9SzXi8Ub+LWRbtqg2L+udZ+0Lcx4rXSOTOmnXkFSmiUTjzz6vPSpbL4pPHlSxgC8yc69ItQVzzv4L1H3pTg==; 5:nPXyj04IXPhWf/nOfRGps7zyN+VcGhhDsxUQS/Q/Qu3x6taWjlsYRLTuzR0h4o2qg38tkthstJE5RzAUBNbDoHY/JpU2254BeiHZRLm9uiJxCL3FRyczxZu52/mJEArBcN7JF8pXbBFCtg8S18cVSQ==; 24:7ADy8/KBbsT8+g9TSSnsVuge4LKgnVD5baxs/VP6uCph/H7r/f8jhGKCQBqMv6FyWGnWxnJ547V7b/9GdL562F56Y9D2zn+g6Qjve0tiII8=; 7:KXrHEogkM6E0KFupSmYVhw6Q6OAKfZw/8PwHuvkpyh65DHASIFEZyW2CIrKrbNdhi079ygKJVjesj6F9oNw71414CbUGOTlg54yHfvs6QElMczQjPyFeyfe8VRrY2B7Tc9+W4dIc4/CgVE3+J2r18wgbIyyNwbX/n4KSajdiIX3K6tPQce4voH0jj9Xq1jxc9kH8b47pgJ+pXeiad7XRrV22MeRlUk7aLmQDQxTN/eegfHAEE08ZXQ+zo3uGEioT
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB1450;
x-microsoft-antispam-prvs: <CY1PR0501MB14505317778D192C7DD44493A5320@CY1PR0501MB1450.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(100405760836317);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:CY1PR0501MB1450; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0501MB1450;
x-forefront-prvs: 00032065B2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(7916002)(189002)(377454003)(199003)(24454002)(66066001)(83716003)(7736002)(106116001)(3660700001)(68736007)(7846002)(99286002)(10400500002)(8676002)(81166006)(2906002)(11100500001)(92566002)(105586002)(36756003)(5002640100001)(81156014)(106356001)(2950100001)(122556002)(2900100001)(102836003)(6116002)(305945005)(19580395003)(86362001)(19580405001)(87936001)(76176999)(77096005)(101416001)(189998001)(82746002)(561944003)(107886002)(5001770100001)(97736004)(33656002)(3280700002)(15975445007)(586003)(3846002)(50986999)(4001350100001)(54356999)(8936002)(83506001)(58070200004)(217873001)(104396002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0501MB1450; H:CY1PR0501MB1450.namprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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: <974DB9BE4E97944A826759412F10BEEA@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jul 2016 20:00:44.4165 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0501MB1450
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/0snlxv36go62wKuJcOpR1PB8h_A>
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: Thu, 14 Jul 2016 20:01:03 -0000

[This thread took on a life of its own, so I’m replying to this email from two days ago]

I had assumed the plan/recommendation would be:
  - for works-in-progress, to evaluate if their models can be improved.
  - for existing RFCs, do nothing (though we may want to consider RFC7223).

By “if their models can be improved” in the above, I’m implying that having a top-level -state branch may still be the best solution for some models.  It’s up to each model designer to decide the best approach for their models.

Makes sense?

Kent  // as a contributor


On 7/12/16, 11:23 AM, "netmod on behalf of Lou Berger" <netmod-bounces@ietf.org on behalf of lberger@labn.net> wrote:

Acee,

    I personally was assuming we'd follow 3, but I'd like to understand
the implication of 2 as I'm not sure I really understand what you're
thinking here.  Can you elaborate what you're thinking here?

Thanks,

Lou

On 7/11/2016 12:36 PM, Acee Lindem (acee) wrote:
> While there are details to be worked out between the two data stores
> models (as indicated below), we now have implicit modeling of applied
> configuration. Existing models (both standard and draft) do not take this
> into consideration and, consequently, much of the state that is modeled
> explicitly represents the application configuration. For the RFC models,
> it probably doesn’t make much sense to redo them (unless they are being
> reworked for other reasons). This still leaves the existing WG draft
> models for which we have basically 3 options:
>
>   1. Do nothing - allow them proceed as they are with multiple ways of
> representing the applied configuration. This would provide visibility to
> the data independent of whether or not the device supported the revised
> data-stores supporting implicit retrieval of the applied configuration.
>   2. Prune out the redundant data nodes except those required as list
> keys, etc, since they can be obtained from the applied state data store.
>   3. #2 plus collapse the config (read-write) and  system-state
> (read-only) into common containers. No more branching of
> <model-name>-config and <model-name>-state at the top level of the model.
>
> At I high-level, I feel these are the options. I’m not married to any one
> of these and the worse thing we could do is hold up progression of the
> existing YANG model drafts for another couple years while we debate the
> best course. Having said that, #3 is compelling since it will yield the
> most concise models and colocates the schema data nodes for any managed
> object. 
>
> Thanks,
> Acee 
>
> On 7/1/16, 12:36 PM, "netmod on behalf of Lou Berger"
> <netmod-bounces@ietf.org on behalf of lberger@labn.net> wrote:
>
>> All,
>>
>> It's time to make a consensus call on this topic, so that we can all move
>> on to defining a solution and aligning modules under development. Based
>> on the feedback received and the overall discussions on the topic, we see
>> that there is consensus to follow a datastore based approach to
>> supporting operational state, i.e., direction 'B'.
>>
>> We will be asking the authors of [4] and [5] to review their proposals
>> (individual drafts) in Berlin, as well as to highlight differences and
>> suggest ways that their work could be consolidated. Of course, others may
>> also choose to submit their own proposals. Given the importance of this
>> work, we will be looking to have active discussion on the topic both in
>> Berlin and on the list, with an objective of having a draft ready for
>> considerations as a WG document by the November IETF.
>>
>> We have reviewed this decision with our AD and the NetConf chairs and
>> have agreed to begin this work in NetMod. We certainly expect to
>> coordinate the work with the NetConf WG and re-home work as/if needed.
>>
>> Finally, we'd also like to thank all those who have contributed to this
>> discussion to date, from problem identification to proposed solutions,
>> and we look forward to your continued efforts to publish a standard
>> solution. 
>>
>> Lou (and Kent)
>>
>>
>> On 6/7/2016 10:19 AM, Lou Berger wrote:
>>> All,
>>>
>>> We want to provide an update based on the off line discussions
>>> related to OpState Solutions that we have been having and solicit
>>> input from the WG.
>>>
>>> All authors of current solution drafts [1,2,3] together with those
>>> who helped conduct the solutions analysis* were invited to the these
>>> discussions -- with the objective of coming up with a single
>>> consolidated proposal to bring to the WG. (I/Lou acted as facilitator
>>> as Kent and Juergen were and are involved with the technical details.)
>>>
>>> The discussions have yielded some results but, unfortunately,
>>> not a single consolidated proposal as hoped, but rather two
>>> alternate directions -- and clearly we need to choose one:
>>>
>>>     1) Adopt the conventions for representing state/config
>>>        based on Section 6 of [1].
>>>
>>>        From a model definition perspective, these conventions
>>>        impact every model and every model writer.
>>>
>>>     2) Model OpState using a revised logical datastore definition
>>>        as introduced in [4] and also covered in [5]. There is
>>>        also a variant of this that we believe doesn't significantly
>>>        impact this choice.
>>>
>>>        With this approach, model definitions need no explicit
>>>        changes to support applied configuration.
>>>
>>> >From a technology/WG standpoint, we believe an approach
>>> that doesn't impact every model written (i.e., #2) is superior.
>>> The counterpoint to this is that the conventions based
>>> approach (i.e., #1) is available today and being followed in
>>> OpenConfig defined models.
>>>
>>> We would like to hear opinions on this from the WG before
>>> declaring one of the following as the WG direction:
>>>
>>>     A) models that wish to support applied configuration MUST
>>>        follow conventions based on [1] -- and the WG needs to
>>>        formalize these conventions.
>>> or
>>>     B) no explicit support is required for models to support
>>>        applied configuration -- and that the WG needs to
>>>        formalize an opstate solution based on the approach
>>>        discussed in [4] and [5].
>>>
>>> We intend to close on this choice before Berlin.
>>>
>>> Thank you,
>>> Lou (and co-chairs)
>>>
>>> [1] https://tools.ietf.org/html/draft-openconfig-netmod-opstate-01
>>> [2] https://tools.ietf.org/html/draft-kwatsen-netmod-opstate-02
>>> [3] https://tools.ietf.org/html/draft-wilton-netmod-opstate-yang-02
>>> [4] 
>>> https://tools.ietf.org/html/draft-schoenw-netmod-revised-datastores-00
>>> [5] 
>>> https://tools.ietf.org/html/draft-wilton-netmod-refined-datastores-00
>>> * - Chris H. and Acee L.
>>>
>>>
>>> _______________________________________________
>>> netmod mailing list
>>> netmod@ietf.org
>>> https://www.ietf.org/mailman/listinfo/netmod
>>>
>>
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod


_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod