Re: [MMUSIC] New Version Notification for draft-reddy-mmusic-ice-happy-eyeballs-04.txt

Ari Keränen <ari.keranen@ericsson.com> Thu, 13 February 2014 18:09 UTC

Return-Path: <ari.keranen@ericsson.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 63FD51A03AB for <mmusic@ietfa.amsl.com>; Thu, 13 Feb 2014 10:09:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.551
X-Spam-Level:
X-Spam-Status: No, score=-3.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3, 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 Yxnz5qFwYg4a for <mmusic@ietfa.amsl.com>; Thu, 13 Feb 2014 10:09:40 -0800 (PST)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id EE2DC1A03B3 for <mmusic@ietf.org>; Thu, 13 Feb 2014 10:09:39 -0800 (PST)
X-AuditID: c1b4fb2d-b7f5d8e000002a7b-5d-52fd0a61c0a6
Received: from ESESSHC022.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 15.4F.10875.16A0DF25; Thu, 13 Feb 2014 19:09:38 +0100 (CET)
Received: from mail.lmf.ericsson.se (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.86) with Microsoft SMTP Server id 14.2.347.0; Thu, 13 Feb 2014 19:09:37 +0100
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3]) by mail.lmf.ericsson.se (Postfix) with ESMTP id ACFD1110296; Thu, 13 Feb 2014 20:09:37 +0200 (EET)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 2F58D56902; Thu, 13 Feb 2014 20:09:33 +0200 (EET)
Received: from tri60.nomadiclab.com (localhost [127.0.0.1]) by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id D48F453DDD; Thu, 13 Feb 2014 20:09:32 +0200 (EET)
Message-ID: <52FD0A60.2040909@ericsson.com>
Date: Thu, 13 Feb 2014 20:09:36 +0200
From: Ari Keränen <ari.keranen@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: "Pal Martinsen (palmarti)" <palmarti@cisco.com>
References: <20131209121243.31704.62698.idtracker@ietfa.amsl.com> <540B748E-8B51-4763-B75F-F80ACCFB53D7@cisco.com> <52D01911.8030804@ericsson.com> <647464EE-B8E0-47FA-A375-8C758046D854@cisco.com> <B6CF90AA-44E7-4D38-81CA-8A85370944A7@ericsson.com> <7C0E6D63-D816-4415-B621-73A0309C6AB2@cisco.com> <52EA38C9.4070003@ericsson.com> <37A6AA83-867F-4DD1-A79D-081ECFA23B22@cisco.com>
In-Reply-To: <37A6AA83-867F-4DD1-A79D-081ECFA23B22@cisco.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJLMWRmVeSWpSXmKPExsUyM+JvjW4S198gg3eT+CymLn/MYvH++koW ixO7tzE6MHtM+b2R1WPJkp9MAUxRXDYpqTmZZalF+nYJXBk/d9QWLBetOPvrFFsD40n+LkZO DgkBE4mru/6wQthiEhfurWfrYuTiEBI4xChxdOtcFpCEkMAGRokpk2Ih7D2MEq/WlUEUrWWU 2DThICuEs5xR4tfTiewgVbwC2hJPT8xmBLFZBFQlvuzYBmazCThK3H74EmydqECyxKdFnYwQ 9YISJ2c+AdsmImAs0XzkKNgcZoEgiUebLzCD2MIC8RLdD0DmgCz7ySSxd/k1sASngK1E294N QHdzADXYSzzYWgbRKy/RvHU2M8RrahJXz21ihvhAVeLqv1eMExhFZyFZPQuhexaS7gWMzKsY 2XMTM3PSyw03MQKD/+CW37o7GE+dEznEKM3BoiTO++Gtc5CQQHpiSWp2ampBalF8UWlOavEh RiYOTqkGxpiFmZF1q78bXZWPapG5unhKrPxx1XqbL6ERx5N1f3wJsj690pyPN2OV/cy2WNXS aVGf6vi5Jy/ZYNvENnPdtunSlrJ7pypzqdlnnheyWn5Pz0z01bbFHdcytO+2pbVtnHRLxkD9 +qsliRc2qzzQnZwkI2zJ8LG3P/57QtrD3qR/8k/zRfnmK7EUZyQaajEXFScCAE+aDOtMAgAA
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/jUBvdVZdCkK26comKIm_sAyRxkg
Cc: mmusic <mmusic@ietf.org>, "Tirumaleswar Reddy (tireddy)" <tireddy@cisco.com>
Subject: Re: [MMUSIC] New Version Notification for draft-reddy-mmusic-ice-happy-eyeballs-04.txt
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Feb 2014 18:09:42 -0000

On 31/01/14 15:44, Pal Martinsen (palmarti) wrote:
> On 30 Jan 2014, at 12:34 pm, Ari Keränen <ari.keranen@ericsson.com> wrote:
>> On 28/01/14 15:49, Pal Martinsen (palmarti) wrote:
[...]
>> What I would find helpful for discussion is that if you could provide a step-by-step example of how the candidate lists are formed and connectivity checks done in cases where a) both support this with same promo algo b) both support this but with different promo algo c) only one endpoint supports this.
>>
>
> As I do believe in running code, I wrote a simple implementation of the algorithm described below.

That's very nice, but unfortunately that didn't compile on my Mac so I 
couldn't give it a try.

>> Also maybe a recommended promo algo would make sense so that there is at least a fair chance that both will use the same algo/values and get most out of this.
>>
> First shot an an algorithm:
>
> 5.  Example Algorithm for Choosing the Local Preference
>
>     The value space for the local preference is from 0 to 65535
>     inclusive.  This value space can be divided up in chunks for each IP
>     address family.
>
>     An IPv6 and IPv4 start priority must be given.  In this example IPv6
>     starts at 60000 and IPv4 at 59000.  This leaves enough address space
>     to further play with the values if pr interface priorities needs to
>     be added.  The highest value should be given to the address family
>     that should be prioritized.
>
>          IPv6    IPv4
>           Start   Start
>     65535  60k     59k    58k    57k    56k    55k                    0
>     +--------+------+------+------+------+------+---------------------+
>     |        | IPv6 | IPv4 | IPv6 | IPv4 | IPv6 |                     |
>     |        | (1)  |  (1) |  (2) |  (2) |  (3) |                     |
>     +--------+------+------+------+------+------+---------------------+
>               <- N->
>
>
>     The local preference can be calculated by the given formula:
>
>
>           local_preference = N*2*(Cn/Cmax)
>
>     Where N is the absolute value of IPv6_start-IPv4_start.  This ensures
>     a positive number even if IPv4 is the highest priority.  Cn is the
>     number of current candidates of a specific IP address type and
>     candidate type (HOST, SRFLX, RELAY).  Cmax is the number of allowed
>     consecutive candidates of the same IP address type.
>

Could you give an example how this algorithm and some priority values, 
e.g., from your program, result in the candidate pairs and order of 
checks? Especially the pairing part with respect to different types of 
candidates and IP families is where I'm afraid things may go wrong.


Cheers,
Ari