Re: [netmod] augment YANG 1.0 with YANG 1.1 OK?
Andy Bierman <andy@yumaworks.com> Wed, 25 October 2017 21:22 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 1C92013F472 for <netmod@ietfa.amsl.com>; Wed, 25 Oct 2017 14:22:02 -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 fjPaeKetut4V for <netmod@ietfa.amsl.com>; Wed, 25 Oct 2017 14:22:00 -0700 (PDT)
Received: from mail-lf0-x229.google.com (mail-lf0-x229.google.com [IPv6:2a00:1450:4010:c07::229]) (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 1633713F471 for <netmod@ietf.org>; Wed, 25 Oct 2017 14:22:00 -0700 (PDT)
Received: by mail-lf0-x229.google.com with SMTP id 90so1472275lfs.13 for <netmod@ietf.org>; Wed, 25 Oct 2017 14:21:59 -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=oWjTFT/CW0QuOSusAO024VbCDbqGlpyhAdvYhGG/Nac=; b=Aidieneb8GRe6TnNAlTbZ1Mj+fA+7amkwS1S7y0H+uZl3sajvly8EoDyPAH+i/P/rM Q/AiK8+RmVXy1z6tqiS0Jyh/5DzzTSWfWMQ0WdelN/2SBc1LsH7yQuZuQaLCVbO53UAd TRfSE07Ht0lPc8cl2hYk2Z5Ol8gQCJwqV08tmHFkx6nOB5hn0XWgSKh7Bsh7wP7qdmQs de4MyImsO2mjia9EiNdTrSAE3ieViLbRZ85ha93jjyYzYuvQdJX5Rgfjkfil2kCqxAKK 2+qXOlsSw3AiVnG/NUUs12KkMElskVPqOs9379btJlu4jfabqtcs0ajXDiJDes2gcclm oNng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oWjTFT/CW0QuOSusAO024VbCDbqGlpyhAdvYhGG/Nac=; b=qGwk9SSD/S3H0PGd7AkTJdLGSWyKfDUsty4aygHyjZfB7dKgs+bigPgaOV1arLzj6o 22skim4ghkFT50glDgdg9HiHSJDFLA+hAeiWcOgNTCqKUE1ApcXhFRhdCoMTVGvizbi0 GyuvREBnhnz1Et2qjpQUaIbucYzAZiFv4lmcqP2YV7VMhC90pJ3wDuK0+pGYPb3dd6ed JOocO7NvEYQd6+doavChITrutgdYNu+dkjPc4SbG10AVevWuGeBwLXfhQ5YsrEhjdegF GdYE2wx2arER7kTdBP5cQMDh18aIhJFbljXyLDcmSRaJ57k/xTHxJMbpkJ75RfPDYDGO QPAg==
X-Gm-Message-State: AMCzsaVPskg5v5WTNYRNGJE6DmnDxLHEeR6OxHEkFbOTQck731t7Nq4k ohDiBK/4RX1skd5r6UzYAIPkoUdT94rKDnIU9tIO8A==
X-Google-Smtp-Source: ABhQp+Tgynl47Sh7hDaM0yoHne1HR8bw9LfZJrmabo15cHrq8IrfjPVko+7zmbtfwdlRlLFiRYBhc3MsDBX3NHXErJk=
X-Received: by 10.25.211.73 with SMTP id k70mr7395430lfg.51.1508966518220; Wed, 25 Oct 2017 14:21:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.150.198 with HTTP; Wed, 25 Oct 2017 14:21:57 -0700 (PDT)
In-Reply-To: <20171025.214929.480782767501855061.mbj@tail-f.com>
References: <CABCOCHR22Ehryxu374a_-F6PFYayTgizReHuC0EaY4uBC7+vyg@mail.gmail.com> <c470cfec-c1b8-a419-ca52-30c47697e21f@cisco.com> <CABCOCHTxrxxa0YGtXs8M3x8NGnb0yGJeGPk=6j0s=zsXqtTHNg@mail.gmail.com> <20171025.214929.480782767501855061.mbj@tail-f.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 25 Oct 2017 14:21:57 -0700
Message-ID: <CABCOCHRDLEX3Fhw415eLiZ415VtfM29i8QZTZ=NUQBizChYy9g@mail.gmail.com>
To: Martin Bjorklund <mbj@tail-f.com>
Cc: Robert Wilton <rwilton@cisco.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="001a114188aa4c01a7055c65a5e3"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/f8Ks1pTySS1bjVkBmJ54eVDMNKo>
Subject: Re: [netmod] augment YANG 1.0 with YANG 1.1 OK?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 25 Oct 2017 21:22:02 -0000
On Wed, Oct 25, 2017 at 12:49 PM, Martin Bjorklund <mbj@tail-f.com> wrote: > Andy Bierman <andy@yumaworks.com> wrote: > > I think NMDA is creating much more complexity and disruption than is > > required. > > The original issue was the OpenConfig-style config/state trees. > > The WG agreed that an RPC-based solution was needed so that the > > YANG modules would not need to change (far too disruptive!). > > > > Then the IETF proceeds to redo all the YANG modules anyway. > > Now the server is allowed to implement the same module differently in > each > > datastore. > > Now comparing the configured and operational value is even harder than > > before. > > > > None of this added complexity was in the OpenConfig proposal. > > It was not even possible to have different features and deviations for > the > > same object in that proposal. > > Actually, this is not correct. In both OC and the old IETF split tree > solutions, the configuration and operational state were modelled with > duplicate nodes, and you could certainly deviate these nodes > differently. > > No, you cannot deviate the same schema node in different ways. You can define or deviate 2 different schema nodes. That is the unacceptable change to YANG and why I like the OC solution better. > This said, I share your concern about complexity. I also agree that > the only model that makes the client simple is that if all objects in > the config are also available with the same types in operational > state. Otherwise comparison won't work (or be complicated). > > Agreed. A vendor can provide unusable APIs with any YANG module, given the right deviations, so this cannot be a factor. But the OC solution did not allow features to be different at all. But at the same time, the converse is not true. I.e., if an object is > present in operational, it doesn't have to be configurable. > > Correct but maybe irrelevant. I am only concerned with the same schema node being different in multiple datastores. This was never part of the OC requirement. Each datastore can implement a specific subset of all the server modules. That part is well-defined and the framework allows for lots of innovation here without modifying YANG at all. > So what I think we want is that the schema for the conventional > datastore is a subset of the schema for operational. > > This would allow an implementation that cannot support configuration > of let's say the MTU, to deviate the mtu with "not-supported" in the > conventional datastore, but it will still be available for inspection > in operational. > > Does this make sense? > Non-overlapping subsets are fine. Overlapping subset but the details are the same for each module are fine. > > /martin > Andy
- [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Martin Bjorklund
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Juergen Schoenwaelder
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Juergen Schoenwaelder
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Juergen Schoenwaelder
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Robert Wilton
- Re: [netmod] Action and RPC statements Phil Shafer
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Juergen Schoenwaelder
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Juergen Schoenwaelder
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Robert Wilton
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Martin Bjorklund
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Martin Bjorklund
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Andy Bierman
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Martin Bjorklund
- [netmod] Action and RPC statements [was Re: augme… Robert Wilton
- Re: [netmod] augment YANG 1.0 with YANG 1.1 OK? Robert Wilton
- Re: [netmod] Action and RPC statements [was Re: a… Randy Presuhn
- Re: [netmod] Action and RPC statements [was Re: a… Andy Bierman
- Re: [netmod] Action and RPC statements [was Re: a… Randy Presuhn
- Re: [netmod] Action and RPC statements Martin Bjorklund
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- Re: [netmod] Action and RPC statements Kent Watsen
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Andy Bierman
- Re: [netmod] Action and RPC statements Randy Presuhn
- Re: [netmod] Action and RPC statements Andy Bierman
- Re: [netmod] Action and RPC statements Alexander Clemm
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- Re: [netmod] Action and RPC statements Andy Bierman
- Re: [netmod] Action and RPC statements Alexander Clemm
- Re: [netmod] Action and RPC statements Alexander Clemm
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- Re: [netmod] Action and RPC statements Phil Shafer
- Re: [netmod] Action and RPC statements Andy Bierman
- Re: [netmod] Action and RPC statements Martin Bjorklund
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- Re: [netmod] Action and RPC statements Martin Bjorklund
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- [netmod] Reset tags RPC [was Re: Action and RPC s… Robert Wilton
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements Andy Bierman
- Re: [netmod] Action and RPC statements Juergen Schoenwaelder
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements Robert Wilton
- Re: [netmod] Action and RPC statements Lou Berger
- Re: [netmod] Action and RPC statements t.petch