Re: [drinks] Why is the dgName part of the key for public identities?

Syed W Ali <syedwasimali@gmail.com> Tue, 16 April 2013 16:19 UTC

Return-Path: <syedwasimali@gmail.com>
X-Original-To: drinks@ietfa.amsl.com
Delivered-To: drinks@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A20A21F95D0 for <drinks@ietfa.amsl.com>; Tue, 16 Apr 2013 09:19:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZjV4Yk1rnhaP for <drinks@ietfa.amsl.com>; Tue, 16 Apr 2013 09:19:07 -0700 (PDT)
Received: from mail-vb0-x229.google.com (mail-vb0-x229.google.com [IPv6:2607:f8b0:400c:c02::229]) by ietfa.amsl.com (Postfix) with ESMTP id 387D721F91A2 for <drinks@ietf.org>; Tue, 16 Apr 2013 09:19:07 -0700 (PDT)
Received: by mail-vb0-f41.google.com with SMTP id f13so529174vbg.28 for <drinks@ietf.org>; Tue, 16 Apr 2013 09:19:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=DFJNEAHMWCze6+O9yZFgF3pmi38RPdISPpjlThLu1VE=; b=P3YNzyWApOMCmRM01atiJ202ag8pToPS5ldJDxht+4VrZx5bpRSe1iv+C0MMwm20fq 6fw3S+avqffRXiSQJeYqgFsQNC13myCshhSWWK9C+dLbNyW8RUCmbrehwBRGho4j94U4 vacX9a0NxPpuZZsQspFMduhtTH1Ps98808A8RZf4828BWi2B71RsULZZjjSllyWhr2Rl rAwYr/bpddmcqINBVuQ0/M0wMSeb3ySFJeh2NWirmr0p2LKAnbO4lKOXxY8cTD8BfEKb PwQl3Q9f0huMmp9wVeu8Lldo6SUWrW6xZ1r3pC6Cj7M0H2qh1s6CzYoNZYmDodlb8RvF CiHg==
MIME-Version: 1.0
X-Received: by 10.58.29.101 with SMTP id j5mr2083130veh.26.1366129146542; Tue, 16 Apr 2013 09:19:06 -0700 (PDT)
Received: by 10.59.1.41 with HTTP; Tue, 16 Apr 2013 09:19:06 -0700 (PDT)
In-Reply-To: <CA+=4G23OfybHukL9R-cxFQv5fy9MyAp2zgHtm0KoUHBKbW=Tgg@mail.gmail.com>
References: <CA+=4G23OfybHukL9R-cxFQv5fy9MyAp2zgHtm0KoUHBKbW=Tgg@mail.gmail.com>
Date: Tue, 16 Apr 2013 12:19:06 -0400
Message-ID: <CA+yX=SEJO7jTqYMYQqupouVU81y1PQdhd5DLdxrw3OePnQCGXg@mail.gmail.com>
From: Syed W Ali <syedwasimali@gmail.com>
To: Mickael Marrache <mickaelmarrache@gmail.com>
Content-Type: multipart/alternative; boundary="047d7b6765627f7e0504da7cba71"
Cc: "drinks@ietf.org" <drinks@ietf.org>
Subject: Re: [drinks] Why is the dgName part of the key for public identities?
X-BeenThere: drinks@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF DRINKS WG <drinks.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/drinks>, <mailto:drinks-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/drinks>
List-Post: <mailto:drinks@ietf.org>
List-Help: <mailto:drinks-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/drinks>, <mailto:drinks-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Apr 2013 16:19:08 -0000

This is a great find. Thanks for bringing this up. Other authors of the
document are welcome to comment. Though I will try to look into 0..1 and
0..n collision issue and respond a little later, along with suggestions on
what constitutes a fix.

Either way, I feel that the grouping of TNs by destination group allows for
more granular control over the configuration as to which pathways are more
appropriate for establishing the session. Let's say that there are ten
different regions with large concentration of subscribers. Use of
destination groups allows for greater flexibility in isolating select paths
to attempt session establishment at resolution time than would have
otherwise been possible. Using your example, DG1 and DG2 selectors will
allow for different path associations to the TN 1234 or else an aggregate
of the two session data information would be returned.

And I think the basic premise of your suggestion is evident in the examples
where the read-back/get of the record doesn't require the name of the
destination group as an input parameter. Though if the 0..n cardinality is
enforced, dest group name should be a consideration for optional parameter.
To be clear, the intent of the read-back/get function in the SPP context is
to retrieve the full record in its current state since the last update.

-Syed


On Tue, Apr 16, 2013 at 10:43 AM, Mickael Marrache <
mickaelmarrache@gmail.com> wrote:

> Hi,
>
> According to the requirements document (RFC6461), a public identifier
> object can be contained in exactly one destination group object. Figure 3
> explicitly shows this intent by the 0...1 cardinality on the destination
> group side in the DG-PI association. In the framework document (section
> 3.1), this cardinality is different (0...n instead of 0...1).
> Is the real intention the one defined in the requirements document or in
> the framework document?
>
> Also, according to the framework document, a public identity is uniquely
> identified by its type, rant, dgName and value (e.g. tn for telephone
> numbers). The only motivation to include the dgName as part of the key is
> to allow a public identity to be associated with multiple destination
> groups. If the right intention is the one defined in the requirements
> document, it's an error to include the dgName as part of the key. Following
> this way, we would be allowed to associate the same public identity to
> multiple destination groups. If the right intention if the one defined in
> the framework document, there is still an issue since there is duplication
> of information. For example, if registrant Org-1 wants to associate the
> telephone number 1234 to two of its destination groups DG-1 and DG-2, he
> would need to specify two objects in the spppAddRequest. These two objects
> will contain exactly the same data, except that the dgNames will be
> different (i.e. DG-1 for the first object and DG-2 for the second one).
>
> Thus, regardless which intention is the right one, I think the dgName
> should not be part of the key. A public identity should then be identified
> by its type, rant and value only. Then, according to which is the right
> intention, the dgName field should be declared with maxOccurs=1 (i.e. from
> requirements) or maxOccurs=unbounded (i.e. for framework).
>
> The fact that a field that composes the key may be optional is a symptom
> of this design issue. In this case, this field is dgName.
>
> Regards,
> Mickael
>
>
>
>
>
> _______________________________________________
> drinks mailing list
> drinks@ietf.org
> https://www.ietf.org/mailman/listinfo/drinks
>
>