[alto] Review of draft-ietf-alto-cost-calendar-02

Dawn Chan <dawn_chen_f@hotmail.com> Wed, 12 July 2017 08:36 UTC

Return-Path: <dawn_chen_f@hotmail.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 4FEBC128768; Wed, 12 Jul 2017 01:36:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.126
X-Spam-Level:
X-Spam-Status: No, score=-1.126 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_HOTMAIL_RCVD2=0.874, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.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 rfHfp6xXRQPC; Wed, 12 Jul 2017 01:36:55 -0700 (PDT)
Received: from APC01-PU1-obe.outbound.protection.outlook.com (mail-oln040092254034.outbound.protection.outlook.com [40.92.254.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B392E126E64; Wed, 12 Jul 2017 01:36:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=cyCqKxKh4/AEDIrK7aPsVeYinlpmCxszZORtaiNmzD8=; b=ivJKPPpMpcEB2tJML1PqATkxSbWM8Lad3U+VMvWTC1Bv9CMJBhLOvrcpI2RZb/mINp2cVFrtj0487SFX1YHW0OPtveOCNCUm8lCq3cNmzUJ98q+wZBMtJgeP47KbMY8hFu9FOlHaPIGhlUFtog+gUiqnmFN/wqELtzLS+rAN8AnjFwcNUI9OSWNZ2CACcoQdgfatIWmArVcs8BfsUuFmRa/QwCProLX6/f5arSSAJ7SADKQpjUZfkXQvTAf9vDLoqbWwvqcB8nJRnFFOALUVEYIUkeSiJPGzy4Zq1Kt1hFJcqBZZV4en9MZYD6UrFvy4fhNphhOegmA5yeZYUMyy6w==
Received: from HK2APC01FT022.eop-APC01.prod.protection.outlook.com (10.152.248.51) by HK2APC01HT035.eop-APC01.prod.protection.outlook.com (10.152.249.94) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1220.9; Wed, 12 Jul 2017 08:36:52 +0000
Received: from HK2PR0401MB1588.apcprd04.prod.outlook.com (10.152.248.53) by HK2APC01FT022.mail.protection.outlook.com (10.152.248.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.9 via Frontend Transport; Wed, 12 Jul 2017 08:36:52 +0000
Received: from HK2PR0401MB1588.apcprd04.prod.outlook.com ([fe80::18d:5c52:450d:a267]) by HK2PR0401MB1588.apcprd04.prod.outlook.com ([fe80::18d:5c52:450d:a267%13]) with mapi id 15.01.1240.020; Wed, 12 Jul 2017 08:36:52 +0000
From: Dawn Chan <dawn_chen_f@hotmail.com>
To: "draft-ietf-alto-cost-calendar@ietf.org" <draft-ietf-alto-cost-calendar@ietf.org>
CC: "alto@ietf.org" <alto@ietf.org>
Thread-Topic: Review of draft-ietf-alto-cost-calendar-02
Thread-Index: AQHS+uoC6HcZZaTHrEWxQs4PEvw97Q==
Date: Wed, 12 Jul 2017 08:36:51 +0000
Message-ID: <HK2PR0401MB1588529A627653EF6F4A15EFB5AF0@HK2PR0401MB1588.apcprd04.prod.outlook.com>
Accept-Language: en-US, zh-CN
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=hotmail.com;
x-incomingtopheadermarker: OriginalChecksum:2C50BFE0029170D73CB4D2CCBA428E26472677B9B8FA51C24B72722B938DC1ED; UpperCasedChecksum:39278F4D442A9E036E7259018E5D5C3616C065CF786ACEB62B5968F24D144AD5; SizeAsReceived:7199; Count:44
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [8i1wWGVHJc+9iHfpAiWF6t5PPxo3X18s]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HK2APC01HT035; 7:rNLsFjc7sBq6hMna0ZHX6z6YX62DDwhMwonkn0/mJQZ40bi/QIDMG+qz8AjzwsZi3pPqPKt11Aj/CaOT2V53ue6mplu8jdw+l137f4ycFg734g3FtjQKszMVqiplY1veFzYd5IS3sRgkxowpfrcO2fdYB53XVz02x9U6CNKKQ12e5lmx/U+cLE/LN7RyHgbmjO/bGNGFGa0JteBZu91kwrmBBb6R+EsP7vU593eg8M1JmcwVuXcytoy4AcNsDbkSXV2b3IpW4sA+OOO4AodrOMGzfPnjE7qzAHFpdGaWAK3SwLcvan6vaIBps6Qae0cqHnu1R54mBNDR5xvpa6G+z9xy+zwsDHQzMUkrz3wFAVMF/qZ0OnwJSEuQdIir0+jOdsZLCRoSfT1MMQH3BVLYZjiu4009ZQpsLBbIMe9ZgAygLnJ7fFROEW/4dW9qTkSe6dsredvuzkKfp/kJCTqd7g0P1opRUDo2+CfNvGKrQsaVlZiJSssHcRTFqzr1aA8Pyfq1yAG3PGaJ6q0QRafa4av0QyF1CiusFEZFTAMY8r7iiTwipRX5hMFWNLwmA6bf2egcIIUs33Smq93eWIJRLSbpHBBvqtMqSYCTNixW0X6H+9TazF95FeH84ezOSLEB2fE86NKpYxDg8BNQ4B1XLZB4f8Rhb/9CYj7m0Xb2F/hToC0UhnPhdDEADzQFIpxbCLhZAhlgmdOFrI2GzpJKjpGueWAFwdbOe4Z+J1SHQFW+SMJLjWaXydntSzUVF5oGPssOuVfrk159/C8LLkfQIw==
x-incomingheadercount: 44
x-eopattributedmessage: 0
x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:HK2APC01HT035; H:HK2PR0401MB1588.apcprd04.prod.outlook.com; FPR:; SPF:None; LANG:en;
x-ms-office365-filtering-correlation-id: 5c40544b-5cb1-4928-0eaa-08d4c9012471
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322274)(1601125374)(1603101448)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:HK2APC01HT035;
x-ms-traffictypediagnostic: HK2APC01HT035:
x-exchange-antispam-report-test: UriScan:(158342451672863)(236129657087228)(107004242121476)(48057245064654)(148574349560750)(247924648384137);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:HK2APC01HT035; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HK2APC01HT035;
x-forefront-prvs: 036614DD9C
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_HK2PR0401MB1588529A627653EF6F4A15EFB5AF0HK2PR0401MB1588_"
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jul 2017 08:36:51.9309 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2APC01HT035
Archived-At: <https://mailarchive.ietf.org/arch/msg/alto/AC_kolmMheKS9SFPD3xEtVPg3eg>
Subject: [alto] Review of draft-ietf-alto-cost-calendar-02
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: Wed, 12 Jul 2017 08:36:57 -0000

Hi authors of cost calendar and all,
I’ve just reviewed the new version of cost calendar and here are some feedbacks.

1. In Section 1 Introduction, “In case the ALTO Cost value changes are predicable over a certain period of time and …”, here the “predicable” should be “predictable”.
2. In Section 2.2.1 ALTO Cost Calendar for all cost modes, “However,Calendars can also represent any metric considered as time-varying by an ALTO Server”. I think this paragraph is discussing about cost mode rather than cost metric, so it might be better is we change the “metric” into “mode”.
3. In Section 3.1 Calendar attributes in the IRD resources capabilities, when explaining “cost-type-name”, I think it should be “cost-type-names”, it might be a typo.
4. In Section 3.3 Example IRD with ALTO Cost Calendars,
"http://custom.alto.example.com/calendar/endpointcost/lookup": an endpoint cost map in which in which calendar capabilities are indicated for cost type names: "num-routingcost", "num-latency","num-pathbandwidth", "string-service-status”.
Here one of the “in which” is a typo and should be deleted.

5. In Section 3.3 Example IRD with ALTO Cost Calendars, in the example of IRD, when specifying capabilities of resource "filtered-cost-map-calendar”, the “calendar-attributes” is the following:

"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


Here the “cost-type-names”: “string-service-status” should be “cost-type-names”: [“string-service-status”] because “cost-type-names” is a JSONArray object. The same to the “cost-type-names” specified in resource “endpoint-cost-calendar-map” in this example.

Another problem for resource “endpoint-cost-calendar-map” is that

"endpoint-cost-calendar-map" : {
        "uri" : "http://custom.alto.example.com/calendar/endpointcost/lookup”,
        "media-types" : [ "application/alto-endpointcost+json" ],
        "accepts" : [ "application/alto-endpointcostparams+json" ],
        …
        “uses” : [“my-default-network-map"]
}

Here, the “media-types” and “accepts” are not JSONArray objects, so it should be

"endpoint-cost-calendar-map" : {
        "uri" : "http://custom.alto.example.com/calendar/endpointcost/lookup”,
        "media-types" : "application/alto-endpointcost+json",
        "accepts" : "application/alto-endpointcostparams+json",
        …
}

And an endpoint cost map do not need the dependent network map.

6. Here are some inconsistency between the definition and example displayed.

 In Section 4.1.2 Calendar extension in Filtered Cost map responses, it extends the response format with an field
 CalendarResponseAttributes calendar-response-attributes <1..*>;

The definition of CalendarResponseAttributes is:

object{
  JSONString    cost-type-names;
  JSONString    calendar-start-time;
  JSONString    time-interval-size;
  JSONNumber    number-of-intervals;
  [JSONNumber   repeated;]      [OPTIONAL]

} CalendarResponseAttributes;

But in the example in Section 4.1.3 “num-intervals” is used instead of “number-of-intervals”. The same typos happened in Section 4.2.3 and Section 4.2.4 (the examples of endpoint cost maps).

Another point is that, the "cost-type-names” is NOT optional, but the examples in Section 4.1.3 and 4.2.3 doesn’t provide this information. My suggestion is that “cost-type-names” is an OPTIONAL field, for legacy ALTO requests (request which contains only one cost type), the “cost-type-names” is  not necessary. But for multi-cost ALTO request, the “cost-type-names” MUST be provided. And since “cost-type-names” only contains a single value, maybe the name can be changed to “cost-type-name”.

Above are some of my ideas, if there is some misunderstanding, please correct.

Wish to here your reply.

Best Regards,

Dawn