Re: [netmod] OpsState and Schema-Mount

Andy Bierman <andy@yumaworks.com> Mon, 08 August 2016 21:51 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 019E112D552 for <netmod@ietfa.amsl.com>; Mon, 8 Aug 2016 14:51:30 -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 NYAhzAU6kY8U for <netmod@ietfa.amsl.com>; Mon, 8 Aug 2016 14:51:29 -0700 (PDT)
Received: from mail-ua0-x234.google.com (mail-ua0-x234.google.com [IPv6:2607:f8b0:400c:c08::234]) (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 C116D12D1B7 for <netmod@ietf.org>; Mon, 8 Aug 2016 14:51:28 -0700 (PDT)
Received: by mail-ua0-x234.google.com with SMTP id 74so89588019uau.0 for <netmod@ietf.org>; Mon, 08 Aug 2016 14:51:28 -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=Kr1DTm15+vcAMnVRA0WCDWharbuJuNaUzevfDH7N57U=; b=TCYGRfSWN5cTa3bmqlTn6v8SuYZ+tkP9UhKhylX07v6tL09d1CUdmYexhthN0arIvA llPPFrNixjRNaa726qbQ2p/oL1jWO+8rDIpyHDEsgumCLZNoHhUnebFRqv6irLVruDXY vQlawveVO8Z2M63JBFLmYMFF97pU4Xv581j51Ey4VFKr0S1X/cFTGAad4gglU4VjaKkI u7zgAiVxPwusiB67Bn1aBKnodJWlFtVUjDMQPTtInabOnZ34lehy2yQfA+/YF9UkjBCX SVfPoRI7e0s2USZTC7lwmv+16qr/k4bp+MU/pn4bOyOZiZo9YsypDdPuhJ9ziZX7cyjB Wc+w==
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=Kr1DTm15+vcAMnVRA0WCDWharbuJuNaUzevfDH7N57U=; b=j/H9ZWQlxoKjCDszY9SDwPRCILctXSPeQPFn5pl9yLer6P+j2hTSY/AiIqQqN5YR2d a0hLrAXvklA8hNW6KMIKCdwHFX2JprYrFokDHpkGJv2142Z1aXOt5bG8+wQB4HBAMTL9 7c61ut6+P/Z8eq1gxoaeA9RB+CSXYovETL8YiHAyK/6mQ2lBNeY4nd0IDFZaYfx2YMod lH9POZEI+mHocnlGNol8AzO5cqdga1GYkjjOBU+R5e5gW8eHuFNEf+t3ToQPAOIvug7U +YXChGwpuq93GG9g8BU9QFabytem1EQYlVzSlCpu03Z+8nuQMZ/srUIH3Q9m7g4iIKU2 R8Pw==
X-Gm-Message-State: AEkoousozQHs05x2QnUBELlw/t7vwnUM9u8AcHvNw5wUCrb8DPvWJNQMe8UWly6xUKv9JjEww/+p+rn4jDn+DA==
X-Received: by 10.176.3.232 with SMTP id 95mr7501437uau.9.1470693087917; Mon, 08 Aug 2016 14:51:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.4.198 with HTTP; Mon, 8 Aug 2016 14:51:27 -0700 (PDT)
In-Reply-To: <3175490B-E8DA-4819-B294-C64D1A7D8A40@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>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 08 Aug 2016 14:51:27 -0700
Message-ID: <CABCOCHRuzTTBM-9OU5GaXS_fHmpNSn5Yp-3K6oXF33SeObSonA@mail.gmail.com>
To: Kent Watsen <kwatsen@juniper.net>
Content-Type: multipart/alternative; boundary="94eb2c056550144ee80539966b70"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/xaIq1RWjG-kx3hKG9TqoH8pXySA>
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 21:51:31 -0000

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
>