Re: [netmod] OpsState and Schema-Mount

Andy Bierman <andy@yumaworks.com> Mon, 08 August 2016 23:30 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 C8DBA12D0EE for <netmod@ietfa.amsl.com>; Mon, 8 Aug 2016 16:30:56 -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, RCVD_IN_DNSWL_NONE=-0.0001, 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 X8sCCY0CiFEe for <netmod@ietfa.amsl.com>; Mon, 8 Aug 2016 16:30:54 -0700 (PDT)
Received: from mail-ua0-x22f.google.com (mail-ua0-x22f.google.com [IPv6:2607:f8b0:400c:c08::22f]) (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 5244F12B074 for <netmod@ietf.org>; Mon, 8 Aug 2016 16:30:54 -0700 (PDT)
Received: by mail-ua0-x22f.google.com with SMTP id 97so42791898uav.3 for <netmod@ietf.org>; Mon, 08 Aug 2016 16:30:54 -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=QroEQV134eNQshREY4OjhyrwnN39HMWL0Hm5d38yrEw=; b=PFDHg/kdzP7hXtMUlg0VNMaLwdm29ffeBeKbFcGhde1CyzJF6nZYAzY82QBtQRBWqj tQVn302mLcOeDj+fcD+R1ctMMlFVLnfVooxNMcLtgPRPzHUy63J7ALh29LcIlUjq4/Rm hFGu6HvnIUjo39RaF2cm9KkPldGP4UcomLvZYdhRP60Ez/H+ptlHxytfwwO/tutxsCCU m5sE1mmXGPgDlKmTgVin6VsVlsLJ1WfZghHoLNT9SqIHC8LHSXCxlaefWH/yLzqQj/cT E9NDA2LAnEknubKgb2ja8g4mxzbL5Kmw7jhw7ssrhh4rgDBBTI7jnnqG7RruxYGi+OSr 2VfQ==
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=QroEQV134eNQshREY4OjhyrwnN39HMWL0Hm5d38yrEw=; b=QaiQae5nw3oaNlCIYM9YJzc/S8c09jAaYGd8GzZfI3ilfOW6Gm9e3ZJj4+jl346Gwp LB+z5mTb9FmceAfZUI51mWK8QsOER354/ZmzNoaKjdxU9FoA4ke6+5N2A/m+6IUJEyO6 EBAVumNKEz+QHBdWQinQF2AwIgI5sEdkjXHt6mBkdNrmNJ7McbfeqcQ02UI4ye/NnJxW bO1tBOLPx2eHob9q/E7hzL6lTqWot9hhmDT7Y0ljHL1wHcUK55kN/KWEpIYizWXakp9y 9YfWe3qhgcXBVh19F5D+FytybISMzVpzR/9Lxw0rEwLid0O3vIGSgJwUUWEv9+URIH9O xqMQ==
X-Gm-Message-State: AEkooutzY+YlguvMpknX4i2jwg/7UVylTJ068xvH9yXoEiFQh4V5d+MKvsaC7Q8DMTG3Fb3gOJcGY7kQtaXs/w==
X-Received: by 10.176.69.168 with SMTP id u37mr1548337uau.16.1470699053464; Mon, 08 Aug 2016 16:30:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.4.198 with HTTP; Mon, 8 Aug 2016 16:30:52 -0700 (PDT)
In-Reply-To: <673D4236-7564-4B64-8088-BE6CBA3A790E@juniper.net>
References: <bed9398c-0e6a-450e-d2ac-b381b6bebf87@cisco.com> <5296754B-8178-4B1B-B4A6-FE228ABB8E7F@juniper.net> <9367f4b1-7814-e175-32e8-d518438b841d@cisco.com> <m24m79c1ja.fsf@birdie.labs.nic.cz> <D3BF8708.72620%acee@cisco.com> <552008CB-F216-4578-A709-AE0613C2EFB9@nic.cz> <12ed1a4d-44c5-9a51-b6d4-95e1620a24ee@cisco.com> <m260roedim.fsf@birdie.labs.nic.cz> <CABCOCHRF98sTa=MA1VTkZovOufL-=yQr9Gzy+ojnncjSfK1y0Q@mail.gmail.com> <e307c2fc-e621-b5c6-4fcc-67bbcdcb87b9@cisco.com> <20160729163220.GA3579@elstar.local> <68421198-703c-bb26-0fcc-f560e6fe108d@ericsson.com> <100B5D71-C23E-4C72-9EA2-2DB6574DEB87@nic.cz> <5153eab1-8d87-6e3c-3b54-441f683695e4@cisco.com> <D3C7B1A4.7482A%acee@cisco.com> <18066971-3353-b13f-04fa-e214a47ab9a7@cisco.com> <D3C8C14F.74A40%acee@cisco.com> <3175490B-E8DA-4819-B294-C64D1A7D8A40@juniper.net> <CABCOCHRuzTTBM-9OU5GaXS_fHmpNSn5Yp-3K6oXF33SeObSonA@mail.gmail.com> <673D4236-7564-4B64-8088-BE6CBA3A790E@juniper.net>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 08 Aug 2016 16:30:52 -0700
Message-ID: <CABCOCHTkUsLfrDZh4a3fGvpcTR0YVjpG2AHUwfLQGSa30JqQcA@mail.gmail.com>
To: Kent Watsen <kwatsen@juniper.net>
Content-Type: multipart/alternative; boundary="94eb2c11c9e6a75a75053997cee6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/i2aqn9PhGykXu30505Y5adDNcJE>
Cc: netmod WG <netmod@ietf.org>
Subject: Re: [netmod] OpsState and Schema-Mount
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: Mon, 08 Aug 2016 23:30:57 -0000

On Mon, Aug 8, 2016 at 4:24 PM, Kent Watsen <kwatsen@juniper.net> wrote:

> For 1,2,3, realize that placing config false nodes under config true nodes
> has been with us from the beginning.  All the issues you mentioned (if
> they’re issues at all) can’t be new.   Having a duplicate -state tree is
> the wart here, it’s introducing an inconsistency in how models have been
> written for a long time.  I prefer to remove the wart than celebrate it.
>
>
>

No, it actually is not the way we have been doing things all along.
Historically (even with NETCONF, not just SNMP) we standardize
read-only monitoring information.  Sometimes configuration is added later.

Issues 1 - 3 are practical issues that need to be addressed if top-level
config=false
nodes are not allowed anymore.


Andy



> For 4, right, this discussion on s5.23 of 6087bis regards how to handle
> state for system-generated objects (e.g., interfaces).  It is not directly
> related to the how to report applied configuration problem.  It is however
> indirectly related, in that a holistic solution can address both.
>
>
>
> Kent
>
>
>
>
>
> *From: *Andy Bierman <andy@yumaworks.com>
> *Date: *Monday, August 8, 2016 at 5:51 PM
> *To: *Kent Watsen <kwatsen@juniper.net>
> *Cc: *"Acee Lindem (acee)" <acee@cisco.com>, "Robert Wilton -X (rwilton -
> ENSOFT LIMITED at Cisco)" <rwilton@cisco.com>, Ladislav Lhotka <
> lhotka@nic.cz>, Balazs Lengyel <balazs.lengyel@ericsson.com>, "
> netmod@ietf.org" <netmod@ietf.org>
> *Subject: *Re: [netmod] OpsState and Schema-Mount
>
>
>
>
>
>
>
> On Mon, Aug 8, 2016 at 1:16 PM, Kent Watsen <kwatsen@juniper.net> wrote:
>
> Acee writes:
> >    Then I see no YANG language barriers in collapsing config and state
> trees
> >    - the model root just needs to be “config true”.
>
> Great, I think we’re all agreed.  Can we now discuss the text I proposed
> for 6087bis?  - here’s the link to my proposal:
> https://mailarchive.ietf.org/arch/msg/netmod/-zbXNhw2BJYMyrBT9nnCwoLAJ0s.
>
>
>
> IMO this effort to avoid 2 containers is not well thought out.
>
> Some concerns:
>
>
>
> 1) modularity
>
>     placing the monitoring objects within the configuration means the
> monitoring
>
>     cannot be used on its own
>
>
>
> 2) access control
>
>     placing the monitoring data within configuration means the
> monitoring-only clients
>
>     need write permission turned on for the nodes they can access for
> read-only
>
>     This relies on granular and complex NACM rules which require regular
> maintenance.
>
>
>
> 3) YANG conformance
>
>     placing the monitoring data inside the configuration means the
> configuration
>
>     will be required for conformance; it is not likely to be just 1 NP
> container.
>
>
>
> 4) pointless;
>
>    given that new RPC operations are needed to access applied config, the
> only data not
>
>    affected (and moved under the config container anyway) is stuff that
> does not share
>
>    the same indexing, or counters which are not part of the opstate
> problem.
>
>
>
>
>
>
>
> Andy
>
>
>
>
>
> Hint: the first few edits are just nits...skip over the first few
> paragraphs until you start seeing large blocks of changed lines...
>
> Kent // as a contributor
>
>
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>
>
>