Re: [alto] Some opinions about cost calendar

"Randriamasy, Sabine (Nokia - FR/Nozay)" <sabine.randriamasy@nokia-bell-labs.com> Fri, 30 June 2017 17:29 UTC

Return-Path: <sabine.randriamasy@nokia-bell-labs.com>
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 447C3131458; Fri, 30 Jun 2017 10:29:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.921
X-Spam-Level:
X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.com
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 aH1N53asl9lA; Fri, 30 Jun 2017 10:29:01 -0700 (PDT)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0133.outbound.protection.outlook.com [104.47.1.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 87AC6131448; Fri, 30 Jun 2017 10:29:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector2-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Ps2Lb/WtD9Z+vZUbxC4FfnjS34+Ct+fkhh7oPYeeh4o=; b=RRcjJxoxGcTFSoQukLndZcE+rkF4dC5yDaWEJDM+L0Z61UL7kjBF/8qfiN75AbqTkp/6+OCmdo35dKCXf+XRIXPxX1vULvXiPWTOPr7zLIdoRq0u3z+WeFzDuPLJzzY6JN9vLS4fKb4MeQu+SKWg8jMDIEcVqMH34WqNrAJ71Kw=
Received: from DB6PR0701MB2454.eurprd07.prod.outlook.com (10.168.75.147) by DB6PR0701MB1846.eurprd07.prod.outlook.com (10.168.10.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.6; Fri, 30 Jun 2017 17:28:57 +0000
Received: from DB6PR0701MB2454.eurprd07.prod.outlook.com ([fe80::79f9:96c:a3c5:3ecc]) by DB6PR0701MB2454.eurprd07.prod.outlook.com ([fe80::79f9:96c:a3c5:3ecc%17]) with mapi id 15.01.1240.007; Fri, 30 Jun 2017 17:28:57 +0000
From: "Randriamasy, Sabine (Nokia - FR/Nozay)" <sabine.randriamasy@nokia-bell-labs.com>
To: Dawn Chan <dawn_chen_f@hotmail.com>, "draft-ietf-alto-cost-calendar@ietf.org" <draft-ietf-alto-cost-calendar@ietf.org>, "alto@ietf.org" <alto@ietf.org>
Thread-Topic: Some opinions about cost calendar
Thread-Index: AQHS6kKO/F96ShC+eESr7CeYtldFgKI9qw6A
Date: Fri, 30 Jun 2017 17:28:57 +0000
Message-ID: <DB6PR0701MB2454A303AAC0459B781F9C2495D30@DB6PR0701MB2454.eurprd07.prod.outlook.com>
References: <HK2PR0401MB1588F6C5286616118F67FA48B5DA0@HK2PR0401MB1588.apcprd04.prod.outlook.com>
In-Reply-To: <HK2PR0401MB1588F6C5286616118F67FA48B5DA0@HK2PR0401MB1588.apcprd04.prod.outlook.com>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: hotmail.com; dkim=none (message not signed) header.d=none;hotmail.com; dmarc=none action=none header.from=nokia-bell-labs.com;
x-originating-ip: [135.245.212.17]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DB6PR0701MB1846; 7:nF3mRxy1Y1hhXX3ZuB+DqrYeln3CHzGa755iGzJWdX3KitndsEH+2Xqz4MkRGDRf5b5eHJFnxy15JTDkXoo76ap+ZAjYN0gzqiADDWB23GuFBpQJByteM8rm+jbTR0wf9lHhs3mlUBu0VLDGz47+s5pQEZNtbyZCtKwrG1B8zEErY7kxiaEJ1UC0oOTCFM6q1/5b6/91uRTjnrtreKtkfrLIPVTVa3bDCD0MfAvkYDhIYg1Y6vILFhiarJhc87UeMQ18zb8/twxybqdh/fsTd0R1OALm0+MTyMYk9P1GCIz54AdtceLJWMxFw+v421HzH3PyJkV4iCbyPT7DM1czrNKqBYWlNftzcy8LXv1440HWgl3Hp5pnG2iCIBBQSEUzntXjGp4TL5CnXTuugODRY4EC5CwJ9IN4RYPEo5uNeXAT9S4Y/wuhCah6AsHkY8pjYJaJTV1+/HJbDaEE2uBQTWS8lR3aB5xt7CTFyaZrCBZNzrsAno1jncMdPOU+8JTkvpqO/6x6Q+YPwBQcQmh2VTkx1D6fmRVI9Rfu1dkk6fOihCA3iVmKkip+zZbpb91j6kFMKUmz5JxarjE7/31YLB3K2UzZaR1T7wtVml9OobJQpY8efNVPEYRWICzbC1SQF3IO8kXWgSqdwMqu9SLStpVpW8yAc/gQyNm8aga99YxWH6L67H2nQJIbuh3EOiJrHq+N67n97E30hxkuuO5IArVBt7aAvgw11hkpeqqfBCSKp0hYZOr5n4c2s29WLs5ism3Tihg8QUbFQjWTvDpY0MzRDvFJJkYOiUR8flaOXMc=
x-ms-office365-filtering-correlation-id: 193295c5-0e3d-4fdf-0e27-08d4bfdd7cff
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(48565401081)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DB6PR0701MB1846;
x-ms-traffictypediagnostic: DB6PR0701MB1846:
x-microsoft-antispam-prvs: <DB6PR0701MB18467F24B2BBB9EA35A713D095D30@DB6PR0701MB1846.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(151999592597050)(158342451672863)(133145235818549)(26388249023172)(236129657087228)(48057245064654)(148574349560750)(194151415913766)(21748063052155)(247924648384137);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123555025)(20161123562025)(201703131423075)(201703031522075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0701MB1846; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0701MB1846;
x-forefront-prvs: 0354B4BED2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39400400002)(39850400002)(39840400002)(39860400002)(39410400002)(39450400003)(790700001)(5250100002)(6116002)(2950100002)(14454004)(33656002)(8676002)(102836003)(53546010)(3846002)(39060400002)(81166006)(9686003)(76176999)(7696004)(66066001)(86362001)(54356999)(478600001)(3660700001)(3280700002)(7736002)(50986999)(25786009)(2201001)(2906002)(74316002)(6506006)(45080400002)(2501003)(5660300001)(38730400002)(99286003)(6306002)(8936002)(55016002)(2900100001)(54896002)(189998001)(53936002)(68736007)(6246003)(6436002)(229853002)(90052001); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR0701MB1846; H:DB6PR0701MB2454.eurprd07.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DB6PR0701MB2454A303AAC0459B781F9C2495D30DB6PR0701MB2454_"
MIME-Version: 1.0
X-OriginatorOrg: nokia-bell-labs.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2017 17:28:57.0287 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0701MB1846
Archived-At: <https://mailarchive.ietf.org/arch/msg/alto/jxwxH_j9CzAGEGJXzWOaRvqYhIM>
Subject: Re: [alto] Some opinions about cost calendar
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 30 Jun 2017 17:29:04 -0000

Hi Dawn,

Thanks a lot for your review and feedback.
Please see my answers inline,
Thanks,
Sabine


From: Dawn Chan [mailto:dawn_chen_f@hotmail.com]
Sent: 21 June 2017 05:58
To: draft-ietf-alto-cost-calendar@ietf.org; alto@ietf.org
Subject: Some opinions about cost calendar

Hi authors of alto-cost-calendar and all,
After reviewing the draft cost calendar, I think there are two points that could be specified more clearly in the cost calendar design.
First, in Section 4.1.1, for a multi-cost aware client, if the number of values of field “calendared” is less than the “cost-type-names” queried, the ALTO server may return an ERROR.
[SR     ] The text clearly says the client MUST add an array of N boolean values corresponding to the N cost types requested. Do you mean we should add a sentence saying that if the size of this array is different from N the server will return an error?
Another problem related to the field “calendared” is that, if there is a “false” in field “calendared”for a certain cost type while cost types are “true”(for example, the client wants “num-routingcost” to be calendared while do not want “num-latency” to be calendared), when will the cost value of “num-latency” be returned? Will it be returned together with “num-routingcost” after some time intervals?
[SR     ] The ALTO Server MUST return single values as specified in RFC7285 for those cost types for which no calendar is requested. This is written in section 4.3 but you are right, it should be better specified in sections 4.2.2 and 4.1.2. Thanks for pointing this.

Second, the following is the example of he capability of Filtered Cost Map in Section 3.3. As we can see, the cost-type “num-routing-cost” and “num-pathbandwidth” share the same “time-interval-size” and “number-of-intervals”, so they are listed in one “calendar-attributes”.
"capabilities" : {
              "cost-constraints" : true,
              "cost-type-names"  : [ "num-routingcost", "num-pathbandwidth",
                                     "string-service-status" ],
              "calendar-attributes" : [
                 {"cost-type-names" : [ "num-routingcost", "num-pathbandwidth" ],
                  "time-interval-size" : "1 hour",
                  "number-of-intervals" : 24
                 },
                 {"cost-type-names" : "string-service-status",
                  "time-interval-size" : "30 minute",
                  "number-of-intervals" : 48
                 }
               ] // end calendar-attributes
              "uses": [ "my-default-network-map" ]
              }
}

However, the object  CalendarAttributes defined in Section 3.1 is following, it does not support multiple cost-type-names in a single CalendarAttributes currently
object{
     [JSONString   cost-type-name;]
     JSONString    time-interval-size;
     JSONNumber    number-of-intervals;
 } CalendarAttributes;
[SR     ] Agree, this member will be mandatory and an <1**N> array thanks for pointing this

Another point is that in Section 4.2.1, the object ReqEndpointCostMap is extended as follows (a new field calendared is added). It extends the query format of legacy endpoint cost query, we may also need to extend the query format of multi-cost aware query(a new field “calendared” add to the query).
object {
     CostType       cost-type;
     [JSONBoolean    calendared<1..*>;]
     EndpointFilter endpoints;
   } ReqEndpointCostMap;
   object {
     [TypedEndpointAddr srcs<0..*>;]
     [TypedEndpointAddr dsts<0..*>;]
   } EndpointFilter;
[SR     ] Agree, I’ll add some text on Multi-Cost requests

That’s my opinions about the draft cost-calendar. Wish to hear your ideas, thanks.
[SR     ] Thanks

Best Regards,
Dawn