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

Andy Bierman <andy@yumaworks.com> Tue, 12 July 2016 16:38 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 9991112D56C for <netmod@ietfa.amsl.com>; Tue, 12 Jul 2016 09:38:23 -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 kmT4aeGbvYkT for <netmod@ietfa.amsl.com>; Tue, 12 Jul 2016 09:38:22 -0700 (PDT)
Received: from mail-vk0-x235.google.com (mail-vk0-x235.google.com [IPv6:2607:f8b0:400c:c05::235]) (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 D06D712D559 for <netmod@ietf.org>; Tue, 12 Jul 2016 09:38:21 -0700 (PDT)
Received: by mail-vk0-x235.google.com with SMTP id f7so29701541vkb.3 for <netmod@ietf.org>; Tue, 12 Jul 2016 09:38:21 -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=Su/zXSYEXybxiSteQuerkztlnbuUk5fQ3CZPg49r57E=; b=LcRiszHMVB5lbe5YdIrIGj/zfvQIBOtpOVocZbgQhmKFcEUTisgupoKeh9cXx1rIja iGmSVP7Ba9/Vtx2DKfeTvXat8dT/zGhzk/WG3MVszWFowvKnn8rkTtFuoGSCoTh7D/0b lU4w07hrb9nbK03i4bx40ET91xfgye4s8otUy6IZmjZZyPa2xUE/7/If7gGRUAP9COyz rNOoFJB+SMR5fHvEJmbnDnWhglT8QmChBRkE5+G+ChggVqiHkdY/ZNsdiGd0S2XmRBD0 Vxfu3F1bABLKEy/e93BCj9/F1I6Mn5JfLbI8trb4RS2CSyGLnscC98pZCYfcZ74FctF4 r9BA==
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=Su/zXSYEXybxiSteQuerkztlnbuUk5fQ3CZPg49r57E=; b=kLEZh0ZOMLC27NUUjZHCwFKArRSX+OQnqFQ5YFb1KgagTS8I3mMyPbAi+hdQU0a/YS ROdigh4+o5QCjW2/hDWUkOrP5N7o6/IMYEAJqoCYKmmIVCl8W5NeC5U2kQXAvp755MjP nZHsLp3sy/yNyfPznMtHMmEv2N38/XD2vbgCZXOV1U35wFbVpbZzFcDe4xBa+4RNELbG 7JLE7SuMOCqaFqqsdcY5EuaaeU7SSQrgtSBZb3dMgoZ/jdPvt6i8dVPaschsUBJsTxbi JDTwleJcEFD/rBesJ+5GxTYLvUuWIz80M6ItRffyVKuvKIJyME3pk93NJS/G27GRgP6W BACA==
X-Gm-Message-State: ALyK8tIZZ2MdjWwUJdpJbBaolLjXfKz9qXwZl6QjEgb+rlAQ7dY2wfLozu7oZt5WrWsbviu9dnW82AbEnArQIA==
X-Received: by 10.159.35.112 with SMTP id 103mr1613036uae.55.1468341500927; Tue, 12 Jul 2016 09:38:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.20.2 with HTTP; Tue, 12 Jul 2016 09:38:20 -0700 (PDT)
In-Reply-To: <D3AA932E.6B1B6%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>
From: Andy Bierman <andy@yumaworks.com>
Date: Tue, 12 Jul 2016 09:38:20 -0700
Message-ID: <CABCOCHShir2gV0NQGQ8bFM1HBtGFOC7X3UHEnCewsELNKK6toA@mail.gmail.com>
To: "Acee Lindem (acee)" <acee@cisco.com>
Content-Type: multipart/alternative; boundary="001a113ab81a927c4c053772e5be"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/j3JRIOg8eUga9q2-zoI6UqtExoQ>
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 16:38:23 -0000

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.



> Thanks,
> Acee
>
>
Andy


>
> Why is that progress?
>
>
> Andy
>
>
>
>
>