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

"Tissa Senevirathne (tsenevir)" <tsenevir@cisco.com> Mon, 07 July 2014 15:16 UTC

Return-Path: <tsenevir@cisco.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D40991A0166 for <netmod@ietfa.amsl.com>; Mon, 7 Jul 2014 08:16:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.152
X-Spam-Level:
X-Spam-Status: No, score=-15.152 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] 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 OOwv3qHCK4GC for <netmod@ietfa.amsl.com>; Mon, 7 Jul 2014 08:16:17 -0700 (PDT)
Received: from alln-iport-7.cisco.com (alln-iport-7.cisco.com [173.37.142.94]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ECED01A02F8 for <netmod@ietf.org>; Mon, 7 Jul 2014 08:16:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3734; q=dns/txt; s=iport; t=1404746176; x=1405955776; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=BOqj3gZA2W0d1wc2iyMXlN7aUZl+KnW/auPl1Znc6SU=; b=Aum9e+UC9bOYTNNhTF7n34blMcd9hgyp0ksGX2DQMnfjel8G8Ah/9vIB cvvJygVqTMx1xJP+ENtFL4W/QHFpuOPk+OAFKKmMtNX7/eU4ZdsaHnkpb dSR+ZfN3u3y1qCpI+5+PTue+llTL9aVw9BfEidnRs3/E0e5QAef5XR7Ec o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhIFAFy4ulOtJV2Q/2dsb2JhbABQCoMOgR8NxjwBgRYWdYQDAQEBBDorFAwEAgEIEQQBAQsUEDIdCAEBBA4FCIg6yhQXiWWEYSsxBwaDJ4EWAQSvAoNDgjA
X-IronPort-AV: E=Sophos;i="5.01,618,1400025600"; d="scan'208";a="58843053"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by alln-iport-7.cisco.com with ESMTP; 07 Jul 2014 15:16:16 +0000
Received: from xhc-aln-x11.cisco.com (xhc-aln-x11.cisco.com [173.36.12.85]) by rcdn-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id s67FGGni005421 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for <netmod@ietf.org>; Mon, 7 Jul 2014 15:16:16 GMT
Received: from xmb-rcd-x08.cisco.com ([169.254.8.36]) by xhc-aln-x11.cisco.com ([173.36.12.85]) with mapi id 14.03.0123.003; Mon, 7 Jul 2014 10:16:15 -0500
From: "Tissa Senevirathne (tsenevir)" <tsenevir@cisco.com>
To: "Nobo Akiya (nobo)" <nobo@cisco.com>
Thread-Topic: Comments on draft-tissa-netmod-oam-01
Thread-Index: Ac+XqFYxYsJYmgtCT72I7Nhf1mmspQCTJ3dQ
Date: Mon, 07 Jul 2014 15:16:15 +0000
Message-ID: <FBEA3E19AA24F847BA3AE74E2FE193562EEC54BB@xmb-rcd-x08.cisco.com>
References: <CECE764681BE964CBE1DFF78F3CDD3941E25BFFE@xmb-aln-x01.cisco.com>
In-Reply-To: <CECE764681BE964CBE1DFF78F3CDD3941E25BFFE@xmb-aln-x01.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.21.119.34]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/netmod/B5YHA8y6oKatLxBz6QvLh09ObjU
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] Comments on draft-tissa-netmod-oam-01
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Mon, 07 Jul 2014 15:16:23 -0000

Hi Nobo

Thanks for the comments, please see in-line

-----Original Message-----
From: Nobo Akiya (nobo) 
Sent: Friday, July 04, 2014 10:09 AM
To: Tissa Senevirathne (tsenevir)
Cc: netmod@ietf.org
Subject: 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.

[Answer] good point shall update in the next revision

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).
2. Describing the output behavior on the OAM instance (ex: out to specific interface vs. load balanced).
3. Describe the setting on the path discovery OAM instance (ex: LSP tree trace using multipath 2, 4, 8, 9, 10).

Perhaps a different object for each may be a good idea. (2) can be an enum but it'll be beneficial to be able for various OAM tools to augment (1) and (3).
[Answer] agree on #1 and #2, let me think how to  best bring that in into the next revisions. #3 is part of flow-entropy discovery, which is independent of how it is treated. Way it is done is to have each of the technology to have its specific way of ECMP discovery, which is more like an RPC command. In the base YANG model, use can populate the flow entropy why XML imterface and #1 and #2 will dictates the behavior.

Comment #3: Section 6

[snip]
     typedef oam-counter32 {
       type yang:zero-based-counter32;
       description
         "defines 32 bit counter for OAM";
     }
[snip]

No 64 bit counter?

[Answer] most counters in CFM are 32 bit hence taken this. But we can extend to 64 bit very easily. We can consider for next revision making the counters 64 bit.

Thanks!

-Nobo