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

Andy Bierman <andy@yumaworks.com> Tue, 12 July 2016 17:01 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 A709212D587 for <netmod@ietfa.amsl.com>; Tue, 12 Jul 2016 10:01:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 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_LOW=-0.7, 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 6QvNYoDIh3w2 for <netmod@ietfa.amsl.com>; Tue, 12 Jul 2016 10:01:45 -0700 (PDT)
Received: from mail-vk0-x230.google.com (mail-vk0-x230.google.com [IPv6:2607:f8b0:400c:c05::230]) (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 CFFD612D17B for <netmod@ietf.org>; Tue, 12 Jul 2016 10:01:43 -0700 (PDT)
Received: by mail-vk0-x230.google.com with SMTP id f7so30636412vkb.3 for <netmod@ietf.org>; Tue, 12 Jul 2016 10:01:43 -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=TO+06wOT00kqi40nIlwrJMBONm6n9DYh0sr7ZAiEe4g=; b=NJ33uylcg4jZl33iuPK0EA2Z6HK9tT6sJl4KconlqwlrHaR9pRQGOQjQua+6hic5V0 xVFoVgXfLfG7Vkx7Ty/jvIEqx6rmppAumhSVvQKtXzhzTr/1E4fYVwt+keAoRg20yLnd Z548IwWoiYAq/JWJq8xOKIkSF5Vn74NHxDGwKRnG3h8L4AueUUo7sHop+sAGvIpm4w8g gYVxxsYe+OghDC/JLLB8aFR7Y5YoVhIMuai7crAx9dGZzZ619yQJnwby3OcFCGDObNvJ FoLFjoB62IA2suUfw+za5la6lnO+9DkJ4zOzX22VtJTyeF54YR38TBu8ZF2aj+E613iZ ECAA==
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=TO+06wOT00kqi40nIlwrJMBONm6n9DYh0sr7ZAiEe4g=; b=DA0ZBlEku0o05leDNIl/MkuXQnpWWvGHrUvSFK+f2bRL4TpD6PKp0QO+jeOno2kYty 4zw8YwNilYsrCW9X+8HpBMqEM+7mfzmIi0Vg3av7h0O4j3bvLafCiSIjyIPEFlJ7jQYV Ik1zl7Bp7YiyqxgprSkF+0mSKFY0k+1AxLaBstlfkVsSbg9aAqmXliYNzSfOdjVToDS0 btI7C1CiJ5LdNxeb2nsJV1GNSNj7O5pWSeOUajRr0qksaE+GEKI4wMyPDBHRsRLoAVZn Ii/dYkSTJv5YCa161FKqgdoqkotrXHLixVN57Oyn5sWFF93XVNJCmMOXEVlhPuI/h8oC qsSQ==
X-Gm-Message-State: ALyK8tJJsVvsxwISD8zhKlC+xow7hzHYJsqu+nyKvHrMZT//hmAF16etfUplF6izc0YGY3deBtf972HvezRfow==
X-Received: by 10.159.40.74 with SMTP id c68mr1689222uac.9.1468342902868; Tue, 12 Jul 2016 10:01:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.20.2 with HTTP; Tue, 12 Jul 2016 10:01:42 -0700 (PDT)
In-Reply-To: <D3AA9952.6B1FB%acee@cisco.com>
References: <D3A935F0.6A4DC%acee@cisco.com> <02b5661f-22e0-6ccc-89d2-ef0370c4e87c@labn.net> <CABCOCHSH5wC3-VbAF6tXOc+3tSxpC3a0MA23YEkUFEBojoo25w@mail.gmail.com> <D3AA932E.6B1B6%acee@cisco.com> <CABCOCHShir2gV0NQGQ8bFM1HBtGFOC7X3UHEnCewsELNKK6toA@mail.gmail.com> <D3AA9952.6B1FB%acee@cisco.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 12 Jul 2016 10:01:42 -0700
Message-ID: <CABCOCHTY7rStZZg86U8MRnjLU_=FprDTZLq320Dw7s-J6ntLmQ@mail.gmail.com>
To: "Acee Lindem (acee)" <acee@cisco.com>
Content-Type: multipart/alternative; boundary="94eb2c04486a226a7c0537733924"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/BTSNHTay9wENdWXrUETRR_9qNG8>
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 17:01:47 -0000

On Tue, Jul 12, 2016 at 9:56 AM, Acee Lindem (acee) <acee@cisco.com> wrote:

>
>
> From: Andy Bierman <andy@yumaworks.com>
> Date: Tuesday, July 12, 2016 at 12:38 PM
> To: Acee Lindem <acee@cisco.com>
> Cc: Lou Berger <lberger@labn.net>, netmod WG <netmod@ietf.org>
> Subject: Re: [netmod] OpsState Direction Impact on Recommended IETF YANG
> Model Structure
>
>
>
> On Tue, Jul 12, 2016 at 9:30 AM, Acee Lindem (acee) <acee@cisco.com>
> wrote:
>
>> Hi Andy,
>>
>> From: Andy Bierman <andy@yumaworks.com>
>> Date: Tuesday, July 12, 2016 at 12:17 PM
>> To: Lou Berger <lberger@labn.net>
>> Cc: Acee Lindem <acee@cisco.com>, netmod WG <netmod@ietf.org>
>> 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.
>>
>>
>> If they are meant to be supported independently, why wouldn’t they be
>> separate models?
>>
>>
>
> YANG features can be used and they can still be supported independently.
>
>
> True - but I have not run across a model featured at the config/state
> branch.
>
>
Can you answer the question "What problem is created by having separate
configuration
and monitoring subtrees?"

Seems like an RPC-based opstate solution does not depend on this change,
so why is it being proposed?


Acee
>
>
>
Andy


>
>
>
>
>> Thanks,
>> Acee
>>
>>
> Andy
>
>
>>
>> Why is that progress?
>>
>>
>> Andy
>>
>>
>>
>>
>>
>