Re: [Rtg-ooam-dt] Identifying OAM in NSH

Gregory Mirsky <gregory.mirsky@ericsson.com> Fri, 22 July 2016 09:24 UTC

Return-Path: <gregory.mirsky@ericsson.com>
X-Original-To: rtg-ooam-dt@ietfa.amsl.com
Delivered-To: rtg-ooam-dt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6ABC312DC22; Fri, 22 Jul 2016 02:24:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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 vv_vjXohwB57; Fri, 22 Jul 2016 02:24:37 -0700 (PDT)
Received: from usplmg20.ericsson.net (usplmg20.ericsson.net [198.24.6.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7D86412DB9F; Fri, 22 Jul 2016 02:24:37 -0700 (PDT)
X-AuditID: c618062d-f79886d000002334-3c-5791daf03d7b
Received: from EUSAAHC003.ericsson.se (Unknown_Domain [147.117.188.81]) by usplmg20.ericsson.net (Symantec Mail Security) with SMTP id E0.13.09012.0FAD1975; Fri, 22 Jul 2016 10:36:01 +0200 (CEST)
Received: from EUSAAMB103.ericsson.se ([147.117.188.120]) by EUSAAHC003.ericsson.se ([147.117.188.81]) with mapi id 14.03.0294.000; Fri, 22 Jul 2016 05:24:36 -0400
From: Gregory Mirsky <gregory.mirsky@ericsson.com>
To: "Carlos Pignataro (cpignata)" <cpignata@cisco.com>
Thread-Topic: [Rtg-ooam-dt] Identifying OAM in NSH
Thread-Index: AdHjGxqUb41VTqTfTwmZE/bgRl5mHQA9utSAAAZMKgA=
Date: Fri, 22 Jul 2016 09:24:35 +0000
Message-ID: <7347100B5761DC41A166AC17F22DF11221ADBCA5@eusaamb103.ericsson.se>
References: <7347100B5761DC41A166AC17F22DF11221ADA9CB@eusaamb103.ericsson.se> <9DBA673E-960C-49B0-9A90-4DB4828C08BE@cisco.com>
In-Reply-To: <9DBA673E-960C-49B0-9A90-4DB4828C08BE@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [147.117.188.10]
Content-Type: multipart/alternative; boundary="_000_7347100B5761DC41A166AC17F22DF11221ADBCA5eusaamb103erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprBIsWRmVeSWpSXmKPExsUyuXRPoO7HWxPDDS6fELL49G4Hi8W/1r2s Fk8ebGV3YPaY8nsjq8eSJT+ZApiiuGxSUnMyy1KL9O0SuDK2fwwruPebseLR9qXsDYwTvjJ2 MXJySAiYSEx8+p8VwhaTuHBvPVsXIxeHkMBRRolHTUfZQBJCAssZJb6uDQWx2QSMJF5s7GEH sUUEzCQaH09iArGZBYIk9q64AmYLCxhKLPs5hRWixkhi+98pjBC2lcSaV3NYQGwWAVWJnS0b wWp4BXwl5q84wwKxuIFR4uXfOcxdjBwcnAK2EvseGIPUMAId9/3UGqhd4hK3nsxngjhaQGLJ nvPMELaoxMvH/6CeUZKYtPQcK0R9vsS0f18YIXYJSpyc+YRlAqPoLCSjZiEpm4WkbBbQFcwC mhLrd+lDlChKTOl+yA5ha0i0zpnLjiy+gJF9FSNHaXFBTm66kcEmRmB8HZNg093BeH+65yFG AQ5GJR7eBbwTw4VYE8uKK3MPMUpwMCuJ8No/BArxpiRWVqUW5ccXleakFh9ilOZgURLnFXuk GC4kkJ5YkpqdmlqQWgSTZeLglGpgjLdu9Vl06rBtQu9GsfPLz9rskf69uP5ldNyXe2/Lj2/4 dKXKWFHS25n3b8fUZwtM2HZWnX6u+vpN2//bT9aeXFRxYFMgz8pmj2dHzk+zSCzJUr+67eKX 8uwIb7/TagJbO57GHU2y/pzYbRHx71BBp+j7osznM5n0YwLFnk9Zrr84a3vR/e7UZCWW4oxE Qy3mouJEAF8C1ZmrAgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtg-ooam-dt/kqA_PYl6vpDuKcCGpeejnssFluI>
Cc: "rtg-ooam-dt@ietf.org" <rtg-ooam-dt@ietf.org>, "sfc@ietf.org" <sfc@ietf.org>
Subject: Re: [Rtg-ooam-dt] Identifying OAM in NSH
X-BeenThere: rtg-ooam-dt@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: List is used by the Routing Area Overlay OAM Design team for internal coordination and discussion <rtg-ooam-dt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-ooam-dt>, <mailto:rtg-ooam-dt-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtg-ooam-dt/>
List-Post: <mailto:rtg-ooam-dt@ietf.org>
List-Help: <mailto:rtg-ooam-dt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-ooam-dt>, <mailto:rtg-ooam-dt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 09:24:40 -0000

Hi Carlos,
thank you for sharing your comments. If I understand correctly, you suggest to expose protocol types of OAM as Next Protocol rather than to use single Active OAM protocol type and use OOAM Header to demux OOAM type. Then, the Next Protocol registry will have to allocate values for single-hop BFD, multi-hop BFD, multipoint BFD, S-BFD, Echo Request/Reply, AIS protocol, Active Performance Measurement protocol, and I’ve only listed some of AOM protocols that may be used to operate, administer and maintain SFP.
Additionally, you’ve suggested that only O-bit value to be used to determine whether packet should be processed as OAM or data packet. Hence should I expect that O-bit is set for BFD, AIS, and Echo Request/Reply payload and should not be set if the Next Protocol is neither of protocols listed above? Should such situation, i.e. Next Protocol value is MPLS and O-bit set to 0x1, should be viewed as error and the packet dropped? Or you propose that the Next Protocol takes precedence and the packet treated as data? Or packet viewed as OAM and passed to the local OAM entity? Or how to interpret situation when O-bit is cleared and the Next Protocol value is one of OAM protocols? This is the situation that, in my view, is ambiguous and under-specified in the current NSH document. My proposal is an attempt to make relationship between OAM and data packets more deterministic.

                Regards,
                                Greg

From: Carlos Pignataro (cpignata) [mailto:cpignata@cisco.com]
Sent: Friday, July 22, 2016 10:10 AM
To: Gregory Mirsky <gregory.mirsky@ericsson.com>
Cc: sfc@ietf.org; rtg-ooam-dt@ietf.org
Subject: Re: [Rtg-ooam-dt] Identifying OAM in NSH

Greg,

Please find some comments inline.
Thumb typed by Carlos Pignataro.
Excuze typofraphicak errows

On Jul 21, 2016, at 09:01, Gregory Mirsky <gregory.mirsky@ericsson.com<mailto:gregory.mirsky@ericsson.com>> wrote:
Dear All,
we had very good discussion on OAM this week. We’ve touched on Active, Passive and Something-in-between OAM. But can NSH indicate which OAM type, if any, associated with a packet? I think that the current version of draft-ietf-sfc-nsh does not allow that and may be ambiguous in some cases. I propose change to interpretation and applicability description of the O(AM) flag and allocation of the new protocol type to be used in the Next Protocol field.


Active, passive and something-in-between are not OAM protocol types but rather they are measuring methods. Active OAM can include a plurality of OAM protocols, including BFD, S-BFD, something-over-ip, etc.

I also believe that the current OAM text in NSH is not ambiguous and allows enough processing of the header to understand something is OAM, without going the specifics of an OAM handler.

Therefore, I oppose this change.


RFC 7799 defines Active OAM as following:
An Active Metric or Method depends on a dedicated measurement packet stream and observations of the stream.
Thus, regardless of encapsulation used by OAM, it is the packet constructed solely for monitoring, measuring network’s metric and should not leave given domain. And, I believe, such packets should be identified by the protocol type of their own.

Seems you are advocating for a single "OAM" protocol type for OAM packets. The functionality of identifying something as OAM is in the O-bit, so no need to waste bits in duplication.

Then, at some point, you have to differentiate if an OAM is, say, IP or "raw BFD" or something else. That's what the Protocol field is for. I do not see a need to add an indirection here to then have to have a protocol field inside the OAM.


OAM which behaves as much as Passive OAM or Something-in-between, e.g. OAM appended to data packet either at the domain’s edge or on-the-fly, identified by the protocol type of the data packet carried in NSH.

That's correct, with the O bit cleared; it's a data packet and not an OAM one.


Below are changes I’d like to propose:
Section 3.2 O-bit:
OLD
   O bit: when set to 0x1 indicates that this packet is an Operations,
   Administration and Maintenance (OAM) message.  The receiving SFF and
   SFs nodes MUST examine the payload and take appropriate action (e.g.
   return status information).  OAM message specifics and handling
   details are outside the scope of this document.
END
NEW
O bit: when set to 0x1 indicates that data packet identified by the Next
Protocol type has OAM metadata appended.

No. If it is a data packet it does not have the O bit set (to 1 or to whichever other possible value for the bit :-)

The goal is that looking at a single but it can be understood if it is a data packet (which can be used, marked, etc. to be used for OAM purposes, or not).

We do not want OAM direct exception processing for data packets.


Definition of the format(s)
used by OAM metadata is outside the scope of this document.
END

At the end of Section 3.2:
OLD
   This draft defines the following Next Protocol values:

   0x1 : IPv4
   0x2 : IPv6
   0x3 : Ethernet
   0x4: NSH
   0x5: MPLS
   0x6-0xFD: Unassigned
   0xFE-0xFF: Experimental
END
NEW
   This draft defines the following Next Protocol values:

   0x1 : IPv4
   0x2 : IPv6
   0x3 : Ethernet
   0x4: NSH
   0x5: MPLS
   0x6: Active OAM

As per above I do not believe there's a single OAM protocol.


   0x7-0xFD: Unassigned
   0xFE-0xFF: Experimental
END

And, consequently, section 13.2.5 in IANA Considerations section will request allocation of value 0x6 to be assigned to Active OAM protocols.

Greatly appreciate your consideration and comments.


My €0.02.

Thanks,

Carlos.


                Regards,
                                Greg

_______________________________________________
Rtg-ooam-dt mailing list
Rtg-ooam-dt@ietf.org<mailto:Rtg-ooam-dt@ietf.org>
https://www.ietf.org/mailman/listinfo/rtg-ooam-dt