Re: [netmod] YANG coordination feedback on draft-openconfig-netmod-opstate-01

Ladislav Lhotka <lhotka@nic.cz> Mon, 14 September 2015 08:31 UTC

Return-Path: <lhotka@nic.cz>
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 E9D181B365B for <netmod@ietfa.amsl.com>; Mon, 14 Sep 2015 01:31:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.361
X-Spam-Level:
X-Spam-Status: No, score=-5.361 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] 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 jFTzfdX1-kAf for <netmod@ietfa.amsl.com>; Mon, 14 Sep 2015 01:31:08 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 908F21B5BB6 for <netmod@ietf.org>; Mon, 14 Sep 2015 01:31:08 -0700 (PDT)
Received: from birdie.labs.nic.cz (unknown [195.113.220.110]) by mail.nic.cz (Postfix) with ESMTPSA id 3306218188D; Mon, 14 Sep 2015 10:31:07 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nic.cz; s=default; t=1442219467; bh=BwTOhFo/JIQz/5wUvYtd7Zbvx+KNke1ElYFn0RhZvb0=; h=From:Date:To; b=RMnMrvjDHcDcNeFJgISBWOnz+x4+g0FF1X1EkA6zMCHWujyivZLS0pPveW3bM41qj GqvDbuiATBCZ8BviS/IWcgwyuM2BSNrsOGuMZ2TPy9zGKtMGZtwls0FYvezUL0G7fh C4oPNKiCHTl3ZsuT0KMAo2GVcLNslzyLWCf4H8A0=
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
From: Ladislav Lhotka <lhotka@nic.cz>
In-Reply-To: <20150914.102155.1446687883167410013.mbj@tail-f.com>
Date: Mon, 14 Sep 2015 10:31:09 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <3F839161-A126-495B-832B-BD5533346AEE@nic.cz>
References: <20150911.093846.709202940600841233.mbj@tail-f.com> <55F2A4CE.70608@cisco.com> <20150914081042.GC46546@elstar.local> <20150914.102155.1446687883167410013.mbj@tail-f.com>
To: Martin Björklund <mbj@tail-f.com>
X-Mailer: Apple Mail (2.2104)
X-Virus-Scanned: clamav-milter 0.98.7 at mail
X-Virus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/nkfKftKiPF6d4AQn0MQZtUFJLzs>
Cc: netmod@ietf.org
Subject: Re: [netmod] YANG coordination feedback on draft-openconfig-netmod-opstate-01
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, 14 Sep 2015 08:31:11 -0000

> On 14 Sep 2015, at 10:21, Martin Bjorklund <mbj@tail-f.com> wrote:
> 
> Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
>> On Fri, Sep 11, 2015 at 10:54:22AM +0100, Robert Wilton wrote:
>>>> 
>>>> Then Lada brought up the example of ip addresses.  It was mentioned
>>>> on the call that for ip addresses there would be three lists; one for
>>>> intended, one for applied, and one in derived state, where the one in
>>>> derived state is what the box *really* uses.  So for example if it
>>>> gets an ip from dhcp, it will be in the derived state list, but not in
>>>> applied config.
>>>> 
>>>> Why is this ip-address list different from the interface list?  Why
>>>> was it enough with two lists for interfaces, but we need three for ip
>>>> addresses?
>>> I don't see that they are different.  I think that you have 3 
>>> lists/leaves in both cases:
>>> 
>>> I.e. I would say that 3 IP addr leaves are required in an async system, 
>>> at a given time t:
>>> - only the intended leaf can indicate what IP addr config the operator 
>>> wants on the interface (if any).
>>> - only the applied leaf can indicate what IP addr is actually being 
>>> used as the configured value on the interface.
>>> - only the derived leaf can indicate what IP addr is actually 
>>> operationally being used for the interface (which might be due to IP 
>>> addr config, DHCP, or perhaps some other mechanism).
>>> 
>>> I think that in the both kwatsen-netmod-opstate and 
>>> wilton-netmod-opstate there are logically 3 interface lists as well:
>>> - /if:interfaces is logically split into 2, either through being 
>>> present in separate running and applied datastores, or through having 
>>> separate cfg-intended/cfg-applied leaves.
>>> - /if:interfaces-state, which I perceive as logically the derived 
>>> state for an interface.
>>> 
>> 
>> My personal requirement would be to be able to find all IP addresses
>> of an interface that are operationally used in one place.
> 
> Yes.  I am trying to understand if a separate list of operationally
> used addresses is needed even if we have the "applied config".  I
> think the answer is yes.  Then the question is if we don't need a
> separate list of operationally used interfaces as well.  If we do,
> what value does the "applied config" idea bring us?

In my view, it provides just information that intended configuration was taken into account in an asynchronous system but, despite the definition, it may not always provide the parameter values that are operationally used. If this is true, then IMO the use case for applied configuration is too narrow and doesn’t warrant making applied configuration a general requirement.

Lada

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

--
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C