Re: [Rtg-yang-coord] naive question ??

t.petch <ietfc@btconnect.com> Wed, 11 February 2015 12:51 UTC

Return-Path: <ietfc@btconnect.com>
X-Original-To: rtg-yang-coord@ietfa.amsl.com
Delivered-To: rtg-yang-coord@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E20761A8880 for <rtg-yang-coord@ietfa.amsl.com>; Wed, 11 Feb 2015 04:51:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 TvMxzfE3KUtk for <rtg-yang-coord@ietfa.amsl.com>; Wed, 11 Feb 2015 04:51:24 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0730.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe00::730]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4E3481A888C for <Rtg-yang-coord@ietf.org>; Wed, 11 Feb 2015 04:51:24 -0800 (PST)
Received: from DB3PR07MB059.eurprd07.prod.outlook.com (10.242.137.149) by DB3PR07MB0524.eurprd07.prod.outlook.com (25.160.44.16) with Microsoft SMTP Server (TLS) id 15.1.87.18; Wed, 11 Feb 2015 12:46:24 +0000
Received: from pc6 (81.151.167.59) by DB3PR07MB059.eurprd07.prod.outlook.com (10.242.137.149) with Microsoft SMTP Server (TLS) id 15.1.81.19; Wed, 11 Feb 2015 12:46:23 +0000
Message-ID: <01d201d045f8$82b5c1a0$4001a8c0@gateway.2wire.net>
From: t.petch <ietfc@btconnect.com>
To: "Thomas D. Nadeau" <tnadeau@lucidvision.com>, Loa Andersson <loa@pi.nu>
References: <54D34B47.1050507@pi.nu> <D907FC42-80C2-48EB-B756-8F19195ECF39@lucidvision.com>
Date: Wed, 11 Feb 2015 12:44:34 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
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.59]
X-ClientProxiedBy: DB4PR03CA0011.eurprd03.prod.outlook.com (25.160.39.149) To DB3PR07MB059.eurprd07.prod.outlook.com (10.242.137.149)
Authentication-Results: lucidvision.com; dkim=none (message not signed) header.d=none;
X-Microsoft-Antispam: UriScan:;UriScan:;
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DB3PR07MB059;
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:DB3PR07MB059;
X-Forefront-PRVS: 0484063412
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(51704005)(377454003)(252514010)(24454002)(13464003)(19580405001)(19580395003)(87976001)(50226001)(61296003)(44736004)(42186005)(40100003)(116806002)(33646002)(122386002)(230783001)(46102003)(47776003)(44716002)(77156002)(62966003)(66066001)(77096005)(86362001)(81816999)(81686999)(76176999)(50986999)(23756003)(50466002)(15975445007)(1456003)(92566002)(74416001)(7726001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB3PR07MB059; H:pc6; FPR:; SPF:None; MLV:sfv; LANG:en;
X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:;SRVR:DB3PR07MB059;
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2015 12:46:23.7633 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR07MB059
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DB3PR07MB0524;
X-OriginatorOrg: btconnect.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/5ZYbxI9p2DLjw8AI7o_N-T9kEPs>
Cc: Rtg-yang-coord@ietf.org
Subject: Re: [Rtg-yang-coord] naive question ??
X-BeenThere: rtg-yang-coord@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "\"List to discuss coordination between the Routing related YANG models\"" <rtg-yang-coord.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtg-yang-coord/>
List-Post: <mailto:rtg-yang-coord@ietf.org>
List-Help: <mailto:rtg-yang-coord-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Feb 2015 12:51:28 -0000

---- Original Message -----
From: "Thomas D. Nadeau" <tnadeau@lucidvision.com>
To: "Loa Andersson" <loa@pi.nu>
Cc: <Rtg-yang-coord@ietf.org>
Sent: Thursday, February 05, 2015 12:27 PM
>
> > On Feb 5, 2015:5:51 AM, at 5:51 AM, Loa Andersson <loa@pi.nu> wrote:
> >
> > I have what might be a naive question.
> >
> > People have told me that in Yang we want to separate functionality
from
> > technology, i.e. we will look at OAM, management, routing, signaling
> > and traffic engineering as aggregate functions and build our tree
based
> > on that.
> >
> > Now if we are to model thing that are closely related e.g. MPLS OAM,
> > signaling, routing and traffic engineering, does that mean that we
have
> > to work at separate pieces of the yang tree and repeat this for
every
> > piece of the technology?
>
> I think you can do a model dedicated to MPLS OAM.  The analogy is
> pretty much similar to how MIBs are created. You can import bits or
> objects from all over the place to create things, or you can recreate
them
> in place.   There is a trade-off about modularity versus
time-to-completion
> here and I very much am not in favor of being zealous one way or the
other.
>
> We also need to very much take an iterative process around these
models:
> they are not set in stone, and we should iterate on them to modify,
adapt
> and update them as necessary.  With that in mind, we've been
encouraging people to
> just starting writing them as best as possible and implementing either
prototype
> code or actually putting them into products so that we can see how
they actually
> operate in the wild.

Loa

I do not think the question naive, but I do think it a management
question, rather than a technical one.  And as a wise consultant kept
reminding me (the consumate technician:-), there are management
solutions to technical problems but never technical solutions to
management ones.

Like structuring and restructuring IETF working groups, there are many
ways to make it work but it is about management, not technology (or
functionality).  So I would prefer a YANG module that matches the skills
of a Working Group, not needing cross-WG review.

I think that the problem with MIB Modules was and is a lack of knowledge
of management in general and of SNMP in particular, within any working
group (e.g. IDR) and that is likely to be true with YANG but at least a
WG should be familiar with the technology and have a sense of which
elements to include in a data or information model, even if the WG lacks
the skills to turn it into YANG.

SNMP does have conformance which made it possible to create the one MIB
Module with basic, intermediate and advanced subsets.  YANG lacks that
but has if-feature which I see as complicated, easy to get wrong both in
terms of getting the statement correct with respect to the logic that
has been agreed, and in choosing when to use it or not.  (A bit like
novice programmers who learn that when two or three statements appear
more than once, they can be replaced by a procedure or function, making
the code shorter and harder to understand and maintain).  I suspect that
if-feature is much over-used and that the cost of that will become
apparent in a few years time.

Tom Petch

> --Tom
>
>
> > First, is this correctly understood or do I have to go back and
discuss
> > this again with the people proposing it?
> >
> > If it is correct why is it superior to what we did for SNMP, one
MIB-module for each protocol?
> >
> > Are the decisions taken or is the jury still out?
> >
> > /Loa
> > --
> >
> >
> > Loa Andersson                        email: loa@mail01.huawei.com
> > Senior MPLS Expert                          loa@pi.nu
> > Huawei Technologies (consultant)     phone: +46 739 81 21 64
> >
> > _______________________________________________
> > Rtg-yang-coord mailing list
> > Rtg-yang-coord@ietf.org
> > https://www.ietf.org/mailman/listinfo/rtg-yang-coord
> >
>
> _______________________________________________
> Rtg-yang-coord mailing list
> Rtg-yang-coord@ietf.org
> https://www.ietf.org/mailman/listinfo/rtg-yang-coord
>