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

Andy Bierman <andy@yumaworks.com> Wed, 13 July 2016 16:27 UTC

Return-Path: <andy@yumaworks.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 BEA5812D140 for <netmod@ietfa.amsl.com>; Wed, 13 Jul 2016 09:27:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 dw7o0ooUOLfT for <netmod@ietfa.amsl.com>; Wed, 13 Jul 2016 09:27:14 -0700 (PDT)
Received: from mail-vk0-x229.google.com (mail-vk0-x229.google.com [IPv6:2607:f8b0:400c:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7ED1C12B024 for <netmod@ietf.org>; Wed, 13 Jul 2016 09:27:13 -0700 (PDT)
Received: by mail-vk0-x229.google.com with SMTP id o63so72985918vkg.1 for <netmod@ietf.org>; Wed, 13 Jul 2016 09:27:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=lhMdVX0k8CNydSuR2Fjti3OtVnqMTaOKxC/N38evRuQ=; b=rfvF1oi34nmoGKjfHoGqaQnSng46WxAMlu9d1BQGlajYit73JUjkf22qsGvxmH6Xf+ luxUpj26jNC0iN1DYH2dD8at0/tMDNP1erbcks9MEJ0G0ojfa787iEUvWnjWKg6PvXJh FykH1gzBoSl7iS7H5W6hi4p9GoFlQAx4rumKHJI5OlngQpj91lUudZe1PI8X8GUzt2+4 uB+sxC+ttDRq9brf0ExTBExLg5j80oMhJr8uBxVZKnPWfurEScGrwble523uUVM9+kO4 7mnDkOg6Es5lYIQsyDMrThd60cS7hyUl8bYVNdvtnLPkLGx0oVDKXQS2i9kpJ8KMr947 epeg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lhMdVX0k8CNydSuR2Fjti3OtVnqMTaOKxC/N38evRuQ=; b=bbNjXq5dRut0axw9IUmSdC0FOB70d/3HyfoJKeVMtK52SFArQF9M/7OWRefwSStQfk ufnX/JwVk8unmm8Q0ley1fTvKlKafUCg3HuB3ETi6MMwEcXGSW1+/3gFC840KxjqX2Bn 6Mxftr825ZyaME50H8D6OCmU6JxBBH8aTtvN9TNuUnpn1fZC/HsX56lkzjgPoGLme3iD /kT72ilJYLaQ3wdJRSF5NX2N++TBMN8lh7yPmeRFy//2X7Z0CtHRjZiBjGXq2su1zvwx za0cZXs7iV8IZsqHz0bI6/C4pi7n/Xkb1rDcWFRdAZtVdsZeLgpGq3eZvX1OgRX+5oTq wGug==
X-Gm-Message-State: ALyK8tIeNbL2GjiGltdYIMb8DSkRC3VVRPBei4Fhet5L+r7Kxnp2JuaiSfOzvSx3+USy38DZL5g0/HT4Qxec1w==
X-Received: by 10.31.231.3 with SMTP id e3mr4433799vkh.13.1468427232383; Wed, 13 Jul 2016 09:27:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.20.2 with HTTP; Wed, 13 Jul 2016 09:27:11 -0700 (PDT)
In-Reply-To: <71cc8992-5422-0acb-4152-c72fd80e141d@cisco.com>
References: <D3A935F0.6A4DC%acee@cisco.com> <02b5661f-22e0-6ccc-89d2-ef0370c4e87c@labn.net> <CABCOCHSH5wC3-VbAF6tXOc+3tSxpC3a0MA23YEkUFEBojoo25w@mail.gmail.com> <1468403388400.60799@Aviatnet.com> <71cc8992-5422-0acb-4152-c72fd80e141d@cisco.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 13 Jul 2016 09:27:11 -0700
Message-ID: <CABCOCHQmfHTo1G60vRqh6E5o3CwC2Dbn7Vps04DKJsXnchj3+w@mail.gmail.com>
To: Robert Wilton <rwilton@cisco.com>
Content-Type: multipart/alternative; boundary="94eb2c095ca490a867053786db96"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/vdntYJK-BA_o458P1HIbSkL3xdI>
Cc: netmod WG <netmod@ietf.org>
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: Wed, 13 Jul 2016 16:27:17 -0000

On Wed, Jul 13, 2016 at 3:04 AM, Robert Wilton <rwilton@cisco.com> wrote:

> Hi Alex,
>
>
> What you describe is close, but not quite what either of the two datastore
> solutions are proposing.
>
> In this case, the two solutions in both proposed drafts would contain:
>   - intended config doesn't contain the list entries
>   - applied config doesn't contain the list entries
>   - operational state datastore contains the system created (config true)
> list entries + descendant config false nodes.
>
> The reason why these system created entries are not in the applied
> configuration is because of the requirement from
> draft-ietf-netmod-opstate-reqs state that "intended config" = "applied
> config" if the system has converged and all configuration has been
> successfully applied.
>
> But, yes, the reason for allowing system created config true entries in
> the operational state datastore is to solve this problem.
>
>


I do not agree with Alex that config=true can mean "no client can ever set
this value".
It can only if NACM is configured to disable client write access.
I understand how one might want to use server-created values in validation
rules
but YANG does not support that right now (for config=false).

The line between server-created config and operational state is confusing
at best.




Rob
>
>

Andy


>
> On 13/07/2016 10:49, Alex Campbell wrote:
>
> Isn't that exactly what the proposed applied configuration datastore is
> for?
> If a device doesn't allow management stations to create or remove list
> entries, but still creates or removes list entries itself, then it can
> publish them through the applied configuration datastore, while leaving the
> intended configuration datastore empty.  Operational data can be contained
> inside those list entries which exist in the applied configuration store,
> instead of needing a separate tree to contain it.
>
> - Alex
>
>
>
>
> ------------------------------
> *From:* netmod <netmod-bounces@ietf.org> <netmod-bounces@ietf.org> on
> behalf of Andy Bierman <andy@yumaworks.com> <andy@yumaworks.com>
> *Sent:* Wednesday, 13 July 2016 4:17 a.m.
> *To:* Lou Berger
> *Cc:* netmod WG
> *Subject:* Re: [netmod] OpsState Direction Impact on Recommended IETF
> YANG Model Structure
>
>
>
> On Tue, Jul 12, 2016 at 8:23 AM, Lou Berger <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
>> .....
>> >   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.
>> >.....
>
>
>
> I would really like to understand what problem (3) is supposed to solve.
>
> Most of the foo-state variables are for monitoring.
> This information is useful even if the server uses proprietary
> configuration mechanisms.
> (e.g., the way the SNMP world has worked for 30 years)
>
> If you forbid separate monitoring subtrees and force the data to be
> co-located
> with configuration, that means the standard monitoring will not be
> supported
> unless the standard configuration is also supported.  Why is that progress?
>
>
> Andy
>
>
>
>
>
>
> _______________________________________________
> netmod mailing listnetmod@ietf.orghttps://www.ietf.org/mailman/listinfo/netmod
>
>
>