Re: [netmod] Clarification Question on draft-dsdt-nmda-guidelines-01
Robert Wilton <rwilton@cisco.com> Wed, 14 June 2017 15:54 UTC
Return-Path: <rwilton@cisco.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 40F3B12EB42; Wed, 14 Jun 2017 08:54:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.523
X-Spam-Level:
X-Spam-Status: No, score=-14.523 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 JWaLZwvZ2lbC; Wed, 14 Jun 2017 08:54:07 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F38FB12EAEF; Wed, 14 Jun 2017 08:54:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3651; q=dns/txt; s=iport; t=1497455647; x=1498665247; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=OTPC41VHzdIl03C2d4f9PVUYpblZP4pAq7iPanOyKT4=; b=k74vZSh5S389olz9vvwaDNt25zen6BM76AE9HReNXvh2M4RrXlpQqfcV ntJW9+UZB9SEk46ntqGYQWhxd+7f8vBDe4u4BJ94WgGH+o5F5ESW5R5r3 9yImefud0x+Kcxey88T4lPiepXnsbpXrPP1SCgwN/D/TAMKYlKpm4vTUv 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CMAAAWW0FZ/xbLJq1bAxkBAQEBAQEBAQEBAQcBAQEBAYQ6gQ2ODnORA4grjVuCESELhS5KAoMOGAECAQEBAQEBAWsohRgBAQEBAgEBATY2CwwCAgsOAgEEAQEBJwcbBgYfCQgGDQYCAQGKEAMNCBCwToc3DYN7AQEBAQEBAQEBAQEBAQEBAQEBAQEBHQWGXYFgK4J2gliCMyaFLAWeDDuObIRmixaGc4tOa4hBHziBCjAhCBsVSIcPPzaJewEBAQ
X-IronPort-AV: E=Sophos;i="5.39,340,1493683200"; d="scan'208";a="653599919"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jun 2017 15:54:04 +0000
Received: from [10.63.23.55] (dhcp-ensft1-uk-vla370-10-63-23-55.cisco.com [10.63.23.55]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id v5EFs47M016270; Wed, 14 Jun 2017 15:54:04 GMT
To: Mahesh Jethanandani <mjethanandani@gmail.com>
References: <BN3PR0201MB0867C18E5FF7239EE991F720F1C20@BN3PR0201MB0867.namprd02.prod.outlook.com> <20170613200928.GA55527@elstar.local> <CY1PR0201MB0875F3203D6D4DFD606061FAF1C30@CY1PR0201MB0875.namprd02.prod.outlook.com> <2513fdd0-a8b3-b547-8c37-c736c575c4bc@cisco.com> <0505FAA8-BB82-4BCB-B4A5-E8018260580D@gmail.com>
Cc: Xufeng Liu <Xufeng_Liu@jabil.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, "netmod@ietf.org" <netmod@ietf.org>, "draft-dsdt-nmda-guidelines@ietf.org" <draft-dsdt-nmda-guidelines@ietf.org>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <5525cbb1-9ac7-bf24-67e1-68bb681be6ac@cisco.com>
Date: Wed, 14 Jun 2017 16:54:02 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <0505FAA8-BB82-4BCB-B4A5-E8018260580D@gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/aSElJosmRgG4h4VQ00a8jZ7t3EY>
Subject: Re: [netmod] Clarification Question on draft-dsdt-nmda-guidelines-01
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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, 14 Jun 2017 15:54:10 -0000
On 14/06/2017 16:23, Mahesh Jethanandani wrote: >> On Jun 14, 2017, at 8:10 AM, Robert Wilton <rwilton@cisco.com> wrote: >> >> Hi Xufeng, >> >> >> On 14/06/2017 14:01, Xufeng Liu wrote: >>> Hi Juergen, >>> >>> Thanks for the confirmation. >>> As for the distinction between applied configuration and operational, I think that it has been determined to be useful in some use cases. We can create a separate leaf in such a case. >> Yes, I think that this is exactly the right approach. >> >> In the general case, a single leaf for applied configuration and the operational value is normally sufficient. >> >> But in some cases (e.g. where a value could be configured and/or negotiated via protocol) then it sometimes useful to both see the input into the protocol negotiation and also the resultant output value. >> >> Here, there is a choice to be made to decide whether the extra config false leaf represents the input value into the negotiation, or the output value. I think that the decision probably depends on the protocol semantics, but all things being equal, there is a benefit if the configured value and actual operational value end up being represented by the same leaf/path (since this in the case in the mainline case where extra config false leaves are not required). > Another way to look at it is whether the input value is truly different from the output value. For example, if the input value is auto-negotiation, a boolean, but the output value is a speed of 10/100/1000/10000, a uint32, then a separate leaf makes sense. Yes, agreed. For cases like these (e.g. Ethernet auto-negotiation) a good approach seem to be to model the leaf "enabling auto" as a separate leaf from the explicitly configured/operational value. Thanks, Rob > >> Thanks, >> Rob >> >> >>> Regards, >>> - Xufeng >>> >>>> -----Original Message----- >>>> From: Juergen Schoenwaelder [mailto:j.schoenwaelder@jacobs-university.de] >>>> Sent: Tuesday, June 13, 2017 4:10 PM >>>> To: Xufeng Liu <Xufeng_Liu@jabil.com> >>>> Cc: draft-dsdt-nmda-guidelines@ietf.org; netmod@ietf.org >>>> Subject: Re: Clarification Question on draft-dsdt-nmda-guidelines-01 >>>> >>>> Hi, >>>> >>>> the typical -state tree consists of config false nodes and hence it represents >>>> operational state. This is not a transitioning period question, this is how -state >>>> trees were designed. Note also that the applied configuration is part of the >>>> operational state in NMDA - for config true objects, there is no difference >>>> between the applied configuration value and the operationally used value - they >>>> are the same. >>>> >>>> /js >>>> >>>> On Tue, Jun 13, 2017 at 07:53:32PM +0000, Xufeng Liu wrote: >>>>> During discussing the adoption of this guidelines, a question came up w.r.t. the >>>> semantics of the non-NMDA "-state" module during the transitioning period: >>>>> What kind of state do the leaves in the "-state" module represent? The applied >>>> configuration or the actually used operational data? >>>>> Since only of the two types can be represented, what is the guideline to model >>>> the other type? >>>>> Thanks, >>>>> - Xufeng >>>> -- >>>> 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 mailing list >> netmod@ietf.org >> https://www.ietf.org/mailman/listinfo/netmod > Mahesh Jethanandani > mjethanandani@gmail.com > > > > . >
- [netmod] Clarification Question on draft-dsdt-nmd… Xufeng Liu
- Re: [netmod] Clarification Question on draft-dsdt… Juergen Schoenwaelder
- Re: [netmod] Clarification Question on draft-dsdt… Xufeng Liu
- Re: [netmod] Clarification Question on draft-dsdt… Robert Wilton
- Re: [netmod] Clarification Question on draft-dsdt… Mahesh Jethanandani
- Re: [netmod] Clarification Question on draft-dsdt… Robert Wilton
- Re: [netmod] Clarification Question on draft-dsdt… Sterne, Jason (Nokia - CA/Ottawa)
- Re: [netmod] Clarification Question on draft-dsdt… Mahesh Jethanandani