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

Eric C Rosen <erosen@juniper.net> Mon, 12 October 2015 18:34 UTC

Return-Path: <erosen@juniper.net>
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 AFDDF1B2B0C for <bier@ietfa.amsl.com>; Mon, 12 Oct 2015 11:34:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.798
X-Spam-Level:
X-Spam-Status: No, score=0.798 tagged_above=-999 required=5 tests=[BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 mOMLlrAtHeK3 for <bier@ietfa.amsl.com>; Mon, 12 Oct 2015 11:34:35 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0717.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:717]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 914D91B2B0A for <bier@ietf.org>; Mon, 12 Oct 2015 11:34:33 -0700 (PDT)
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=erosen@juniper.net;
Received: from [172.29.36.57] (66.129.241.14) by BN3PR0501MB1090.namprd05.prod.outlook.com (10.160.113.12) with Microsoft SMTP Server (TLS) id 15.1.293.16; Mon, 12 Oct 2015 18:34:27 +0000
To: Toerless Eckert <eckert@cisco.com>, Neale Ranns <nranns@cisco.com>
References: <55DF5BAD.9060003@juniper.net> <20151007221035.GA26709@cisco.com>
From: Eric C Rosen <erosen@juniper.net>
Message-ID: <561BFD2C.8090708@juniper.net>
Date: Mon, 12 Oct 2015 14:34:20 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <20151007221035.GA26709@cisco.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [66.129.241.14]
X-ClientProxiedBy: DM3PR12CA0002.namprd12.prod.outlook.com (25.164.12.140) To BN3PR0501MB1090.namprd05.prod.outlook.com (25.160.113.12)
X-Microsoft-Exchange-Diagnostics: 1; BN3PR0501MB1090; 2:VQbPKVfXxXcSqHJRk2P35hHZfE6Ouhh6FrnKDkwZP50T7+W5VfxCwgVuGvxWbEkRSqvjABPqoCgJVOJaMai1xip2AL7JQg/FYOwlxDRkQu08Dno9vYRlr1kETZ95OpBVkWFShptf14mULY9UFvFtr1L7MTQIcBcih7OgqcHHJNE=; 3:v4hlznAfphrb7PJHtAy3z33+73AzWf2PC0kgoQvRrZ7BmbM84ZK4NxPxPH7bsO8sq/A0LDHUIuSegaeE/YWA83c81UYjd9+vQR16j77U6Odz3Z4/Cowt8yFY7iatcMZqdnnIGfLhNXlWj3MT1gmZ5w==; 25:dUzEx3Z28cIdtkrrzwiYNx4EvsimQ+Vj0Qs7C25fI0fSS6vCQ7GXhiTectgKa0fmewZ16sYSdpFXyE5E+1dM7iMCqG1FLifQ/KrNgOFZPgtna0wxNz29Os55ryCM0PIbAqQCrQ34Jy6Zv0OQetNLg99ftSELKQIYoc2fEu+lj/lhWLjNa+T6evwW0YxTqgnvN1F+2eA4hEX0+U9MkhvLehJYeDxBOYyrpeUVrZitW1mjt1SvG+vm0WKN4dAtIZiKfAkV0D2eW3bYylf+9jAAzw==
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0501MB1090;
X-Microsoft-Exchange-Diagnostics: 1; BN3PR0501MB1090; 20:juyfbFNQDxIGfYF0fdnTyJ/f3EdsYkVBHB/fPhUsfb9O8nQ29ZhnH2fOwRV+ZNpevdDrgJKl8FL2Qvz003VOWcykfSadFU0/fxXVtdaS0iLsGxn6GfMdpaUjILkZaqj9si/U7ld5E7m6IDJMxhgbm0VS14hlpGNUcsI+EpIcoXQZj5/0xBTanEK7DS3WNooLVo0YGQ3GxxZg37rU6xThjKK1Et8g2CIQmk/D5eoaT4Bnl1Crpy9vu0Bejkse0tpNehJp6CGX0A8o+hlCPJ3sDFocWKD13+7cQdqJTKfI9Nwa4E1ZzN1K7BywjXZDpIW30ERPfDeeATYmFBoAoqKUXqB+PJhAV4Hfvq7XB2WFrcWpD/qKN2eQTvFiw71DCKbo53e9Iodj2xlgh17MHhMMngmDyTWjFt61PJdf5jViQ6OWmD9O5mHz3FK6WyEIFFWjKgNQcChHnWLWLh4LItQy+Bq4m7aARiyeELwAN5aljT0rDtXN1zJ7DUOjqtqiHw23; 4:HtvvGzwV2+HQm10yHR3GViIWFgReuG9n9RZM/dV/BkFgSfbf6xdDooKyW35+cfnDPOylf6teZ6+RhKwRlrzKE/iyZ95ko9vMvYhE85V3y4x+MkbCWp4vxhw+U33NeCIQNhZpB6Open2s8dLn2Uwv2PrqgYV7E63N/fpdxI6173jylm6o4QvIWUSsjOqf4kSyyk39qXvPr9tw/jnWdNF3fXobo8EqxYgcjSAYumwI0tWW5ToAl6++CTKL6lpO8ClbXFkDILpQNeYl2wDURQi1ZT+mjRUgaKDMVbA4ICx92Up9AC3cy1gq29NP2uCTKFakYNDSoxfgMsBHSFC2LfbBLTWTzDbG2OQsXLXSVaJGanY=
X-Microsoft-Antispam-PRVS: <BN3PR0501MB109038C66AE87D3B65B1FEB0D4310@BN3PR0501MB1090.namprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(3002001); SRVR:BN3PR0501MB1090; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0501MB1090;
X-Forefront-PRVS: 0727122FC6
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6049001)(199003)(189002)(105586002)(5007970100001)(64706001)(33656002)(2950100001)(65956001)(19580395003)(80316001)(46102003)(5001960100002)(81156007)(77096005)(4001350100001)(23746002)(561944003)(87976001)(97736004)(36756003)(66066001)(65806001)(106356001)(47776003)(101416001)(64126003)(5001770100001)(65816999)(76176999)(87266999)(50986999)(40100003)(50466002)(5004730100002)(54356999)(92566002)(83506001)(122386002)(42186005)(5001920100001)(5008740100001)(59896002)(189998001)(86362001)(230783001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0501MB1090; H:[172.29.36.57]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
Received-SPF: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: 1; BN3PR0501MB1090; 23:Z3rDouMuJ4JmXKuPolWp7w9IBAI7XBt6jAUqKLeXwhcT08+eghSn5LNIIsyek9uHHzEBNZO3DJn7PvXQ3Spxbj1bOEoSjyrV7aLlcGPf6Wc4SwHWCsutm4rTXzenB/aP3d/3cLjt4AJPK7XKTCQVkQ1K8X/DxRKBWH+LjGDAkyraPJ4mOntxPRDHR9jVXlkPhEjbWIDO1PveQdgwkEcdMx0ENzsPqhqmZYcBQL7WEcEcas7pXasZAyrm2k4Kd8AX8TdTYYfy7mRtQjhteitSwlJ/aCM3r9uCPZBmwhi4nHdPj6ImY48h9bWSTXye9fy8OhBdfE3PN9zT3+pm/KQmdU2xKTScWj9+AKv1tgSBXnlFPiIzCA2sHBNl+jwhPlUJ3yCQzy231SHxAT0F8LcfWbeWsSoisu9l2AD1f4s/4/DFJp+RZc+Z+lRiK7MtxBLJ11fptVJBpf33DUdQBbssuGd1TVj4kMjIuiDOnyCNKKdioMdcT4S4vJtoN7fCrSBSK9UTZjCCe0m9EOniNcnU0frzNc0SlhJrveLrqSGcoWFoT/87dw0PyWLVXbfcANlR9asmpxknZwsG57Ln5XzAj7z33e62iFVBJTloMBWPp7/uWB6rxYI9VCGi0yH441biFs6KJkEEeI+PLzHuwNDG2iVM/3Co3AJNAKob3mvL+Kd2pD6p7cZjlCBPtxHymkoHpYlokmM+dBEV6w1WNCzOVogdj4gyfisM47C9FwHfl89Y7zmvzZTI42W2Y6hvJvkmX6ln75fVyFLDSDKjtQJbs3PBblaTsyf8L+313Vhwv/RNy5Ph8dQatH6XAjMpG0I/iiACswp6pkkQreOy11e3ZhgwdVARjFOtYSdpZ63Mi6Up2Aonmg5q0kbw8/7QWRZqi6b5wl7uFI1rZ1QEAhBXSqMH9yikdffJ02SVEtmThmyNwFAVppbOYM2RbaHbNo5Tlir2CxLlg/aEaWtTDyTkQSjyp46lx0smyaapFNxZPiFmLD5HHP2F3rlm3+Jx8PmVN0wj1bWLJRK+4JV/R2wlNMB951O+tFq0uziPWYYZILVl8ohEddguPHGfMfXxLwFQRS1KaPNMymUbsT8/IElN9Z8c3TW4cbAwlWmisBXuhHnBi9qSJxaCGG4XsxznZh9xFfp4FwnEAIDo5LKhKbNN+Ivam9BBOVANzusGvXmnENRbuKpmyG2ykAbXVclIZAdLTcmHI6bjPLmv+P/3yEy9lCh1vMILzd3fKQ710AjahQ0=
X-Microsoft-Exchange-Diagnostics: 1; BN3PR0501MB1090; 5:WN6iyGfzNm0QmJU2/o89Zevp4itPgR6PoqVPZrVr3ncxKar4HP/ab7EOdYQxmA6L2BA233yNEnwp8apzNv1O/CyWWXMKm5cWiHGkFO9KY7eRcmwhcvepDay+tE2EqQzkQIUMAv+TJGQl6ciwL9CxfQ==; 24:AGY+sA8hA+u7QiwLu4tqyQGPIZiINKyYYL/GGxlorKvsILmZL611MA0HjVP0mzcILlKA7YgnV8Ys4WarbjHTettzNppCszG/IlfvEDOmJ7Q=; 20:L20cAHE7LppIGMXTM+XayBlY8w5R0gx875M9YKufenNlH58C67oukQDLbga5pnMifUdWxV4kB/l/xiNVpL6kqQ==
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2015 18:34:27.0505 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0501MB1090
Archived-At: <http://mailarchive.ietf.org/arch/msg/bier/PfIV9SGAWxVWgAgqsNCUQfFstbk>
Cc: "BIER (bier@ietf.org)" <bier@ietf.org>
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: Mon, 12 Oct 2015 18:34:37 -0000

Toerless, Neale,

Thanks for your interesting responses.  I am still inclined to say that 
this proposal needs more baking before it is ready for WG adoption.

> [Toerless] The author who wrote this (me) wanted to explain that the
>  BFIR-ID is not required for BIER-TE forwarding itself (it is
> required for BIER forwarding if i am not mistaken), and incorrectly
> wrote "does not support".

I don't think the BFIR-id is needed for BIER forwarding, it's only
needed if the multicast flow layer at the BFERs needs to do some sort of
RPF check. I don't think BIER and BIER-TE are different in this respect.

> [Neale] The intent was to reduce the number of bit-positions needed
> in the network by not requiring the BFIR to have one. The draft
> should therefore instead state that the BFIR-ID MAY not be set in
> the packet, and if not, then there are the consequences that you
> have identified.

> [Toerless] Neale mentioned also that not assigning a BFIR-ID can
> help to save bitspace, which is true in BIER, but if we only use
> BIER-TE forwarding, it would not even cost bits.

Right, in BIER-TE forwarding the BFIR-id doesn't require a bit in the
BitString, so eliminating the BFIR-id doesn't really seem to provide
much value.

> [Toerless] I could not find BFER-ID term being used anyplace other
> than draft-ietf-bier-isis-extensions-00.xml, so i would not venture
> to guess what its semantics is - any pointer i overlooked ?

A BFER-id is just the BFR-id of a BFER. Similarly, a BFIR-id is just
the BFR-id of a BFIR.

With regard to the issue of not having enough bits to represent the
entire multicast distribution tree ...

> [Neale] Since the data is not distributed throughout the domain, it
> does not need to be unique within the domain.

By "it", do you mean the bit position that represents a particular link?
Or do you mean the BFIR-id?  Note that BFR-ids are already unique only
relative to a sub-domain.

> [Neale] So, one might also consider applying the same BFIR-id to a

Same BFR-id?

> group of BFERs that belong to the topology. If that bit-position is
> then set in the packet, then it is received by all BFERs that the
> packet reaches, and that is determined by which other bits are set in
> the BitString. Since in TE BIER a packet cannot reach BFER if the
> BitString does not describe a path to it.

> [Toerless] Section 4.3 explain how Leaf BFER effectively require no
> bit (sorry typo: 4.3:s/BFIR/BFER/, done for -02). Eg: just one bit
> per link to leafs, and one shared (local decap) bit for all leafs in
> the network.

I didn't really understand this.  How does a node know whether it is a 
leaf (a BFER) for a particular packet?  Doesn't this mean that every BFR 
through which a packet passes is going to have to figure out whether it 
is supposed to be a BFER for that packet?  I'd like to see the details 
of how that would work.  BTW, however it works, it will probably require 
knowing the BFIR-id, unless that can be inferred from the sub-domain 
that is implicitly identified by the BIER-MPLS label.  (Consider, e.g., 
a case where a given flow is traveling on two different TE trees, 
perhaps from different BFIRs, but a given transit node is on both trees.)

> [Toerless] The most simple logic is to segment your network into
> non-overlapping areas, assign an SI to each area, and effectively
> unicast a copy from the BFIR to the desired entry points in each of
> the areas. Unicasting eg: via Routed Adjacencies.

Assuming we replace "SI" with "sub-domain", is this the same as Neale's
suggestion:

> [Neale] perhaps one could consider one or more uni-directional
> BIER-TE sub-domains rooted at each BFIR. Each individually signalled
> sub-domain comprises a sub-set of the BFERs (and the links to
> traverse to them) that the BFIR needs to address. Flows can then map
> onto one or more of these sub-domains. This scheme keeps the number
> of sub-domains scaling with network size (as with SPF-BIER sets),
> rather than number of flows.

So each sub-domain would be a sub-tree of the tree from a given BFIR.
You unicast-tunnel a packet to the root of a sub-domain, and then let 
BIER distribute the packet down the sub-tree. The number of sub-domains 
is then proportional to the number of BFIRs (which is still a lot of
sub-domains), and each transit node would have to determine for each
packet whether it needs to consume that packet or just pass it along.
Part of the BFER processing would be to figure out for each packet (a)
am I supposed to receive this packet and (b) did I receive it from the
sub-domain over which I'm expecting it?

It seems like there are a lot of details to be added, and some of them
might be dependent upon the multicast flow layer.

> [Toerless] Am i missing references, or where the numbers of the
> drafts references too old, even for the time when i ran the xml2rfc?

The references are to the old individual documents rather than to the WG
documents.

> [Toerless] rings require also only one bit per node (local decap),
> and a single shared bit for the ring (Section 4.6) (or even for
> multiple rings).

I don't quite understand from section 4.6 why a given packet will not
revolve around the ring forever, as the "ring bit" only seems to get
reset when the packet leaves the ring.  Also, if the "ring bit" gets 
reset when a packet leaves the ring, how do you use one bit for multiple 
rings?  Perhaps I've misunderstood something.

Eric