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

Lou Berger <lberger@labn.net> Tue, 12 July 2016 18:53 UTC

Return-Path: <lberger@labn.net>
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 6105E12B04E for <netmod@ietfa.amsl.com>; Tue, 12 Jul 2016 11:53:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 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_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (768-bit key) header.d=labn.net
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 IuT3BPKkuDu7 for <netmod@ietfa.amsl.com>; Tue, 12 Jul 2016 11:53:38 -0700 (PDT)
Received: from gproxy4-pub.mail.unifiedlayer.com (gproxy4-pub.mail.unifiedlayer.com [69.89.23.142]) by ietfa.amsl.com (Postfix) with SMTP id 02FD012D5AE for <netmod@ietf.org>; Tue, 12 Jul 2016 11:53:37 -0700 (PDT)
Received: (qmail 13486 invoked by uid 0); 12 Jul 2016 18:53:34 -0000
Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy4.mail.unifiedlayer.com with SMTP; 12 Jul 2016 18:53:34 -0000
Received: from box313.bluehost.com ([69.89.31.113]) by cmgw2 with id HutV1t0062SSUrH01utYd7; Tue, 12 Jul 2016 12:53:32 -0600
X-Authority-Analysis: v=2.1 cv=ff4+lSgF c=1 sm=1 tr=0 a=h1BC+oY+fLhyFmnTBx92Jg==:117 a=IkcTkHD0fZMA:10 a=-NfooI8aBGcA:10 a=uEJ9t1CZtbIA:10 a=cAmyUtKerLwA:10 a=wU2YTnxGAAAA:8 a=1SXQA0vBFZfRKIH__fwA:9 a=QEXdDO2ut3YA:10 a=Yz9wTY_ffGCQnEDHKrcv:22
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=labn.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version :Date:Message-ID:From:Cc:References:To:Subject; bh=VMtHa0QzjlIWfHHnIU/7KNt1zOuyHgNzk6q/fNYr420=; b=ErJgRaE7+BL1tPag2x5fpTNgZA tWxAUdM5ObuMabwZY03Y8LkfEtIS8a0RfQQ4nXR6bg2UIIMhnnXDdlU+KTKTGpOPWKO5Mb1LyhKIF qMAZtcxZ0HIejfjWU3+JOmIE+;
Received: from box313.bluehost.com ([69.89.31.113]:58066 helo=[127.0.0.1]) by box313.bluehost.com with esmtpa (Exim 4.86_2) (envelope-from <lberger@labn.net>) id 1bN2oE-0007fO-SG; Tue, 12 Jul 2016 12:53:30 -0600
To: Andy Bierman <andy@yumaworks.com>
References: <D3A935F0.6A4DC%acee@cisco.com> <02b5661f-22e0-6ccc-89d2-ef0370c4e87c@labn.net> <CABCOCHSH5wC3-VbAF6tXOc+3tSxpC3a0MA23YEkUFEBojoo25w@mail.gmail.com>
From: Lou Berger <lberger@labn.net>
Message-ID: <1b6dd663-f69a-d7e3-840d-ab3a7849e7de@labn.net>
Date: Tue, 12 Jul 2016 14:53:26 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <CABCOCHSH5wC3-VbAF6tXOc+3tSxpC3a0MA23YEkUFEBojoo25w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Identified-User: {1038:box313.bluehost.com:labnmobi:labn.net} {sentby:smtp auth 69.89.31.113 authed with lberger@labn.net}
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - box313.bluehost.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - labn.net
X-Source-IP: 69.89.31.113
X-Exim-ID: 1bN2oE-0007fO-SG
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: box313.bluehost.com ([127.0.0.1]) [69.89.31.113]:58066
X-Source-Auth: lberger@labn.net
X-Email-Count: 0
X-Source-Cap: bGFibm1vYmk7bGFibm1vYmk7Ym94MzEzLmJsdWVob3N0LmNvbQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/-t28iepecTUZ3ZJSF0yznNvMxkc>
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: Tue, 12 Jul 2016 18:53:40 -0000

Andy,

    This may be a bit OBE by the conversation on the list, but see below...


On 7/12/2016 12:17 PM, Andy Bierman wrote:
>
>
> On Tue, Jul 12, 2016 at 8:23 AM, Lou Berger <lberger@labn.net
> <mailto: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.
>

    The config/state split discussed in the context of opstate, and the
openconfig draft in particular, reflects two different types of separations:

1) configuration vs operational information (e.g., intf parameter vs
counters)

2) intended vs applied configuration

My earlier comment about assuming that we're getting rid of -config and
-state (as part f the decision to move to revised datastores) was really
focused on the second.


> Most of the foo-state variables are for monitoring.

I really wasn't commenting on conventions WRT configuration data and
operational parameters relationship/organization -- although I think
having a general convention for these is "a good idea".


> 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?
>
>

Again, I was focusing on the intended vs applied aspects here.  I can
see reasons to keep a top level spit for config vs operational state,
but alos don't have a strong personal bias on this.

Lou

> Andy
>
>
>