Re: [netmod] Y34 - root node

t.petch <ietfc@btconnect.com> Mon, 03 August 2015 14:52 UTC

Return-Path: <ietfc@btconnect.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 4F3E51A1BB8 for <netmod@ietfa.amsl.com>; Mon, 3 Aug 2015 07:52:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level:
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, SPF_HELO_PASS=-0.001] autolearn=ham
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 oj_cKZwHWdag for <netmod@ietfa.amsl.com>; Mon, 3 Aug 2015 07:52:29 -0700 (PDT)
Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0789.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe04::789]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 138781A00C7 for <netmod@ietf.org>; Mon, 3 Aug 2015 07:52:28 -0700 (PDT)
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
Received: from pc6 (81.151.167.91) by AMXPR07MB056.eurprd07.prod.outlook.com (10.242.67.151) with Microsoft SMTP Server (TLS) id 15.1.225.19; Mon, 3 Aug 2015 14:52:08 +0000
Message-ID: <002401d0cdfb$758b6760$4001a8c0@gateway.2wire.net>
From: "t.petch" <ietfc@btconnect.com>
To: Andy Bierman <andy@yumaworks.com>
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>
Date: Mon, 03 Aug 2015 15:48:20 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Originating-IP: [81.151.167.91]
X-ClientProxiedBy: DB4PR05CA0004.eurprd05.prod.outlook.com (25.160.40.14) To AMXPR07MB056.eurprd07.prod.outlook.com (10.242.67.151)
X-Microsoft-Exchange-Diagnostics: 1; AMXPR07MB056; 2:02sBMYesfRtatnBo1TbI3ZJBtrcCdSvWepgt2bpCd3p7nJgU2QGNTZMKk8jk2gKTxOTiqPlVjNzDQ+S/b19TJndLJeSt312lJU2RwnzTplVTmwWXIOuwn1VKlYw6hQ46t9TvklVsgrYA6d55gT08Kh/a33WXGkAHsDgH8AEDeJY=; 3:EK+R0ouO9xT5MnGqoiTlcHbDGEVsUd3qjgQN4ZvAfDCLQ4SlqSVMjdbSc0kqwzm7O62iDbJUvJoxk/4CbLhh1lQyJxiK0GzPe1/aFoEjQZ5ldhkaC+egU8j4mShQx+4BiIFAHFRK3oNBPjsPO0aQXA==; 25:k6RSwJvFpcPKpSNC5L80T5delY5kc5GHfexE9vx4/MUiyuVV4Al71smuzs4mphkNX04GeXoajhlBfvv7tcsSBF8uQymWgxTUTQuR+K0P5cIYh663Si61y6GtwScaRdiG10ok9AfATJPCpFaZIbY2YFGTz4xyYr99YHXwZbvT3rq8LG6/0we6x+kOmCR3R5cbaDvjC7SDS8toNHSWJHE6hFEAHMIT56wfMDKPNfsUBMl194ygT3R36vVFfzMquPguHnZylikUf2RgNJ1nAkwZAQ==; 4:rj1Lu+y9TSWDEOtEfSEteJ7v8zH4TvCh5Jeo3P9w3aMmeotE3FGB0PkegKKKao6e6wkkp8HAYmH0OgM65fv1FdC4HjpJEiqmjsXjto+TE0NKaLdgoNLHy5B/pEy/VuUbRY8Krp6b7Ha7j8ns8hWrEpaV/vktTHS6eYfHOveJ/potVCVz8kpTxWwzTd4o0raxaqG31yFMMNZmw2XzAGTNqjh/fvzO8HTZ4vsfu+RRViD+UELOL/balmBchiSCbxlJQs6RpOoWJrYLaPCfTypeNK65eRUNt/jWDSQw5Xz73Hw=
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AMXPR07MB056;
X-Microsoft-Antispam-PRVS: <AMXPR07MB05612A1F59712B9A5983862A0770@AMXPR07MB056.eurprd07.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:AMXPR07MB056; BCL:0; PCL:0; RULEID:; SRVR:AMXPR07MB056;
X-Forefront-PRVS: 0657D528EC
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(377454003)(13464003)(189002)(24454002)(479174004)(164054003)(23676002)(50466002)(77096005)(86362001)(50226001)(105586002)(47776003)(64706001)(68736005)(15975445007)(106356001)(1456003)(61296003)(5820100001)(44736004)(50986999)(87976001)(81686999)(42186005)(76176999)(81816999)(1556002)(84392001)(189998001)(101416001)(66066001)(93886004)(46102003)(5001830100001)(14496001)(110136002)(77156002)(62966003)(5001960100002)(33646002)(116806002)(4001540100001)(81156007)(122386002)(5001860100001)(92566002)(40100003)(19580395003)(5001920100001)(97736004)(19580405001)(62236002)(44716002)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:AMXPR07MB056; H:pc6; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:1; LANG:en;
Received-SPF: None (protection.outlook.com: btconnect.com does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: 1;AMXPR07MB056;23:b/JvNVkm4Pb3HXEyB1EV3nFzBQpV9su+tGkYqBYg/2ZFPRhbwWbF+WUszi48L6dY0JNsOnUdvf5tJroR1QmzaXOnGPhAaxov2mjkjC+vn/jUuC5wtOkSun7YSylAQOmcjB+2IDuFYNo6YjyfEtzidLfQKK+5hifOogjAoPYgqRUUCEz7hFbvSAwtGDaVRtVQr5xRI892SxTcGUu1VsGGF4JXF73z/6+CnNh84/QCdb8BsAhbyFe/8LZEx32UpJuJhEcoKD9kX5OqLvlC3hgDIv+o+mjNHTj4BMxER4qccafcHQi1gA2iJlHwX7VF8zGFiSfMsHdx8dkvb4dpHgWl5W5pVG8wyqEyHtQC3VdwO/j4P80qluY7GSjP8nH9B9hTxFVIxYYXyVHMqrWuY0VgOA1WVoV8d4dYxd0wi0oxuXtDU3Np02rSL7xZHnHPAkou3t4oN+6pl71O8lKIvJZQFWc9hnK+k+2Fdw86OYyMVwLStJWbNucY+GariQll/Bh2OB0zFGiiBsP+T+8ojP88+Ux8hkdNDprqCGt4yrlNTETru354rb/00fLxjmJtXKdCcxqe0OstL+nP7PtJk6UmZaUo4CXKGbL0S5fc1bQ7v54XtIOnMkNrtUsGmZeNQGBXBp/N8WwFREJwiGmAaDQh4IF6mQrTeqOjmBgXBuJ/4w5D4IedOhzKsJi4CyrY0KUdHyh4cEbQHyHHKjJ1OoApJSKjUybss7g8002zjnelxfBqaq3VNAMrAW/nkp89xDWxOl2YV5kfDueYY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+83HPaGu6/JM+oNtA==
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2015 14:52:08.5999 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AMXPR07MB056
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/yx3XrhzjJr7D41_PDk9iDRNuw_o>
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 14:52:33 -0000

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

Tom Petch


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