Re: [Dime] Fwd: New Version Notification for draft-zhou-dime-4over6-provisioning-04.txt

Tom Taylor <tom.taylor.stds@gmail.com> Wed, 17 September 2014 13:45 UTC

Return-Path: <tom.taylor.stds@gmail.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F17091A01CB for <dime@ietfa.amsl.com>; Wed, 17 Sep 2014 06:45:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.4
X-Spam-Level:
X-Spam-Status: No, score=-1.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_CHICKENPOX_31=0.6, SPF_PASS=-0.001] autolearn=no
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 dMoRSeMUsPdy for <dime@ietfa.amsl.com>; Wed, 17 Sep 2014 06:45:47 -0700 (PDT)
Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BA3F71A0102 for <dime@ietf.org>; Wed, 17 Sep 2014 06:45:47 -0700 (PDT)
Received: by mail-ig0-f173.google.com with SMTP id l13so155633iga.6 for <dime@ietf.org>; Wed, 17 Sep 2014 06:45:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=E6UD9MlZAxMJNthWS8piZRgoaQYivd8Vz4sSFJqK4Yk=; b=tLAcTLHL0up5exLAeVQUxnEUroS9vUYJ8zxEyY6kK0EzkOTa8gct9ar0A1jYi1xZ/s NGyYnI9R9Vmr8XYjZWVRe6tLc7pSgojRSI3oDF+q0VXLkMbM7Tc+tReNin7SRcxf78FJ h255jGNV79vBAaqcqNFboA6R41ijCHt28guc9ra86+pAjkkQKeE0mjbZnFQHkcXBstfc CpTnp11E/Z8hQ7hErrK+0pMOcHXiyrEqROwwnty1SkIlqEGogUE8BRxv/9g6P4ZmxUOx XNYIh0SmiF9rgOFThZJ+EC/M2FT1OD+at+clI1dCxRhKeiKRjlUhaey0KNofEynN7BO2 BPtQ==
X-Received: by 10.43.140.132 with SMTP id ja4mr5626095icc.4.1410961547194; Wed, 17 Sep 2014 06:45:47 -0700 (PDT)
Received: from [192.168.97.21] ([67.210.160.130]) by mx.google.com with ESMTPSA id qo8sm4344578igb.7.2014.09.17.06.45.46 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Sep 2014 06:45:46 -0700 (PDT)
Message-ID: <5419908A.2010508@gmail.com>
Date: Wed, 17 Sep 2014 09:45:46 -0400
From: Tom Taylor <tom.taylor.stds@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: lionel.morand@orange.com, "dime@ietf.org" <dime@ietf.org>
References: <20140917012142.28396.19843.idtracker@ietfa.amsl.com> <5418E8F8.9010605@gmail.com> <6341_1410952345_54196C99_6341_4311_1_6B7134B31289DC4FAF731D844122B36E721810@PEXCVZYM13.corporate.adroot.infra.ftgroup>
In-Reply-To: <6341_1410952345_54196C99_6341_4311_1_6B7134B31289DC4FAF731D844122B36E721810@PEXCVZYM13.corporate.adroot.infra.ftgroup>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/dime/mDtOapVi4z9AH_Ka4HD-aSGUiEg
Subject: Re: [Dime] Fwd: New Version Notification for draft-zhou-dime-4over6-provisioning-04.txt
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Diameter Maintanence and Extentions Working Group <dime.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dime>, <mailto:dime-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dime/>
List-Post: <mailto:dime@ietf.org>
List-Help: <mailto:dime-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dime>, <mailto:dime-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Sep 2014 13:45:49 -0000

Thank you for your comments. I think my aversion to going with Grouped 
AVPs was concern over reusability of the AVPs, that I would have to 
create a new AVP for each Grouped one to make the semantics clear. But I 
guess if I can get away with using a generic AVP like the 
Framed-IPv6-Prefix AVP the semantics are set by its presence within the 
specific Grouped AVP. I'll rework the document and see what I get.

I can't find Framed-IPv6-Prefix AVP in the IANA registry. So I guess 
that's my "common data format" redefined as an AVP.

Tom Taylor

On 17/09/2014 7:12 AM, lionel.morand@orange.com wrote:
> Hi Tom,
>
> Coming back on the need for a new format ("Common prefix Data format"), could you please explain (or remind me) why this new AVP format would be simpler than creating a Grouped AVP as soon as Prefix or Address can be provisioned?
>
> For instance, based on the current draft, the Tunnel-Source-Pref-Or-Addr is defined as a single AVP using the new AVP format defined in this draft:
>
> 3.4. Tunnel-Source-Pref-Or-Addr AVP
>
>     The Tunnel-Source-Pref-Or-Addr AVP (AVP Code TBD02) conveys either
>     the IPv6 Binding Prefix or the tunnel source address on the CE, as
>     described in Section 2.2.  The Tunnel-Source-Pref-Or-Addr AVP uses
>     the common prefix data format.  The AddressType field MUST be set to
>     2 (IPv6).  Valid values in the PrefixLength field are from 0 to 128
>     (full address).
>
>     This AVP is defined separately from the LW4over6-Binding AVP (which
>     includes it) to provide flexibility in the transport of the tunnel
>     source address from the provisioning system to AAA.
>
> But the same info could be also provided as follow:
>
> 3.4. Tunnel-Source-Pref-Or-Addr AVP
>
>     The Tunnel-Source-Pref-Or-Addr (AVP Code TBD0X) is of type Grouped.
>     It MUST contains either an either the IPv6 Binding Prefix or the tunnel source
>     address on the CE, as described in Section 2.2.
>
>                      Tunnel-Source-Pref-Or-Addr  ::= < AVP Header: TBD0X >
>                               [ Tunnel-Source-Address ]
>                               [ Tunnel-Source-Prefix ]
>                              *[ AVP ]
>
> 3.X Tunnel-Source-Address AVP
>
>     The Tunnel-Source-Address AVP (AVP Code xxx) is of type Address
>     and specifies the tunnel source IPv6 address on the CE.
>
> 3.Y. Framed-IPv6-Prefix AVP
>
>     The Tunnel-Source-Prefix AVP (AVP Code yyy) is of type OctetString and
>     contains the IPv6 Binding Prefix on the CE.
>
> If there is no risk of clash, the existing Framed-IPv6-Prefix AVP could even be reused for the second one.
>
> This alternative would have the advantage not to define a new format. I'm not saying that the definition of any new format should be prohibited. But in this case, it seems weird to have to define a new format for combining different types of information that can be already carried in existing AVPs.
>
> About the link with Softwires, we need to ensure that the set of information defined in this document has reviewed and somehow endorsed by the WG. Then I think it will become a pure Dime discussion.
>
> Lionel
>
...