RE: Static VPLS MAC withdrawal draft

Alexander Vainshtein <Alexander.Vainshtein@ecitele.com> Fri, 11 May 2012 05:11 UTC

Return-Path: <Alexander.Vainshtein@ecitele.com>
X-Original-To: l2vpn@ietfa.amsl.com
Delivered-To: l2vpn@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3E1E021F8600 for <l2vpn@ietfa.amsl.com>; Thu, 10 May 2012 22:11:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.573
X-Spam-Level:
X-Spam-Status: No, score=-4.573 tagged_above=-999 required=5 tests=[AWL=0.629, BAYES_00=-2.599, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
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 wQF6xkNAf2Lv for <l2vpn@ietfa.amsl.com>; Thu, 10 May 2012 22:11:36 -0700 (PDT)
Received: from mail1.bemta3.messagelabs.com (mail1.bemta3.messagelabs.com [195.245.230.34]) by ietfa.amsl.com (Postfix) with ESMTP id 87B9E21F8609 for <l2vpn@ietf.org>; Thu, 10 May 2012 22:11:35 -0700 (PDT)
Received: from [85.158.138.51:34501] by server-4.bemta-3.messagelabs.com id 05/3A-15341-68F9CAF4; Fri, 11 May 2012 05:11:34 +0000
X-Env-Sender: Alexander.Vainshtein@ecitele.com
X-Msg-Ref: server-14.tower-174.messagelabs.com!1336713093!20131571!1
X-Originating-IP: [168.87.1.157]
X-StarScan-Version: 6.5.7; banners=-,-,-
Received: (qmail 4379 invoked from network); 11 May 2012 05:11:33 -0000
Received: from unknown (HELO fridlppsb001.ecitele.com) (168.87.1.157) by server-14.tower-174.messagelabs.com with SMTP; 11 May 2012 05:11:33 -0000
X-AuditID: a8571401-b7f8d6d0000035b0-d0-4faca0100260
Received: from FRIDWPPCH001.ecitele.com (fridwppch001.ecitele.com [10.1.16.52]) by fridlppsb001.ecitele.com (Symantec Messaging Gateway) with SMTP id 4E.D3.13744.010ACAF4; Fri, 11 May 2012 07:13:52 +0200 (CEST)
Received: from FRIDWPPMB001.ecitele.com ([169.254.3.187]) by FRIDWPPCH001.ecitele.com ([10.1.16.52]) with mapi id 14.01.0339.001; Fri, 11 May 2012 07:11:32 +0200
From: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>
To: Sami Boutros <sboutros@cisco.com>
Subject: RE: Static VPLS MAC withdrawal draft
Thread-Topic: Static VPLS MAC withdrawal draft
Thread-Index: Ac0tTYm5TIv9pECE0EWc8IlBO2eaCQBZSqlwAAD+M1D///XxgP//nZowgAEGcYD//6hqsA==
Date: Fri, 11 May 2012 05:11:31 +0000
Message-ID: <F9336571731ADE42A5397FC831CEAA02056985@FRIDWPPMB001.ecitele.com>
References: <CBCF2D0B.1AAF5%giles.heron@gmail.com> <F9336571731ADE42A5397FC831CEAA02056539@FRIDWPPMB001.ecitele.com> <32B4F6D6-CB5A-4DE9-8A14-B04B175BC30E@cisco.com> <F9336571731ADE42A5397FC831CEAA02056837@FRIDWPPMB001.ecitele.com> <78CE5EBC-3B62-4783-8F32-12B8C654F4CF@cisco.com>
In-Reply-To: <78CE5EBC-3B62-4783-8F32-12B8C654F4CF@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.1.35.6]
Content-Type: text/plain; charset="us-ascii"
content-transfer-encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
X-Brightmail-Tracker: H4sIAAAAAAAAA2VTa0hTURz33LvNu+Wt2zbbaWmNSxFkm5MeTHAW1QejYpFREIHdbaft0nZ3 2Z2ifVrfypLeD5fPtLKUTOuDvWlllmAWRKSgldrLMiqjB0J0DjMzup9+9/xe53/uuQyt/6wx M6IUQWFJCPAanUoHksxWrqbJZW+rneN41X4COAa/xZMdjwY6aEf/yA/Kce/IF7BcnXdkrEWd dyXWl5xXX/+TWk9viYIcQZJCESGCLF6keJz8+rBYJHhKeIvodfJZvEUOCB4URFLEyQuyjCQv n6uz/PfkYJkoWZDkCXlFyefkV+e7rA7HkmxrFp+70S8qFmQNCmLAEkSKIviQBa+QCSTvtgu0 /+Nhtzy6rrjiZpUmCoZySoGWgdxi+LjsA53AM+Cj/mZNKdAxeu4JgHVfuwAh9NxpAONXjQRr OCdsbezTEGzk5sGXY9WAGGiuAsCOvb3JhDBwVti9v2dcZINj7cewiMF4E7z1hiPLKuzta3mo Ipjl1sGqutLx4hoKDj78QRO9FpcNtemIBuDNfe9sogimORPsHaqmEpvmYP317vEBUuG7wV/q BE6Hh++WJSf0C2HNtS+aBM6AZ2rf04ne6fBB+ZAqoZ8Jbzc8Ux0Aptikitgke2ySPTbJXgNU 54Fpe1j0yrLittuzbMgjRlAA2TyhYCvAF6dhsxG0gYEyWxxwDOBTWGak0aVXC0VKSTAOZjIU n8rqKptc+qnukLfELyj+gnBhAClxABmaN7LFyzDHeoWSnSgc+kM58BkepM1TPCHygSMFi+z2 f154E9u8Idel53z41u1ASEbhP9Y0huEh21KFU6eHkQ8VbxcDkb80xWhJcwpulomGVWQhqIi+ BN8J5jGDN848BXqVFJKQ2cTeJSKOiPyF0kTOMDDhWQ3sVcKm4Fs4kTCMwykcfuzOORKO/4oJ yhwFsy6PxvK31hn7x4qydx23iZeoQ/ver90wO2ngudZvv1jYUJde3/3SPXxy31Jt0qzdbv/3 U6OBkWjl/OUrFmV8qjbcN9+Mbrp8tLqRbpy79GxuJ505pet196HHRl9qT0+telp7qNOwoCA7 Kb9j1Z6mlcXZvq9vqRcr0ihfeaYhbU2ph1cpfiFrAR1WhN+rp27wBAQAAA==
Cc: "l2vpn@ietf.org" <l2vpn@ietf.org>, "msiva@cisco.com" <msiva@cisco.com>
X-BeenThere: l2vpn@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: <l2vpn.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/l2vpn>, <mailto:l2vpn-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/l2vpn>
List-Post: <mailto:l2vpn@ietf.org>
List-Help: <mailto:l2vpn-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/l2vpn>, <mailto:l2vpn-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 11 May 2012 05:11:37 -0000

Sami,
Lots of thanks for prompt responses.

My general gut feeling is that the draft tries to compensate for lack of reliable delivery provided by TCP in the case of signaled PWs between the VPLS peers, but leaves aside some other issues that stem from the static nature of the PWs. These include at least the following:

- Synchronized setup of the PW endpoints.   Life would be simpler if the two endpoints could guarantee that they have both come up and both deal with the same values of Rx and Tx sequence numbers (cross-matched).

- Synchronized reset for the sequence numbers: consider the case when one of the PEs undergoes restart in the middle of operation and starts with a new pair of Rx and Tx numbers while its peers remain unaware of the fact.

- Ordered (in addition to reliable) delivery of messages: consider the case with two messages following each other (from my original example), but the first one being lost. The 2nd one (including all MAC addresses from the 1st one) is delivered and ACKed, then the 1st one is retransmitted and delivered...

One thing that the draft does not mention is management of the list of MAC addresses that should be withdrawn but have not be ACKed for withdrawal (an analog o the TCP socket Tx buffer). Such a list is required per PW, and it would be nice to understand how it behaves.

I must admit that I do not have a better scheme in mind at the moment (that is, if you do not count using TCP as a valid better scheme :-).
But using some non-TCP mechanism for synchronized, ordered and reliable delivery (e.g., one used in OSPF?) may be worth consideration.

IMHO and FWIW, if your colleagues and you prefer to keep it as simple as possible, the draft should at least describe possible pitfalls and their consequences (say in an Applicability section).

Last but not least:
I may be exceptionally dumb these days, but could you please clarify which "half of the sequence number space" do you have in mind, and which modulo do you use in the "modular arithmetic"?

Regards,
     Sasha

> -----Original Message-----
> From: Sami Boutros [mailto:sboutros@cisco.com]
> Sent: Friday, May 11, 2012 4:22 AM
> To: Alexander Vainshtein
> Cc: msiva@cisco.com; nmcgill@cisco.com; l2vpn@ietf.org; Giles Heron
> Subject: Re: Static VPLS MAC withdrawal draft
> 
> Hi Sasha,
> 
> >>
> >> Thanks for your comments, Please see responses inline..
> >>
> >>>
> >>>
> >>>> -----Original Message-----
> >>>> From: Alexander Vainshtein
> >>>> Sent: Thursday, May 10, 2012 5:08 PM
> >>>> To: 'msiva@cisco.com:'; Sami Boutros (sboutros@cisco.com);
> >>>> 'nmcgill@cisco.com'
> >>>> Cc: l2vpn@ietf.org; 'Giles Heron'; Rotem Cohen; Andrew Sergeev;
> >> Mishael
> >>>> Wexler; Gideon Agmon
> >>>> Subject: RE: Static VPLS MAC withdrawal draft
> >>>>
> >>>> Hi all,
> >>>> I've read the draft in question and I would like to clarify several issues
> >> that
> >>>> look either undefined or ambiguous to me.
> >>>>
> >>>> 1. To the best of my understanding, the draft requires each PE
> >> participating
> >>>> in a given VPLS instance to set up two counters for each static PW
> >>>> connecting it to a peer PE device in this VPLS instance: one for static
> MAC
> >>>> withdrawal messages it is going to send and another - for static MAC
> >>>> withdrawal messages it receives. Is this understanding correct?
> >>>>
> >>
> >> Sami: This is correct.
> >>
> >>>> 2. Assuming a positive answer to the previous questions, how are
> these
> >>>> counters initialized? The draft seems to be moot on this point.
> >>
> >> Sami: This is what the draft has for setting up the sequence # in section 3.
> >>   Only half of the sequence number space is used. Modular arithmetic
> >>   is used to detect wrapping of sequence number. When sequence
> number
> >>   wraps (i.e., when it becomes 0), all MAC addresses are flushed and
> >>   the sequence number is reset.
> >> Sami: Can you please explain what's vague in the above?
> > [[[Sasha]]]  This does not say too much about initialization (at least, not to
> me).
> > And it would be nice if the draft was more specific here.
> 
> Sami: Agreed, we need to add the initialization value to the text.
> 
> >>
> >>>> The more
> >>>> interesting question is, of course, about initialization of the counter of
> >>>> received static MAC withdrawal messages, since, with static PWs,
> >> generally
> >>>> speaking, there is no synchronization between setting up one of its
> end
> >>>> points and setting up another one.
> >>
> >>
> >> Sami: Initially the rx sequence # can be assumed to be 0.
> > [[[Sasha]]] But you've said that Rx number 0 results in flushing all MAC
> addresses?
> 
> Sami: Good point, but this is why the receiving PE should always flush on
> receiving 0.
> Sami: The Transmitter PE would then increment the sequence # and
> subsequent
> Sami: Transmission will be higher than 0.
> 
> >>
> >>>>
> >>>> 3. The draft specifies that:
> >>>> 	- The transmitter sends the MAC withdrawal message with the same
> >>>> sequence number until it receives an ACK for it (Section 4.1.1)
> >>>> 	- The receiver, after having acknowledged a MAC withdrawal
> >>>> message, ignores refresh messages with the same sequence number
> >>>> (Section 4.1.2)
> >>>> What is supposed to happen in the following scenario:
> >>>> 	- Transmitter finds out that some MACs have to be withdrawn (e.g.,
> >>>> because the AC from which they have been learned fails)
> >>>> 	   and sends a MAC withdrawal message to its peers with sequence
> >>>> number N
> >>>> 	- Immediately after that (i.e., before it receives an ACK for this
> >>>> message) it finds out that yet another set of MAC addresses has to be
> >>>> withdrawn
> >>>> 	- Retransmission timer expires without ACK received.
> >>>>
> >>
> >> Sami: A new sequence # will be transmitted that will include both sets of
> >> MAC addresses
> >> Sami: that need to be flushed, and the transmitter will wait for an ack for
> >> this new sequence #.
> >> Sami: We can add this to the draft.
> > [[[Sasha]]] First of all, I think something like that MUST be added to the
> draft.
> > And I am not sure what you say is really OK: consider the case when ACK
> for the first withdrawal message is received after the 2nd message has been
> sent.
> > If one of the ACKed (and withdrawn) MAC addresses has been then re-
> learned they will be flushed again...
> 
> Sami: Yes, this will lead to deleting again, and then the macs will be learnt
> again, keep in mind that we are talking about using a mac list (not an empty
> mac list), and deleting 2 sets of macs and we didn't Sami: get the ack for the
> 1st set in time before we ask to delete the 2nd set. I would think this should
> be ok, however am open to better schemes.
> 
> 
> >>
> >>>> 4. Suppose that only one end point of a static PW between a given pair
> of
> >>>> peers has been set up. In this case transmitting the static MAC
> >> withdrawal
> >>>> messages via such a PW is possible, but ACKs will never be received.
> >> Should
> >>>> retransmission of these messages go on "ad infinitum"?
> >>>>
> >>
> >> Sami: Yes, this will be the case, the mechanism will be no different then
> the
> >> static PW status one for this case.
> > [[[Sasha]]] But ACK is not mandatory in the PW status message 9indeed, it
> is not clear if it is ever needed).
> > Here you may end with multiple retransmitting messages that are sent to
> a black hole.
> 
> Sami: Wouldn't that be TRUE too for PW status messages? however is there
> a scheme you have in mind to solve this?
> 
> 
> Thanks,
> 
> Sami
> >>
> >>>> 5. The draft does not specify any default value for the retransmit time.
> >>>>
> >>
> >> Sami: Sure will add.
> >>
> >>>> 6. A nit:  Heading of Section 4 is followed by headings for Sections 4.1.1
> >> and
> >>>> 4.1.2 without any heading for 4.1.
> >>>>
> >>
> >> Sami: Sure will fix.
> >>
> >>>> Hopefully these questions will be useful.
> >>>>
> >>
> >> Thanks,
> >>
> >> Sami
> >>
> >>
> >>>> Regards,
> >>>>    Sasha
> >>>>
> >>>>> -----Original Message-----
> >>>>> From: l2vpn-bounces@ietf.org [mailto:l2vpn-bounces@ietf.org] On
> >> Behalf
> >>>>> Of Giles Heron
> >>>>> Sent: Tuesday, May 08, 2012 10:06 PM
> >>>>> To: l2vpn@ietf.org
> >>>>> Subject: Static VPLS MAC withdrawal draft
> >>>>>
> >>>>> Hi everyone,
> >>>>>
> >>>>> The following draft was presented at IETF in Paris:
> >>>>>
> >>>>> http://tools.ietf.org/html/draft-boutros-l2vpn-mpls-tp-mac-wd-00
> >>>>>
> >>>>> The authors have asked for it to be adopted as a WG draft, but at this
> >> stage
> >>>>> the chairs' view is that it probably hasn't had enough sets of eyes on
> it.
> >>>>>
> >>>>> So this email is to request that those on the list take a read of the
> draft
> >>>>> and send comments back to the list.  Depending on the response we
> get
> >>>> we
> >>>>> may
> >>>>> then ask the WG if they feel happy adopting this as a WG draft.
> >>>>>
> >>>>> Nabil and Giles
> >>>>>
> >>>
> >>>
> >>> This e-mail message is intended for the recipient only and contains
> >> information which is CONFIDENTIAL and which may be proprietary to ECI
> >> Telecom. If you have received this transmission in error, please inform us
> by
> >> e-mail, phone or fax, and then delete the original and all copies thereof.
> >>>
> >
> >
> > This e-mail message is intended for the recipient only and contains
> information which is CONFIDENTIAL and which may be proprietary to ECI
> Telecom. If you have received this transmission in error, please inform us by
> e-mail, phone or fax, and then delete the original and all copies thereof.
> >


This e-mail message is intended for the recipient only and contains information which is CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have received this transmission in error, please inform us by e-mail, phone or fax, and then delete the original and all copies thereof.