Re: [trill] TRILL OAM Requirements: available paths

Erik Nordmark <nordmark@acm.org> Mon, 30 April 2012 00:36 UTC

Return-Path: <nordmark@acm.org>
X-Original-To: trill@ietfa.amsl.com
Delivered-To: trill@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5DCF621F85E7 for <trill@ietfa.amsl.com>; Sun, 29 Apr 2012 17:36:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cfnFVAC+k6cY for <trill@ietfa.amsl.com>; Sun, 29 Apr 2012 17:36:37 -0700 (PDT)
Received: from b.mail.sonic.net (b.mail.sonic.net [64.142.19.5]) by ietfa.amsl.com (Postfix) with ESMTP id 8EE7D21F85AC for <trill@ietf.org>; Sun, 29 Apr 2012 17:36:37 -0700 (PDT)
Received: from [10.21.72.123] (128-107-239-233.cisco.com [128.107.239.233]) (authenticated bits=0) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id q3U0aWUu021187 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 29 Apr 2012 17:36:32 -0700
Message-ID: <4F9DDE90.5080604@acm.org>
Date: Sun, 29 Apr 2012 17:36:32 -0700
From: Erik Nordmark <nordmark@acm.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120420 Thunderbird/12.0
MIME-Version: 1.0
To: Sam Aldrin <aldrin.ietf@gmail.com>
References: <4F9ACE0E.7030408@sonic.net> <4F9ACF05.9070302@acm.org> <OF909960BD.8F0E0541-ON872579ED.007407A1-882579ED.0074C8A0@us.ibm.com> <4F9B2697.8080401@acm.org> <344037D7CFEFE84E97E9CC1F56C5F4A5010A2FFF@xmb-sjc-214.amer.cisco.com> <4F9CB95E.4030902@acm.org> <20718496-0FAA-4683-A83E-B97563E01BB6@gmail.com>
In-Reply-To: <20718496-0FAA-4683-A83E-B97563E01BB6@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: "Tissa Senevirathne (tsenevir)" <tsenevir@cisco.com>, Santosh Rajagopalan <sunny.rajagopalan@us.ibm.com>, "trill@ietf.org" <trill@ietf.org>
Subject: Re: [trill] TRILL OAM Requirements: available paths
X-BeenThere: trill@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Developing a hybrid router/bridge." <trill.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/trill>, <mailto:trill-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/trill>
List-Post: <mailto:trill@ietf.org>
List-Help: <mailto:trill-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/trill>, <mailto:trill-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Apr 2012 00:36:38 -0000

On 4/28/12 9:54 PM, Sam Aldrin wrote:
> Erik,
>
> Every hop in mpls does hashing based on label stack and other header details. I do not see any difference between TRILL and mpls in this case.

That's not consistent with what I heard from others when I discussed 
MPLS OAM. But that isn't the main point.

>   The requirement is to specify the ability to test each of those ecmp paths available. Doesn't matter if the active traffic is taking that path or not. This is part of pro-active monitoring.

OK. Then please make that clear in the requirements document. For 
instance, that can be done by including a careful definition of 
"available ecmp paths" in the document.

FWIW I don't think any of the solutions that have been discussed so far 
are capable of testing all the available paths; that just means there is 
some more work needed on solutions.

    Erik

> Cheers
> Sam
>
>
> Sent from my iPad
>
> On Apr 28, 2012, at 8:45 PM, Erik Nordmark<nordmark@acm.org>  wrote:
>
>> On 4/27/12 5:12 PM, Tissa Senevirathne (tsenevir) wrote:
>>> Of course it is possible. The IS-IS topology table provide the
>>> information on all available ECMP paths to a specific destination when
>>> the egress RBRidge nickname is known. That is what TRILL unicast
>>> forwarding table all about. Not sure why you are saying it is not
>>> possible to know all ECMP paths.
>>
>> You are talking about what Santosh called "all theoretically available paths". Those can be determined from IS-IS.
>>
>> But the document talks about "all available paths" and I don't know what that is supposed to mean. Do you have a succinct definition?
>>
>> What is clear to me is that there can be a subset of the paths that are determined from IS-IS that would never be used, because no entropy in a packet would every pick that path.
>>
>> Is the requirement in the document that the OAM solution should be able to test those paths?
>>
>>> What path among available paths to be selected for a specified is a
>>> local matter. That is what all about flow entropy discovery. Like I
>>> stated earlier how it is discovered is a framework and solution issue.
>>
>> Agreed.
>>
>>> If you need some reference how it is done in the MPLS world RFC 4379 is
>>> a good reference.
>>
>> AFAIK MPLS doesn't have a locally defined ECMP hash function in every hop. TRILL does, which makes these aspects different.
>>
>> Regards,
>>    Erik
>>
>>> -----Original Message-----
>>> From: trill-bounces@ietf.org [mailto:trill-bounces@ietf.org] On Behalf
>>> Of Erik Nordmark
>>> Sent: Friday, April 27, 2012 4:07 PM
>>> To: Santosh Rajagopalan
>>> Cc: trill@ietf.org
>>> Subject: Re: [trill] TRILL OAM Requirements: available paths
>>>
>>> On 4/27/12 2:15 PM, Santosh Rajagopalan wrote:
>>>> I agree, the wording needs to be tightened to say "all possible ecmp
>>>> paths" rather than "all available paths". An operator working out
>>>> R1-R2 communication is interested in all possible paths data traffic
>>>> could take rather than all theoretically available paths.
>>>
>>> The issue is that there is nothing in the TRILL dataplane nor IS-IS
>>> control plane which helps the operator determine that some paths
>>> (through RB121 and RB112 in the example) are not possible; the ECMP
>>> input and hashing is a completely local matter on each RBridge.
>>>
>>> It isn't useful to state a requirement around something that can't be
>>> determined.
>>>
>>>      Erik
>>>
>>>>
>>>>
>>>> From: Erik Nordmark<nordmark@acm.org>
>>>> To: trill@ietf.org
>>>> Date: 04/27/2012 09:53 AM
>>>> Subject: [trill] TRILL OAM Requirements: available paths Sent by:
>>>> trill-bounces@ietf.org
>>>> ----------------------------------------------------------------------
>>>> --
>>>>
>>>>
>>>>
>>>>
>>>> Two requirements use the wording "all available paths." and "all
>>>> available ECMP paths.", respectively and I'm not sure I know what that
>>>
>>>> means.
>>>>
>>>> Take the following example picture:
>>>>
>>>> R1
>>>> / \
>>>> / \
>>>> / \
>>>> / \
>>>> / \
>>>> RB11 RB12
>>>> / \ / \
>>>> / \ / \
>>>> RB111 RB112 RB121 RB122
>>>> \ \ / /
>>>> \ \ / /
>>>> \ \/ /
>>>> ------R2------
>>>>
>>>> We can see that there are 4 paths with 3 hops to get from R1 to R2,
>>>> with two layers of ECMP decisions. But how many available paths are
>>> there?
>>>>
>>>> Given that the RBridges make independent ECMP decisions, and how they
>>>> do that is a local matter, it could be the case that for any packet,
>>>> if R1 picks the left link, then R11 would also pick the left link; if
>>>> R1 picks the right link, then R12 also picks the right link.
>>>> Thus there would be no packet (data or OAM) that would cause packets
>>>> between R1 and R2 to pass via RB112 or RB121.
>>>>
>>>> Even if we ignore that as unlikely, there is still the fact that R1
>>>> can't easily tell how many (shortest) paths there might be between it
>>>> and R2. With single-level TRILL the LSDB could be used to tell, but if
>>>
>>>> we ever go to multi-level that wouldn't be the case any more.
>>>> And even if R1 knows that there are 4 potential paths, it can't format
>>>
>>>> a data packet (or format the flow entropy in an OAM packet) in such a
>>>> way that particular paths get chosen by downstream ECMP decisions.
>>>>
>>>> Thus for any notion of "all available paths" that make sense to me,
>>>> we'd need an OAM approach that can explore the topology one hop at a
>>>> time and at each hop explore all the possible ECMP choices. Using the
>>>> entropy doesn't help with this (but the entropy is critical for
>>>> following the path taken by a particular flow of data packets).
>>>>
>>>> Hence it would be good to clarify what the assumptions are behind this
>>>
>>>> notion of all available paths.
>>>>
>>>> Thanks,
>>>> Erik
>>>>
>>>> _______________________________________________
>>>> trill mailing list
>>>> trill@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/trill
>>>>
>>>>
>>>
>>> _______________________________________________
>>> trill mailing list
>>> trill@ietf.org
>>> https://www.ietf.org/mailman/listinfo/trill
>>>
>>
>> _______________________________________________
>> trill mailing list
>> trill@ietf.org
>> https://www.ietf.org/mailman/listinfo/trill
>