Re: [Time] Comments on draft-tissa-netmod-oam-01

Qin Wu <bill.wu@huawei.com> Thu, 10 July 2014 13:26 UTC

Return-Path: <bill.wu@huawei.com>
X-Original-To: time@ietfa.amsl.com
Delivered-To: time@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E34F21B28F1; Thu, 10 Jul 2014 06:26:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.063
X-Spam-Level:
X-Spam-Status: No, score=-2.063 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, CN_BODY_35=0.339, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.651, SPF_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 Dm_vIAjDNKfs; Thu, 10 Jul 2014 06:26:42 -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 0B1BE1B28F8; Thu, 10 Jul 2014 06:26:41 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml406-hub.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BGZ40168; Thu, 10 Jul 2014 13:26:40 +0000 (GMT)
Received: from NKGEML401-HUB.china.huawei.com (10.98.56.32) by lhreml406-hub.china.huawei.com (10.201.5.243) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 10 Jul 2014 14:26:39 +0100
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.155]) by nkgeml401-hub.china.huawei.com ([10.98.56.32]) with mapi id 14.03.0158.001; Thu, 10 Jul 2014 21:26:33 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "Nobo Akiya (nobo)" <nobo@cisco.com>, "Tissa Senevirathne (tsenevir)" <tsenevir@cisco.com>
Thread-Topic: Comments on draft-tissa-netmod-oam-01
Thread-Index: Ac+XqFYxYsJYmgtCT72I7Nhf1mmspQDA2OqgAGTQxQAAAM+AMA==
Date: Thu, 10 Jul 2014 13:26:33 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA8458151B@nkgeml501-mbs.china.huawei.com>
References: <CECE764681BE964CBE1DFF78F3CDD3941E25BFFE@xmb-aln-x01.cisco.com> <B8F9A780D330094D99AF023C5877DABA84580544@nkgeml501-mbs.china.huawei.com> <CECE764681BE964CBE1DFF78F3CDD3941E26257A@xmb-aln-x01.cisco.com>
In-Reply-To: <CECE764681BE964CBE1DFF78F3CDD3941E26257A@xmb-aln-x01.cisco.com>
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: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: http://mailarchive.ietf.org/arch/msg/time/xymw5-kXkckDglJnbEAIHoQLuYE
Cc: "time@ietf.org" <time@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [Time] Comments on draft-tissa-netmod-oam-01
X-BeenThere: time@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Transport Independent OAM in Multi-Layer network Entity \(TIME\) discussion list." <time.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/time>, <mailto:time-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/time/>
List-Post: <mailto:time@ietf.org>
List-Help: <mailto:time-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/time>, <mailto:time-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Jul 2014 13:26:45 -0000

-----邮件原件-----
发件人: Nobo Akiya (nobo) [mailto:nobo@cisco.com] 
发送时间: 2014年7月10日 21:17
收件人: Qin Wu; Tissa Senevirathne (tsenevir)
抄送: netmod@ietf.org; time@ietf.org
主题: RE: Comments on draft-tissa-netmod-oam-01

Hi Qin,

Please see in-line with [NOBO].

> -----Original Message-----
> From: Qin Wu [mailto:bill.wu@huawei.com]
> Sent: Tuesday, July 08, 2014 9:10 AM
> To: Nobo Akiya (nobo); Tissa Senevirathne (tsenevir)
> Cc: netmod@ietf.org; time@ietf.org
> Subject: RE: Comments on draft-tissa-netmod-oam-01
> 
> Sorry to chime in.
> See some comments inline below.
> -----邮件原件-----
> >发件人: netmod [mailto:netmod-bounces@ietf.org] 代表 Nobo Akiya
> (nobo)
> >发送时间: 2014年7月5日 1:09
> >收件人: Tissa Senevirathne (tsenevir)
> >抄送: netmod@ietf.org
> >主题: [netmod] Comments on draft-tissa-netmod-oam-01
> 
> >Hi Tissa, authors,
> 
> >First of all, intent of this document seems widely beneficial. I am
> interested to see how and In what form this document will progress.
> 
> >Please find below few comments I have on the 
> >draft-tissa-netmod-oam-01,
> from a quick look at the document.
> 
> 
> >Comment #1: Section 6
> 
> > [snip]
> >     typedef CCM-Interval {
> >       default "interval-1min";
> >       type enumeration {
> >         enum "interval-invalid" {
> >           value 0;
> >         }
>          ...
> >         enum "interval-10min" {
> >           value 7;
> >         }
> >      }
>        ...
> >     }
> > [snip]
> 
> >When considering all OAM tools out there, defining a hard coded set 
> >of intervals (via enum) may not be a good idea. BFD implementations
> >(SW/HW) springs to my mind immediately. For HW based BFD, BFD WG is 
> >working on an informational document for recommended set of intervals:
> draft-ietf-bfd-intervals. However, intervals outside of that set can 
> still be implemented by vendors for HW based BFD. SW based BFD, 
> obviously, has much more flexibility in the range of intervals to use. 
> A better approach may be to change above from enum to identify ref (or 
> something else) which can be augmented.
> 
> 
> >Comment #2: Section 6
> 
> > [snip]
> >     typedef ecmp-choices {
> >       type enumeration {
> >         enum "ecmp-use-platform-hash" {
> >           value 0;
> >         }
> >         enum "ecmp-use-round-robin" {
> >           value 1;
> >         }
> >       }
> >     }
> > [snip]
> >                 leaf ecmp-choice {
> >                   config true;
> >                   type ecmp-choices;
> >                   description
> >                     "0 means use the specified interface
> >                      1 means use round robin";
> >                 }
> > [snip]
> 
> >Above two seems a bit conflicting for the value of zero(0). Former 
> >states
> that zero(0) indicates usage of platform hash but the latter indicates 
> that specific interface is used (i.e. not hashed?). >Thinking about 
> this, I believe "ecmp-choices" is overloaded. You actually want to be 
> able to describe 3 different things here.
> 
> >1. Configuring a specific load balancing technique on a system (ex: 
> >EL,
> round-robin or something else).
> 
> [Qin]: are you proposing to replace ecmp-use-platform-hash with EL and 
> have the following change to ecmp-choices typdef NEW TEXT:

[NOBO] We should probably take a step back, and decide if configuring load balancing behaviors on systems is something that belongs within draft-tissa-netmod-oam or not.

[Qin]: Make sense to me.

> "
>      typedef ecmp-choices {
>        type enumeration {
>          enum "Entropy Lable" {
>            value 0;
>          }
>          enum "ecmp-use-round-robin" {
>            value 1;
>          }
>        }
>      }
> "
> However draft-tissa also has flow-entropy grouping to be defined "
>      grouping flow-entropy {
>        description
>          "defines the grouping statement for flow-entropy";
>        choice flow-entropy {
>          case flow-entropy-null;
>        }
>      }
> "
> Which make me difficult to understand how flow-entropy grouping is 
> related to ecmp-choices
> 
> >2. Describing the output behavior on the OAM instance (ex: out to 
> >specific
> interface vs. load balanced).
> 
> [Qin]: I am wondering why not consider input behavior or input key to 
> load balancing technique.

[NOBO] The goal here is to describe how OAM packets are sent from the system, so it's not that input behavior but it's the output behavior that we need to describe. Additionally, if the OAM packet is to get load balanced out from the system, then the fields from the packet contents should be used for load balancing, and not a separate input key. We will need to set certain fields of the OAM packets (ex: EL value, IP address, port), so if you meant "input key" to set those fields, then I agree.

[Qin]: Yes, I means those fields. Thanks for your clear clarification.