Re: [netmod] Y34 - root node
Andy Bierman <andy@yumaworks.com> Mon, 03 August 2015 15:10 UTC
Return-Path: <andy@yumaworks.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 834651A906D for <netmod@ietfa.amsl.com>; Mon, 3 Aug 2015 08:10:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level:
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_15=0.6, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=no
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 tkZ_LKy6JECy for <netmod@ietfa.amsl.com>; Mon, 3 Aug 2015 08:10:17 -0700 (PDT)
Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) (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 A07981A907F for <netmod@ietf.org>; Mon, 3 Aug 2015 08:10:16 -0700 (PDT)
Received: by labow3 with SMTP id ow3so18903527lab.1 for <netmod@ietf.org>; Mon, 03 Aug 2015 08:10:15 -0700 (PDT)
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:date :message-id:subject:from:to:cc:content-type; bh=kVj5PJMUdFBkYxxleuQOK4GCLzcjCa94qbJrJUR+rl0=; b=Kf7KemFaNd5nbRmB1mPcKZP9hUmbnACimwdvCoUECF6JCYNsckzPdKTdn1Y7Cm33AG WaunJCH/nnC+uNwWno53DY1ztM92QOr1YL0a86867/fv2uXth56Y6s8h8PvxZ5+VJdq8 6xjymso7yEbcLcLjfu7kFJCPcsbdWN+ojlTaQ00RN5pvp+rVJvKyezSgKKH2RgCDCGlm QmRQmAIeiZugCeSJpqOKALq/E3C9M7dGmCekxZp+KjKgTUhj/TSU0ofy2y0h1qvrmMqB MGfkopTGZ9I+Vjq72ITxpf8K6rZzw56gu/M6PVVXyp212b6AWJgEJpthty0sQL1KqBKf v0JQ==
X-Gm-Message-State: ALoCoQkJYWFxc2zUCIHOpB/wMhtnEhNahJeq2XhApG5PIj4vpNfx9du1qL+0ZajlIGpPsWEJnzI2
MIME-Version: 1.0
X-Received: by 10.112.85.3 with SMTP id d3mr17429901lbz.33.1438614615052; Mon, 03 Aug 2015 08:10:15 -0700 (PDT)
Received: by 10.112.200.102 with HTTP; Mon, 3 Aug 2015 08:10:14 -0700 (PDT)
In-Reply-To: <002401d0cdfb$758b6760$4001a8c0@gateway.2wire.net>
References: <CABCOCHRS-JF8UK+9fQ=yvZy9ttcj3j6oJn0n3Co6f7kB0tpFgA@mail.gmail.com> <F990644A-4CBE-43D5-AB2B-A20E54A91A65@nic.cz> <20150720210041.GA17614@elstar.local> <D1D917F8.29821%acee@cisco.com> <CABCOCHSm=VCMqoMJRAstV-FwZqkitKVoAjkVMGHxKcKB_RdpGQ@mail.gmail.com> <14ecceb6dd0.2818.9b4188e636579690ba6c69f2c8a0f1fd@labn.net> <CABCOCHQ-XOJMXfZfijd1OJcgvx4wkRuY0P7UhF5zej_Q36GHYg@mail.gmail.com> <14ed0338068.2818.9b4188e636579690ba6c69f2c8a0f1fd@labn.net> <CABCOCHQAc310ZwScEN=BFEzHUj3uY3HBQjo131J6yigGEW9Yrw@mail.gmail.com> <55BBA679.7070508@labn.net> <20150801065150.GA67416@elstar.local> <D1E270C7.29F82%acee@cisco.com> <CABCOCHSPmCdd2eeb6S9sPzjD+G7vrCs+HNac5KDj3QHUuGMofQ@mail.gmail.com> <002401d0cdfb$758b6760$4001a8c0@gateway.2wire.net>
Date: Mon, 03 Aug 2015 08:10:14 -0700
Message-ID: <CABCOCHQOosSE3B973WG1uqBjF2aoexViR3OfD9Rfo6qoHg0W6Q@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: "t.petch" <ietfc@btconnect.com>
Content-Type: multipart/alternative; boundary="001a1134946c196b5b051c6991e4"
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/ACRz3ccFWxfFoSOPEUpSE1gHzmQ>
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] Y34 - root node
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
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, 03 Aug 2015 15:10:21 -0000
On Mon, Aug 3, 2015 at 7:48 AM, t.petch <ietfc@btconnect.com> wrote: > ----- Original Message ----- > From: "Andy Bierman" <andy@yumaworks.com> > To: "Acee Lindem (acee)" <acee@cisco.com> > Cc: "NETMOD Working Group" <netmod@ietf.org> > Sent: Saturday, August 01, 2015 7:05 PM > Subject: Re: [netmod] Y34 > On Sat, Aug 1, 2015 at 9:51 AM, Acee Lindem (acee) <acee@cisco.com> > wrote: > > > Hi Juergen, > > > > On 8/1/15, 2:51 AM, j.schoenwaelder@jacobs-university.de> wrote: > > > > >On Fri, Jul 31, 2015 at 12:46:49PM -0400, Lou Berger wrote: > > >> Andy, > > >> > > >> On 07/27/2015 12:58 PM, Andy Bierman wrote: > > >> > Hi, > > >> > > > >> > I don't think a standard for relocating subtrees would be worth > it. > > >> > I am not in favor of moving /interfaces or /system to a new > location. > > >> > That's not how YANG works. It only allows "obsolete and start > over". > > >> > > > >> > I would suggest pursuing solutions that don't cause > > >> > as much disruption and expense as possible. > > >> > > > >> I think it would be really good to explore other, less "disruptive" > > >> options. > > > > > >I think the first step is to find out whether there is a problem > worth > > >to be fixed. Why are the RFCs in question broken? (Yes, I have read > > >the openconfig IDs, > > > > Section 1.1 in > > https://www.ietf.org/id/draft-openconfig-netmod-model-structure-00.txt > > lists the goals of a generic model structure that will accommodate > most > > modern network devices. I guess you don’t agree that these are > desirable? > > The only objection I have to this draft is the insertion of a top-level > root > called "device". (Might as well be called "self"). > There are no sibling nodes planned or intended for > this node, so it serves as an extra document root. > > <tp> > One aspect of YANG I have never grasped is what a root means, if > anything. > > I understand that it is needed for NETCONF (filters) and for YANG > (augments, constraints) and so must be somewhere and must be relatively > stable, but has it any other significance in the data model? > > As you may recall, I was involved with SMI first, where the root is > somewhere up in the sky and life only becomes interesting some six > levels down the hierarchy and that may colour my thinking. > > YANG does a poor job of defining the root for YANG data nodes. It is sometimes called a datastore (in the abstract). Technically, YANG borrows the definition from XPath. YANG just defines top-level data nodes and the parent of these nodes is the document root. There is no protocol or encoding neutral definition, only an XML-specific definition. > Tom Petch > Andy > > > The well-specified XPath and YANG root (/) can be > accessed by all protocol operations, exactly the same > as a node called 'device'. The actual node name will > depend on the RPC function (e.g. 'data' or 'config'). > > This is more than redundant however. It introduces a "super-module" > into YANG that every other module is expected to augment. > YANG is intended to be more loosely coupled than that. > This introduces an extra node and namespace declaration > in all protocol messages, increasing message sizes. > > It also assumes all existing YANG models will get rewritten to > account for "/device" in all path and XPath expressions. > This is highly disruptive to existing deployments. > Also, multiple data models to edit the same thing causes lots > of extra complexity in the server (supporting both old > location and new location). > > IMO a resource directory approach is much more realistic. > The /device tree can contain all the organized NP containers. > Instead of all the actual data nodes, this tree just has pointers > to the real location of the resource. (like 301 Moved Permanently) > > Thanks, > > Acee > > > > > > > Andy > > >
- [netmod] Y34 Ladislav Lhotka
- Re: [netmod] Y34 Ladislav Lhotka
- Re: [netmod] Y34 Andy Bierman
- Re: [netmod] Y34 Ladislav Lhotka
- Re: [netmod] Y34 Andy Bierman
- Re: [netmod] Y34 Ladislav Lhotka
- Re: [netmod] Y34 Andy Bierman
- Re: [netmod] Y34 Ladislav Lhotka
- Re: [netmod] Y34 Juergen Schoenwaelder
- Re: [netmod] Y34 Ladislav Lhotka
- Re: [netmod] Y34 Juergen Schoenwaelder
- Re: [netmod] Y34 Ladislav Lhotka
- Re: [netmod] Y34 Acee Lindem (acee)
- Re: [netmod] Y34 Lou Berger
- Re: [netmod] Y34 Andy Bierman
- Re: [netmod] Y34 Lou Berger
- Re: [netmod] Y34 Andy Bierman
- Re: [netmod] Y34 Ladislav Lhotka
- Re: [netmod] Y34 Juergen Schoenwaelder
- Re: [netmod] Y34 Lou Berger
- Re: [netmod] Y34 Andy Bierman
- Re: [netmod] Y34 Lou Berger
- Re: [netmod] Y34 Andy Bierman
- Re: [netmod] Y34 Juergen Schoenwaelder
- Re: [netmod] Y34 Acee Lindem (acee)
- Re: [netmod] Y34 Juergen Schoenwaelder
- Re: [netmod] Y34 Andy Bierman
- Re: [netmod] Y34 Ladislav Lhotka
- Re: [netmod] Y34 - root node t.petch
- Re: [netmod] Y34 - root node Andy Bierman
- Re: [netmod] Y34 - root node t.petch
- Re: [netmod] Y34 - root node Andy Bierman
- Re: [netmod] Y34 - root node t.petch
- Re: [netmod] Y34 - root node Andy Bierman
- Re: [netmod] Y34 - root node Einar Nilsen-Nygaard (einarnn)
- Re: [netmod] Y34 - root node Ladislav Lhotka
- Re: [netmod] Y34 - root node Jonathan Hansford
- Re: [netmod] Y34 - root node Einar Nilsen-Nygaard (einarnn)
- Re: [netmod] Y34 - root node Andy Bierman
- Re: [netmod] Y34 - root node Acee Lindem (acee)
- Re: [netmod] Y34 - root node Andy Bierman
- Re: [netmod] Y34 - root node Acee Lindem (acee)
- Re: [netmod] Y34 - root node Ladislav Lhotka
- Re: [netmod] Y34 - root node t.petch
- Re: [netmod] Y34 - root node Robert Wilton
- Re: [netmod] Y34 - root node Andy Bierman
- Re: [netmod] Y34 - root node Robert Wilton
- Re: [netmod] Y34 - root node Martin Bjorklund
- Re: [netmod] Y34 - root node Ladislav Lhotka
- Re: [netmod] Y34 - root node Robert Wilton
- Re: [netmod] Y34 - root node t.petch
- Re: [netmod] Y34 - root node Andy Bierman
- Re: [netmod] Y34 - root node Andy Bierman
- Re: [netmod] Y34 - root node Martin Bjorklund
- Re: [netmod] Y34 - root node Ladislav Lhotka
- Re: [netmod] Y34 - root node Robert Wilton
- Re: [netmod] Y34 - root node Martin Bjorklund
- Re: [netmod] Y34 - root node Ladislav Lhotka
- Re: [netmod] Y34 - root node Andy Bierman
- Re: [netmod] Y34 - root node Juergen Schoenwaelder
- Re: [netmod] Y34 - root node Kent Watsen
- Re: [netmod] Y34 - root node Andy Bierman
- Re: [netmod] Y34 - root node Eric Voit (evoit)
- Re: [netmod] Y34 - root node Nadeau Thomas
- Re: [netmod] Y34 - root node t.petch
- Re: [netmod] Y34 - root node Andy Bierman
- Re: [netmod] Y34 - root node Alexander Clemm (alex)
- Re: [netmod] Y34 - root node Martin Bjorklund
- Re: [netmod] Y34 - root node Juergen Schoenwaelder
- Re: [netmod] Y34 - root node Lou Berger
- Re: [netmod] Y34 - root node Andy Bierman
- Re: [netmod] Y34 - root node Lou Berger
- Re: [netmod] Y34 - root node Ambika Prasad Tripathy (ambtripa)
- Re: [netmod] Y34 - root node t.petch
- Re: [netmod] Y34 - root node Alexander Clemm (alex)
- Re: [netmod] Y34 Robert Varga
- Re: [netmod] Y34 Robert Varga
- Re: [netmod] Y34 Ladislav Lhotka
- Re: [netmod] Y34 Robert Varga