Re: [netmod] FW: New Version Notification for draft-chairs-netmod-opstate-reqs-00.txt - REQ 6 clarification

Benoit Claise <bclaise@cisco.com> Mon, 21 September 2015 12:47 UTC

Return-Path: <bclaise@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 538E81B30C2 for <netmod@ietfa.amsl.com>; Mon, 21 Sep 2015 05:47:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 ZD3ppF3SsWmR for <netmod@ietfa.amsl.com>; Mon, 21 Sep 2015 05:47:30 -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 0C1A11B3160 for <netmod@ietf.org>; Mon, 21 Sep 2015 05:47:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1937; q=dns/txt; s=iport; t=1442839650; x=1444049250; h=subject:to:references:from:message-id:date:mime-version: in-reply-to:content-transfer-encoding; bh=OD01U5tQMLYUY+otpALioAe/HlHRcJyvc/dqVAeJyQk=; b=NsCXJYjc3zp2PYJPSkFlkX9baPSgxGJUhfgRWDj40JBeGm57lMg+0snj iAOmcjYR2LurOgInLuD6qwoWk+hqMBl/o6ZOzpZ5bNeEUIWZa5jpZ9UIk /uV6/6lljq7dvoeclBdTT0SgC0jTksVSH+o/VZjVtVdAUIyjrWQLeoRTG c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CcBADn+/9V/xbLJq1dhGHFRAKCAAEBAQEBAYELhCMBAQEEIw8BBT8BEQsOCgICBRYEBwICCQMCAQIBPAkGAQwGAgEBiCq2Q5N1AQEBAQEBAQMBAQEBAQEcgSKFUYR9hEJSgmmBQwEElWSNB4kAkhpjgkOBQDwziW0BAQE
X-IronPort-AV: E=Sophos;i="5.17,567,1437436800"; d="scan'208";a="605255679"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Sep 2015 12:47:26 +0000
Received: from [10.60.67.85] (ams-bclaise-8914.cisco.com [10.60.67.85]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id t8LClQF3003027; Mon, 21 Sep 2015 12:47:26 GMT
To: Rob Shakir <rjs@rob.sh>, "netmod@ietf.org" <netmod@ietf.org>, Kent Watsen <kwatsen@juniper.net>
References: <20150911213636.11309.79529.idtracker@ietfa.amsl.com> <D218C74A.D7BAC%kwatsen@juniper.net> <55F6C0EE.4010404@cisco.com> <etPan.55f6d6d3.658f624c.2cf7@piccolo.local>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <55FFFC5E.8010009@cisco.com>
Date: Mon, 21 Sep 2015 14:47:26 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <etPan.55f6d6d3.658f624c.2cf7@piccolo.local>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/4NcsgsXvDgboJ4qxX5par75Dbqg>
Subject: Re: [netmod] FW: New Version Notification for draft-chairs-netmod-opstate-reqs-00.txt - REQ 6 clarification
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 21 Sep 2015 12:47:32 -0000

Thanks Rob, that clarifies the situation for me.

Regards, Benoit
> On 14 September 2015 at 08:43:53, Benoit Claise (bclaise@cisco.com) wrote:
>
>> Re-reading this section 4.5, I understand 6A and 6C, but is 6B also
>> required?
>> Do we need to make the link between a config node and all the derived
>> counters/statistics it influences, which might be in different YANG
>> models btw?
> Yes - we need to deterministically retrieve, for a particular configuration object (e.g., interface, BGP peer) the set set of derived state nodes associated with it, such that we do not need to maintain complex mapping tables on the client side for this - and can efficiently query the server for them.
>
> For instance, knowing that we configured a BGP peer at $SOMEROOT/bgp/neighbors/neighbor[peer-address=‘192.0.2.1’]/config/{leaf-set} then we would find the counters at $SOMEROOT/bgp/neighbors/neighbor[peer-address=‘192.0.2.1’]/state/ - allows us to (based on the fact that we just configured a peer) retrieve the state and counters that a client application will likely want to check without having to map to some other (set of locations).
>
> Note that in previous discussions, it was expressed that this implied that the model had knowledge of how the protocol operates such that it was known that leaf A corresponding to some other derived-state leaf B. However, this isn’t true. As I expressed before, the intention is that it is possible for a NMS layer to easily retrieve the set of state objects that an interested client may require, without many disparate queries, based on the configuration path. The actual meaning may be completely unknown to this layer.
>
> The openconfig-opstate approach allows state and config to be defined in separate modules - since the ‘state’ module in this case can simply augment the relevant ‘state’ containers within the config model.
>
> Regards,
> r.
> .
>