Re: [PWE3] Why we consider the method of "label sharing for fast PE protection"

Mingui Zhang <zhangmingui@huawei.com> Sat, 09 November 2013 08:33 UTC

Return-Path: <zhangmingui@huawei.com>
X-Original-To: pwe3@ietfa.amsl.com
Delivered-To: pwe3@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 656B821F9F19; Sat, 9 Nov 2013 00:33:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.394
X-Spam-Level:
X-Spam-Status: No, score=-5.394 tagged_above=-999 required=5 tests=[AWL=0.605, BAYES_00=-2.599, J_CHICKENPOX_13=0.6, RCVD_IN_DNSWL_MED=-4]
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 bluFnTIrR7ar; Sat, 9 Nov 2013 00:33:10 -0800 (PST)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id 7B82A21F9F01; Sat, 9 Nov 2013 00:33:09 -0800 (PST)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id BAB76209; Sat, 09 Nov 2013 08:33:07 +0000 (GMT)
Received: from LHREML403-HUB.china.huawei.com (10.201.5.217) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.158.1; Sat, 9 Nov 2013 08:32:59 +0000
Received: from NKGEML403-HUB.china.huawei.com (10.98.56.34) by lhreml403-hub.china.huawei.com (10.201.5.217) with Microsoft SMTP Server (TLS) id 14.3.158.1; Sat, 9 Nov 2013 08:33:02 +0000
Received: from NKGEML508-MBX.china.huawei.com ([169.254.7.179]) by nkgeml403-hub.china.huawei.com ([10.98.56.34]) with mapi id 14.03.0158.001; Sat, 9 Nov 2013 16:32:57 +0800
From: Mingui Zhang <zhangmingui@huawei.com>
To: Robert Raszuk <robert@raszuk.net>
Thread-Topic: Why we consider the method of "label sharing for fast PE protection"
Thread-Index: AQHO2+geoImqeN4PM02OPNhQaq9T5JoaTP2jgAACoOOAAZoGgIAAp16e
Date: Sat, 09 Nov 2013 08:32:57 +0000
Message-ID: <4552F0907735844E9204A62BBDD325E7336612A0@nkgeml508-mbx.china.huawei.com>
References: <4552F0907735844E9204A62BBDD325E733660DBA@nkgeml508-mbx.china.huawei.com> <2F3EBB88EC3A454AAB08915FBF0B8C7E02EB9CCC@eusaamb109.ericsson.se> <4552F0907735844E9204A62BBDD325E733660E8C@nkgeml508-mbx.china.huawei.com>, <CA+b+ERnZO8UN3Ofkn_DfVyYRxp7J5z=SABOY7LkqWqSXj575VA@mail.gmail.com>
In-Reply-To: <CA+b+ERnZO8UN3Ofkn_DfVyYRxp7J5z=SABOY7LkqWqSXj575VA@mail.gmail.com>
Accept-Language: en-US, zh-CN
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.47.148.66]
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: Jakob Heitz <jakob.heitz@ericsson.com>, "pwe3@ietf.org" <pwe3@ietf.org>, "l3vpn@ietf.org" <l3vpn@ietf.org>
Subject: Re: [PWE3] Why we consider the method of "label sharing for fast PE protection"
X-BeenThere: pwe3@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Pseudowire Emulation Edge to Edge <pwe3.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pwe3>, <mailto:pwe3-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/pwe3>
List-Post: <mailto:pwe3@ietf.org>
List-Help: <mailto:pwe3-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pwe3>, <mailto:pwe3-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Nov 2013 08:33:14 -0000

Hi Robert,

Thanks for your comments!

>If your implementation configures a same VPN label across N sites
>manual or by SDN magic you are free to advertise it along with VPNv4
>routes. I am not sure why any draft is needed for that at all. After
>all it is your implementation.

[ZMG] The point is that each PE used to allocate the VPN label for each VRF locally without knowing what label has been assigned by other PEs. Now, we need them “happen to” allocate the same label for each VRF. 
>To the best of my knowledge L3VPN spec does not prohibit in any RFC to
>advertise the same label across N PEs. In fact it does not mandate any
>correlation of label value across PEs so you are pretty free to go.

[ZMG] Or you can speak in this way. It’s free for this draft to mandate a REQ to the label allocation that PEs in a Redundant Group always allocate the same label for each VRF.

<snip>
>I am a bit implicitly assuming you are talking about per vrf label
>only. 

[ZMG] Yes, you are right. We are assuming the “per VRF” allocation in our draft for the sake of scalability. 

>Other modes of label allocation would be rather cumbersome 

[ZMG] I agree with you. Other two finer grained label allocations are not recommended. 

<snip>
>As Eric mentioned today devil is in details and where you go down to
>actually implement robust solution I can bet that you will start very
>much to like to concept of context labels for protection and
>independent VPN (or for that matter any other application - pwe3/l2vpn
>etc) label allocation pardigm :)

[ZMG] I believe when Eric made that statement, he assumed the label allocation was done by a “SDN central controller”. I guess that was simply an abstraction caused by the chaos of the “central controlled” conception. 

[ZMG] To make the discussion clear, let’s forget about the “central controlled” like stuff from now on. We proposed the draft leveraging ICCP connection to do the label negotiation. Please focus on that choice.  ICCP has already provided that robustness. Why reinvent the wheel? :)

Regards,
Mingui



________________________________________
From: rraszuk@gmail.com [rraszuk@gmail.com] on behalf of Robert Raszuk [robert@raszuk.net]
Sent: Saturday, November 09, 2013 14:20
To: Mingui Zhang
Cc: Jakob Heitz; l3vpn@ietf.org; pwe3@ietf.org
Subject: Re: Why we consider the method of "label sharing for fast PE protection"

Hi Mingui,

If your implementation configures a same VPN label across N sites
manual or by SDN magic you are free to advertise it along with VPNv4
routes. I am not sure why any draft is needed for that at all. After
all it is your implementation.

To the best of my knowledge L3VPN spec does not prohibit in any RFC to
advertise the same label across N PEs. In fact it does not mandate any
correlation of label value across PEs so you are pretty free to go.

However if you go that path please notice that this is not just about
.. "let's configure same VPN label".

We do have three types of VPN labels:

- per vrf
- per next hop
- per prefix

I am a bit implicitly assuming you are talking about per vrf label
only. Other modes of label allocation would be rather cumbersome to be
done manually or even programmatically as their appearance and
allocation must be coordinated with new CE or new VPN advertisement in
any VPN site and across existence of already provisioned sites.

As Eric mentioned today devil is in details and where you go down to
actually implement robust solution I can bet that you will start very
much to like to concept of context labels for protection and
independent VPN (or for that matter any other application - pwe3/l2vpn
etc) label allocation pardigm :)

Best regards,
R.





On Thu, Nov 7, 2013 at 11:15 PM, Mingui Zhang <zhangmingui@huawei.com> wrote:
> Hi Jakob,
>
>
>
> There are three ways,
>
>
>
> 1. Always, this label can be configured.
>
>
>
> 2. We do have a companion draft to realize this. Please look at
> http://tools.ietf.org/html/draft-zhang-pwe3-iccp-label-sharing-00 . We
> already presented this draft in pwe3. (Let me copy this track to the pwe3
> mailing list.) With the ICCP connection established, PEs can negotiate this
> label.
>
>
>
> 2. The last choice is to use a global label if it was supported.
>
>
> Thanks,
> Mingui
> ________________________________
> From: Jakob Heitz [jakob.heitz@ericsson.com]
> Sent: Friday, November 08, 2013 5:50
> To: Mingui Zhang; l3vpn@ietf.org
> Subject: RE: Why we consider the method of "label sharing for fast PE
> protection"
>
> Several people at the mike asked this question:
> How do you make sure that the PEs allocate the same label?
>
> This needs to be part of the document, because it is quite important.
> If an external entity allocates the labels, the protocol
> between the PEs and that entity needs to be standardized.
> Since this is a feature that provides redundancy, the
> label allocating entity also needs to be backed up by a
> redundant entity. The protocol between the redundant
> label allocators needs to be standardized.
>
> --
>
> Jakob Heitz.
>
> ________________________________
> From: l3vpn-bounces@ietf.org [l3vpn-bounces@ietf.org] on behalf of Mingui
> Zhang [zhangmingui@huawei.com]
> Sent: Thursday, 07 November 2013 11:40 AM
> To: l3vpn@ietf.org
> Subject: Why we consider the method of "label sharing for fast PE
> protection"
>
> Hi,
>
> As a choice of fast PE protection,
>
> 1. This solution is simple and light-weight. We need not introduce the
> complex context label table in PE routers. So label table need not be stored
> repeatedly on RG members.
>
>
> 2. Also, it’s easy to be deployed. It does not bring any change to P routers
> (control plane & data plane). It even does not change the data plane of PE
> routers.
>
>
> 3. In addition, it does not bear the restriction of “no
> penultimate-hop-popping”.
>
>
>
> Thanks,
> Mingui