Re: [alto] Discussion II: Unifying cost-mode and cost-type to a single type

"Diego R. Lopez" <diego@tid.es> Sat, 16 February 2013 15:00 UTC

Return-Path: <diego@tid.es>
X-Original-To: alto@ietfa.amsl.com
Delivered-To: alto@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B4E6921F856F for <alto@ietfa.amsl.com>; Sat, 16 Feb 2013 07:00:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.036
X-Spam-Level:
X-Spam-Status: No, score=-6.036 tagged_above=-999 required=5 tests=[AWL=0.563, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YS+py1Bj0zWu for <alto@ietfa.amsl.com>; Sat, 16 Feb 2013 07:00:31 -0800 (PST)
Received: from tidos.tid.es (tidos.tid.es [195.235.93.44]) by ietfa.amsl.com (Postfix) with ESMTP id E381721F8C32 for <alto@ietf.org>; Sat, 16 Feb 2013 07:00:30 -0800 (PST)
Received: from sbrightmailg01.hi.inet (sbrightmailg01.hi.inet [10.95.64.104]) by tid.hi.inet (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0MIB0020SJ0RRF@tid.hi.inet> for alto@ietf.org; Sat, 16 Feb 2013 16:00:29 +0100 (MET)
Received: from tid (tid.hi.inet [10.95.64.10]) by sbrightmailg01.hi.inet (Symantec Messaging Gateway) with SMTP id DE.59.01293.D0F9F115; Sat, 16 Feb 2013 16:00:29 +0100 (CET)
Received: from correo.tid.es (mailhost.hi.inet [10.95.64.100]) by tid.hi.inet (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTPS id <0MIB002B9J0TRM@tid.hi.inet> for alto@ietf.org; Sat, 16 Feb 2013 16:00:29 +0100 (MET)
Received: from EX10-MB2-MAD.hi.inet ([169.254.2.165]) by EX10-HTCAS5-MAD.hi.inet ([::1]) with mapi id 14.02.0328.009; Sat, 16 Feb 2013 16:00:29 +0100
Date: Sat, 16 Feb 2013 15:00:28 +0000
From: "Diego R. Lopez" <diego@tid.es>
In-reply-to: <CD43C00C.33E4A%w.roome@alcatel-lucent.com>
X-Originating-IP: [10.95.64.115]
To: Wendy Roome <w.roome@alcatel-lucent.com>
Message-id: <E6D8B95470ED0845B3376F61DCAB1A0468D6E39F@EX10-MB2-MAD.hi.inet>
Content-id: <C11E229A8C8AB640AB2AD353F671F303@hi.inet>
MIME-version: 1.0
Content-type: text/plain; charset="utf-8"
Content-language: en-US
Content-transfer-encoding: base64
Accept-Language: en-US, es-ES
Thread-topic: [alto] Discussion II: Unifying cost-mode and cost-type to a single type
Thread-index: AQHOC7pbaas+VaakYU6b+5aCaxR5kph8VJ8A
X-AuditID: 0a5f4068-b7f006d00000050d-9e-511f9f0dba31
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphkeLIzCtJLcpLzFFi42Lhinfg0uWdLx9o0NYnZ/Fw+15WB0aPJUt+ MgUwRnHZpKTmZJalFunbJXBlrD3YxFqwSL1i4tZ29gbGBWpdjJwcEgImEpv+n2KEsMUkLtxb z9bFyMUhJLCBUWLOv81QzndGiV8PrrNCODMZJb5OfcMM0sIioCoxe9cfVhCbDch+1PybHcQW FgiTWLe6F8zmFLCQOHfwLhPECgWJP+ces4DYIgI6EovOXwGzmYF698x5yAZi8wp4S1zbupMN Im4mcejWE0aIuKDEj8n3gOo5gOLqElOm5EKUiEs0t96EGqMoMW1RA1g5o4CsxLv581lBykUE wiW+zsuF2Gok8e/Fc6hrBCSW7DnPDGGLSrx8/A/sEyEBc4kjp16zT2CUmIXkiFlIjpiFcMQs JEfMQnLEAkbWVYxixUlFmekZJbmJmTnpBoZ6GZl6mXmpJZsYITGXsYNx+U6VQ4wCHIxKPLwG 6tKBQqyJZcWVuYcYJTiYlUR4JSbKBwrxpiRWVqUW5ccXleakFh9iZOLglGpglLiqViEr23d6 8ea8UqNbZ+damLAoqGwOmJF7YELUWf11wSb/lJ7USW7X6dCNZFLNFL3SFCDZHGH2yXm7CveT m99O/Z9WtuP8LBPh2pTGjIgtdcxr1Gf6LX8SdzfDbdtCnuINrx+aiJl6r5gvcclwGfOv4xGr m1++kS+tD+k8fZ/T8WHv5RU7lFiKMxINtZiLihMBHEGExZcCAAA=
References: <CD43C00C.33E4A%w.roome@alcatel-lucent.com>
Cc: "<alto@ietf.org>" <alto@ietf.org>
Subject: Re: [alto] Discussion II: Unifying cost-mode and cost-type to a single type
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Application-Layer Traffic Optimization \(alto\) WG mailing list" <alto.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/alto>, <mailto:alto-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/alto>
List-Post: <mailto:alto@ietf.org>
List-Help: <mailto:alto-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/alto>, <mailto:alto-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Feb 2013 15:00:35 -0000

Hi,

As said some time ago, I do support the idea. It is much better structured and simplifies processing (at both sides, I'd say) And it posseses a taste close to the good-ole MIME types I cannot avoiud to appreciate.

Will go through the detailed text later and provide comments (if any) but let's get the ball rolling!

Be goode,

On 15 Feb 2013, at 21:23 , Wendy Roome wrote:

> To return to this issue, I suggest we unify them, so that we have Cost
> Types -- period. The "Mode" becomes a property of the Cost Type. So if a
> server provides numerical & ordinal routingcosts, it provides *two*
> separate Cost Types, say "routingcost" and "routingcost-ord".
>
> I believe the result will simplify both clients and servers, and make it
> easier for servers to introduce additional cost types.
>
> My suggestion is to extend the Information Resource Directory with a list
> of definitions for each Cost Type the server supports. Each Cost Type
> definition would give the name of the Cost Type, the mode, and other
> attributes. Currently the Information Resource Directory is a dictionary
> with one item, "resources". So I propose adding a second item named
> "cost-types," whose value is a list of cost-type definitions, as in
>
>  "cost-types" : [
>    {
>      "name" : "routingcost",
>      "value" : "number",
>      "mode" : "numerical",
>      "measures" : "delay",
>      "description" : "Standard routing cost",
>    }, {
>      "name" : "hopcount",
>      "value" : "number",
>      "mode" : "numerical",
>      "measures" : "hops",
>      "description" : "Simple hop count",
>    }, {
>      "name" : "routingcost-ord",
>      "value" : "number",
>      "mode" : "ordinal",
>      "measures" : "delay",
>      "description" : "Ordinal routing cost",
>    }
>  ]
>
> Then pretty much delete every reference to a field named "cost-mode".
>
>
>
> To get the ball rolling, I've attached proposed replacements for
>
>       Section 5.1. Cost Attributes
>       Section 6.7.2. Encoding Section 6.7.3. Example
>
> If those don't survive the list server, let me know and I'll put them up
> on a web server.
>
> If y'all like this idea, I'd be happy to help with the editing.
>
>       - Wendy Roome
>
>
>> Date: Mon, 28 Jan 2013 23:08:23 +0000
>> From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
>> Subject: [alto] ALTO Protocol Outstanding Issue II: Unifying cost-mode
>>      and cost-type to a single type
>>
>> Discussion II: Unifying cost-mode and cost-type to a single type
>>
>> e.g., routingcost-num and routingcost-ord
>>
>> Having a single type simples the protocol since there is just one
>> parameter when indicating cost. But it will impact current
>> implementations and might loose flexibility.
>>
>> Proposal: Leave it as is.
>>
>> Thanks,
>>
>> Reinaldo
>
> <sect-5-1.txt><sect-6-7-2.txt><sect-6-7-3.txt>_______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto


--
"Esta vez no fallaremos, Doctor Infierno"

Dr Diego R. Lopez
Telefonica I+D
http://people.tid.es/diego.lopez/

e-mail: diego@tid.es
Tel:    +34 913 129 041
Mobile: +34 682 051 091
-----------------------------------------


________________________________

Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx