Re: [alto] Benjamin Kaduk's No Objection on draft-ietf-alto-cost-calendar-09: (with COMMENT)

"Randriamasy, Sabine (Nokia - FR/Paris-Saclay)" <sabine.randriamasy@nokia-bell-labs.com> Fri, 25 January 2019 10: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 02F2F130D7A; Fri, 25 Jan 2019 02:29:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.454
X-Spam-Level:
X-Spam-Status: No, score=-6.454 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-4.553, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 TFgP7nGSdhEL; Fri, 25 Jan 2019 02:29:33 -0800 (PST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on072f.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0e::72f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AEDF012F1AC; Fri, 25 Jan 2019 02:29:32 -0800 (PST)
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:X-MS-Exchange-SenderADCheck; bh=uWRxJLb3s0GJHIvu12OgWFEa//63U05f73wftxEOJGM=; b=ag4mafCUOJw0YQA2dynIBs3PY8+RGmX36jJ1xzVKZb+dlb5hoQztOoke5uG7HmNPEBzXsdqPzB+yOyWjKTgX7Df9NDOB30nF39cKFsXG1J1HRsg6DtffT2PRnwkLmcOX29hW7hp6Z0jmFjRQnMoubwI3a8/6VptjoCtcXX29l0s=
Received: from AM4PR07MB3236.eurprd07.prod.outlook.com (10.171.189.13) by AM4PR07MB3426.eurprd07.prod.outlook.com (10.171.190.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1558.11; Fri, 25 Jan 2019 10:29:30 +0000
Received: from AM4PR07MB3236.eurprd07.prod.outlook.com ([fe80::5c0b:728b:7ba3:9d74]) by AM4PR07MB3236.eurprd07.prod.outlook.com ([fe80::5c0b:728b:7ba3:9d74%5]) with mapi id 15.20.1558.016; Fri, 25 Jan 2019 10:29:30 +0000
From: "Randriamasy, Sabine (Nokia - FR/Paris-Saclay)" <sabine.randriamasy@nokia-bell-labs.com>
To: Benjamin Kaduk <kaduk@mit.edu>
CC: The IESG <iesg@ietf.org>, "draft-ietf-alto-cost-calendar@ietf.org" <draft-ietf-alto-cost-calendar@ietf.org>, Vijay Gurbani <vijay.gurbani@gmail.com>, "alto-chairs@ietf.org" <alto-chairs@ietf.org>, "alto@ietf.org" <alto@ietf.org>
Thread-Topic: Benjamin Kaduk's No Objection on draft-ietf-alto-cost-calendar-09: (with COMMENT)
Thread-Index: AQHUjUUc6emPW2oRJk+Q4Dey2i6T4KWyLexQgA0TxQCAANVecA==
Date: Fri, 25 Jan 2019 10:29:30 +0000
Message-ID: <AM4PR07MB32367883EEDA91DD38B3BE35959B0@AM4PR07MB3236.eurprd07.prod.outlook.com>
References: <154408810269.3321.15120210159742976150.idtracker@ietfa.amsl.com> <VI1PR07MB32470A6AF6F39546B1F7DD20959A0@VI1PR07MB3247.eurprd07.prod.outlook.com> <20190124214502.GD49072@kduck.mit.edu>
In-Reply-To: <20190124214502.GD49072@kduck.mit.edu>
Accept-Language: fr-FR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=sabine.randriamasy@nokia-bell-labs.com;
x-originating-ip: [135.245.212.89]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM4PR07MB3426; 6:F6grE5MzNq6L4kT15feKPCKez0CqRQuWjlYMQM+y6hwAQzQngahVkA4alnBuYfmEm2ZyWwrHQWqAGorizCF27RerD/x5zxskGgCNojGXfc+cVb8WiaRVVM68mPe5lCa/gAqhnWHD7Pxt2RIcagDmVdqIiYUywpuKUuWvxM83tjdrThpvzcy7QMG/+JaHZQOFt5GyzbCSloXFETX0RAQ+fZo4qb9SwopC9TQJx0Yi2ZYrHzdx0X0cY+55Z/AqcO1Glw/42cjgcraYn5oD4RIbJfYMT5k/xM94V8VjaJjDLW8SM+OBl9PrHG+kDyllgxRAL5lymv7gpxtTeJHeOiYVdD7ZbEPkjROVb2ICis0ZWQ1bmpH0PCmYxGQtb6rObeGe6eUVsdKsmz5OQ8xohRn3iNs6+62UDmX212KgzHSeKmQUitFlaOg2MDzAe15JrRWTpjj/Y64+xDVP3aE4hVf0Pg==; 5:f7xacjHqCislRTdvHclOEroqfU6vhffeFOahxZM8f9oEw+Ddzg7+a7v17UQLtneeFx6zgQB6ed3lnga1mHiTNEIBzVpbIBeqd5QxZuaZlD0UGQDq/m7MWstFcBs68Jvv2+dW4ouiUen0LmKjqb2j3GzRb7uIUAwCReIUuh+hnJZ/g9RrmLvQCTxBtM8KluKjZ2Dj/S/cqDW6gYgIQ5b7jw==; 7:OueyLM6hhMkJERlgoXymzL/3Xz8QB3adBelv67eFbwbFXMC4r/Dvl/rqvrWQMPSXunBlogXVqivLvmKvFKIDMIOm3U6SzOdklCT0lpjVEXVaQq0g35F3lonAgPJ7WzIa4PlDEWVS4XGFIa8my/GbsA==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 11499390-f99e-415c-f38a-08d682affd8e
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7193020); SRVR:AM4PR07MB3426;
x-ms-traffictypediagnostic: AM4PR07MB3426:
x-microsoft-antispam-prvs: <AM4PR07MB3426734DB4DED84356E55FC6959B0@AM4PR07MB3426.eurprd07.prod.outlook.com>
x-forefront-prvs: 0928072091
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(396003)(39860400002)(136003)(366004)(346002)(376002)(51914003)(189003)(199004)(13464003)(6436002)(256004)(5024004)(14444005)(55016002)(6246003)(3846002)(7696005)(76176011)(33656002)(8676002)(81156014)(74316002)(6116002)(81166006)(8936002)(99286004)(102836004)(54906003)(6916009)(316002)(26005)(66066001)(6506007)(53546011)(4326008)(2906002)(39060400002)(229853002)(305945005)(7736002)(186003)(486006)(25786009)(478600001)(53936002)(11346002)(105586002)(476003)(106356001)(6306002)(71190400001)(71200400001)(446003)(14454004)(9686003)(966005)(68736007)(2171002)(86362001)(97736004); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR07MB3426; H:AM4PR07MB3236.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:0;
received-spf: None (protection.outlook.com: nokia-bell-labs.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: E+dlGruOfgfiDyxoDG6PLlFifOKXoHY/NvVOXJmgKe4ruqv4Vk+6MgRwjBnApTSAhVmifGEBbRBlFDHS6BNWQhUVhzcuGjMCT2cIKgmXXjBJMWvbRXpz8dIVZM7m07r0yiUNo5OAznWYhj390I8UIsfK6RfvJlIBswkIK9KV7OJRXC1MMkqgo3uUQ8y8sK6L42u0S2WvVn9+BA1wzkgKIO5krDB2PoG7OZYAC2nx/mf12Ap6jhuVps9QkwUC8lA4zTdDbYK1xdTV3I0s0uQ/kYt1vsWAGiwcCAp1tCXu3FlpukMTvDJWEwJjFu9lJDlyw5AMSKpc/agGvSRg+sWrIXPjVAURqhVXof6vmhUvLWpnc+4XwB+ddokPhNd2UWltLe3bY70QMdjgyQb/GPqywwqOkzM3iuDjWZgmP8XFw3M=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: nokia-bell-labs.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 11499390-f99e-415c-f38a-08d682affd8e
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2019 10:29:30.3454 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR07MB3426
Archived-At: <https://mailarchive.ietf.org/arch/msg/alto/NSUukiiA-A6CNLXhXbG-5GU8ygg>
Subject: Re: [alto] Benjamin Kaduk's No Objection on draft-ietf-alto-cost-calendar-09: (with COMMENT)
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.29
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, 25 Jan 2019 10:29:36 -0000

Hi Benjamin,

Thanks a  lot, I will integrate the updates,
Best regards
Sabine

-----Original Message-----
From: Benjamin Kaduk <kaduk@mit.edu>; 
Sent: Thursday, January 24, 2019 10:45 PM
To: Randriamasy, Sabine (Nokia - FR/Paris-Saclay) <sabine.randriamasy@nokia-bell-labs.com>;
Cc: The IESG <iesg@ietf.org>;; draft-ietf-alto-cost-calendar@ietf.org; Vijay Gurbani <vijay.gurbani@gmail.com>;; alto-chairs@ietf.org; alto@ietf.org
Subject: Re: Benjamin Kaduk's No Objection on draft-ietf-alto-cost-calendar-09: (with COMMENT)

Hi Sabine,

Generally these look good; a few replies inline.

On Thu, Jan 24, 2019 at 02:15:29PM +0000, Randriamasy, Sabine (Nokia - FR/Paris-Saclay) wrote:
> Hello Benjamin,
> 
> Thanks for your comments. A new version of this draft will be submitted and the updates hopefully addressing your comments. 
> Please see inline for the responses.  
> All the best for 2019,
> 
> Sabine
> 
> 
> -----Original Message-----
> From: Benjamin Kaduk <kaduk@mit.edu>;
> Sent: Thursday, December 06, 2018 10:22 AM
> To: The IESG <iesg@ietf.org>;
> Cc: draft-ietf-alto-cost-calendar@ietf.org; Gurbani, Vijay (Nokia - 
> US/Naperville) <vijay.gurbani@nokia.onmicrosoft.com>;; 
> alto-chairs@ietf.org; Gurbani, Vijay (Nokia - US/Naperville) 
> <vijay.gurbani@nokia.onmicrosoft.com>;; alto@ietf.org
> Subject: Benjamin Kaduk's No Objection on 
> draft-ietf-alto-cost-calendar-09: (with COMMENT)
> 
> Benjamin Kaduk has entered the following ballot position for
> draft-ietf-alto-cost-calendar-09: No Objection
> 
> When responding, please keep the subject line intact and reply to all 
> email addresses included in the To and CC lines. (Feel free to cut 
> this introductory paragraph, however.)
> 
> 
> Please refer to 
> https://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
> 
> 
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/draft-ietf-alto-cost-calendar/
> 
> 
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> Section 3.1
> 
>    The capabilities of a Calendar-aware information resource entry have
>    a member named "calendar-attributes" which is an array of objects of
>    type CalendarAttributes.  It is necessary to use an array because of
>    resources such as Filtered Cost Map and Endpoint Cost Map, for which
>    the member "cost-type-names" is an array of 1 or more values.
> 
> I don't really follow this argument.  Why does the value for "cost-type-names"
> affect the structure of the containing "calendar-attributes"?
> [[SR]] The wording is indeed unclear. It relates to a previous design where Attributes were explicitly attached to cost types. 
>  Would the following update in 3.1 be OK?
> - First paragraph of 3.1: 
> " When for an applicable resource, an ALTO Server provides a Cost Calendar for a given Cost Type, it MUST indicate this in the IRD capabilities of this resource, by an object of type ’CalendarAttributes’, that associates one or more Cost Types with Calendar Attributes and is specified below. "
> - 2nd paragraph (you quoted) of 3.1:
> " The capabilities of a Calendar-aware information resource entry have a member named "calendar-attributes" which is an array of objects of type CalendarAttributes. Each CalendarAttributes object applies to a set of one or more Cost Types. Different Calendar Attributes may apply to different Cost Types supported by this resource. "
> 
>    An ALTO Client should assume that the time interval size specified in
>    the IRD is the smallest possible one that the ALTO Server can
>    provide.  The Client can aggregate cost values on its own if it needs
>    a larger granularity.
> 
> Where is the normative requirement on the server to behave in this fashion?
> [[SR]] Actually there is none. Maybe, we could instead write:
> " it is RECOMMENDED  for an ALTO Server that the time interval size specified in the IRD is the smallest possible one that it can provide. The Client can aggregate cost values on its own if it needs a larger granularity."  

That would be good, so that clients have a reason to think that the assumption will be useful.

> It's weird to use string packing for units instead of a separate structured element in the language/structure.
> 
> Section 4.1.1
> 
>    This field is an array of 1 to N boolean values, where N is the
>    number of requested metrics.  Each boolean value indicates whether or
>    not the ALTO Server should provide the values for this Cost Type as a
>    calendar.  The array MUST contain exactly N boolean values, otherwise
>    the server returns an error.
> 
> Is it a MUST requirement for the server to check?
> [[SR]] Yes, otherwise the Server cannot understand for which Cost Type the Client wants a Calendar. 
> Should we append this latter sentence to the paragraph you quoted? 

I don't think it's necessary to include the latter sentence.

> 
> Section 4.2.2
> 
>    If the ALTO client provides member "calendared" in the input
>    parameters with a value equal to 'true' for given requested Cost
>    Types, the "meta" member of a Calendared Endpoint Cost response MUST
>    include, for these Cost Types, the same additional member "calendar-
>    response-attributes", as specified for the Filtered Cost Map Service.
> 
> On first reading I thought this was a requirement for data/value consistency between endpoint icost and filtered cost map service responses, but rereading it looks like it's just data structure reuse.
> So maybe something like "the contents of which obey the same rules as for the Filtered Cost Map Service (Section 4.1.2)".
> [[SR]] Would the following re-wording be ok?
> "   If the ALTO client provides member "calendared" in the input
>    parameters with a value equal to 'true' for given requested Cost
>    Types, the "meta" member of a Calendared Endpoint Cost response MUST
>    include, for these Cost Types, an additional member "calendar-
>    response-attributes", the contents of which obey the same rules as for the Filtered Cost Map Service (Section 4.1.2)."

Yes, that is a big help.

> Section 6
> 
> Thanks for these well-thought-out security considerations; it's a pleasure to see.
> 
> With respect to the last paragraph's mention of how the provided future guidance can be wrong, is this going to be a scenario where it would be helpful for the client to be able to just ping the server to ask "you gave me this data yesterday and I just want to double-check that it's still fresh/correct"?  I don't see an obvious way in which this would be helpful (unless the size of the JSON responses are getting to be prohibitively large or something, I suppose), but I'm writing this on a plane so the risk of me missing something is higher even than its usual rate.
> [[SR]] This will be addressed by: it is RECOMMENDED that Servers supporting calendars also support ALTO Incremental Updates
>    Using Server-Sent Events (SSE)" service, specified in 
> [draft-ietf-alto-incr-update-sse] and likewise, that Clients using 
> Calendars also support the SSE service


Excellent; thank you!

-Benjamin