Re: [netmod] Y34 - root node

t.petch <ietfc@btconnect.com> Mon, 03 August 2015 16:06 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 AB4741ABD38 for <netmod@ietfa.amsl.com>; Mon, 3 Aug 2015 09:06:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.301
X-Spam-Level:
X-Spam-Status: No, score=-1.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_15=0.6, SPF_HELO_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 0rRimohoFSeE for <netmod@ietfa.amsl.com>; Mon, 3 Aug 2015 09:06:14 -0700 (PDT)
Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0737.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe04::737]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D25FC1ABC10 for <netmod@ietf.org>; Mon, 3 Aug 2015 09:06:11 -0700 (PDT)
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ietfc@btconnect.com;
Received: from pc6 (81.151.167.91) by DBXPR07MB064.eurprd07.prod.outlook.com (10.242.147.24) with Microsoft SMTP Server (TLS) id 15.1.225.19; Mon, 3 Aug 2015 16:05:52 +0000
Message-ID: <03d301d0ce05$c320a800$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><002401d0cdfb$758b6760$4001a8c0@gateway.2wire.net> <CABCOCHQOosSE3B973WG1uqBjF2aoexViR3OfD9Rfo6qoHg0W6Q@mail.gmail.com>
Date: Mon, 03 Aug 2015 17:01:50 +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: DB4PR05CA0040.eurprd05.prod.outlook.com (25.160.40.50) To DBXPR07MB064.eurprd07.prod.outlook.com (10.242.147.24)
X-Microsoft-Exchange-Diagnostics: 1; DBXPR07MB064; 2:0dOGvwadhCeLMh7MnjdltXxct+Xlx1fJpgv6qEDgD+bPXUPbPffgJPujg4DpCWeGhFJtihs22TKn6/6umcLt0xTDH8C7FOXGu/y3NUAh0FB2XeLIX0JrfZ8jfBSwNJ1AzBAcRhjGb+Vq/KnTQ5nyl2TvkodcAhipj5f30LNXaDw=; 3:IxaxUS7gghvoYoTQrUNIX5GxHdESTZEMDUn0wox/Jz/e4am8hY4RlTwBe/YKBYfKhgOOwdg/VtY9aZ9AseyzVBffT0gOsfmG70czwngNsaP6LS2w57YsC9JXjdExyrWPvn5z9UKrbFfykb1ik86iJQ==; 25:wkB9qe0i2Q1DVJkogkbY8jdJ3Rq7icwOUVgAcqbHU3Hs5gLTddibR7l3NHvFcmk4q3LxtGqVXND1fNIyPpPd89Nuc7dgitSGFVs1c213ZZuwCHxZLI59q9soo9ZSmL+20I6dTB/+JmNGVPiOSaOqPknHBq2+19BqEAR6rNNW63Fs5ah3h9kfLC1OgFHiK/muWpYzEC3PizBGd44vUqPKHII3k3IekBLRH5wFwTDvX4VcOQHbdLVEObaSxVSbBVAYsBhtcI/kubTsUEWIwZ77nA==; 4:NUZeT9Z7zjEZVwwcYrSpYQsizKFLduvU9mdE5T7Qn0rN8mOGc3e/BY11yIyaTqMxnyDHdiGLotOM1zFVtgp7N/ZuN0cQd0s/nca2VVWCarkmxeUbptj23S6qHcrVzUrWPZ91OxD+8oPlQazgYEjtBCrBbD39MpvWTO7YryaVKli75q08xvRLYutCwziD8QwtMzlu/Ja5g1ujFk4vvoGWA6JwFVseWSYC5LCvlnAbC+1FrKGpOjG5y075TZZ0ZxEKyctLQEsQ5DvjoRXLc3vF/I/iwvQDgOENus6fOvAOJMc=
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DBXPR07MB064;
X-Microsoft-Antispam-PRVS: <DBXPR07MB064EAA8BF6F1436D8A83E16A0770@DBXPR07MB064.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:DBXPR07MB064; BCL:0; PCL:0; RULEID:; SRVR:DBXPR07MB064;
X-Forefront-PRVS: 0657D528EC
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(189002)(164054003)(479174004)(13464003)(377454003)(24454002)(106356001)(68736005)(77096005)(105586002)(15975445007)(1556002)(86362001)(116806002)(87976001)(84392001)(1456003)(92566002)(93886004)(81816999)(50986999)(5001960100002)(76176999)(81686999)(62236002)(44716002)(23676002)(101416001)(189998001)(5001860100001)(50466002)(97736004)(5001830100001)(110136002)(81156007)(4001540100001)(50226001)(42186005)(44736004)(61296003)(19580405001)(19580395003)(64706001)(47776003)(66066001)(46102003)(5820100001)(77156002)(62966003)(33646002)(14496001)(40100003)(122386002)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:DBXPR07MB064; 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;DBXPR07MB064;23:1QS7EBz3AD3Z//poPiTkcHmatXtr9YK8WRHoW7I7l8CiwY6kl4I5j6sA1l00HEcgUDbk9exUEnZ65WKKJ/15HhQJgJNCHyQzxBRrBxcwcDTw0WnjwBFLhH0hD8tT0fYMJ6v5YM2SVkOu9ibWIN0jGrSuImxV1nI4zDOWdo5Ml8RCzTb+tCuyd51U4Cp1VVCcdXRaNrKGybgXo3JMuQRsLc4jMdyT5fg7c9Omx56+Z0S2NedrjCg5xeCD9pxziCvetne34w6blio62Yb0aDBIK3uA5miZcdf3E0IYrKIRXru7xIh2iMlfYEXVlwCzXi65/NYGA2TwhlpxrJPFKU0TgGoFkU0MdybabC/crlGSzSdL7ERWM+wQdNh5qJKeEtH9axjoXsrDvIkvDW4ixp0+OQFJgyqOj3B4Zi60Cbib+BVcKrfsQcm6iM1kn+IG4T4nrjju+fmg/4nTeBDsmi7ozXFIbDk9dOVDk6nTZgSBXyU/ZD0qxyYV83Nb/+hPgFRvKcjExUCXzabXJ6KVLwDCzO2yqRVwGlSvV36E2kTMRT/0OAkMC9gmaapC/6YBKeuMo2pNotVHviOOw1/0cGOdfxU0ybMgTkOoH7Va8JkW0t+MkUKe6ixVZU7Z9yYN8EYEJ/pkTtKAxHKPulTvh4tCakkRSjq/nrU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jI7WCCsnYUv48iQ6lS3jjSVt5FjR0R6FfmSpt/Cc4AJm3f31iRZXPdanzAhbg==
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2015 16:05:52.6521 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR07MB064
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/rfkM33LlHyVMATGZC5q_Sfar2Rs>
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 16:06:17 -0000

----- Original Message -----
From: "Andy Bierman" <andy@yumaworks.com>
To: "t.petch" <ietfc@btconnect.com>
Cc: "NETMOD Working Group" <netmod@ietf.org>
Sent: Monday, August 03, 2015 4:10 PM

On Mon, Aug 3, 2015 at 7:48 AM, t.petch <ietfc@btconnect.com> wrote:

> ----- Original Message -----
> From: "Andy Bierman" andy@yumaworks.com
> Sent: Saturday, August 01, 2015 7:05 PM
> 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.

<tp>

Thanks for that.

It seems to me that much of the extensive discussion on Y34 (all of
which I have read) is as much political as technical, that is SMI is
hierarchical, top down, perhaps befitting its origins in ISO, whereas
YANG is bottom up. IETF-like.  YANG could have had a single tree, but
doesn't.  So when I read

https://www.ietf.org/id/draft-openconfig-netmod-model-structure-00.txt

I see a plea for a more hierarchical organisation, and when I read

draft-bjorklund-netmod-openconfig-reply-00

I see a response that says we are not like that.

If so, I doubt that there ever will be a technical solution.

And I am mindful that when I configure routing in a (Cisco) router, I
have to do some of it under the interface definitions and some of it
under the definition of the routing protocol.  Which is life, never
wholy interface-centric and never wholy routing protocol-centric!

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