Re: [Softwires] ietf-softwire: IPv4 + PSID primary key for lw4over6 binding

Andy Wingo <wingo@igalia.com> Tue, 12 July 2016 14:05 UTC

Return-Path: <wingo@igalia.com>
X-Original-To: softwires@ietfa.amsl.com
Delivered-To: softwires@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BEE9A12DA22 for <softwires@ietfa.amsl.com>; Tue, 12 Jul 2016 07:05:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.121
X-Spam-Level:
X-Spam-Status: No, score=-1.121 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_NEUTRAL=0.779] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=pobox.com
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 DM5fVk4mHLwz for <softwires@ietfa.amsl.com>; Tue, 12 Jul 2016 07:05:45 -0700 (PDT)
Received: from sasl.smtp.pobox.com (pb-sasl2.pobox.com [64.147.108.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1EBA012DA1E for <softwires@ietf.org>; Tue, 12 Jul 2016 06:24:52 -0700 (PDT)
Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id E96222910A; Tue, 12 Jul 2016 09:24:49 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=nSrW3Tc3iEqq tbBCvSQRo7C8QDI=; b=r7cxvvXFJ08W3FLu/uPnCBwWKFVV3+AIQV222GWHgl2h LImcs5ZzDQTpNrtdtKo+5+/c7hzKOZB+xk9dycAr1/Ve+uUDQYCAxndPJR3stza3 mO8NgmH6VbJ5wSm+pEsI6lxyZEzKn6LV49zPdZCwBUBxLgo7uh3p/Tc7pcMptO4=
Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id E14E729109; Tue, 12 Jul 2016 09:24:49 -0400 (EDT)
Received: from rusty (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl2.pobox.com (Postfix) with ESMTPSA id 2CD6D29108; Tue, 12 Jul 2016 09:24:49 -0400 (EDT)
From: Andy Wingo <wingo@igalia.com>
To: Ian Farrer <ianfarrer@gmx.com>
References: <877fcrcfl4.fsf@igalia.com> <787AE7BB302AE849A7480A190F8B933008DE5EB3@OPEXCLILMA3.corporate.adroot.infra.ftgroup> <87oa63auoe.fsf@igalia.com> <7136821E-2E01-43F8-A8DC-8BF773E4C39D@gmx.com>
Date: Tue, 12 Jul 2016 15:24:46 +0200
In-Reply-To: <7136821E-2E01-43F8-A8DC-8BF773E4C39D@gmx.com> (Ian Farrer's message of "Tue, 12 Jul 2016 15:00:05 +0200")
Message-ID: <87d1mjat0h.fsf@igalia.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Pobox-Relay-ID: 02287790-4834-11E6-8337-28A6F1301B6D-02397024!pb-sasl2.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/softwires/z7tvb7eeAE-liuO5XPtU94990Jg>
Cc: "softwires@ietf.org" <softwires@ietf.org>
Subject: Re: [Softwires] ietf-softwire: IPv4 + PSID primary key for lw4over6 binding
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/softwires>, <mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/softwires/>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/softwires>, <mailto:softwires-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Jul 2016 14:05:49 -0000

Hi Ian,

Thanks for being so patient with a newcomer.  A doubt inline:

On Tue 12 Jul 2016 15:00, Ian Farrer <ianfarrer@gmx.com> writes:

>> On 12 Jul 2016, at 14:48, Andy Wingo <wingo@igalia.com> wrote:
>> 
>> I am new to YANG; apologies in advance for making all of the beginner
>> mistakes.  My understanding of the specification
>> 
>>              list binding-entry {
>>                key "binding-ipv6info";
>>                description "binding entry";
>>                uses binding-entry;
>>              }
>> 
>> was that "binding-ipv6info" uniquely identifies the B4 (because it's a
>> key within the binding-entry list).  Is that not the case?  If it is the
>> case, how is it possible for one B4 to have multiple softwires?
>
> [if - It depends what defines multiple softwires here. The B4 can have
> multiple softwires if the source v6 and the v4/PSID tuple are
> unique. The routing choice for the B4 of which softwire to use for which
> traffic is local to the implementation and not specified.
>
> From the lwAFTR’s perspective, they are two separate binding table
> entries. The fact that they are going to the same B4 is invisible.]

I'm definitely on-board with the possibility of there being more than
one softwire per B4.  At least from the perspective of the AFTR that is
entirely compatible with RFC 7596.

However it still seems to me that the YANG module prohibits this from
being the case.  The only key in the "binding-entry" list is the
binding-ipv6info, which of course is just an IPv6 address or a prefix
identifying the B4.  Because the key must be unique within the list,
unless you have multiple distinct binding-ipv6info values for a B4 you
can't have multiple softwires per B4.

But, I could be reading the draft YANG module and/or RFC 6020 entirely
wrong.  I look forward to being less ignorant :)

Andy