[alto] Some opinions about cost calendar

Dawn Chan <dawn_chen_f@hotmail.com> Wed, 21 June 2017 03:58 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 286A8126D05; Tue, 20 Jun 2017 20:58:01 -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 CWnh73PGxkBn; Tue, 20 Jun 2017 20:57:59 -0700 (PDT)
Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-oln040092253045.outbound.protection.outlook.com [40.92.253.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9F878126DCA; Tue, 20 Jun 2017 20:57:55 -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=Ly6xRRKX/0luAo/vI2QdOHgR+Ea/qV+Oh6K3fv0N280=; b=KORhImHuRY3BKgtBrM6fmLtncbdrjrmz0wrVDOfRvTtTQ8bUVj+mb2jbXEkvIG4gIk05udAxa0c/IWG4N02v4X2vOyqgOXwNqBvrDCtqZx4X7MDMBzev5117Ugi8ynaOcoWdGm4/fMQ40HLIMCSLbgweMEL7s2xaCmZZY4EbbCfyGBBM47k83XIcjR8yXvIqCyYQ+BIcuQCAwH1vStpY57queRWMuL2gR5IgXcusnZQZtIJQIyLqhYvf41Gh/7OgtYoC3sajLdeIxibgUyQxt+5ItHcAQSBUEZvJBIzV+W2nSs1NEoGLjCEE4yAaAAIuBBT4OCB8ySILWLe7wg7rcQ==
Received: from HK2APC01FT115.eop-APC01.prod.protection.outlook.com (10.152.248.55) by HK2APC01HT077.eop-APC01.prod.protection.outlook.com (10.152.249.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1157.12; Wed, 21 Jun 2017 03:57:52 +0000
Received: from HK2PR0401MB1588.apcprd04.prod.outlook.com (10.152.248.53) by HK2APC01FT115.mail.protection.outlook.com (10.152.248.194) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12 via Frontend Transport; Wed, 21 Jun 2017 03:57:52 +0000
Received: from HK2PR0401MB1588.apcprd04.prod.outlook.com ([fe80::55b9:5e68:5795:5198]) by HK2PR0401MB1588.apcprd04.prod.outlook.com ([fe80::55b9:5e68:5795:5198%14]) with mapi id 15.01.1178.018; Wed, 21 Jun 2017 03:57: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>, "alto@ietf.org" <alto@ietf.org>
Thread-Topic: Some opinions about cost calendar
Thread-Index: AQHS6kKO/F96ShC+eESr7CeYtldFgA==
Date: Wed, 21 Jun 2017 03:57:52 +0000
Message-ID: <HK2PR0401MB1588F6C5286616118F67FA48B5DA0@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:EE45E4993C1B9C2A0EF8A74C67FE8ED6FD436B2E70E7E3A98406C60D152484C3; UpperCasedChecksum:9EE34CE9A811F0A8567570C6812F206ADD377FB78930E15E62984AEF4A2334EE; SizeAsReceived:7183; Count:43
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [iM5XaC3bxofYf+m2Jcmw7N5IRMHMIGGe]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HK2APC01HT077; 7:q5QOhUzlbe9Nb/Hb8rgbsJf3CJ1aq6H1QDp9w+mHhf5Rdp4McTshk6W2LI2X09c5Cpny2lmR41cdprLN3kYaCk5Qec54Ay74FienPAiO8PBnsD4j2PcsmR5ZhVqsnPOK7xGTwhpUmO/3uc/iHhuXuVeTtpjD6zb9J8OUF+amPh2H79pzcHs/rsmAPuqz6U9Tbi7h1ABdydHJVMY6Zlh366pJtaC+/in2u9lJfhrNLLvlPgL8DwKn/2A50DaWtC/WFXy4Xdk1rGYyqoI7a5A1jX/PW0eNBLoxhMnqnZNq9CDQoZoKU7lTE7dN+pRIWA2RYk6J29JI+HfrGv2FsxjslCE7W+TzfqepRSdRZ6nts53e7RpnB7YFC2v5napE8LRadn5OdiAnHsk52aEW6xNsEUYqEO+3A1RmURqYecOJDzR9nqXV4Gw4NWfO88gi706U+2g39IXGz2ma3pco63NAKcANl0gF77ThSVi+4EXZp5bPkbBwHYVhylY1vB0xIO+x32S+9iTiSg8drVPoVCci3PZTlcejYbaLeh7RFOlwmG0rz6cyd+c3meEn53fNTJLwYbEYz5umMfp3QNaxc6JjKA1rAJq+8+af54lHVRfC/2N7fp+JC1/zNOJvPUucmmaAKm4ALeM450GimXWWLcXj04NMPy9/2klDV0NUyjdDCCNk30P+o9tT7kcYqNDuDnjJAGR0PJRY+hxouqrKQvaK3E3Uh53tZh7l4yUfH+22CU72cnZvpwHLO/EVIJqiZ73UE6LYXUrOc0+rp/D5yETyww==
x-incomingheadercount: 43
x-eopattributedmessage: 0
x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:HK2APC01HT077; H:HK2PR0401MB1588.apcprd04.prod.outlook.com; FPR:; SPF:None; LANG:en;
x-ms-traffictypediagnostic: HK2APC01HT077:
x-ms-office365-filtering-correlation-id: 255086d5-2093-4d10-9675-08d4b859b048
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322274)(1603101448)(1601125374)(1701031045); SRVR:HK2APC01HT077;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:HK2APC01HT077; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HK2APC01HT077;
x-forefront-prvs: 0345CFD558
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_HK2PR0401MB1588F6C5286616118F67FA48B5DA0HK2PR0401MB1588_"
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2017 03:57:52.5073 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2APC01HT077
Archived-At: <https://mailarchive.ietf.org/arch/msg/alto/Ef2W97m-sO-rVxOIQ8TY0eouNHU>
Subject: [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: Wed, 21 Jun 2017 03:58:01 -0000

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. 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?

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;

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;

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

Best Regards,
Dawn