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

Dean Bogdanovic <deanb@juniper.net> Fri, 16 January 2015 06:47 UTC

Return-Path: <deanb@juniper.net>
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 11D981AC3A1 for <rtg-yang-coord@ietfa.amsl.com>; Thu, 15 Jan 2015 22:47:18 -0800 (PST)
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, HTML_MESSAGE=0.001, J_CHICKENPOX_38=0.6, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, 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 dnTebCemSb9Q for <rtg-yang-coord@ietfa.amsl.com>; Thu, 15 Jan 2015 22:47:15 -0800 (PST)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0141.outbound.protection.outlook.com [65.55.169.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 240781ABC0F for <rtg-yang-coord@ietf.org>; Thu, 15 Jan 2015 22:47:15 -0800 (PST)
Received: from BN1PR05MB422.namprd05.prod.outlook.com (10.141.58.142) by BN1PR05MB170.namprd05.prod.outlook.com (10.255.205.22) with Microsoft SMTP Server (TLS) id 15.1.53.17; Fri, 16 Jan 2015 06:47:13 +0000
Received: from BN1PR05MB424.namprd05.prod.outlook.com (10.141.58.148) by BN1PR05MB422.namprd05.prod.outlook.com (10.141.58.142) with Microsoft SMTP Server (TLS) id 15.1.59.20; Fri, 16 Jan 2015 06:47:11 +0000
Received: from BN1PR05MB424.namprd05.prod.outlook.com ([169.254.8.161]) by BN1PR05MB424.namprd05.prod.outlook.com ([169.254.8.161]) with mapi id 15.01.0059.007; Fri, 16 Jan 2015 06:47:11 +0000
From: Dean Bogdanovic <deanb@juniper.net>
To: Qin Wu <bill.wu@huawei.com>
Thread-Topic: [Rtg-yang-coord] Taxonomy of YANG models
Thread-Index: AdAv5qA+kNZmT4o1RDmqZvRRQIG18QBIaoSAAA9l4LAABJcvgA==
Date: Fri, 16 Jan 2015 06:47:11 +0000
Message-ID: <4EF5DBF0-1608-426E-BE41-2422C7A67216@juniper.net>
References: <B8F9A780D330094D99AF023C5877DABA846A04EC@nkgeml501-mbs.china.huawei.com> <FEBEE603-6835-4CB4-9BB7-A4F0967FE6AD@juniper.net> <B8F9A780D330094D99AF023C5877DABA846A0E30@nkgeml501-mbs.china.huawei.com>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA846A0E30@nkgeml501-mbs.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.1510)
x-originating-ip: [66.129.241.12]
authentication-results: spf=none (sender IP is ) smtp.mailfrom=deanb@juniper.net;
x-dmarcaction-test: None
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(3005004); SRVR:BN1PR05MB422; UriScan:;
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:;SRVR:BN1PR05MB422;
x-forefront-prvs: 04583CED1A
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(189002)(37854004)(199003)(377454003)(24454002)(230783001)(110136001)(66066001)(76176999)(50986999)(16236675004)(50226001)(46102003)(86362001)(64706001)(82746002)(15975445007)(19617315012)(2900100001)(16601075003)(99286002)(68736005)(102836002)(19580405001)(19580395003)(105586002)(33656002)(92566002)(2656002)(40100003)(87936001)(561944003)(77156002)(62966003)(106356001)(2950100001)(83716003)(101416001)(122556002)(36756003)(97736003)(170073001)(104396002); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR05MB422; H:BN1PR05MB424.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
Content-Type: multipart/alternative; boundary="_000_4EF5DBF01608426EBE412422C7A67216junipernet_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jan 2015 06:47:11.0379 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR05MB422
X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN1PR05MB170;
X-OriginatorOrg: juniper.net
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/GHuAxqSMFgZk9vWajXS8IuMG5cI>
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 06:47:18 -0000

Hi Qin,

On Jan 15, 2015, at 11:50 PM, Qin Wu <bill.wu@huawei.com<mailto:bill.wu@huawei.com>> wrote:

Hi, Dean:
7"<~HK: Dean Bogdanovic [mailto:deanb@juniper.net<http://juniper.net>]
7"KMJ1: 2015Dj1TB16HU 5:15
JU<~HK: Qin Wu
3-KM: rtg-yang-coord@ietf.org<mailto:rtg-yang-coord@ietf.org>; David Sinicrope
VwLb: 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

Sorry for not being clear. I was referring only to YANG models, not to other topics you listed.


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?

the device model is the superset and then each next model is subset of the previous layer. The device or proprietary vendor config model contains all the supported features. The standard config model contains a common subset between proprietary config models. Service components are using parts on the standard and/or proprietary config models and service components are used to build the network service 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.

Yes, that is correct

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