[netmod] 答复: yang model classification

"zhangyali (D)" <zhangyali369@huawei.com> Fri, 22 April 2016 02:44 UTC

Return-Path: <zhangyali369@huawei.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 64D1A12EBBC for <netmod@ietfa.amsl.com>; Thu, 21 Apr 2016 19:44:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.217
X-Spam-Level:
X-Spam-Status: No, score=-5.217 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 7cU9SZjlhTU8 for <netmod@ietfa.amsl.com>; Thu, 21 Apr 2016 19:44:01 -0700 (PDT)
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 EC82112EA6B for <netmod@ietf.org>; Thu, 21 Apr 2016 19:44:00 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml707-cah.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id CID61557; Fri, 22 Apr 2016 02:43:58 +0000 (GMT)
Received: from SZXEML424-HUB.china.huawei.com (10.82.67.153) by lhreml707-cah.china.huawei.com (10.201.5.199) with Microsoft SMTP Server (TLS) id 14.3.235.1; Fri, 22 Apr 2016 03:43:55 +0100
Received: from SZXEML513-MBX.china.huawei.com ([169.254.7.184]) by SZXEML424-HUB.china.huawei.com ([10.82.67.153]) with mapi id 14.03.0235.001; Fri, 22 Apr 2016 10:43:47 +0800
From: "zhangyali (D)" <zhangyali369@huawei.com>
To: "Carl Moberg (camoberg)" <camoberg@cisco.com>
Thread-Topic: [netmod] yang model classification
Thread-Index: AdGbgcIYpno5OLJvT8SJoe69YiZ7/wAACX2AABJ8NoAACjqu8P//vW0A//8tEkA=
Date: Fri, 22 Apr 2016 02:43:48 +0000
Message-ID: <A747A0713F56294D8FBE33E5C6B8F58135F16B8A@szxeml513-mbx.china.huawei.com>
References: <A747A0713F56294D8FBE33E5C6B8F58135F161A3@szxeml513-mbx.china.huawei.com> <A747A0713F56294D8FBE33E5C6B8F58135F161BB@szxeml513-mbx.china.huawei.com> <89464A41-4084-4CB8-92A0-88335B2B69B1@cisco.com> <A747A0713F56294D8FBE33E5C6B8F58135F16344@szxeml513-mbx.china.huawei.com> <5420574D-7C27-45A5-BDE0-C4B6E9FDA678@cisco.com>
In-Reply-To: <5420574D-7C27-45A5-BDE0-C4B6E9FDA678@cisco.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.111.104.182]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.57198FEF.0061, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=169.254.7.184, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32
X-Mirapoint-Loop-Id: fd72970ef93372eee588630b56be189d
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/hmbgzwDGlcJllynyiFB26rtbbhI>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: [netmod] 答复: yang model classification
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
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: Fri, 22 Apr 2016 02:44:04 -0000

Hi Carl,

Indeed, there is unclear functional partitioning between orchestrator and controller. So let's go back to the division of network element yang model and service yang model.

In my view, element yang model should be the detailed configuration for one device, such as, mtu, hop-limit,etc. But service model should be a largescale description, such as, the endpoints in the VPN. But sometimes, many configurations yang model include many devices' configuration or do not distinguish which devices are configured. So could you give me some more specific method to classify them? Maybe the draft [draft-tran-ipsecme-yang-01] is a good example.

Best,
Yali

-----邮件原件-----
发件人: Carl Moberg (camoberg) [mailto:camoberg@cisco.com] 
发送时间: 2016年4月21日 16:41
收件人: zhangyali (D)
抄送: netmod@ietf.org
主题: Re: [netmod] yang model classification

> On Apr 21, 2016, at 10:30 AM, zhangyali (D) <zhangyali369@huawei.com> wrote:
> 
> Hi Carl,
> 
> Thanks for your answers very much. From your explanation, the main view is that do not distinguish the difference between network level and service level model, which all called "network service model", right?
> If so, the question is that how these "same layer" model could be used in the layered architecture, such as, there are orchestrator layer, controller layer and device layer? In my understanding, the NBI of orchestrator should not include any technology details which should exist in the NBI of controller. The orchestrator will complete the mapping from NBI of orchestrator to NBI of controller.

 The view of this varies wildly across standards bodies, open source projects, vendors and many other entities involved. I.e. most orchestrators do leak technology details and NBIs of controllers contain abstractions above the network level.

> Let's take L2VPN as a example. In the NBI of orchestrator, the yang model just need express necessary information of L2VPN, such as, sites information and topology between sites. For the NBI of controller, the yang model may be some technology solutions, such as, VPLS, VPWS, etc. The orchestrator will choose one or some solutions depends on users' requirement. Then the controller will complete the network element configuration (using network element yang model ) according to technology solutions chosen by orchestrator.

 That is absolutely one way of looking (and perhaps even implementing) it, among several others. In this case, and under the suggested classification in the document, both the controller and orchestrator models would be examples of Network Service YANG Data Models with different abstraction levels.

> Though I am not sure if the process is suitable, the service model and network model are difference which are used in different places. Any comments?

 Above.

> 
> Best,
> Yali
> 
> -----邮件原件-----
> 发件人: Carl Moberg (camoberg) [mailto:camoberg@cisco.com] 
> 发送时间: 2016年4月21日 15:47
> 收件人: zhangyali (D)
> 抄送: netmod@ietf.org
> 主题: Re: [netmod] yang model classification
> 
> Yali,
> 
>> On Apr 21, 2016, at 6:03 AM, zhangyali (D) <zhangyali369@huawei.com> wrote:
>> 
>> Hi all,
>> 
>> I noticed that there is a draft intents to classify the various yang model, it is really a meaningful work. Many points are consistent with my understanding, whereas, there are some questions unclear need to inquire.
>> 
>> 1.       Why VPLS and VPWS are all service model, which is at the same level with L3VPN? In my understanding, L3VPN is a typical service model which hides the underlay network, but both VPLS and VPWS is specific technology solutions. Maybe a uniform L2VPN which abstracts service information from all layer2 technologies more like service model.
> 
> Section 2.1 goes to some length to describe that there are various types of Network Service YANG Data Models at various levels of abstractions. This means that both generic models (e.g. a technology agnostic L3 VPN model) and more implementation-oriented models (e.g. VPLS) would be classified as Network Service YANG Data Models without being at the exact same level of abstraction.
> 
>> 2.       What is the layer of technology solutions, such as, VxLAN, GRE, VPLS, etc?
> 
> If you are talking about VxLAN, GRE, VPLS configuration and operational parameters residing on a device, then it’s Network Element YANG Data models. If you’re talking about VxLAN, GRE, VPLS configuration and operational parameters as part of an "abstract model that allows instances o the service to be decomposed into instance data according to the Network Element data models of the participating network elements”, then it would be classified as a Network Service YANG Data Models. 
> 
>> 3.       In TMN M.3010, network model also a particular layer, should specific yang model cover this layer?
> 
> I have done some reading on M.3010 and believe we are well aligned in the draft. The network model would be classified ad as Network Service YANG Data Model.
> 
>> Best Regards,
>> Yali
>> 
>> _______________________________________________
>> netmod mailing list
>> netmod@ietf.org
>> https://www.ietf.org/mailman/listinfo/netmod
>