[Pals] draft-ietf-l2vpn-vpls-pe-etree - possible ways forward

Stewart Bryant <stbryant@cisco.com> Fri, 02 October 2015 15:41 UTC

Return-Path: <stbryant@cisco.com>
X-Original-To: pals@ietfa.amsl.com
Delivered-To: pals@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7FBC91B2C3A for <pals@ietfa.amsl.com>; Fri, 2 Oct 2015 08:41:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -13.403
X-Spam-Level:
X-Spam-Status: No, score=-13.403 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, LOCALPART_IN_SUBJECT=1.107, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 st6B-Qg-kglx for <pals@ietfa.amsl.com>; Fri, 2 Oct 2015 08:40:59 -0700 (PDT)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D7BD51B2C38 for <pals@ietf.org>; Fri, 2 Oct 2015 08:40:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=22486; q=dns/txt; s=iport; t=1443800459; x=1445010059; h=reply-to:from:to:subject:cc:message-id:date:mime-version; bh=+K0B2H7cuVVO/r8G2LOBNKnf1TC3OMzcCaK3/o1xQ94=; b=TlJ2N11J2c8JkO1CgboALD6eO7l0I+QfiJWuJ+SoFleiUTQXERRzoPJI eNS8xJeOQQ8cvZZZfM0+avtkg8UU8kerJDCfxhPe+Q6JTOhFpGhQ14Prc K3TS583p5MzT+V0rq9RmeYn62fDu0/5DGQ0G52UXl9SP1uHPajuWA14RS 8=;
X-IronPort-AV: E=Sophos;i="5.17,623,1437436800"; d="scan'208,217";a="611977914"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP; 02 Oct 2015 15:40:57 +0000
Received: from [10.55.98.185] (ams-stbryant-8818.cisco.com [10.55.98.185]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id t92FeuRv010498; Fri, 2 Oct 2015 15:40:56 GMT
From: Stewart Bryant <stbryant@cisco.com>
To: "draft-ietf-l2vpn-vpls-pe-etree@tools.ietf.org" <draft-ietf-l2vpn-vpls-pe-etree@tools.ietf.org>, "pals@ietf.org" <pals@ietf.org>
Message-ID: <560EA591.4080100@cisco.com>
Date: Fri, 02 Oct 2015 16:41:05 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------040803060106090203020206"
Archived-At: <http://mailarchive.ietf.org/arch/msg/pals/Q0E-O3B2vi3FRlaF59z-LmuZlcE>
Cc: "pals-chairs@tools.ietf.org" <pals-chairs@tools.ietf.org>
Subject: [Pals] draft-ietf-l2vpn-vpls-pe-etree - possible ways forward
X-BeenThere: pals@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: stbryant@cisco.com
List-Id: "Pseudowire And LDP-enabled Services dicussion list." <pals.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pals>, <mailto:pals-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pals/>
List-Post: <mailto:pals@ietf.org>
List-Help: <mailto:pals-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pals>, <mailto:pals-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Oct 2015 15:41:02 -0000

I am sorry that this is a long email, but I wanted to collect the
facts together in one place and set out the complete scene to
the PALS WG.

The critical concern is contained in the following email fragment
from Lizhong:

=======

In RFC4447 and 4447bis, it clearly said:

Using the PWid FEC, each of the two pseudowire endpoints

    independently initiates the setup of a unidirectional LSP.   An

    outgoing LSP and an incoming LSP are bound together into a single

    pseudowire if they have the same PW ID  and PW type.

The behavior is a correct description for LDP-DU mode which PW applies.

And that is also the behavior most vendors implement.

Then in draft-ietf-l2vpn-vpls-pe-etree-09, it says:

A PE that receives a PW label mapping message with an E-Tree Sub-TLV

    from its peer PE, after saving the VLAN information for the PW, MUST

    process it as follows:

.....

3) If the P bit is set

       {

           If the PE is a leaf-only node itself, a label release message

       with a status code "Leaf to Leaf PW released" is sent to the peer

       PE and exit the process;

           Else the PE SHOULD set the Optimized-Mode to TRUE.

       }

That means, if PE1 receiving a label mapping from PE2 with P bit set,

PE1 will send label release. Then PE2 will never send label mapping

again to PE1 even when PE1 changes from leaf-only node to root-leaf 
node. For LDP-DU

mode, PE2 will not send label mapping again when receiving PE1's label 
mapping.

Then the PW will not be setup successfully. Then only way is to 
configure the

same PW on PE2 again.

The correct behavior is, label release message should not be sent.

For PW signaling, the unacceptable of any Interface Parameter will not 
lead to any

label release, but just simply let the PW down in forwarding plane.

========

Andy looked at this from the point of view of the MEF and notes in
private conversation:

=========
In the E-tree service as defined by MEF, you can have one or more roots
and one or more leafs.

In a single E-tree service (think of a multipoint PW with some of the CEs
configured as roots as some as leafs), all leafs and roots receive frames
sent by the roots. All roots receive frames sent by the leafs. However,
leafs may not receive any frames sent by other leafs.

The draft, as written, doesn't bring up an underlying pt-to-pt PWs to
carry frames for the service between PEs that only have leafs attached.
Since the leafs can't sent frames to each other, that is an economical
use of PWs in the network.

Lizhong's point is that this makes it impossible to add a new root to
an existing PE in an E-tree that previously only had leafs.

I agree that would be a problem if there was a requirement to modify
an existing E-tree service. However, this draft has no other mechanisms
to explicitly support E-tree modification, nor is such modification a
requirement of the underlying MEF specification. BTW, since this work
was started, the MEF replaced MEF 6.1 with MEF 6.2, "EVC Ethernet
Services Definitions Phase 3", August, 2014, and that reference should
be updated in the draft.

My opinion is that the draft as it stands is technically correct if you
don't need the ability to reconfigure an existing E-tree service 
dynamically.

==========

Now whilst I can support the idea that dynamic reconfiguration of
E-tree is not needed, I have a concern.

My understanding the text in question is that it is saying that if
A is configured as leaf only, and B which is also configured as
leaf only attempts to configure a PW between them, then A rejects
the PW setup.

That sounds very reasonable to me, since there is a misconfig.

If A did not do the reject, then B would forever be consuming
resource waiting for A and B would have no idea of the
misconfig. That accords with Andy's view above.

However I was worried what would happen if A was misconfigured
as leaf only and the configuration was corrected to root-leaf.
What would in my view be difficult to accept was the need to
take a human, or NMS action at B to recover the situation.
However provided that A closed the LDP session with B
and re-instate it B would then send the mapping message again.
Thus the system is recoverable without needing to visit B which
is in my mind a fundamental requirement since A could have
got into the wrong mode as a result of an error.

The problem I see is if A has a bunch of other PWs with B
they will get torn down in order for A to have the config error
fixed. However if that is a problem you need two LDP sessions
between A and B, one for L2VPN and one for regular PWs.

My inclination is that the draft is basically correct, and that whilst
Lizhong is correct that the PW will not come up without some
action, reconfiguring the PW on B is not the only action
that will cause the PW to come up.

So this comes down to a WG decision in terms of which is the
least unacceptable behaviour - A having to re-cycle the LDP
session, or B wasting resources. I think I prefer the behaviour
proposed in the draft.

A way forward is to leave the logic as written in the draft, but to
add text describing the basis for excluding dynamic re-configuration
as a normal operational mode and to note the actions that need
to be taken when re-configuration is forced for some reason.

Whilst we were pondering what do with the text the chairs
and AD received another proposal from the authors:

======

In general, FEC PWid(0x80) is used in VPLS with manual provisioning,
while Generalized PWid (0x81) is used with auto-discovery.

As discussed in Section 5.2, VLAN mapping parameters can be provisioned
without a signaling protocol, Optimized Mode can also be a parameter
to be provisioned.

The approach we’ve taken in the current draft-ietf-l2vpn-vpls-pe-etree-09
does allow this. Quite a few service providers may prefer to control
all these E-Tree connectivity by themselves.

When E-Tree signaling protocol for PWid FEC is considered, the following
options are also feasible:

a)Disable Optimized mode for FEC PWid(0x80), thus root/leaf role
change in the E-Tree topology will not have any influence on the PW.

b)Add another appendix into the document for the full support of
Optimized mode with FEC PWid(0x80).

The idea is: the PE sends a label mapping firstly and then send a label
request to its peer PEs (so that they will reply with a label mapping
respectively).

Since Optimized mode is an optional piece in the document, I would
regard option a) as a simple tradeoff (as I am aware, E-VPN does not
support Optimized mode for E-Tree either.

========


Thus we have three proposals on the table:

1) Leave the design as it is, but add text to describe the constraint and
what happens if you have to change mode and what to do about it.

2) Exclude optimization in the FEC PWid(0x80) case

3) Add an appendix describing support for the FEC PWid(0x80) case.

My inclination would be to go with option (1) but I seek the views of
the WG, and of course any corrections in my analysis.

- Stewart