Re: [secdir] [OPS-DIR] FW: [alto] I-D Action: draft-ietf-alto-cost-calendar-18.txt

"Y. Richard Yang" <yry@cs.yale.edu> Sat, 29 February 2020 12:37 UTC

Return-Path: <yang.r.yang@gmail.com>
X-Original-To: secdir@ietfa.amsl.com
Delivered-To: secdir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 778AD3A09B4; Sat, 29 Feb 2020 04:37:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.398
X-Spam-Level:
X-Spam-Status: No, score=-1.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 MH4VU0MeKyRO; Sat, 29 Feb 2020 04:37:34 -0800 (PST)
Received: from mail-ua1-f41.google.com (mail-ua1-f41.google.com [209.85.222.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 902E63A09B5; Sat, 29 Feb 2020 04:37:34 -0800 (PST)
Received: by mail-ua1-f41.google.com with SMTP id c7so1988758uaf.5; Sat, 29 Feb 2020 04:37:34 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CGHxwca6JhKOyGTJicUcy6RVBgpTp/YGtehXJT/4Dq8=; b=lyOql8zV5sOxl7PJx3CJ95ufF35eu2FLAloF+iuvXKYmRCN5hKbXsgjH9O2+kQWj7Q hw8HV5cimtCdLh5+BvGzO2rP2NR4JW40rdzbc2Blfhicz7CzoSb2oegcsK+PQwjS3tAR 6zq08gGr+cb0QZ9zNlO1oNH70ZefZRxbeviSSHzyPzo/K8Y3dQlnjVjq2+GJ5kNYzvoZ f6rxm+4J713CDJ9RTBDmJLpD8UD6IEvjILlPQ41l1SV1/htIZ2yIiu/iHFRrNdhwdIkm Gvfn1G5D7U0uLdkCUDvQRUsmg34q8HWs7fwHOMNFn4U2W/NK4nBzKWcMYp3uPv/XoLLr AXDA==
X-Gm-Message-State: ANhLgQ1/8qGc0jIdWcPMY+S0/NzmcjMac+FLdKa1GriDj/TLoSW/M876 5KpP8dkNUhFwfww6M/FoC+gNsB+Bl7KEQoEoW44=
X-Google-Smtp-Source: ADFU+vv1KuAa0xBt1lHOSUl4q1JU1IlWHZBoJ+N8KiAVbDBu5XVw7aqt2aRK/H0LgcgAH/dMS29MZnWVJqROilbucI8=
X-Received: by 2002:a9f:23ca:: with SMTP id 68mr4194146uao.128.1582979853539; Sat, 29 Feb 2020 04:37:33 -0800 (PST)
MIME-Version: 1.0
References: <158290102597.22328.2781470606904693361@ietfa.amsl.com> <PR1PR07MB5100DA089E6CB57E7C8D8D4B95E80@PR1PR07MB5100.eurprd07.prod.outlook.com> <20200228181749.lvstqfpxwatblmz7@anna.jacobs.jacobs-university.de> <CANUuoLoLymofHhmBGDOcZmRiRkWiZqRB=0w8L06PAO2=Mtzq4w@mail.gmail.com> <20200229082139.5js3fxcmfrj4wo6m@anna.jacobs.jacobs-university.de>
In-Reply-To: <20200229082139.5js3fxcmfrj4wo6m@anna.jacobs.jacobs-university.de>
From: "Y. Richard Yang" <yry@cs.yale.edu>
Date: Sat, 29 Feb 2020 07:37:22 -0500
Message-ID: <CANUuoLrkyy88QPHOYNHCeVJRnGZtO4wt3u0mLx4CpfOzuF82Bw@mail.gmail.com>
To: "Schönwälder, Jürgen" <J.Schoenwaelder@jacobs-university.de>
Cc: IETF ALTO <alto@ietf.org>, "Randriamasy, Sabine (Nokia - FR/Paris-Saclay)" <sabine.randriamasy@nokia-bell-labs.com>, The IESG <iesg@ietf.org>, "alto-chairs@ietf.org" <alto-chairs@ietf.org>, "draft-ietf-alto-cost-calendar@ietf.org" <draft-ietf-alto-cost-calendar@ietf.org>, "ops-dir@ietf.org" <ops-dir@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000db5d8b059fb63785"
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/KlFzJRTGv02N_CYzQH_LsQLcsr8>
Subject: Re: [secdir] [OPS-DIR] FW: [alto] I-D Action: draft-ietf-alto-cost-calendar-18.txt
X-BeenThere: secdir@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Area Directorate <secdir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdir>, <mailto:secdir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir/>
List-Post: <mailto:secdir@ietf.org>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdir>, <mailto:secdir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Feb 2020 12:37:37 -0000

On Sat, Feb 29, 2020 at 3:21 AM Schönwälder, Jürgen <
J.Schoenwaelder@jacobs-university.de> wrote:

> On Fri, Feb 28, 2020 at 04:26:01PM -0500, Y. Richard Yang wrote:
> > Dear Jürgen,
> >
> > Always excellent comments. Please see below.
> >
> > On Fri, Feb 28, 2020 at 1:18 PM Schönwälder, Jürgen <
> > J.Schoenwaelder@jacobs-university.de> wrote:
> >
> > > On Fri, Feb 28, 2020 at 03:00:31PM +0000, Randriamasy, Sabine (Nokia -
> > > FR/Paris-Saclay) wrote:
> > > > Dear IESG reviewers, Jürgen, Brian, Barry,
> > > >
> > > > Thank you very much for your review and suggestions. Upon your
> feedback,
> > > we have posted a new version 18, that hopefully addresses your
> comments.
> > > > Besides, some lower/upper case typo harmonization has been done on
> > > expressions such as "Client", "Server", "cost type".
> > > > We look forward to having your feedback,
> > > >
> > >
> > > Thanks for the changes. All looks good but I am still struggling a bit
> > > with the type change of the cost field. Revision -18 has this new
> > > text:
> > >
> > >    [...] Therefore the implementor of this extension MUST consider
> > >    that a cost entry is an array of values.
> > >
> > > I do not really understand what this MUST tries to achieve or what you
> > > expect an implementer to do exactly.
> > >
> > > RFC 7285 section 11.2.3.6 says:
> > >
> > >    [...] An implementation of the protocol in this document
> > >    SHOULD assume that the cost is a JSONNumber and fail to parse if it
> > >    is not, unless the implementation is using an extension to this
> > >    document that indicates when and how costs of other data types are
> > >    signaled.
> > >
> > > It may help to spell out 'when and how costs of other data types are
> > > signaled' instead of writing "the implementor [...] MUST consider". If
> > > the idea is that the usage of an array is signaled by the usage of an
> > > array, then say so, if there is some other way to signal this before I
> > > try to parse, then say so as well. We should not rely on implementers
> > > to consider and find their own solutions.
> > >
> > > /js
> > >
> > > PS: I do not know much about ALTO but out of curiosity: has it been
> > >     considered to allocate new "cost-mode" values "numerical*" and
> > >     "ordinal*" that signal that the cost field is a vector of
> > >     numerical/ordinal values and not just a scalar?
> > >
> > >
> > It indeed can help a lot if we could introduce a new cost mode, but the
> > change would be
> > more substantial.
> >
> > Looking at your proposal on spelling out "when and how costs of other
> data
> > types are
> > signaled," which is an excellent suggestion. How does the following look:
> >
> > "... Therefore the implementor of this extension MUST consider that a
> cost
> > entry is an
> > array of values. Specifically, an implementation of this extension MUST
> > parse
> > the "number-of-intervals" attribute of the "calendar-attributes" in an
> IRD
> > entry
> > announcing a service providing Cost Calendar. The implementation then
> will
> > know that a cost entry of the service will be an array of values, and the
> > expected
> > size of the array is that specified by the "number-of-intervals"
> attribute.
> >
>
> So the signal is the "number-of-intervals" attribute, this works for
> me. I think it helps to spell this out.
>

Yes. Exactly. Thanks a lot for the help!

Richard


> /js
>
> --
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
>
-- 
Richard