Re: [radext] Alissa Cooper's Discuss on draft-ietf-radext-ip-port-radius-ext-11: (with DISCUSS and COMMENT)

Alan DeKok <aland@deployingradius.com> Fri, 14 October 2016 15:43 UTC

Return-Path: <aland@deployingradius.com>
X-Original-To: radext@ietfa.amsl.com
Delivered-To: radext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1AB891294A1; Fri, 14 Oct 2016 08:43:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 SBYgM5UPdclw; Fri, 14 Oct 2016 08:42:55 -0700 (PDT)
Received: from mail.networkradius.com (mail.networkradius.com [62.210.147.122]) by ietfa.amsl.com (Postfix) with ESMTP id AC39B12944D; Fri, 14 Oct 2016 08:42:55 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.networkradius.com (Postfix) with ESMTP id DDFD41F81; Fri, 14 Oct 2016 15:42:54 +0000 (UTC)
Received: from mail.networkradius.com ([127.0.0.1]) by localhost (mail-server.vmhost2.networkradius.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hxTuFMnijtWG; Fri, 14 Oct 2016 15:42:54 +0000 (UTC)
Received: from [192.168.20.14] (69-196-165-104.dsl.teksavvy.com [69.196.165.104]) by mail.networkradius.com (Postfix) with ESMTPSA id ECDA31F7F; Fri, 14 Oct 2016 15:42:53 +0000 (UTC)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Alan DeKok <aland@deployingradius.com>
In-Reply-To: <32661_1476458174_5800F6BE_32661_2282_1_6B7134B31289DC4FAF731D844122B36E03D07880@OPEXCLILM43.corporate.adroot.infra.ftgroup>
Date: Fri, 14 Oct 2016 11:42:52 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <02671AAF-B095-42FC-8BD8-37D2C847CD5A@deployingradius.com>
References: <147137412687.22998.17081075232946825763.idtracker@ietfa.amsl.com> <CAHbuEH7+Gw=zDiN66Aydmie2M4dXcVqjLKWHixR7Qe6ECfN9Hg@mail.gmail.com> <D0152C61-D391-482B-BF1E-45180F89DA41@cooperw.in> <EACFFDF5-3974-4778-8EDD-A68410BAD972@gmail.com> <28413_1473165080_57CEB718_28413_354_4_6B7134B31289DC4FAF731D844122B36E01F9F38E@OPEXCLILM43.corporate.adroot.infra.ftgroup> <4DCE81CA-FC1F-4CFF-82E1-135E158087C6@deployingradius.com> <9128_1473174225_57CEDAD1_9128_1350_1_6B7134B31289DC4FAF731D844122B36E01F9F961@OPEXCLILM43.corporate.adroot.infra.ftgroup> <4B308285-584D-4A53-BCA0-F1EC1F9C3BC9@deployingradius.com> <1813_1473773040_57D7FDEF_1813_3639_1_6B7134B31289DC4FAF731D844122B36E01FAA8D8@OPEXCLILM43.corporate.adroot.infra.ftgroup> <23CAC502-C1F0-4DD6-AB82-8A38BD6D0B88@deployingradius.com> <32661_1476458174_5800F6BE_32661_2282_1_6B7134B31289DC4FAF731D844122B36E03D07880@OPEXCLILM43.corporate.adroot.infra.ftgroup>
To: "lionel.morand@orange.com" <lionel.morand@orange.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/radext/8F5mCKX76990Be00wUR9D16nzQo>
Cc: "draft-ietf-radext-ip-port-radius-ext@ietf.org" <draft-ietf-radext-ip-port-radius-ext@ietf.org>, "radext@ietf.org" <radext@ietf.org>, Alissa Cooper <alissa@cooperw.in>, "kathleen.moriarty.ietf@gmail.com" <kathleen.moriarty.ietf@gmail.com>, IESG <iesg@ietf.org>, "radext-chairs@ietf.org" <radext-chairs@ietf.org>
Subject: Re: [radext] Alissa Cooper's Discuss on draft-ietf-radext-ip-port-radius-ext-11: (with DISCUSS and COMMENT)
X-BeenThere: radext@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: RADIUS EXTensions working group discussion list <radext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/radext>, <mailto:radext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/radext/>
List-Post: <mailto:radext@ietf.org>
List-Help: <mailto:radext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/radext>, <mailto:radext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 14 Oct 2016 15:43:00 -0000

> On Oct 14, 2016, at 11:16 AM, <lionel.morand@orange.com> <lionel.morand@orange.com> wrote:
> Can you elaborate a little bit?
> What do you call 'appropriate parent TLV'?

  The idea is that if you have a TLV, it can:

a) define it's own sub-TLVs

b) use a pre-defined registry for sub-TLVs.

  That's it.

  If a TLV is defined to use option (a), there's no conflict with other TLVs.  It's sub-TLVs are completely independent of all other sub-TLVs.  And it *cannot* use TLVs from a registry.

  If a TLV is defined to use option (b), then it *cannot* define it's own sub-TLVs.  It MUST use the registry.  Which means re-using sub-TLVs from the registry.  Because that's what registries are for.

  sub-TLVs defined in a registry can't conflict with other sub-TLVs, because each TLV space is entirely independent... unless you define them to overlap.

> If a registry is defined to track allocated value for sub-TLV, how to avoid collision if "All other TLV parents are free to specify whatever sub-TLVs they want".

  That question is based on assumptions I don't understand.  As such, it can't really be answered other than with "it doesn't work like that".

  If we have a registry, fine.  Use it.  If we don't have a registry, then attributes not using the registry... don't use the registry.  And there's no conflict.  Because they're not using the registry.

  There is no more conflict here than with Service-Type and Framed-Protocol.  Both are "integer" attributes.  Both define a registry.  But adding an entry to Service-Type doesn't mean that that number is now also defined for Framed-Protocol, much less have any special meaning for any other "integer" attribute.

  Perhaps you could explain why you think there would be any conflict between sub-TLVs?  

  Alan DeKok.