Re: [netmod] 答复: [CCAMP] 802.3 Ethernet YANG (802.3cp) and IETF overlap

Robert Wilton <rwilton@cisco.com> Thu, 23 March 2017 14:59 UTC

Return-Path: <rwilton@cisco.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 C67FF120727; Thu, 23 Mar 2017 07:59:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 XwTZYq8lNYcL; Thu, 23 Mar 2017 07:59:22 -0700 (PDT)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0466712025C; Thu, 23 Mar 2017 07:59:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=29124; q=dns/txt; s=iport; t=1490281161; x=1491490761; h=subject:to:references:from:cc:message-id:date: mime-version:in-reply-to; bh=UdrcNXMlcTU8EMf7JhFqHWVX8JNRCSLPdjVuRfTgu3I=; b=TDQXAg2ZqgFqM1a1TCTCSggA8mB8dBrh6Lt+VsgJORm4weHUyqTBkOPo P9qWbr+QhAK/KmLPuagisN323A/J3iIUrD6Hqwx2YLWBC6wmDTnzucIyv 7uczt4SkCp/uLlh3e0gb/234Z/bNYh5ziecE9xkS3Xf0v9zYNMbPWeoiu M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DsAQCy4dNY/xbLJq1dGQEBAQEBAQEBAQEBBwEBAQEBgm45gQuBC4Niig9zkD0fkzqCD4IOKoV4AoNUGAECAQEBAQEBAWsohRUBAQEBAgEjCkUHBQsJAhggBwMCAkYRBgEJAwYCAQEViWUIDo0HnVuCJiuKEwEBAQEBAQEBAQEBAQEBAQEBAQEBARgFhk6CBQiBWYEJhCYRAQJQglCCXwWJI4Y7jHeGe4tPilmGVotPiBMfOD4+CCQWCBcVhRYgMoExQDWHW4IuAQEB
X-IronPort-AV: E=Sophos;i="5.36,210,1486425600"; d="scan'208,217";a="693195630"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Mar 2017 14:59:18 +0000
Received: from [10.63.23.130] (dhcp-ensft1-uk-vla370-10-63-23-130.cisco.com [10.63.23.130]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id v2NExIj4014561; Thu, 23 Mar 2017 14:59:18 GMT
To: Fatai Zhang <zhangfatai@huawei.com>, "netmod@ietf.org" <netmod@ietf.org>, "ccamp@ietf.org" <ccamp@ietf.org>
References: <59ea5342-0973-8f12-7d9a-27154cf42d80@cisco.com> <F82A4B6D50F9464B8EBA55651F541CF8AB4F71F7@DGGEML501-MBX.china.huawei.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <89c90309-9870-7cd5-ed7c-d44ac09c646a@cisco.com>
Date: Thu, 23 Mar 2017 14:59:17 +0000
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
MIME-Version: 1.0
In-Reply-To: <F82A4B6D50F9464B8EBA55651F541CF8AB4F71F7@DGGEML501-MBX.china.huawei.com>
Content-Type: multipart/alternative; boundary="------------7DCE83EAEF471DE8C136BC85"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/npsed-lVdYvzGfk3zQ5XGWdaYEw>
Subject: Re: [netmod] 答复: [CCAMP] 802.3 Ethernet YANG (802.3cp) and IETF overlap
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: Thu, 23 Mar 2017 14:59:25 -0000

Hi Fatai,

Thanks for the comments/review.

Sorry, one correction in my email.  The 802.3 YANG project is only 
802.3cf.  Sometimes I have managed to mangle the name together with the 
802.1 YANG project (802.1cp) ...


On 23/03/2017 03:51, Fatai Zhang wrote:
>
> Hi Rob,
>
> Thanks for sharing the information.
>
> I think you are talking about two types of Yang models, one is 
> Ethernet specific statistics, and the other one is Power over Ethernet.
>
We are trying to convert various MIBs that contain Ethernet related 
functionality to YANG.  Generally the MIBS were defined in IETF. Some of 
them have been transferred to IEEE for ownership.

In the process of converting the content from MIBs to YANG we are taking 
the opportunity to refine the contents to better meet current 
requirements.  E.g. CSMA/CD collision counters are generally not of 
relevance on any current Ethernet hardware.

> If my understanding is correct, I think your proposals are that some 
> part of each of them should be defined in 802.3cp or 802.3cf, and the 
> left part of each of them should be defined in IETF.
>
Basically, yes, that is correct.


> I am a little concerned that how people can distinguish and judge 
> which part (e.g., of Ethernet specific statistics or Power over 
> Ethernet) should be defined in IEEE or IEFT?
>
A lot of the 802.3 Ethernet specification concerns functionality that is 
baked into the hardware.  The 820.3 specification defines (via Clause 
30) an internal management API for configuration and retrieval of 
operational parameters from the hardware.

So, the 802.3cf plan is that all of the Ethernet related parts of YANG, 
or MIB, modules that just represent the values defined in clause 30 are 
expected to published as part of the 802.3 Ethernet YANG modules.

However, 802.3cf do not want their standard YANG models to map to 
parameters that are not covered by clause 30 (excepting a few more 
obvious omissions) because that might mean that the YANG module cannot 
be fully supported by current devices (e.g. if they don't have the 
actual hardware present to provide the necessary counters).

So, the proposal is that some parts of the Ethernet statistics get 
standardized in IETF instead (probably via NETMOD).

Concretely, my desire is for the following bits would be standardized in 
IETF:
   1) Histogram packet statistics (from RMON) (because vendors often 
support Ethernet frames up to 9k bytes, but the formal 802.3 
specification only goes up to 2k).  To be added to 
draft-ietf-netmod-intf-ext-yang-04
   2) Some counters that more generally apply to Ethernet-like 
interfaces (e.g. LAG, IRB, or Pseudo-wire head-end interfaces). This 
would include the number of packets dropped because they don't match the 
destination MAC address filter.  To be added to 
draft-ietf-netmod-intf-ext-yang-04.
   3) The parts of power management that relate to power supplies rather 
than Ethernet interfaces.  Yan has submitted a draft to NETMOD for this, 
draft-zhuang-netmod-yang-poe-management-01.  I've not reviewed this 
draft yet, but it may be that it should augment the entity YANG model 
(draft-ietf-netmod-entity-03).



> For example, regarding Ethernet specific statistics, how people can 
> exactly know which information could be better co-located in 802.3cp 
> and which don’t  relate to 802.3?
>
> I think different people might have different understanding and then 
> it will bring confusion to the industry.
>
Possibly this will be true, but once these base models are standardized, 
I'm not sure that they are likely to evolve particularly quickly.  I 
would think that if the work is being done in 802.3 then any associated 
YANG would be standardized there, similarly for IETF.

> How about allow IETF define Yang models for everything of Ethernet 
> specific statistics since RMON MIB was already defined by IETF and 
> IEEE define Yang models for everything of Power over Ethernet (since 
> ownership already transferred to 802.3)?  I personally think this 
> simple approach could make our life easier, J
>
I think that this approach may hit some of the issues above 
(particularly the relationship to hardware and clause 30 registers).

Thanks,
Rob


> Just some loud thinking…
>
> Thanks
>
> Fatai
>
> *发件人:*CCAMP [mailto:ccamp-bounces@ietf.org] *代表 *Robert Wilton
> *发送时间:*2017年3月22日23:21
> *收件人:*netmod@ietf.org; ccamp@ietf.org
> *主题:*[CCAMP] 802.3 Ethernet YANG (802.3cp) and IETF overlap
>
> Hi,
>
> I'm participating in the 802.3 task force (802.3cf) to produce 
> standard YANG models for Ethernet interfaces and protocols covered by 
> the IEEE 802.3 Ethernet Working Group.
>
> As part of my involvement with that group, I want to highlight a 
> couple of issues that arose in that forum that may be of interest to 
> various WGs in IETF.
>
> This email, and accompanying slides, represents my personal views, and 
> do not represent any formal IEEE position.  However, both this email 
> and the accompanying slides have been reviewed in an 802.3cf task 
> force meeting, and there were no objections to the content, or my 
> sending of this email to IETF.
>
> I also raised these issues (with an earlier set of slides) as part of 
> the IETF/IEEE liaison meeting on 31st January, and the consensus was 
> generally supportive of this approach, with the agreed next steps to 
> contact the NETMOD and CCAMP chairs, which I have done, and the WGs 
> (hence this email):
>
> As part of that YANG modelling work, there is an aim to define a clean 
> boundary of what manageability data should be specified within 802.3 
> and what belongs outside the 802.3 specifications.
>
> The definition that the task force is converging on is that everything 
> related to Ethernet, covered by 802.3, that can be expressed in terms 
> of the 802.3 clause 30 manageability definitions, should be modeled in 
> 802.3.  I.e. broadly everything that is covered by 802.3.1 today.  But 
> any manageability information that cannot be related to clause 30 
> definitions should be specified outside of 802.3.  Note, where 
> appropriate, additional clause 30 definitions may be added to fix any 
> mistakes or glaring gaps.
>
> To this end, there are a couple of areas between IETF and 802.3 that 
> don't necessarily look like they are entirely in the right place, in 
> particular:
>
> 1) The RMON MIB (RFC 2819) defines (along with other non-Ethernet 
> related content) some Ethernet specific statistics that would be 
> better co-located with the Ethernet interface YANG model being defined 
> in 802.3cp. Hence, the proposal is to subsume the appropriate Ethernet 
> statistics from the RMON MIB into a single combined reference set 
> defined in 802.3cp.
>
> 2) The RMON MIB also defines some Ethernet specific statistics that 
> can't be defined as part of 802.3cf because they don't relate to 802.3 
> clause 30 registers, but are still widely supported by vendors, and 
> should be modeled in YANG.  The proposal is that definitions related 
> to these counters could be added as part of the Ethernet-like module 
> draft-ietf-netmod-intf-ext-yang-03 
> <https://datatracker.ietf.org/doc/draft-ietf-netmod-intf-ext-yang/>, 
> or perhaps a related Ethernet module in the same draft.
>
> 3) The Power-Ethernet MIB (defined in RFC 3621, but also referenced 
> from RFC 7460), was originally specified in IETF, but ownership later 
> transferred to 802.3 (via RFC 7448).  Whilst working on the Power over 
> Ethernet YANG model it has become clear that not all of the attributes 
> defined in the MIB map to the underlying 802.3 clause 30 definitions.  
> Further, it looks like parts of this YANG model would be better 
> defined as extensions to the Entity YANG model being defined in 
> NETMOD.  The proposal is that the parts of the Power over Ethernet 
> YANG model that can be directly related to clause 30 definitions (e.g. 
> /pethPsePortTable/) should be defined in 802.3cf, but that the 
> remaining parts (e.g., /pethMainPseObjects /) can hopefully be 
> standardized in IETF.
>
> Do you have any comments, or concerns, on the 3 proposals above?
>
> Regards,
> Rob Wilton
>