Re: [Bier] Questions on draft-eckert-bier-te-arch-01

Toerless Eckert <eckert@cisco.com> Thu, 05 November 2015 02:31 UTC

Return-Path: <eckert@cisco.com>
X-Original-To: bier@ietfa.amsl.com
Delivered-To: bier@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A516E1B2F70 for <bier@ietfa.amsl.com>; Wed, 4 Nov 2015 18:31:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -13.911
X-Spam-Level:
X-Spam-Status: No, score=-13.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, J_CHICKENPOX_35=0.6, 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 gIieqoAzmKyJ for <bier@ietfa.amsl.com>; Wed, 4 Nov 2015 18:31:51 -0800 (PST)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0576D1B36B9 for <bier@ietf.org>; Wed, 4 Nov 2015 18:31:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4515; q=dns/txt; s=iport; t=1446690711; x=1447900311; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=BF13DM0cMP5XA7GMbLXTvoxfNmKvtD/Ren34WbI0cWM=; b=ViTlIKGw4nQCLaoF86w7w77gW/+QX40aM2PdXsh8Po1Kz2/Xb9/Ja9PX mjS7Q/yKSjY32d6E1JcwIbX4WFbZo+SSodRnx59sr9MHY8XzISVMlSDHM Hj2MjTUuRKUyfsxjbBdqupHGsLZmzkthwbgF3+F8CuPNuYI/KAFQhfvTk M=;
X-IronPort-AV: E=Sophos;i="5.20,245,1444694400"; d="scan'208";a="47562049"
Received: from alln-core-1.cisco.com ([173.36.13.131]) by rcdn-iport-3.cisco.com with ESMTP; 05 Nov 2015 02:31:50 +0000
Received: from mcast-linux1.cisco.com (mcast-linux1.cisco.com [172.27.244.121]) by alln-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id tA52VohL030270 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Nov 2015 02:31:50 GMT
Received: from mcast-linux1.cisco.com (localhost.cisco.com [127.0.0.1]) by mcast-linux1.cisco.com (8.13.8/8.13.8) with ESMTP id tA52VnD3009511; Wed, 4 Nov 2015 18:31:49 -0800
Received: (from eckert@localhost) by mcast-linux1.cisco.com (8.13.8/8.13.8/Submit) id tA52Vn5m009510; Wed, 4 Nov 2015 18:31:49 -0800
Date: Wed, 04 Nov 2015 18:31:49 -0800
From: Toerless Eckert <eckert@cisco.com>
To: Eric C Rosen <erosen@juniper.net>
Message-ID: <20151105023149.GD30363@cisco.com>
References: <55DF5BAD.9060003@juniper.net> <20151007221035.GA26709@cisco.com> <561BFD2C.8090708@juniper.net> <20151013000257.GA13911@cisco.com> <56214683.5090900@juniper.net> <20151016194126.GA21691@cisco.com> <56325CC6.5080602@juniper.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <56325CC6.5080602@juniper.net>
User-Agent: Mutt/1.4.2.2i
Archived-At: <http://mailarchive.ietf.org/arch/msg/bier/yHD798FXg-uJZMpB4oQQrt0AGbY>
Cc: "BIER (bier@ietf.org)" <bier@ietf.org>, Neale Ranns <nranns@cisco.com>
Subject: Re: [Bier] Questions on draft-eckert-bier-te-arch-01
X-BeenThere: bier@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "\"Bit Indexed Explicit Replication discussion list\"" <bier.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bier>, <mailto:bier-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bier/>
List-Post: <mailto:bier@ietf.org>
List-Help: <mailto:bier-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bier>, <mailto:bier-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Nov 2015 02:31:52 -0000

Inline

On Thu, Oct 29, 2015 at 01:52:06PM -0400, Eric C Rosen wrote:
> On 10/16/2015 3:41 PM, Toerless Eckert wrote:
> >We could easily avoid the single "shared leaf bit" by having a forwarding
> >plane feature "you're a leaf BFER, every BIER-TE packet you receive
> >needs to be punted". But thats a new forwarding plane feature, the
> >"shared leaf bit" is just a bit allocation trick, so it keeps the 
> >forwarding
> >plane simpler/cleaner.
> 
> I don't really follow this.  Presumably, if a BFR is a leaf BFER in a 
> particular sub-domain, it must know that it is a leaf BFER in that 
> sub-domain.  Otherwise it wouldn't punt the packet when it sees the 
> "shared leaf bit".

Right.

> If the BFR knows that it is a leaf BFER in a particular sub-domain, then 
> when it gets a packet whose top label is the MPLS label it has assigned 
> to that sub-domain, it can just punt the packet.  Recognizing that a 
> particular MPLS label means "this packet is for me" doesn't seem like a 
> new forwarding plane feature.

Sure.

Then i use an encap other than MPLS and i have to figure out how to
achieve the desired behavior there. All not rocket science, but all
dependencies against additional definitions in those docs ??

All the ways described in the arch doc how you can use the BIFT adjacency
entries to achieve beneficial outcomes are just that: "can". If there are
other ways to achieve the same thing preferred in some secenarios, that's
great. I just thought as an architect its a nice scheme and requires
nothing new in the forwading plane (local_decap is already needed anyhow).

One other thought: if there was a case in which we would have to waste more
than one bit in a bitstring for leaf-BFER, then i'd be a lot more
interested to instead rely on encap like MPLS or the like to save me the
bit. But one bit looked ok.

> On the issue of adding new BFERs, suppose you have an existing flow, one 
> of whose BFERs is BFR-1.  Now you need to add another BFER to that flow, 
> say BFR-2.  Unfortunately, BFR-2 can only be reached using BFR-1 as a 
> transit BFR.  So to add BFR-2 as a leaf, you have to turn BFR-1 into a 
> non-leaf, which means assigning it a BFR-id, assigning a bit position to 
> the link connecting BFR-1 and BFR-2, and modifying the flow's BitString 
> appropriately.  I know that the magic central controller is going to 
> figure all this out ;-), but can it disseminate the new bit position 
> assignments without disrupting the flow that is already in progress? 
> After all, you don't want to see a glitch in the TV show you're watching 
> every someone else decides to tune in ;-)

Nah, BIER-TE is like watching sports in a bar ;-)

Three phase commit.  The numbers are phases.
The operations within each phase can be parallel:

1. Set up new bit to punt (local_decap) for BFR-1 in its BIFT.
   Add bit for link to BFR-2 on BIFT in BFR-1.
   Add shared-bit to punt to BIFT in BFR-2.

2. Update bitstrings on all BFIR that intended to reach BFR-1 via shared
   bit to now use the new bit for BFR-1. If the bitstrings have the
   shared bit set to also reach othre BFER then keep shared bit, else reset.

3. Remove punt adjacency for shared bit on BFR-1 BIFT.

Now BFR-2 is operable, aka: the bit toward it can be used in bitstrings. 

Can you do it with the shared punt semantic being in the label ? Probably
yes, but i hope (for the value of the shared bit idea) that the way
i describe is simpler because the controller only has to do this three
phase commit with BIFT entries and BIFR bitstrings in mind, but nothing
else. 

> One more issue.  The discussion of SI in the -02 revision of the draft 
> still doesn't seem right to me.  In BIER-TE, the BitString in a packet 
> has to represent the tree over which the packet will flow.  The only way 
> I can think of using SI is to divide the tree into n sub=trees, where 
> the links and BFERs for each sub-tree all have BFR-ids that fall into 
> the same set.  Then the BFIR could make n copies of the packet, unicast 
> each one to the root of the corresponding sub-tree, and allow BIER-TE to 
> proceed from there.  Is that what you are actually thinking?

Thats not only what i am thinking, but even more so what i thought
i had written in the -02 draft.

Wanted to use the afternoon to morp the new -02 text example
into an animated graph for tomorrow, hope that will help to clear it up even more.

Cheers
    toerless