Re: [mpls-tp] Demultiplexing to BFD sessions

Greg Mirsky <gregimirsky@gmail.com> Wed, 30 June 2010 19:19 UTC

Return-Path: <gregimirsky@gmail.com>
X-Original-To: mpls-tp@core3.amsl.com
Delivered-To: mpls-tp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D85A63A6922; Wed, 30 Jun 2010 12:19:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.929
X-Spam-Level:
X-Spam-Status: No, score=-0.929 tagged_above=-999 required=5 tests=[AWL=-0.781, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_CHARSET_FARAWAY=2.45]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YtJ+gbgCJ8hk; Wed, 30 Jun 2010 12:19:06 -0700 (PDT)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id 491733A687B; Wed, 30 Jun 2010 12:19:06 -0700 (PDT)
Received: by vws10 with SMTP id 10so1384574vws.31 for <multiple recipients>; Wed, 30 Jun 2010 12:19:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=wmxRW1uMjYluFssX70uFSwpMGflQ8LtP8lPAEbW9Pj0=; b=qB8XiNmxNn0yqeGwm9pzECXAvhJZyYrb5hVEy4gZ4ZWV6SJlwtKPJAEBg+AgNMI0Ot UT1sB8rBoe1sap9LBtUUGvpzHRpcnTVmw9CY65XC8fK8vxnMeopNw2PIOhNhEHEXjHbC SQ1Lquj5sEprtoMHunvjGyYjdEhpRLy+01tRE=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ec2bTYwQrWstY6ApgIQ6eqkEDTtA7BA5Ov91ZCR3MnQoegAr16m99zLaDhvdU7UK4f krftN+wrYsj+sejbjC+2M5ZdojF4k4dnMsXHB8sGDDMzTZdiD3FWgZXHJkikG+oVwEs0 aVnuBcmW9QRNCDlvFeQ92KwHP+tlHSuQjnegU=
MIME-Version: 1.0
Received: by 10.220.128.95 with SMTP id j31mr4991103vcs.272.1277925557081; Wed, 30 Jun 2010 12:19:17 -0700 (PDT)
Received: by 10.220.96.210 with HTTP; Wed, 30 Jun 2010 12:19:16 -0700 (PDT)
In-Reply-To: <60C093A41B5E45409A19D42CF7786DFD51815EF047@EUSAACMS0703.eamcs.ericsson.se>
References: <AANLkTikZurkVBrPNBjL-v7zdZ9dTLUBDuBnNDPsCrnJf@mail.gmail.com> <OF7E03B6CE.B5C7073D-ON48257750.000D15FC-48257750.000D4123@zte.com.cn> <716209EC190CA740BA799AC4ACCBFB5D180C3C7126@IXCAEXCH07.ixiacom.com> <AANLkTikdY-qChtT8-po0L6eCjW6qWQ2LzqMhG1eysmvP@mail.gmail.com> <2C2F1EBA8050E74EA81502D5740B4BD6940E808F75@SJEXCHCCR02.corp.ad.broadcom.com> <60C093A41B5E45409A19D42CF7786DFD518156D6E3@EUSAACMS0703.eamcs.ericsson.se> <AANLkTinSalhepoG_AuvNLbVWHTgkF01etfLzRXWxpr5c@mail.gmail.com> <60C093A41B5E45409A19D42CF7786DFD518156D754@EUSAACMS0703.eamcs.ericsson.se> <AANLkTinzsvrfAbBrkLObJmXd4fNvk8CyOKokNE16UGpT@mail.gmail.com> <60C093A41B5E45409A19D42CF7786DFD51815EF047@EUSAACMS0703.eamcs.ericsson.se>
Date: Wed, 30 Jun 2010 12:19:16 -0700
Message-ID: <AANLkTil3WKCCWjKm_O05NGFa1uXDQKi8eTuYTe3y9822@mail.gmail.com>
From: Greg Mirsky <gregimirsky@gmail.com>
To: David Allan I <david.i.allan@ericsson.com>
Content-Type: multipart/alternative; boundary=001636b14dcee1166a048a443a69
Cc: "mpls-tp-bounces@ietf.org" <mpls-tp-bounces@ietf.org>, Mukund Mani <mukund.mani@gmail.com>, "mpls-tp@ietf.org" <mpls-tp@ietf.org>
Subject: Re: [mpls-tp] Demultiplexing to BFD sessions
X-BeenThere: mpls-tp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: MPLS-TP Mailing list <mpls-tp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/mpls-tp>, <mailto:mpls-tp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mpls-tp>
List-Post: <mailto:mpls-tp@ietf.org>
List-Help: <mailto:mpls-tp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls-tp>, <mailto:mpls-tp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jun 2010 19:19:19 -0000

Dear Dave,
thank you for the insight. Though I was under impression we're not talking
about implementations here ;)

In my view, the check whether MEP ID matches your Discriminator is redundant
(well, the implementation has a bug otherwise). The real continuity check is
whether context of a transport channel (label stack) and demultiplexor (MEP
ID or Your Discriminator) match. Since the Unique MEP ID is required, the
discriminator, or at least its role in CV can be optional.

Regards,
Greg

2010/6/30 David Allan I <david.i.allan@ericsson.com>

>  Hi Greg:
>
> I've made this point before, the discriminator is simply a receiver
> administered "helper" for indexing state.
>
> Compare the two simplistic pseudo code examples below...how a recevier
> checks for a valid MEP ID and received label....
>
> *if (bfd_message.mep_ID != recevier_bfd_state[bfd_message.your
> disciminator].expected_mep_ID]) error...*
> *if (received_label != recevier_bfd_state[bfd_message.your
> discriminator].expected_label) error...*
>
> vs.
>
> *for (i=0;i<max_discriminators;i++) {*
> *    if (bfd_message.mep_ID == recevier_bfd_state[i].expected_mep_ID)
> break;*
> *}*
> *If (i== max_discriminators) error....*
> *if (received_label != receiver_bfd_state[i].expected_label) error...*
>
> The these examples are the general case solution that works for all modes
> of operation of MPLS (including PHP). We can redesign it to index state
> based on received label but why have two distinct implementations? I thought
> the goal here was re-use where possible...
> **
> I hope this makes it clear...
>
> D
>
>  ------------------------------
> *From:* Greg Mirsky [mailto:gregimirsky@gmail.com]
> *Sent:* Tuesday, June 29, 2010 9:27 PM
>
> *To:* David Allan I
> *Cc:* Shahram Davari; Mukund Mani; Apratim Mukherjee; xiao.min2@zte.com.cn;
> mpls-tp@ietf.org; mpls-tp-bounces@ietf.org
> *Subject:* Re: [mpls-tp] Demultiplexing to BFD sessions
>
> Dear David,
> received in Your Discriminator value is unique for the receiver and not
> necessarily for the sender of the BFD control packet. Transmitting in every
> CV/CC/RDI packet discriminator along with Unique MEP ID, in my view, is
> redundant.
>
> Regards,
> Greg
>
> 2010/6/29 David Allan I <david.i.allan@ericsson.com>
>
>>  My understanding (and the text in 6.3 of RFC 5880 agrees with me) that
>> the discriminator value is per platform unique, and not necessarily confined
>> to a having uniqueness to a particular node pair.
>>
>> So local state can be indexed directly via the discriminator for any BFD
>> packet received by a node.
>>
>> cheers
>> D
>>
>>  ------------------------------
>>  *From:* Greg Mirsky [mailto:gregimirsky@gmail.com]
>> *Sent:* Tuesday, June 29, 2010 2:18 PM
>> *To:* David Allan I
>> *Cc:* Shahram Davari; Mukund Mani; Apratim Mukherjee;
>> xiao.min2@zte.com.cn; mpls-tp@ietf.org; mpls-tp-bounces@ietf.org
>>
>> *Subject:* Re: [mpls-tp] Demultiplexing to BFD sessions
>>
>>   Dear David,
>> I tend to agree with Shahram that for MPLS-TP discriminator check even for
>> bi-directional p2p path is optional. And for uni-directional, recalling BFD
>> for multi-point network, demultiplexing mechanism was modified when compared
>> with BFD base. Said that I realize that to be interoperable an
>> implementation will have to support the discriminator check perhaps as
>> default behavior. Well, unless we agree that the discriminator has no role
>> in demultiplexing OAM/BFD sessions between same pair of nodes at all. Which
>> will make discriminator field unnecessary as well as mechanisms of
>> exchanging them (LSP Ping bootstrap of BFD session). That will, in my view,
>> simplify the OAM solution based on BFD.
>>
>> another .02 in the bank
>>
>> Regards,
>> Greg
>>
>> 2010/6/29 David Allan I <david.i.allan@ericsson.com>
>>
>>>  But if the goal is to leverage a common implementation the
>>> discriminator needs to be present. There should be a further check that the
>>> label of arrival is correct for a given discriminator.
>>>
>>> Hence one primary state indexing mechanism, and further more
>>> authoritative tests of correctness chain from that..
>>>
>>> my 2 cents
>>> D
>>>
>>>  ------------------------------
>>> *From:* mpls-tp-bounces@ietf.org [mailto:mpls-tp-bounces@ietf.org] *On
>>> Behalf Of *Shahram Davari
>>> *Sent:* Tuesday, June 29, 2010 1:31 PM
>>> *To:* Mukund Mani; Apratim Mukherjee; xiao.min2@zte.com.cn
>>>
>>> *Cc:* mpls-tp-bounces@ietf.org; mpls-tp@ietf.org
>>> *Subject:* Re: [mpls-tp] Demultiplexing to BFD sessions
>>>
>>>    Hi,
>>>
>>>
>>>
>>> Discriminator should not be required for MPLS-TP since Explicit Null and
>>> PHP are not allowed in MPLS-TP.  For MPLS-TP the Label should be enough to
>>> provide the demultiplexing context.
>>>
>>>
>>>
>>> Regards,
>>>
>>> Shahram
>>>
>>>
>>>
>>> *From:* mpls-tp-bounces@ietf.org [mailto:mpls-tp-bounces@ietf.org] *On
>>> Behalf Of *Mukund Mani
>>> *Sent:* Monday, June 28, 2010 10:39 AM
>>> *To:* Apratim Mukherjee; xiao.min2@zte.com.cn
>>> *Cc:* mpls-tp@ietf.org; mpls-tp-bounces@ietf.org
>>> *Subject:* Re: [mpls-tp] Demultiplexing to BFD sessions
>>>
>>>
>>>
>>> Hi Xiao/Apratim
>>>
>>>
>>>
>>> I think discriminators are needed in some of the cases (eg explicit NULL)
>>> as mentioned below. This is what I was trying to state
>>>
>>> in my initial mails.
>>>
>>> Should it also seen on the lines that LSP Ping itself, if used, for
>>> bootstrap can help in performing a sort of a mis-connectivity check (In CV
>>> mode this is done via the MEP id included in the BFD control packet. In CC
>>> mode the MEP id is not included)
>>>
>>> Though I feel that CC and CV mode should be collapsed to one (CV) but
>>> thats another discussion (or probably already discussed)
>>>
>>>
>>>
>>> With Regards
>>>
>>> Mukund
>>>
>>> 2010/6/28 Apratim Mukherjee <AMukherjee@ixiacom.com>
>>>
>>> Hi Xiao/Mukund ,
>>>
>>>
>>>
>>> I think for normal bi-directional ‘fate-sharing’ BFD bidirectional
>>> session with no PHP and no explicit NULL assignment at the egress , the
>>> bootstrap mechanism is not really needed since the Label Stack does provide
>>> the context at the receiving end for identifying the local BFD session.
>>>
>>> ( same as how IP header gives the context for IPv4 BFD with Your
>>> Discriminator ‘0’ )
>>>
>>>
>>>
>>> RFC5885 works fine without knowing  peer Discriminator value from before
>>> since this is a PW connection , which means that egress assigns a label
>>> which is NOT Implicit NULL or Explicit NULL.
>>>
>>>
>>>
>>> However , this does not appear to work if egress has assigned Implicit
>>> NULL or Explicit NULL . ( Not clear if both are disallowed , appears to me
>>> at least first one is not supported in MPLS-TP but nowhere Explicit NULL is
>>> explicitly ruled out  ) . For MPLS-TP , the mechanisms being designed should
>>> work for normal LSPs as well ( not only for PWs that is ) .
>>>
>>>
>>>
>>> The other case where above does not appear to work is for ‘independent’BFD sessions . ( I had sent a mail regarding that , but no replies yet ) in
>>> which two ‘non fate-sharing’ BFD sessions are required to protect each
>>> direction of a bi-directional connection separately. There also it does not
>>> look like we can derive local  BFD session correctly from a packet received
>>> with ‘Your Discriminator’ set to 0 .
>>>
>>>
>>>
>>> Regards,
>>>
>>> Apratim
>>>
>>> *From:* mpls-tp-bounces@ietf.org [mailto:mpls-tp-bounces@ietf.org] *On
>>> Behalf Of *xiao.min2@zte.com.cn
>>> *Sent:* Monday, June 28, 2010 7:57 AM
>>> *To:* Mukund Mani
>>> *Cc:* mpls-tp-bounces@ietf.org; mpls-tp@ietf.org
>>> *Subject:* Re: [mpls-tp] Demultiplexing to BFD sessions
>>>
>>>
>>>
>>>
>>> Hi Mukund,
>>>
>>> To my understanding, discriminator exchange is applicable in some
>>> scenario, but not necessary in other scenario, for BFD session bootstrap.
>>>
>>> In RFC5884 section 3.2, it's indicated that LSP Ping is used to exchange
>>> discriminator and bootstrap the BFD session; But in RFC5885 section 3.1,
>>> it's also indicated that the VCCV control channel provides the context
>>> required to bootstrap the BFD session and no discriminator exchange needed.
>>>
>>> In the MPLS-TP context, IMO it's similar to the scenario in RFC5885 and
>>> no discriminator exchange is needed to bootstrap BFD session.
>>>
>>> Best Regards,
>>> Xiao Min
>>>
>>>   *Mukund Mani <mukund.mani@gmail.com>*
>>> 发件人:  mpls-tp-bounces@ietf.org
>>>
>>> 2010-06-11 14:24
>>>
>>> 收件人
>>>
>>> mpls-tp@ietf.org
>>>
>>> 抄送
>>>
>>> 主题
>>>
>>> [mpls-tp] Demultiplexing to BFD sessions
>>>
>>>
>>>
>>>
>>>
>>>
>>> Hi TP-Group
>>>
>>> *draft-ietf-mpls-tp-lsp-ping-bfd-procedures-00 *states in Section 3
>>>
>>> "When using BFD over MPLS-TP LSPs, the BFD discriminator MUST either be
>>> signaled via LSP-Ping or be statically configured."
>>>
>>> *draft-ietf-mpls-tp-bfd-cc-cv-00 *states in Section 3.5.6
>>>
>>> "MPLS labels at peer MEPs are used to provide context for the received
>>> BFD packets."
>>>
>>> As I understand from the statement in the CC/CV draft, since
>>> discriminator values are not required for demultiplexing to the BFD session
>>> anymore, we will not need LSP Ping to bootstrap BFD session for TP LSP.
>>>
>>> But *draft-ietf-mpls-tp-lsp-ping-bfd-procedures-00 *specifies that LSP
>>> Ping can also be used to signal BFD discriminator.
>>>
>>> So is LSP Ping still really needed in the context of BFD over MPLS-TP?
>>>
>>> Also as a part of MPLS-TP OAM could somebody explain why such a deviation
>>> is taken from the BFD-BASE mode of demultiplexing which even BFD-MPLS uses
>>> (discriminator values instead of MPLS labels), but MPLS-TP goes in for
>>> demultiplexing using labels....
>>>
>>> Could somebody please clarify this..?
>>>
>>>
>>> With Regards
>>> Mukund
>>>  _______________________________________________
>>> mpls-tp mailing list
>>> mpls-tp@ietf.org
>>> https://www.ietf.org/mailman/listinfo/mpls-tp
>>>
>>>
>>>
>>> _______________________________________________
>>> mpls-tp mailing list
>>> mpls-tp@ietf.org
>>> https://www.ietf.org/mailman/listinfo/mpls-tp
>>>
>>>
>>
>