Re: [Rtg-yang-coord] Taxonomy of YANG models

Qin Wu <bill.wu@huawei.com> Fri, 16 January 2015 04:50 UTC

Return-Path: <bill.wu@huawei.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 BD1CE1A9240 for <rtg-yang-coord@ietfa.amsl.com>; Thu, 15 Jan 2015 20:50:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.16
X-Spam-Level:
X-Spam-Status: No, score=-1.16 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_38=0.6, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 2JHQmRHhi8Rk for <rtg-yang-coord@ietfa.amsl.com>; Thu, 15 Jan 2015 20:50:43 -0800 (PST)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 69CC21A923D for <rtg-yang-coord@ietf.org>; Thu, 15 Jan 2015 20:50:42 -0800 (PST)
Received: from 172.18.7.190 (EHLO lhreml404-hub.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BRK13706; Fri, 16 Jan 2015 04:50:39 +0000 (GMT)
Received: from NKGEML406-HUB.china.huawei.com (10.98.56.37) by lhreml404-hub.china.huawei.com (10.201.5.218) with Microsoft SMTP Server (TLS) id 14.3.158.1; Fri, 16 Jan 2015 04:50:38 +0000
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.169]) by nkgeml406-hub.china.huawei.com ([10.98.56.37]) with mapi id 14.03.0158.001; Fri, 16 Jan 2015 12:50:33 +0800
From: Qin Wu <bill.wu@huawei.com>
To: Dean Bogdanovic <deanb@juniper.net>
Thread-Topic: [Rtg-yang-coord] Taxonomy of YANG models
Thread-Index: AdAv5qA+kNZmT4o1RDmqZvRRQIG18QBIaoSAAA9l4LA=
Date: Fri, 16 Jan 2015 04:50:33 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA846A0E30@nkgeml501-mbs.china.huawei.com>
References: <B8F9A780D330094D99AF023C5877DABA846A04EC@nkgeml501-mbs.china.huawei.com> <FEBEE603-6835-4CB4-9BB7-A4F0967FE6AD@juniper.net>
In-Reply-To: <FEBEE603-6835-4CB4-9BB7-A4F0967FE6AD@juniper.net>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.138.41.180]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA846A0E30nkgeml501mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/5oWoXm9O3ctbfM7csRMn7qdoLXk>
Cc: "rtg-yang-coord@ietf.org" <rtg-yang-coord@ietf.org>, David Sinicrope <david.sinicrope@ericsson.com>
Subject: Re: [Rtg-yang-coord] Taxonomy of YANG models
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: Fri, 16 Jan 2015 04:50:46 -0000

Hi, Dean:
发件人: Dean Bogdanovic [mailto:deanb@juniper.net]
发送时间: 2015年1月16日 5:15
收件人: Qin Wu
抄送: rtg-yang-coord@ietf.org; David Sinicrope
主题: Re: [Rtg-yang-coord] Taxonomy of YANG models

Qin,

I highly agree that classification is needed.

[Qin]: Thanks.

Have few questions for you:

What you have listed is more a nomenclature then taxonomy/classification

Is your goal to achieve classification within routing area or across IETF?

[Qin]: The goal is more focusing on the former. That’s why we classify non-routing related models into Miscellaneous topic group.
In addition, not all yang related drafts are about YANG data model, so we can categorize yang related drafts into several parts:
o a. YANG Model
o b. YANG Language
o c. NETCONF Protocol extension
o d. YANG Guideline
o e. NETCONF Usage
o f. NETCONF Architecture

For the classification, I would suggest to classify models broadly into
config
and
service models

[Qin]: Interesting proposal, I think I classify these models more from routing area perspective while you classify models more from configuration management perspective.
I am wondering how config model and service model are related to device model, it looks we have service configuration, network configuration and device configuration, so
Is service model about service configuration model? If not, how service model is different from config model?

Config models can be classified into standard and vendor proprietary models and service models can be classified into service components and service model.

Example
BGP config model

There is a common standard BGP config model and proprietary vendor model.

Service component is functional BGP config needed for a service, like Pseudowire MPLS L2VPN, which would be service model.

[Qin]: my understanding is service model should use config model or core confgi model as basis.

Once we can agree on such classification, we can discuss as next step hierarchical tree for models based on the above classification.

Dean
P.S. I'm in process of writing draft that explains to more details data model classification as above

[Qin]: Great, I am happy to review and contribute.

On Jan 14, 2015, at 5:41 AM, Qin Wu <bill.wu@huawei.com<mailto:bill.wu@huawei.com>> wrote:


Hi,
David and I talked about taxonomy of YANG model recently. I have applied such kind of taxonomy to the YANG models Summary table available at:
https://trac.tools.ietf.org/area/rtg/trac/wiki/RtgYangCoordSummary#<https://trac.tools.ietf.org/area/rtg/trac/wiki/RtgYangCoordSummary>
e.g., we classify models in the summary table into several topic groups:
*  Topic Groups:
o a. IP ROUTING (Core routing, ISIS, OSPF,etc)
o b. MPLS (MPLS-TE, MPLS-TP, GMPLS,LDP,etc)
o c. Traffic Engineering (RSVP-TE, ISIS-TE, OSPF-TE,PCEP, etc)
o d. Data Plane Encapsulation (NVO3, SFC,Softwire,L2TPEXT)
o e. Service (IP VPN, ETH VPN, PW Service,etc)
o f. I2RS (RIB, Topo,etc)
o g. OAM (LIME, BFD, TRILL OAM, MPLS OAM,etc)
o h. Miscellaneous (QoS, ACL, SYSLOG, SNMP,etc)
We believe the taxonomy of YANG models is important and but needs more discussion on the list. Let us know if this Topic Group classification makes sense to you or you have any other input or correction.
Regards!
-Qin&David


_______________________________________________
Rtg-yang-coord mailing list
Rtg-yang-coord@ietf.org<mailto:Rtg-yang-coord@ietf.org>
https://www.ietf.org/mailman/listinfo/rtg-yang-coord