
From yang.r.yang@gmail.com  Tue Oct  1 12:24:27 2013
Return-Path: <yang.r.yang@gmail.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 9382711E8222 for <alto@ietfa.amsl.com>; Tue,  1 Oct 2013 12:24:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.522
X-Spam-Level: ***
X-Spam-Status: No, score=3.522 tagged_above=-999 required=5 tests=[FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_47=0.6,  MANGLED_LOAN=2.3, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oAadgkCc9A4s for <alto@ietfa.amsl.com>; Tue,  1 Oct 2013 12:24:24 -0700 (PDT)
Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) by ietfa.amsl.com (Postfix) with ESMTP id 72A5321E81EF for <alto@ietf.org>; Tue,  1 Oct 2013 12:24:15 -0700 (PDT)
Received: by mail-pa0-f52.google.com with SMTP id kl14so7862163pab.25 for <alto@ietf.org>; Tue, 01 Oct 2013 12:24:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=9+mm/i3KqJCMNGFySPw63HvrQR8OnezTfibIcxn+FlA=; b=IoFm/cHV4PKNitNk5S/tJaCm2katRi+8WaKqKtsoJgALG/pA+Hi1g7ZvnzhAJWCvEF 8l8JEN+Ha+aqkqhG7+rVhokRO1rqqoAxgiRBOPS6p6iBRpxZo0EeU7ZFkgrQdw1ZNZb6 YW6hkxeSNu8bJOZ5qbkEnPBrwD+VWl4GFyVT0S9UHILIeC26z3y5QtGz0L5wMftyXHn1 QzSt/3OaW3fFX5eiI3zlf8nEqEu5WEI5Nm9uKN2hBh7egxjI9OtnlnJBgA5AO/OAr+hm Ede6CgH/OLgnWvoKvwLVoiVxur9ff9miMyE/S0bJi92h5IpqKkNy7p3lbD/Bq+omoywi 05hA==
MIME-Version: 1.0
X-Received: by 10.66.162.195 with SMTP id yc3mr35287073pab.64.1380655455327; Tue, 01 Oct 2013 12:24:15 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.147.4 with HTTP; Tue, 1 Oct 2013 12:24:15 -0700 (PDT)
In-Reply-To: <20131001063320.GA9262@gw01.ehlo.wurstkaes.de>
References: <20131001063320.GA9262@gw01.ehlo.wurstkaes.de>
Date: Tue, 1 Oct 2013 15:24:15 -0400
X-Google-Sender-Auth: LmlLENOzpAaE3AbNPPeswlK_mdw
Message-ID: <CANUuoLr+xNtivMa_AbhzvQWASctEqijYSM61VMQsnHcXwhaN6Q@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Sebastian Kiesel <ietf-alto@skiesel.de>
Content-Type: multipart/alternative; boundary=047d7b6dc1a8f8dda204e7b2e5bc
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] alto-protocol-18 vs. RFC 6708
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 01 Oct 2013 19:24:27 -0000

--047d7b6dc1a8f8dda204e7b2e5bc
Content-Type: text/plain; charset=ISO-8859-1

Hi Sebastian,

Thanks a lot for the always wonderful work! Please see below.

On Tue, Oct 1, 2013 at 2:33 AM, Sebastian Kiesel <ietf-alto@skiesel.de>wrote:

> Dear all,
>
> I tried to match the latest ALTO protocol draft (18) against our
> requirements document (RFC 6708).
>
>
> Management summary
>
> all requirements met.
>
> Future work (extension documents) may be useful in the area of caching,
> see AR-25 below.  Minor beautification possible, see AR-9 below.
>
> Thanks,
> Sebastian
>
> ----- ----- ------
>
> A line
>
> Req. AR-X:   Full compliant : Y.Z
>
> to be read as:
>
> The requirement X from RFC 6708 is fulfilled because of the mechanisms
> or rules specified in section Y.Z of draft-ietf-alto-protocol-18.txt
>
> > 3.  ALTO Requirements
> >
> > 3.1.  ALTO Client Protocol
> >
> > 3.1.1.  General Requirements
> >
> >    Req. AR-1: The ALTO service is provided by one or more ALTO servers.
> >    It may be queried by ALTO clients seeking guidance for selecting
> >    appropriate resource providers.  ALTO clients and ALTO servers MUST
> >    implement an ALTO client protocol.  An ALTO client protocol MUST be
> >    able to transmit ALTO queries from an ALTO client to an ALTO server,
> >    and it MUST be able to transmit the corresponding ALTO replies from
> >    the ALTO server to the ALTO client.
>
> Req. AR-1:  Full compliant: 8.3
>
> >    The detailed specification of an ALTO client protocol is out of the
> >    scope of this document.  In fact, this document does not even assume
> >    that there will be only one single protocol specification.  However,
> >    this document enumerates requirements for ALTO, to be considered when
> >    specifying, assessing, or comparing protocols and implementations.
> >
> >    Req. AR-2: An ALTO client protocol MUST provide adequate mechanisms
> >    for operations and management support, as outlined in RFC 5706
> >    [RFC5706].
>
> Req. AR-2:  Full compliant: 16
>
> > 3.1.2.  Host-Group Descriptor Support
> >
> >    The ALTO guidance is based on the evaluation of several resource
> >    providers or groups of resource providers, considering one or more
> >    rating criteria.  The resource providers or groups of resource
> >    providers are characterized by means of host-group descriptors.
> >
> >    Req. AR-3: An ALTO client protocol MUST support the usage of multiple
> >    host-group descriptor types.
>
> Req. AR-3:  Full compliant: 10.4.1
>
> >
> >    Req. AR-4: ALTO clients and ALTO servers MUST clearly identify the
> >    type of each host-group descriptor sent in ALTO queries or responses.
> >    An ALTO protocol specification MUST provide appropriate protocol
> >    elements.
>
> Req. AR-4:  Full compliant: 10.4.2.3.
> >
> >    Req. AR-5: An ALTO client protocol MUST support the host group
> >    descriptor types "IPv4 address prefix" and "IPv6 address prefix".
> >    They can be used to specify the IP address of one host, or an IP
> >    address range (in Classless Inter-Domain Routing (CIDR) notation)
> >    containing all hosts in question.
>
> Req. AR-5:  Full compliant: 10.4.3.1, 10.4.3.2
>
> >    Req. AR-6: An ALTO client protocol MUST be extensible to enable
> >    future support of other host-group descriptor types.  An ALTO client
> >    protocol specification MUST define an appropriate procedure for
> >    adding new host-group descriptor types, e.g., by establishing an IANA
> >    registry.
>
> Req. AR-6:  Full compliant: 14.4
>
> >    Req. AR-7: For host-group descriptor types other than "IPv4 address
> >    prefix" and "IPv6 address prefix", the host-group descriptor type
> >    identification MUST be supplemented by a reference to a facility that
> >    can be used to translate host-group descriptors of this type to IPv4/
> >    IPv6 address prefixes, e.g., by means of a mapping table or an
> >    algorithm.
>
> Req. AR-7:  Full compliant: 5, 11.2.1, 14.4
>
> Comment:
>
>     In addition to IPv4/6 addresses/prefixes, the document only
>     defines one host-group descriptor type, namely PIDs. The mapping
>     mechanism from IP prefixes to PIDs ("Network Map") is described
>     in 5 and 11.2.1.
>
>     The IANA registry defined in 14.4 contains a column
>     "Mapping to/from IPv4/IPv6 Addresses".
>
> >    Req. AR-8: Protocol functions for mapping other host-group descriptor
> >    types to IPv4/IPv6 address prefixes SHOULD be designed and specified
> >    as part of an ALTO client protocol, and the corresponding address
> >    mapping information SHOULD be made available by the same entity that
> >    wants to use these host-group descriptors within an ALTO client
> >    protocol.  However, an ALTO server or an ALTO client MAY also send a
> >    reference to an external mapping facility, e.g., a translation table
> >    to be obtained via an alternative mechanism.
>
> Req. AR-8:  Full compliant: 5, 11.2.1
>
> Comment:
>
>     The network map is part of the protocol.
>
>     Due to the extensible nature of JSON/HTTP we will most likely be
>     able to define many kinds of extensions that are compliant to this
>     requirement.
>


> >       Rationale for the previous two requirements: The preferred type of
> >       host-group descriptors are IPv4 and IPv6 prefixes.  However, in
> >       some situations, one party may prefer to use another type, e.g.,
> >       AS numbers.  Usually, applications seeking ALTO guidance work with
> >       IP addresses, e.g., when establishing connections.  Understanding
> >       guiding information that is based on other host-group descriptor
> >       types, i.e., mapping from these other types to IP prefixes and
> >       back, may be a non-trivial task.  Therefore, before a party may
> >       use other host-group descriptor types, they must provide a mapping
> >       mechanism to IP prefixes.
>
>
Good point. I think that we will need some extensions to handle the case
such as AS numbers.


>    Req. AR-9: An ALTO client protocol specification MUST define
> >    mechanisms that can be used by the ALTO server to indicate that a
> >    host-group descriptor used by the ALTO client is of an unsupported
> >    type, or that the indicated mapping mechanism could not be used.
>
> Req. AR-9:  Full compliant: 8.5.2
>
> Comment:
>
>     The error code E_JSON_VALUE_TYPE can be used, though it might be
>     useful to define an own, less generic error message.
>
>
Do you suggest that we make a small change to add a more specific error
code, say E_INVALID_HOST_GROUP_DESCRIPTOR? The same as below...

Thanks!

Richard


> >    Req. AR-10: An ALTO client protocol specification MUST define
> >    mechanisms that can be used by the ALTO client to indicate that a
> >    host-group descriptor used by the ALTO server is of an unsupported
> >    type, or that the indicated mapping mechanism could not be used.
>
> Req. AR-10: Full compliant: 8.5.2
>
> Comment:
>
>     The error code E_JSON_VALUE_TYPE can be used, though it might be
>     useful to define an own, less generic error message.
>



>
> > 3.1.3.  Rating Criteria Support
> >
> >    Req. AR-11: An ALTO client protocol specification MUST define a
> >    rating criterion that can be used to express and evaluate the
> >    "relative operator's preference".  This is a relative measure, i.e.,
> >    it is not associated with any unit of measurement.  A preferred
> >    rating, according to this criterion, indicates that the application
> >    should prefer the respective candidate resource provider over others
> >    with less preferred ratings (unless information from non-ALTO sources
> >    suggests a different choice, such as transmission attempts suggesting
> >    that the path is currently congested).  The operator of the ALTO
> >    server does not have to disclose how and based on which data the
> >    ratings are actually computed.  Examples could be: cost for peering
> >    or transit traffic, traffic engineering inside the network, and other
> >    policies.
>
> Req. AR-11: Full compliant: 6.1.1.1
> >
> >    Req. AR-12: An ALTO client protocol MUST be extensible to enable
> >    future support of other rating criteria types.  An ALTO client
> >    protocol specification MUST define an appropriate procedure for
> >    adding new rating criteria types, e.g., by establishing an IANA
> >    registry.
>
> Req. AR-12:  Full compliant: 14.2
>
> >    Req. AR-13: ALTO client protocol specifications MUST NOT define
> >    rating criteria closely related to the instantaneous network
> >    congestion state, i.e., rating criteria that have the primary aim to
> >    serve as an alternative to established congestion control strategies,
> >    such as using TCP-based transport.
>
> Req. AR-13:  Full compliant: no such attribute is defined in the document
>
> >    Req. AR-14: Applications using ALTO guidance MUST NOT rely solely on
> >    the ALTO guidance to avoid causing network congestion.  Instead, they
> >    MUST use other appropriate means, such as TCP-based transport, to
> >    avoid causing excessive congestion.
>
> Req. AR-14: Not applicable
>
> Comment:
>
>     This requirement is not about the ALTO Client Protocol
>     (specification|implementation) itself, but about the application
>     using it.
>
> >       Rationale for the previous requirement: One design assumption for
> >       ALTO is that it is acceptable for the host-characteristics
> >       attributes, which are stored and processed in the ALTO servers for
> >       giving guidance, to be updated rather infrequently.  Typical
> >       update intervals may be several orders of magnitude longer than
> >       the typical network-layer packet round-trip time (RTT).
> >       Therefore, ALTO cannot be a replacement for TCP-like congestion
> >       control mechanisms.
> >
> >    Req. AR-15: In the target-independent query mode, the ALTO query
> >    message SHOULD allow the ALTO client to express which host-
> >    characteristics attributes should be returned.
>
> Req. AR-15: Full compliant: 9.2
>
> Comment:
>
>     The ALTO client may use the HTTP GET method with a cost map URI
>     learned from the server's IRD (sec. 9.2)
>
> >    Req. AR-16: In the target-aware query mode, the ALTO query message
> >    SHOULD allow the ALTO client to express which rating criteria should
> >    be considered by the server, as well as their relative relevance for
> >    the specific application that will eventually make use of the
> >    guidance.  The corresponding ALTO response message SHOULD allow the
> >    ALTO server to express which rating criteria have been considered
> >    when generating the response.
>
> Req. AR-16: Full compliant: 11.4.1.3, 11.4.1.6, 11.5.1.3, 11.5.1.6
>
> >    Req. AR-17: An ALTO client protocol specification MUST define
> >    mechanisms that can be used by the ALTO client and the ALTO server to
> >    indicate that a rating criteria used by the other party is of an
> >    unsupported type.
>
> Req. AR-17: Full compliant:  8.5.2
>
> > 3.1.4.  Placement of Entities and Timing of Transactions
> >
> >    With respect to the placement of ALTO clients, several modes of
> >    operation exist:
> >
> >    o  One mode of ALTO operation is that an ALTO client may be embedded
> >       directly in the resource consumer, i.e., the application protocol
> >       entity that will eventually initiate data transmission to/from the
> >       selected resource provider(s) in order to access the desired
> >       resource.  For example, an ALTO client could be integrated into
> >       the peer of a P2P application that uses a distributed algorithm
> >       such as "query flooding" for resource discovery.
> >
> >    o  Another mode of operation is to integrate the ALTO client into a
> >       third party, such as a resource directory.  This third party may
> >       issue ALTO queries to solicit preference on potential resource
> >       providers, considering the respective resource consumer.  For
> >       example, an ALTO client could be integrated into the tracker of a
> >       tracker-based P2P application, in order to request ALTO guidance
> >       on behalf of the peers contacting the tracker.
> >
> >    Req. AR-18: An ALTO client protocol MUST support the mode of
> >    operation in which the ALTO client is directly embedded in the
> >    resource consumer.
>
> Req. AR-18: Full compliant: 12.2, 12.3
>
> >    Req. AR-19: An ALTO client protocol MUST support the mode of
> >    operation in which the ALTO client is embedded in a third party.
> >    This third party performs queries on behalf of resource consumers.
>
> Req. AR-19: Full compliant: 12.1
>
> >    Req. AR-20: An ALTO client protocol MUST be designed in a way that
> >    the ALTO service can be provided by an entity that is not the
> >    operator of the underlying IP network.
>
> Req. AR-20: Full compliant: The ALTO protocol is based on HTTP
>     (Sec.  8.3).  HTTP can be used to access servers anywhere in the
>     Internet, which are operated by arbitrary entities.  No additional
>     single-domain or link-layer-coupled mechanisms (e.g. DHCP, IP
>     multicasting/broadcasts, etc.) are mandated by this document.
>
> >    Req. AR-21: An ALTO client protocol MUST be designed in a way that
> >    different instances of the ALTO service operated by different
> >    providers can coexist.
>
> Req. AR-21: Full compliant: The ALTO protocol is based on HTTP
>     (Sec. 8.3). Servers operated by different entities can coexist.
>
> Comment:
>
>     The ALTO server discovery mechanism, which is out of the scope of
>     this document, may need additional mechanisms for selecting the
>     desired ALTO server operator.
>
> >    Req. AR-22: An ALTO client protocol specification MUST specify at
> >    least one query mode, either the target-aware or the target-
> >    independent query mode.
>
> Req. AR-22: Full compliant: The target-independent query mode
>     is implemented by the Network Map and the Cost Map.
>     "An ALTO Server MUST provide at least one Network Map." (11.2.1)
>     and "This resource [Cost Map] MUST be provided for at least the
>     'routingcost' Cost Metric." (11.2.2).
>
> >    Note that this requirements document does not assume that there will
> >    be only one single protocol specification.
> >
> >    Req. AR-23: An ALTO client protocol specification SHOULD specify both
> >    the target-aware and the target-independent query mode.  If an ALTO
> >    client protocol specification specifies more than one query mode, it
> >    MUST define at least one of these modes as REQUIRED to implement by
> >    ALTO clients and ALTO servers.  Furthermore, it MUST specify an
> >    appropriate protocol mechanism for negotiating between the ALTO
> >    client and ALTO server, which query mode to use.
>
> Req. AR-23: Full compliant: The target-independent query mode MUST
>     be supported (see AR-22).
>
>     The target-aware query mode is implemented by the Endpoint Property
>     Service, which MAY be provided by an ALTO server (11.4.1) and the
>     Endpoint Cost Service, which MAY be provided by an ALTO server
>     (11.5.1).
>
>     The ALTO server adds appropriate entries to its Information Resource
>     Directory (9) if the Endpoint Property Service and/or the
>     Endpoint Cost Service are supported.  The client may then decide
>     whether to access them or the Cost Maps.
>
> >    Req. AR-24: An ALTO client protocol SHOULD support version numbering,
> >    TTL (time-to-live) attributes, and/or similar mechanisms in ALTO
> >    transactions, in order to enable time validity checking for caching,
> >    and to enable comparisons of multiple recommendations obtained
> >    through redistribution.
>
> Req. AR-24: Full compliant: 3.2
>
> >    Req. AR-25: An ALTO client protocol SHOULD allow the ALTO server to
> >    add information about appropriate modes of reuse to its ALTO
> >    responses.  Reuse may include redistributing an ALTO response to
> >    other parties, as well as using the same ALTO information in a
> >    resource directory to improve the responses to different resource
> >    consumers within the specified lifetime of the ALTO response.  The
> >    ALTO server SHOULD be able to express that
> >
> >    o  no reuse should occur.
> >
> >    o  reuse is appropriate for a specific "target audience", i.e., a set
> >       of resource consumers explicitly defined by a list of host-group
> >       descriptors.  The ALTO server MAY specify a "target audience" in
> >       the ALTO response that is only a subset of the known actual
> >       "target audience", e.g., if required by operator policies.
> >
> >    o  reuse is appropriate for any resource consumer that would send (or
> >       cause a third party to send on behalf of it) the same ALTO query
> >       (i.e., with the same query parameters, except for the resource
> >       consumer ID, if applicable) to this ALTO server.
> >
> >    o  reuse is appropriate for any resource consumer that would send (or
> >       cause a third party to send on behalf of it) the same ALTO query
> >       (i.e., with the same query parameters, except for the resource
> >       consumer ID, if applicable) to any other ALTO server that was
> >       discovered (using an ALTO discovery mechanism) together with this
> >       ALTO server.
> >
> >    o  reuse is appropriate for any resource consumer that would send (or
> >       cause a third party to send on behalf of it) the same ALTO query
> >       (i.e., with the same query parameters, except for the resource
> >       consumer ID, if applicable) to any ALTO server in the whole
> >       network.
>
> Req.  AR-25:  Compliant for the current state of the base protocol
>
> Comment:
>
>     Only the first and the last bullet are supported by mechanisms
>     of the underlying HTTP protocol and there are no additional
>     mechanisms defined within the ALTO protocol.
>     So formally speaking this requirement is only partially met.
>     However, this requirement been written down without a specific
>     design pattern for the ALTO protocol in mind. With the HTTP+RESTful
>     approach eventually taken, options #2, #3, and #4 are not really
>     applicable. So for the time being this requirement is sufficiently
>     met. However, future documents on caching and redistribution (e.g.,
>     redistribution of ALTO replies within the P2P application protocol)
>     should re-visit this requirement.
>
> >    Req. AR-26: An ALTO client protocol MUST support the transport of
> >    ALTO transactions, even if the ALTO client is located in the private
> >    address realm behind a network address translator (NAT).  There are
> >    different types of NAT, see [RFC4787] and [RFC5382].
>
> Req. AR-26: Full compliant: The ALTO protocol is based on HTTP
>     (Sec.  8.3). Allowing HTTP traffic is one of the most basic
> requirements
>     for all types of NAT. For detection of "public" IP address see 13.3.
>
> > 3.1.5.  Protocol Extensibility
> >
> >    Req. AR-27: An ALTO client protocol MUST include support for adding
> >    protocol extensions in a non-disruptive, backward-compatible way.
>
> Req. AR-27: Full compliant: 14.1
>
> >    Req. AR-28: An ALTO client protocol MUST include protocol versioning
> >    support, in order to clearly distinguish between incompatible
> >    versions of the protocol.
>
> Req. AR-28: Full compliant.  Due to the very flexible mechanisms for
>     seamlessly extending the protocol (see Req. AR-27), a disruptive
>     update is only needed if the structure of the IRD has to be changed.
>     This can be done by defining a new media type
>     (e.g., alto-directory_v2_0+json) and using the content-type header
>     in the underlying HTTP protocol.
>
> > 3.1.6.  Error Handling and Overload Protection
> >
> >    Req. AR-29: An ALTO client protocol MUST use congestion-aware
> >    transport, e.g., by using TCP.
>
> Req.  AR-29:  Full compliant.  Protocol is based on HTTP (8.3), which
>     does not neccessarily run on top of TCP (see 1.4. of RFC 2616), but
>     de-facto always does.
>
> >    Req. AR-30: An ALTO client protocol specification MUST specify
> >    mechanisms for an ALTO server to inform clients about an impending or
> >    occurring overload situation, or how to leverage appropriate
> >    mechanisms provided by underlying protocol layers.  The mechanisms
> >    MUST provide all of the following options to the server:
> >
> >    o  terminate the conversation with the client,
> >
> >    o  redirect the client to another ALTO server, and
> >
> >    o  request that the client throttle its query rate.
> >
> >       In particular, a simple form of throttling is to let an ALTO
> >       server answer a query with an error message advising the client to
> >       retry the query later (e.g., using a protocol function such as
> >       HTTP's Retry-After header ([RFC2616], Section 14.37)).  Another
> >       simple option is to actually answer the query with the desired
> >       information, but adding an indication that the ALTO client should
> >       not send further queries to this ALTO server before an indicated
> >       period of time has elapsed.
>
> Req. AR-30:  Full compliant:  8.5.3.
>
> >    Req. AR-31: An ALTO client protocol specification MUST specify
> >    mechanisms for an ALTO server to inform clients about its inability
> >    to answer queries due to technical problems or system maintenance, or
> >    how to leverage appropriate mechanisms provided by underlying
> >    protocol layers.  The mechanisms MUST provide all of the following
> >    options to the server:
> >
> >    o  terminate the conversation with the client,
> >
> >    o  redirect the client to another ALTO server, and
> >
> >    o  request that the client retry the query later.
>
> Req. AR-31:  Full compliant:  8.5.3.
>
> >    Note: The existence of the above-mentioned protocol mechanisms does
> >    not imply that an ALTO server must use them when facing an overload,
> >    technical problem, or maintenance situation, respectively.  Some
> >    servers may be unable to use them in that situation, or they may
> >    prefer to simply refuse the connection or not to send any answer at
> >    all.
> >
> > 3.2.  ALTO Server Discovery
>
> Reqs. AR-32 to AR-39: not applicable to this document
>
> > 3.3.  Security and Privacy
> >
> >    Req. AR-40: An ALTO client protocol specification MUST specify
> >    mechanisms for the authentication of ALTO servers or specify how to
> >    leverage appropriate mechanisms provided by underlying protocol
> >    layers.
>
> Req. AR-40: Full compliant: 8.3.5.
>
> >    Req. AR-41: An ALTO client protocol specification MUST specify
> >    mechanisms for the authentication of ALTO clients or specify how to
> >    leverage appropriate mechanisms provided by underlying protocol
> >    layers.
>
> Req. AR-41: Full compliant: 8.3.5.
>
> >    Req. AR-42: An ALTO client protocol specification MUST specify
> >    mechanisms for the encryption of messages or specify how to leverage
> >    appropriate mechanisms provided by underlying protocol layers.
>
> Req. AR-42: Full compliant: 8.3.5.
>
> >    Req. AR-43: An ALTO client is not required to implement mechanisms or
> >    to comply with rules that limit its ability to redistribute
> >    information retrieved from the ALTO server to third parties.
>
> Req. AR-43: Not applicable to this document. See also 15.3.3.
>
> >    Req. AR-44: An ALTO client protocol MUST support different levels of
> >    detail in queries and responses in order to protect the privacy of
> >    users, to ensure that the operators of ALTO servers and other users
> >    of the same application cannot derive sensitive information.
>
> Req.  AR-44:  Full compliant.  Host Group Descriptors are always
>     encoded as TypedEndpointAddr, which allows to use IP prefixes.
>     Therefore it is possible to obfuscate the identity of candidate
>     resource consumers, e.g., by specifying a broader address range
>     (i.e., a shorter prefix length) than a group of hosts in question
>     actually uses, or by zeroing-out or randomizing the last few bits of
>     IP addresses.  However, there is the potential side effect of
>     yielding inaccurate results.
>
> >    Req. AR-45: An ALTO client protocol MAY include mechanisms that can
> >    be used by the ALTO client when requesting guidance to specify the
> >    resource (e.g., content identifiers) it wants to access.  An ALTO
> >    server MUST provide adequate guidance, even if the ALTO client
> >    prefers not to specify the desired resource (e.g., keeps the data
> >    field empty).  The mechanism MUST be designed in a way that the
> >    operator of the ALTO server cannot easily deduce the resource
> >    identifier (e.g., file name in P2P file sharing) if the ALTO client
> >    prefers not to specify it.
>
> Req.  AR-45:  Full compliant.  The optional ("MAY") feature is not
>     defined and therefore, the MUST-statements do not apply.
>
> >    Req. AR-46: An ALTO client protocol specification MUST specify
> >    appropriate mechanisms for protecting the ALTO service against
> >    Denial-of-Service (DoS) attacks or specify how to leverage
> >    appropriate mechanisms provided by underlying protocol layers.
>
> Req.  AR-46:  Full compliant. See 15.5. for ALTO-specific protection
>     strategies. Furthermore, the protocol is based on HTTP, and
>     protecting HTTP-based services against different kinds of attacks,
>     including DoS attacks, is a rather well-understood issue.
>
> -- end --
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>

--047d7b6dc1a8f8dda204e7b2e5bc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Sebastian,<div><br></div><div>Thanks a lot for the alwa=
ys wonderful work! Please see below.</div><div class=3D"gmail_extra"><br><d=
iv class=3D"gmail_quote">On Tue, Oct 1, 2013 at 2:33 AM, Sebastian Kiesel <=
span dir=3D"ltr">&lt;<a href=3D"mailto:ietf-alto@skiesel.de" target=3D"_bla=
nk">ietf-alto@skiesel.de</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Dear all,<br>
<br>
I tried to match the latest ALTO protocol draft (18) against our<br>
requirements document (RFC 6708).<br>
<br>
<br>
Management summary<br>
<br>
all requirements met.<br>
<br>
Future work (extension documents) may be useful in the area of caching,<br>
see AR-25 below. =A0Minor beautification possible, see AR-9 below.<br>
<br>
Thanks,<br>
Sebastian<br>
<br>
----- ----- ------<br>
<br>
A line<br>
<br>
Req. AR-X: =A0 Full compliant : Y.Z<br>
<br>
to be read as:<br>
<br>
The requirement X from RFC 6708 is fulfilled because of the mechanisms<br>
or rules specified in section Y.Z of draft-ietf-alto-protocol-18.txt<br>
<br>
&gt; 3. =A0ALTO Requirements<br>
&gt;<br>
&gt; 3.1. =A0ALTO Client Protocol<br>
&gt;<br>
&gt; 3.1.1. =A0General Requirements<br>
&gt;<br>
&gt; =A0 =A0Req. AR-1: The ALTO service is provided by one or more ALTO ser=
vers.<br>
&gt; =A0 =A0It may be queried by ALTO clients seeking guidance for selectin=
g<br>
&gt; =A0 =A0appropriate resource providers. =A0ALTO clients and ALTO server=
s MUST<br>
&gt; =A0 =A0implement an ALTO client protocol. =A0An ALTO client protocol M=
UST be<br>
&gt; =A0 =A0able to transmit ALTO queries from an ALTO client to an ALTO se=
rver,<br>
&gt; =A0 =A0and it MUST be able to transmit the corresponding ALTO replies =
from<br>
&gt; =A0 =A0the ALTO server to the ALTO client.<br>
<br>
Req. AR-1: =A0Full compliant: 8.3<br>
<br>
&gt; =A0 =A0The detailed specification of an ALTO client protocol is out of=
 the<br>
&gt; =A0 =A0scope of this document. =A0In fact, this document does not even=
 assume<br>
&gt; =A0 =A0that there will be only one single protocol specification. =A0H=
owever,<br>
&gt; =A0 =A0this document enumerates requirements for ALTO, to be considere=
d when<br>
&gt; =A0 =A0specifying, assessing, or comparing protocols and implementatio=
ns.<br>
&gt;<br>
&gt; =A0 =A0Req. AR-2: An ALTO client protocol MUST provide adequate mechan=
isms<br>
&gt; =A0 =A0for operations and management support, as outlined in RFC 5706<=
br>
&gt; =A0 =A0[RFC5706].<br>
<br>
Req. AR-2: =A0Full compliant: 16<br>
<br>
&gt; 3.1.2. =A0Host-Group Descriptor Support<br>
&gt;<br>
&gt; =A0 =A0The ALTO guidance is based on the evaluation of several resourc=
e<br>
&gt; =A0 =A0providers or groups of resource providers, considering one or m=
ore<br>
&gt; =A0 =A0rating criteria. =A0The resource providers or groups of resourc=
e<br>
&gt; =A0 =A0providers are characterized by means of host-group descriptors.=
<br>
&gt;<br>
&gt; =A0 =A0Req. AR-3: An ALTO client protocol MUST support the usage of mu=
ltiple<br>
&gt; =A0 =A0host-group descriptor types.<br>
<br>
Req. AR-3: =A0Full compliant: 10.4.1<br>
<br>
&gt;<br>
&gt; =A0 =A0Req. AR-4: ALTO clients and ALTO servers MUST clearly identify =
the<br>
&gt; =A0 =A0type of each host-group descriptor sent in ALTO queries or resp=
onses.<br>
&gt; =A0 =A0An ALTO protocol specification MUST provide appropriate protoco=
l<br>
&gt; =A0 =A0elements.<br>
<br>
Req. AR-4: =A0Full compliant: 10.4.2.3.<br>
&gt;<br>
&gt; =A0 =A0Req. AR-5: An ALTO client protocol MUST support the host group<=
br>
&gt; =A0 =A0descriptor types &quot;IPv4 address prefix&quot; and &quot;IPv6=
 address prefix&quot;.<br>
&gt; =A0 =A0They can be used to specify the IP address of one host, or an I=
P<br>
&gt; =A0 =A0address range (in Classless Inter-Domain Routing (CIDR) notatio=
n)<br>
&gt; =A0 =A0containing all hosts in question.<br>
<br>
Req. AR-5: =A0Full compliant: 10.4.3.1, 10.4.3.2<br>
<br>
&gt; =A0 =A0Req. AR-6: An ALTO client protocol MUST be extensible to enable=
<br>
&gt; =A0 =A0future support of other host-group descriptor types. =A0An ALTO=
 client<br>
&gt; =A0 =A0protocol specification MUST define an appropriate procedure for=
<br>
&gt; =A0 =A0adding new host-group descriptor types, e.g., by establishing a=
n IANA<br>
&gt; =A0 =A0registry.<br>
<br>
Req. AR-6: =A0Full compliant: 14.4<br>
<br>
&gt; =A0 =A0Req. AR-7: For host-group descriptor types other than &quot;IPv=
4 address<br>
&gt; =A0 =A0prefix&quot; and &quot;IPv6 address prefix&quot;, the host-grou=
p descriptor type<br>
&gt; =A0 =A0identification MUST be supplemented by a reference to a facilit=
y that<br>
&gt; =A0 =A0can be used to translate host-group descriptors of this type to=
 IPv4/<br>
&gt; =A0 =A0IPv6 address prefixes, e.g., by means of a mapping table or an<=
br>
&gt; =A0 =A0algorithm.<br>
<br>
Req. AR-7: =A0Full compliant: 5, 11.2.1, 14.4<br>
<br>
Comment:<br>
<br>
=A0 =A0 In addition to IPv4/6 addresses/prefixes, the document only<br>
=A0 =A0 defines one host-group descriptor type, namely PIDs. The mapping<br=
>
=A0 =A0 mechanism from IP prefixes to PIDs (&quot;Network Map&quot;) is des=
cribed<br>
=A0 =A0 in 5 and 11.2.1.<br>
<br>
=A0 =A0 The IANA registry defined in 14.4 contains a column<br>
=A0 =A0 &quot;Mapping to/from IPv4/IPv6 Addresses&quot;.<br>
<br>
&gt; =A0 =A0Req. AR-8: Protocol functions for mapping other host-group desc=
riptor<br>
&gt; =A0 =A0types to IPv4/IPv6 address prefixes SHOULD be designed and spec=
ified<br>
&gt; =A0 =A0as part of an ALTO client protocol, and the corresponding addre=
ss<br>
&gt; =A0 =A0mapping information SHOULD be made available by the same entity=
 that<br>
&gt; =A0 =A0wants to use these host-group descriptors within an ALTO client=
<br>
&gt; =A0 =A0protocol. =A0However, an ALTO server or an ALTO client MAY also=
 send a<br>
&gt; =A0 =A0reference to an external mapping facility, e.g., a translation =
table<br>
&gt; =A0 =A0to be obtained via an alternative mechanism.<br>
<br>
Req. AR-8: =A0Full compliant: 5, 11.2.1<br>
<br>
Comment:<br>
<br>
=A0 =A0 The network map is part of the protocol.<br>
<br>
=A0 =A0 Due to the extensible nature of JSON/HTTP we will most likely be<br=
>
=A0 =A0 able to define many kinds of extensions that are compliant to this<=
br>
=A0 =A0 requirement.<br></blockquote><div><br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex"><br>
&gt; =A0 =A0 =A0 Rationale for the previous two requirements: The preferred=
 type of<br>
&gt; =A0 =A0 =A0 host-group descriptors are IPv4 and IPv6 prefixes. =A0Howe=
ver, in<br>
&gt; =A0 =A0 =A0 some situations, one party may prefer to use another type,=
 e.g.,<br>
&gt; =A0 =A0 =A0 AS numbers. =A0Usually, applications seeking ALTO guidance=
 work with<br>
&gt; =A0 =A0 =A0 IP addresses, e.g., when establishing connections. =A0Unde=
rstanding<br>
&gt; =A0 =A0 =A0 guiding information that is based on other host-group desc=
riptor<br>
&gt; =A0 =A0 =A0 types, i.e., mapping from these other types to IP prefixes=
 and<br>
&gt; =A0 =A0 =A0 back, may be a non-trivial task. =A0Therefore, before a pa=
rty may<br>
&gt; =A0 =A0 =A0 use other host-group descriptor types, they must provide a=
 mapping<br>
&gt; =A0 =A0 =A0 mechanism to IP prefixes.<br><br></blockquote><div>=A0</di=
v><div>Good point. I think that we will need some extensions to handle the =
case such as AS numbers.</div><div><br></div><div><br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex">

&gt; =A0 =A0Req. AR-9: An ALTO client protocol specification MUST define<br=
>
&gt; =A0 =A0mechanisms that can be used by the ALTO server to indicate that=
 a<br>
&gt; =A0 =A0host-group descriptor used by the ALTO client is of an unsuppor=
ted<br>
&gt; =A0 =A0type, or that the indicated mapping mechanism could not be used=
.<br>
<br>
Req. AR-9: =A0Full compliant: 8.5.2<br>
<br>
Comment:<br>
<br>
=A0 =A0 The error code E_JSON_VALUE_TYPE can be used, though it might be<br=
>
=A0 =A0 useful to define an own, less generic error message.<br>
<br></blockquote><div><br></div><div>Do you suggest that we make a small ch=
ange to add a more specific error code, say E_INVALID_HOST_GROUP_DESCRIPTOR=
? The same as below...</div><div><br></div><div>Thanks!</div><div><br>
</div><div>Richard</div><div>=A0</div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt; =A0 =A0Req. AR-10: An ALTO client protocol specification MUST define<b=
r>
&gt; =A0 =A0mechanisms that can be used by the ALTO client to indicate that=
 a<br>
&gt; =A0 =A0host-group descriptor used by the ALTO server is of an unsuppor=
ted<br>
&gt; =A0 =A0type, or that the indicated mapping mechanism could not be used=
.<br>
<br>
Req. AR-10: Full compliant: 8.5.2<br>
<br>
Comment:<br>
<br>
=A0 =A0 The error code E_JSON_VALUE_TYPE can be used, though it might be<br=
>
=A0 =A0 useful to define an own, less generic error message.<br></blockquot=
e><div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
&gt; 3.1.3. =A0Rating Criteria Support<br>
&gt;<br>
&gt; =A0 =A0Req. AR-11: An ALTO client protocol specification MUST define a=
<br>
&gt; =A0 =A0rating criterion that can be used to express and evaluate the<b=
r>
&gt; =A0 =A0&quot;relative operator&#39;s preference&quot;. =A0This is a re=
lative measure, i.e.,<br>
&gt; =A0 =A0it is not associated with any unit of measurement. =A0A preferr=
ed<br>
&gt; =A0 =A0rating, according to this criterion, indicates that the applica=
tion<br>
&gt; =A0 =A0should prefer the respective candidate resource provider over o=
thers<br>
&gt; =A0 =A0with less preferred ratings (unless information from non-ALTO s=
ources<br>
&gt; =A0 =A0suggests a different choice, such as transmission attempts sugg=
esting<br>
&gt; =A0 =A0that the path is currently congested). =A0The operator of the A=
LTO<br>
&gt; =A0 =A0server does not have to disclose how and based on which data th=
e<br>
&gt; =A0 =A0ratings are actually computed. =A0Examples could be: cost for p=
eering<br>
&gt; =A0 =A0or transit traffic, traffic engineering inside the network, and=
 other<br>
&gt; =A0 =A0policies.<br>
<br>
Req. AR-11: Full compliant: 6.1.1.1<br>
&gt;<br>
&gt; =A0 =A0Req. AR-12: An ALTO client protocol MUST be extensible to enabl=
e<br>
&gt; =A0 =A0future support of other rating criteria types. =A0An ALTO clien=
t<br>
&gt; =A0 =A0protocol specification MUST define an appropriate procedure for=
<br>
&gt; =A0 =A0adding new rating criteria types, e.g., by establishing an IANA=
<br>
&gt; =A0 =A0registry.<br>
<br>
Req. AR-12: =A0Full compliant: 14.2<br>
<br>
&gt; =A0 =A0Req. AR-13: ALTO client protocol specifications MUST NOT define=
<br>
&gt; =A0 =A0rating criteria closely related to the instantaneous network<br=
>
&gt; =A0 =A0congestion state, i.e., rating criteria that have the primary a=
im to<br>
&gt; =A0 =A0serve as an alternative to established congestion control strat=
egies,<br>
&gt; =A0 =A0such as using TCP-based transport.<br>
<br>
Req. AR-13: =A0Full compliant: no such attribute is defined in the document=
<br>
<br>
&gt; =A0 =A0Req. AR-14: Applications using ALTO guidance MUST NOT rely sole=
ly on<br>
&gt; =A0 =A0the ALTO guidance to avoid causing network congestion. =A0Inste=
ad, they<br>
&gt; =A0 =A0MUST use other appropriate means, such as TCP-based transport, =
to<br>
&gt; =A0 =A0avoid causing excessive congestion.<br>
<br>
Req. AR-14: Not applicable<br>
<br>
Comment:<br>
<br>
=A0 =A0 This requirement is not about the ALTO Client Protocol<br>
=A0 =A0 (specification|implementation) itself, but about the application<br=
>
=A0 =A0 using it.<br>
<br>
&gt; =A0 =A0 =A0 Rationale for the previous requirement: One design assumpt=
ion for<br>
&gt; =A0 =A0 =A0 ALTO is that it is acceptable for the host-characteristics=
<br>
&gt; =A0 =A0 =A0 attributes, which are stored and processed in the ALTO ser=
vers for<br>
&gt; =A0 =A0 =A0 giving guidance, to be updated rather infrequently. =A0Typ=
ical<br>
&gt; =A0 =A0 =A0 update intervals may be several orders of magnitude longer=
 than<br>
&gt; =A0 =A0 =A0 the typical network-layer packet round-trip time (RTT).<br=
>
&gt; =A0 =A0 =A0 Therefore, ALTO cannot be a replacement for TCP-like conge=
stion<br>
&gt; =A0 =A0 =A0 control mechanisms.<br>
&gt;<br>
&gt; =A0 =A0Req. AR-15: In the target-independent query mode, the ALTO quer=
y<br>
&gt; =A0 =A0message SHOULD allow the ALTO client to express which host-<br>
&gt; =A0 =A0characteristics attributes should be returned.<br>
<br>
Req. AR-15: Full compliant: 9.2<br>
<br>
Comment:<br>
<br>
=A0 =A0 The ALTO client may use the HTTP GET method with a cost map URI<br>
=A0 =A0 learned from the server&#39;s IRD (sec. 9.2)<br>
<br>
&gt; =A0 =A0Req. AR-16: In the target-aware query mode, the ALTO query mess=
age<br>
&gt; =A0 =A0SHOULD allow the ALTO client to express which rating criteria s=
hould<br>
&gt; =A0 =A0be considered by the server, as well as their relative relevanc=
e for<br>
&gt; =A0 =A0the specific application that will eventually make use of the<b=
r>
&gt; =A0 =A0guidance. =A0The corresponding ALTO response message SHOULD all=
ow the<br>
&gt; =A0 =A0ALTO server to express which rating criteria have been consider=
ed<br>
&gt; =A0 =A0when generating the response.<br>
<br>
Req. AR-16: Full compliant: 11.4.1.3, 11.4.1.6, 11.5.1.3, 11.5.1.6<br>
<br>
&gt; =A0 =A0Req. AR-17: An ALTO client protocol specification MUST define<b=
r>
&gt; =A0 =A0mechanisms that can be used by the ALTO client and the ALTO ser=
ver to<br>
&gt; =A0 =A0indicate that a rating criteria used by the other party is of a=
n<br>
&gt; =A0 =A0unsupported type.<br>
<br>
Req. AR-17: Full compliant: =A08.5.2<br>
<br>
&gt; 3.1.4. =A0Placement of Entities and Timing of Transactions<br>
&gt;<br>
&gt; =A0 =A0With respect to the placement of ALTO clients, several modes of=
<br>
&gt; =A0 =A0operation exist:<br>
&gt;<br>
&gt; =A0 =A0o =A0One mode of ALTO operation is that an ALTO client may be e=
mbedded<br>
&gt; =A0 =A0 =A0 directly in the resource consumer, i.e., the application p=
rotocol<br>
&gt; =A0 =A0 =A0 entity that will eventually initiate data transmission to/=
from the<br>
&gt; =A0 =A0 =A0 selected resource provider(s) in order to access the desir=
ed<br>
&gt; =A0 =A0 =A0 resource. =A0For example, an ALTO client could be integrat=
ed into<br>
&gt; =A0 =A0 =A0 the peer of a P2P application that uses a distributed algo=
rithm<br>
&gt; =A0 =A0 =A0 such as &quot;query flooding&quot; for resource discovery.=
<br>
&gt;<br>
&gt; =A0 =A0o =A0Another mode of operation is to integrate the ALTO client =
into a<br>
&gt; =A0 =A0 =A0 third party, such as a resource directory. =A0This third p=
arty may<br>
&gt; =A0 =A0 =A0 issue ALTO queries to solicit preference on potential reso=
urce<br>
&gt; =A0 =A0 =A0 providers, considering the respective resource consumer. =
=A0For<br>
&gt; =A0 =A0 =A0 example, an ALTO client could be integrated into the track=
er of a<br>
&gt; =A0 =A0 =A0 tracker-based P2P application, in order to request ALTO gu=
idance<br>
&gt; =A0 =A0 =A0 on behalf of the peers contacting the tracker.<br>
&gt;<br>
&gt; =A0 =A0Req. AR-18: An ALTO client protocol MUST support the mode of<br=
>
&gt; =A0 =A0operation in which the ALTO client is directly embedded in the<=
br>
&gt; =A0 =A0resource consumer.<br>
<br>
Req. AR-18: Full compliant: 12.2, 12.3<br>
<br>
&gt; =A0 =A0Req. AR-19: An ALTO client protocol MUST support the mode of<br=
>
&gt; =A0 =A0operation in which the ALTO client is embedded in a third party=
.<br>
&gt; =A0 =A0This third party performs queries on behalf of resource consume=
rs.<br>
<br>
Req. AR-19: Full compliant: 12.1<br>
<br>
&gt; =A0 =A0Req. AR-20: An ALTO client protocol MUST be designed in a way t=
hat<br>
&gt; =A0 =A0the ALTO service can be provided by an entity that is not the<b=
r>
&gt; =A0 =A0operator of the underlying IP network.<br>
<br>
Req. AR-20: Full compliant: The ALTO protocol is based on HTTP<br>
=A0 =A0 (Sec. =A08.3). =A0HTTP can be used to access servers anywhere in th=
e<br>
=A0 =A0 Internet, which are operated by arbitrary entities. =A0No additiona=
l<br>
=A0 =A0 single-domain or link-layer-coupled mechanisms (e.g. DHCP, IP<br>
=A0 =A0 multicasting/broadcasts, etc.) are mandated by this document.<br>
<br>
&gt; =A0 =A0Req. AR-21: An ALTO client protocol MUST be designed in a way t=
hat<br>
&gt; =A0 =A0different instances of the ALTO service operated by different<b=
r>
&gt; =A0 =A0providers can coexist.<br>
<br>
Req. AR-21: Full compliant: The ALTO protocol is based on HTTP<br>
=A0 =A0 (Sec. 8.3). Servers operated by different entities can coexist.<br>
<br>
Comment:<br>
<br>
=A0 =A0 The ALTO server discovery mechanism, which is out of the scope of<b=
r>
=A0 =A0 this document, may need additional mechanisms for selecting the<br>
=A0 =A0 desired ALTO server operator.<br>
<br>
&gt; =A0 =A0Req. AR-22: An ALTO client protocol specification MUST specify =
at<br>
&gt; =A0 =A0least one query mode, either the target-aware or the target-<br=
>
&gt; =A0 =A0independent query mode.<br>
<br>
Req. AR-22: Full compliant: The target-independent query mode<br>
=A0 =A0 is implemented by the Network Map and the Cost Map.<br>
=A0 =A0 &quot;An ALTO Server MUST provide at least one Network Map.&quot; (=
11.2.1)<br>
=A0 =A0 and &quot;This resource [Cost Map] MUST be provided for at least th=
e<br>
=A0 =A0 &#39;routingcost&#39; Cost Metric.&quot; (11.2.2).<br>
<br>
&gt; =A0 =A0Note that this requirements document does not assume that there=
 will<br>
&gt; =A0 =A0be only one single protocol specification.<br>
&gt;<br>
&gt; =A0 =A0Req. AR-23: An ALTO client protocol specification SHOULD specif=
y both<br>
&gt; =A0 =A0the target-aware and the target-independent query mode. =A0If a=
n ALTO<br>
&gt; =A0 =A0client protocol specification specifies more than one query mod=
e, it<br>
&gt; =A0 =A0MUST define at least one of these modes as REQUIRED to implemen=
t by<br>
&gt; =A0 =A0ALTO clients and ALTO servers. =A0Furthermore, it MUST specify =
an<br>
&gt; =A0 =A0appropriate protocol mechanism for negotiating between the ALTO=
<br>
&gt; =A0 =A0client and ALTO server, which query mode to use.<br>
<br>
Req. AR-23: Full compliant: The target-independent query mode MUST<br>
=A0 =A0 be supported (see AR-22).<br>
<br>
=A0 =A0 The target-aware query mode is implemented by the Endpoint Property=
<br>
=A0 =A0 Service, which MAY be provided by an ALTO server (11.4.1) and the<b=
r>
=A0 =A0 Endpoint Cost Service, which MAY be provided by an ALTO server<br>
=A0 =A0 (11.5.1).<br>
<br>
=A0 =A0 The ALTO server adds appropriate entries to its Information Resourc=
e<br>
=A0 =A0 Directory (9) if the Endpoint Property Service and/or the<br>
=A0 =A0 Endpoint Cost Service are supported. =A0The client may then decide<=
br>
=A0 =A0 whether to access them or the Cost Maps.<br>
<br>
&gt; =A0 =A0Req. AR-24: An ALTO client protocol SHOULD support version numb=
ering,<br>
&gt; =A0 =A0TTL (time-to-live) attributes, and/or similar mechanisms in ALT=
O<br>
&gt; =A0 =A0transactions, in order to enable time validity checking for cac=
hing,<br>
&gt; =A0 =A0and to enable comparisons of multiple recommendations obtained<=
br>
&gt; =A0 =A0through redistribution.<br>
<br>
Req. AR-24: Full compliant: 3.2<br>
<br>
&gt; =A0 =A0Req. AR-25: An ALTO client protocol SHOULD allow the ALTO serve=
r to<br>
&gt; =A0 =A0add information about appropriate modes of reuse to its ALTO<br=
>
&gt; =A0 =A0responses. =A0Reuse may include redistributing an ALTO response=
 to<br>
&gt; =A0 =A0other parties, as well as using the same ALTO information in a<=
br>
&gt; =A0 =A0resource directory to improve the responses to different resour=
ce<br>
&gt; =A0 =A0consumers within the specified lifetime of the ALTO response. =
=A0The<br>
&gt; =A0 =A0ALTO server SHOULD be able to express that<br>
&gt;<br>
&gt; =A0 =A0o =A0no reuse should occur.<br>
&gt;<br>
&gt; =A0 =A0o =A0reuse is appropriate for a specific &quot;target audience&=
quot;, i.e., a set<br>
&gt; =A0 =A0 =A0 of resource consumers explicitly defined by a list of host=
-group<br>
&gt; =A0 =A0 =A0 descriptors. =A0The ALTO server MAY specify a &quot;target=
 audience&quot; in<br>
&gt; =A0 =A0 =A0 the ALTO response that is only a subset of the known actua=
l<br>
&gt; =A0 =A0 =A0 &quot;target audience&quot;, e.g., if required by operator=
 policies.<br>
&gt;<br>
&gt; =A0 =A0o =A0reuse is appropriate for any resource consumer that would =
send (or<br>
&gt; =A0 =A0 =A0 cause a third party to send on behalf of it) the same ALTO=
 query<br>
&gt; =A0 =A0 =A0 (i.e., with the same query parameters, except for the reso=
urce<br>
&gt; =A0 =A0 =A0 consumer ID, if applicable) to this ALTO server.<br>
&gt;<br>
&gt; =A0 =A0o =A0reuse is appropriate for any resource consumer that would =
send (or<br>
&gt; =A0 =A0 =A0 cause a third party to send on behalf of it) the same ALTO=
 query<br>
&gt; =A0 =A0 =A0 (i.e., with the same query parameters, except for the reso=
urce<br>
&gt; =A0 =A0 =A0 consumer ID, if applicable) to any other ALTO server that =
was<br>
&gt; =A0 =A0 =A0 discovered (using an ALTO discovery mechanism) together wi=
th this<br>
&gt; =A0 =A0 =A0 ALTO server.<br>
&gt;<br>
&gt; =A0 =A0o =A0reuse is appropriate for any resource consumer that would =
send (or<br>
&gt; =A0 =A0 =A0 cause a third party to send on behalf of it) the same ALTO=
 query<br>
&gt; =A0 =A0 =A0 (i.e., with the same query parameters, except for the reso=
urce<br>
&gt; =A0 =A0 =A0 consumer ID, if applicable) to any ALTO server in the whol=
e<br>
&gt; =A0 =A0 =A0 network.<br>
<br>
Req. =A0AR-25: =A0Compliant for the current state of the base protocol<br>
<br>
Comment:<br>
<br>
=A0 =A0 Only the first and the last bullet are supported by mechanisms<br>
=A0 =A0 of the underlying HTTP protocol and there are no additional<br>
=A0 =A0 mechanisms defined within the ALTO protocol.<br>
=A0 =A0 So formally speaking this requirement is only partially met.<br>
=A0 =A0 However, this requirement been written down without a specific<br>
=A0 =A0 design pattern for the ALTO protocol in mind. With the HTTP+RESTful=
<br>
=A0 =A0 approach eventually taken, options #2, #3, and #4 are not really<br=
>
=A0 =A0 applicable. So for the time being this requirement is sufficiently<=
br>
=A0 =A0 met. However, future documents on caching and redistribution (e.g.,=
<br>
=A0 =A0 redistribution of ALTO replies within the P2P application protocol)=
<br>
=A0 =A0 should re-visit this requirement.<br>
<br>
&gt; =A0 =A0Req. AR-26: An ALTO client protocol MUST support the transport =
of<br>
&gt; =A0 =A0ALTO transactions, even if the ALTO client is located in the pr=
ivate<br>
&gt; =A0 =A0address realm behind a network address translator (NAT). =A0The=
re are<br>
&gt; =A0 =A0different types of NAT, see [RFC4787] and [RFC5382].<br>
<br>
Req. AR-26: Full compliant: The ALTO protocol is based on HTTP<br>
=A0 =A0 (Sec. =A08.3). Allowing HTTP traffic is one of the most basic requi=
rements<br>
=A0 =A0 for all types of NAT. For detection of &quot;public&quot; IP addres=
s see 13.3.<br>
<br>
&gt; 3.1.5. =A0Protocol Extensibility<br>
&gt;<br>
&gt; =A0 =A0Req. AR-27: An ALTO client protocol MUST include support for ad=
ding<br>
&gt; =A0 =A0protocol extensions in a non-disruptive, backward-compatible wa=
y.<br>
<br>
Req. AR-27: Full compliant: 14.1<br>
<br>
&gt; =A0 =A0Req. AR-28: An ALTO client protocol MUST include protocol versi=
oning<br>
&gt; =A0 =A0support, in order to clearly distinguish between incompatible<b=
r>
&gt; =A0 =A0versions of the protocol.<br>
<br>
Req. AR-28: Full compliant. =A0Due to the very flexible mechanisms for<br>
=A0 =A0 seamlessly extending the protocol (see Req. AR-27), a disruptive<br=
>
=A0 =A0 update is only needed if the structure of the IRD has to be changed=
.<br>
=A0 =A0 This can be done by defining a new media type<br>
=A0 =A0 (e.g., alto-directory_v2_0+json) and using the content-type header<=
br>
=A0 =A0 in the underlying HTTP protocol.<br>
<br>
&gt; 3.1.6. =A0Error Handling and Overload Protection<br>
&gt;<br>
&gt; =A0 =A0Req. AR-29: An ALTO client protocol MUST use congestion-aware<b=
r>
&gt; =A0 =A0transport, e.g., by using TCP.<br>
<br>
Req. =A0AR-29: =A0Full compliant. =A0Protocol is based on HTTP (8.3), which=
<br>
=A0 =A0 does not neccessarily run on top of TCP (see 1.4. of RFC 2616), but=
<br>
=A0 =A0 de-facto always does.<br>
<br>
&gt; =A0 =A0Req. AR-30: An ALTO client protocol specification MUST specify<=
br>
&gt; =A0 =A0mechanisms for an ALTO server to inform clients about an impend=
ing or<br>
&gt; =A0 =A0occurring overload situation, or how to leverage appropriate<br=
>
&gt; =A0 =A0mechanisms provided by underlying protocol layers. =A0The mecha=
nisms<br>
&gt; =A0 =A0MUST provide all of the following options to the server:<br>
&gt;<br>
&gt; =A0 =A0o =A0terminate the conversation with the client,<br>
&gt;<br>
&gt; =A0 =A0o =A0redirect the client to another ALTO server, and<br>
&gt;<br>
&gt; =A0 =A0o =A0request that the client throttle its query rate.<br>
&gt;<br>
&gt; =A0 =A0 =A0 In particular, a simple form of throttling is to let an AL=
TO<br>
&gt; =A0 =A0 =A0 server answer a query with an error message advising the c=
lient to<br>
&gt; =A0 =A0 =A0 retry the query later (e.g., using a protocol function suc=
h as<br>
&gt; =A0 =A0 =A0 HTTP&#39;s Retry-After header ([RFC2616], Section 14.37)).=
 =A0Another<br>
&gt; =A0 =A0 =A0 simple option is to actually answer the query with the des=
ired<br>
&gt; =A0 =A0 =A0 information, but adding an indication that the ALTO client=
 should<br>
&gt; =A0 =A0 =A0 not send further queries to this ALTO server before an ind=
icated<br>
&gt; =A0 =A0 =A0 period of time has elapsed.<br>
<br>
Req. AR-30: =A0Full compliant: =A08.5.3.<br>
<br>
&gt; =A0 =A0Req. AR-31: An ALTO client protocol specification MUST specify<=
br>
&gt; =A0 =A0mechanisms for an ALTO server to inform clients about its inabi=
lity<br>
&gt; =A0 =A0to answer queries due to technical problems or system maintenan=
ce, or<br>
&gt; =A0 =A0how to leverage appropriate mechanisms provided by underlying<b=
r>
&gt; =A0 =A0protocol layers. =A0The mechanisms MUST provide all of the foll=
owing<br>
&gt; =A0 =A0options to the server:<br>
&gt;<br>
&gt; =A0 =A0o =A0terminate the conversation with the client,<br>
&gt;<br>
&gt; =A0 =A0o =A0redirect the client to another ALTO server, and<br>
&gt;<br>
&gt; =A0 =A0o =A0request that the client retry the query later.<br>
<br>
Req. AR-31: =A0Full compliant: =A08.5.3.<br>
<br>
&gt; =A0 =A0Note: The existence of the above-mentioned protocol mechanisms =
does<br>
&gt; =A0 =A0not imply that an ALTO server must use them when facing an over=
load,<br>
&gt; =A0 =A0technical problem, or maintenance situation, respectively. =A0S=
ome<br>
&gt; =A0 =A0servers may be unable to use them in that situation, or they ma=
y<br>
&gt; =A0 =A0prefer to simply refuse the connection or not to send any answe=
r at<br>
&gt; =A0 =A0all.<br>
&gt;<br>
&gt; 3.2. =A0ALTO Server Discovery<br>
<br>
Reqs. AR-32 to AR-39: not applicable to this document<br>
<br>
&gt; 3.3. =A0Security and Privacy<br>
&gt;<br>
&gt; =A0 =A0Req. AR-40: An ALTO client protocol specification MUST specify<=
br>
&gt; =A0 =A0mechanisms for the authentication of ALTO servers or specify ho=
w to<br>
&gt; =A0 =A0leverage appropriate mechanisms provided by underlying protocol=
<br>
&gt; =A0 =A0layers.<br>
<br>
Req. AR-40: Full compliant: 8.3.5.<br>
<br>
&gt; =A0 =A0Req. AR-41: An ALTO client protocol specification MUST specify<=
br>
&gt; =A0 =A0mechanisms for the authentication of ALTO clients or specify ho=
w to<br>
&gt; =A0 =A0leverage appropriate mechanisms provided by underlying protocol=
<br>
&gt; =A0 =A0layers.<br>
<br>
Req. AR-41: Full compliant: 8.3.5.<br>
<br>
&gt; =A0 =A0Req. AR-42: An ALTO client protocol specification MUST specify<=
br>
&gt; =A0 =A0mechanisms for the encryption of messages or specify how to lev=
erage<br>
&gt; =A0 =A0appropriate mechanisms provided by underlying protocol layers.<=
br>
<br>
Req. AR-42: Full compliant: 8.3.5.<br>
<br>
&gt; =A0 =A0Req. AR-43: An ALTO client is not required to implement mechani=
sms or<br>
&gt; =A0 =A0to comply with rules that limit its ability to redistribute<br>
&gt; =A0 =A0information retrieved from the ALTO server to third parties.<br=
>
<br>
Req. AR-43: Not applicable to this document. See also 15.3.3.<br>
<br>
&gt; =A0 =A0Req. AR-44: An ALTO client protocol MUST support different leve=
ls of<br>
&gt; =A0 =A0detail in queries and responses in order to protect the privacy=
 of<br>
&gt; =A0 =A0users, to ensure that the operators of ALTO servers and other u=
sers<br>
&gt; =A0 =A0of the same application cannot derive sensitive information.<br=
>
<br>
Req. =A0AR-44: =A0Full compliant. =A0Host Group Descriptors are always<br>
=A0 =A0 encoded as TypedEndpointAddr, which allows to use IP prefixes.<br>
=A0 =A0 Therefore it is possible to obfuscate the identity of candidate<br>
=A0 =A0 resource consumers, e.g., by specifying a broader address range<br>
=A0 =A0 (i.e., a shorter prefix length) than a group of hosts in question<b=
r>
=A0 =A0 actually uses, or by zeroing-out or randomizing the last few bits o=
f<br>
=A0 =A0 IP addresses. =A0However, there is the potential side effect of<br>
=A0 =A0 yielding inaccurate results.<br>
<br>
&gt; =A0 =A0Req. AR-45: An ALTO client protocol MAY include mechanisms that=
 can<br>
&gt; =A0 =A0be used by the ALTO client when requesting guidance to specify =
the<br>
&gt; =A0 =A0resource (e.g., content identifiers) it wants to access. =A0An =
ALTO<br>
&gt; =A0 =A0server MUST provide adequate guidance, even if the ALTO client<=
br>
&gt; =A0 =A0prefers not to specify the desired resource (e.g., keeps the da=
ta<br>
&gt; =A0 =A0field empty). =A0The mechanism MUST be designed in a way that t=
he<br>
&gt; =A0 =A0operator of the ALTO server cannot easily deduce the resource<b=
r>
&gt; =A0 =A0identifier (e.g., file name in P2P file sharing) if the ALTO cl=
ient<br>
&gt; =A0 =A0prefers not to specify it.<br>
<br>
Req. =A0AR-45: =A0Full compliant. =A0The optional (&quot;MAY&quot;) feature=
 is not<br>
=A0 =A0 defined and therefore, the MUST-statements do not apply.<br>
<br>
&gt; =A0 =A0Req. AR-46: An ALTO client protocol specification MUST specify<=
br>
&gt; =A0 =A0appropriate mechanisms for protecting the ALTO service against<=
br>
&gt; =A0 =A0Denial-of-Service (DoS) attacks or specify how to leverage<br>
&gt; =A0 =A0appropriate mechanisms provided by underlying protocol layers.<=
br>
<br>
Req. =A0AR-46: =A0Full compliant. See 15.5. for ALTO-specific protection<br=
>
=A0 =A0 strategies. Furthermore, the protocol is based on HTTP, and<br>
=A0 =A0 protecting HTTP-based services against different kinds of attacks,<=
br>
=A0 =A0 including DoS attacks, is a rather well-understood issue.<br>
<br>
-- end --<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div><br></div></div>

--047d7b6dc1a8f8dda204e7b2e5bc--

From sebi@gw01.ehlo.wurstkaes.de  Tue Oct  1 13:49:42 2013
Return-Path: <sebi@gw01.ehlo.wurstkaes.de>
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 1010B21E808C for <alto@ietfa.amsl.com>; Tue,  1 Oct 2013 13:49:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QV34ww7wW4U1 for <alto@ietfa.amsl.com>; Tue,  1 Oct 2013 13:49:35 -0700 (PDT)
Received: from gw01.ehlo.wurstkaes.de (gw01.ehlo.wurstkaes.de [IPv6:2a02:a00:e000:116::41]) by ietfa.amsl.com (Postfix) with ESMTP id 5E65011E8153 for <alto@ietf.org>; Tue,  1 Oct 2013 13:49:34 -0700 (PDT)
Received: from sebi by gw01.ehlo.wurstkaes.de with local (Exim 4.80) (envelope-from <sebi@gw01.ehlo.wurstkaes.de>) id 1VR6sn-0007GG-AC; Tue, 01 Oct 2013 22:49:25 +0200
Date: Tue, 1 Oct 2013 22:49:25 +0200
From: Sebastian Kiesel <ietf-alto@skiesel.de>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <20131001204925.GB9262@gw01.ehlo.wurstkaes.de>
References: <20131001063320.GA9262@gw01.ehlo.wurstkaes.de> <CANUuoLr+xNtivMa_AbhzvQWASctEqijYSM61VMQsnHcXwhaN6Q@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANUuoLr+xNtivMa_AbhzvQWASctEqijYSM61VMQsnHcXwhaN6Q@mail.gmail.com>
Accept-Languages: en, de
Organization: my personal mail account
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] alto-protocol-18 vs. RFC 6708
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 01 Oct 2013 20:49:42 -0000

Hi Richard,

On Tue, Oct 01, 2013 at 03:24:15PM -0400, Y. Richard Yang wrote:
> On Tue, Oct 1, 2013 at 2:33 AM, Sebastian Kiesel <ietf-alto@skiesel.de>wrote:
> > >    Req. AR-9: An ALTO client protocol specification MUST define
> > >    mechanisms that can be used by the ALTO server to indicate that a
> > >    host-group descriptor used by the ALTO client is of an unsupported
> > >    type, or that the indicated mapping mechanism could not be used.
> >
> > Req. AR-9:  Full compliant: 8.5.2
> >
> > Comment:
> >
> >     The error code E_JSON_VALUE_TYPE can be used, though it might be
> >     useful to define an own, less generic error message.
> >
> >
> Do you suggest that we make a small change to add a more specific error
> code, say E_INVALID_HOST_GROUP_DESCRIPTOR? The same as below...

I think we should add a E_INVALID_ADDRESS_TYPE to the table 
in section 8.5.2.


(IMO "invalid address type" is more consistent with the terminology
used in the protocol document.)

Thanks
Sebastian

From spencerdawkins.ietf@gmail.com  Tue Oct  1 14:11:21 2013
Return-Path: <spencerdawkins.ietf@gmail.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 9EFA311E826A for <alto@ietfa.amsl.com>; Tue,  1 Oct 2013 14:11:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Od4gZo6ww0n for <alto@ietfa.amsl.com>; Tue,  1 Oct 2013 14:11:14 -0700 (PDT)
Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by ietfa.amsl.com (Postfix) with ESMTP id 8114611E8203 for <alto@ietf.org>; Tue,  1 Oct 2013 14:10:58 -0700 (PDT)
Received: by mail-ie0-f180.google.com with SMTP id u16so15284967iet.11 for <alto@ietf.org>; Tue, 01 Oct 2013 14:10:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Qbjk+UNYX8I6bQvC21YLZ9le0fxwZ0gg3bBVN+skNk4=; b=RPBElL0t/POgy5v8J0DPVln/jqShDnEoJLwFR3ZmConPojjATwwRxi9L7D6zYziIbr O9vyTmdectJ24ZhE/NJbTXsbzvc/9GIh8bjdBnMLeKTj0Xp8v52n2NJMBFk+5dJOp+5y yMITjfbt3HO2heGkxH/dx/Sv2Id5bJjSDpb5S8q+CTBond3UCzEWMvh4p7s9aWOb87H/ P5WKzCT7D9g9ChOzt1xGSlWqVFr90WVVEqNwULCVk9Y2oPkhDTYIbiesRQDgByYBkCUy dOoBzziCfq43J3UWfMsAm35+TtN1ETJpHrD828g0foiWb2H98q73YMqTg0PpyS85zNEM vPVA==
X-Received: by 10.42.84.9 with SMTP id j9mr2257467icl.57.1380661858093; Tue, 01 Oct 2013 14:10:58 -0700 (PDT)
Received: from [192.168.0.30] (70-2-162-167.pools.spcsdns.net. [70.2.162.167]) by mx.google.com with ESMTPSA id hv5sm5979282igb.9.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Oct 2013 14:10:56 -0700 (PDT)
Message-ID: <524B3A5C.8060507@gmail.com>
Date: Tue, 01 Oct 2013 16:10:52 -0500
From: Spencer Dawkins <spencerdawkins.ietf@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: "Y. Richard Yang" <yry@cs.yale.edu>
References: <20131001063320.GA9262@gw01.ehlo.wurstkaes.de> <CANUuoLr+xNtivMa_AbhzvQWASctEqijYSM61VMQsnHcXwhaN6Q@mail.gmail.com>
In-Reply-To: <CANUuoLr+xNtivMa_AbhzvQWASctEqijYSM61VMQsnHcXwhaN6Q@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] alto-protocol-18 vs. RFC 6708
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 01 Oct 2013 21:11:21 -0000

On 10/1/2013 2:24 PM, Y. Richard Yang wrote:
> Hi Sebastian,
>
> Thanks a lot for the always wonderful work!

I was just thinking the same thing :-)

Spencer

From yang.r.yang@gmail.com  Wed Oct  2 06:32:32 2013
Return-Path: <yang.r.yang@gmail.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 C93A521E80AD for <alto@ietfa.amsl.com>; Wed,  2 Oct 2013 06:32:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.072
X-Spam-Level: *
X-Spam-Status: No, score=1.072 tagged_above=-999 required=5 tests=[AWL=2.450,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_44=0.6, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jReAmKqAQVPq for <alto@ietfa.amsl.com>; Wed,  2 Oct 2013 06:32:25 -0700 (PDT)
Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) by ietfa.amsl.com (Postfix) with ESMTP id 6297B21E80BA for <alto@ietf.org>; Wed,  2 Oct 2013 06:28:02 -0700 (PDT)
Received: by mail-pa0-f45.google.com with SMTP id rd3so1022131pab.32 for <alto@ietf.org>; Wed, 02 Oct 2013 06:28:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=AmTNb0biTznau3NpnbzzGAJtVPJCSi50YLXAKntSE0E=; b=UlJ3RLD7aYMvPHm0xMpSvnvXMp3sYGsW1TEY3m3unbH8nD8km+4AnBXwMtY2fp9I/s +wKAvyqCU+ftb4FseoP15YmD7DlaPiUWOwTS+5qhrolfngCCZ3RE1q+1bocxJAYB5vam dUiJjDKfZkx4utja7ZAHZ4UkLI5SYv5N2TXmE42a77lbTNyaSQiyQEMwhfjef0J3VNaN 3UYBLM9cnK4kM4clAiCur+Z3FmoUt6xuJdaGV8tZLlKTKjHhI8fzMF7vjkLR1llNK0ZN bRoE2d18wKFbKQ8QhsGmGC/izRAK/2ehy9DZi2Cks6IsJQrVQ8fFNzRmQydmDu3NyHO6 D6CA==
MIME-Version: 1.0
X-Received: by 10.66.118.129 with SMTP id km1mr3074502pab.127.1380720482074; Wed, 02 Oct 2013 06:28:02 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.147.4 with HTTP; Wed, 2 Oct 2013 06:28:01 -0700 (PDT)
In-Reply-To: <20131001204925.GB9262@gw01.ehlo.wurstkaes.de>
References: <20131001063320.GA9262@gw01.ehlo.wurstkaes.de> <CANUuoLr+xNtivMa_AbhzvQWASctEqijYSM61VMQsnHcXwhaN6Q@mail.gmail.com> <20131001204925.GB9262@gw01.ehlo.wurstkaes.de>
Date: Wed, 2 Oct 2013 09:28:01 -0400
X-Google-Sender-Auth: 9QgAHDu0k2n2UomtziVz2SWt9jU
Message-ID: <CANUuoLru6nCxHfnr1rHYzPVMJvGSyoC0rfLF8w6J-Ycb8NJ_WQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Sebastian Kiesel <ietf-alto@skiesel.de>
Content-Type: multipart/alternative; boundary=e89a8ffbab6bde48dc04e7c209c2
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] alto-protocol-18 vs. RFC 6708
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 02 Oct 2013 13:32:32 -0000

--e89a8ffbab6bde48dc04e7c209c2
Content-Type: text/plain; charset=ISO-8859-1

Hi Sebatian,


On Tue, Oct 1, 2013 at 4:49 PM, Sebastian Kiesel <ietf-alto@skiesel.de>wrote:

> Hi Richard,
>
> On Tue, Oct 01, 2013 at 03:24:15PM -0400, Y. Richard Yang wrote:
> > On Tue, Oct 1, 2013 at 2:33 AM, Sebastian Kiesel <ietf-alto@skiesel.de
> >wrote:
> > > >    Req. AR-9: An ALTO client protocol specification MUST define
> > > >    mechanisms that can be used by the ALTO server to indicate that a
> > > >    host-group descriptor used by the ALTO client is of an unsupported
> > > >    type, or that the indicated mapping mechanism could not be used.
> > >
> > > Req. AR-9:  Full compliant: 8.5.2
> > >
> > > Comment:
> > >
> > >     The error code E_JSON_VALUE_TYPE can be used, though it might be
> > >     useful to define an own, less generic error message.
> > >
> > >
> > Do you suggest that we make a small change to add a more specific error
> > code, say E_INVALID_HOST_GROUP_DESCRIPTOR? The same as below...
>
> I think we should add a E_INVALID_ADDRESS_TYPE to the table
> in section 8.5.2.
>
>
> (IMO "invalid address type" is more consistent with the terminology
> used in the protocol document.)
>
>
Agree. Here is a proposal for a quick change on handling errors.

- Errors come from client query, which consists of the following:

network map filtering:

  object {
     PIDName pids<0..*>;
     [AddressType address-types<0..*>;]
   } ReqFilteredNetworkMap;


cost map filtering:

   object {
     CostType   cost-type;
     [JSONString constraints<0..*>;]
     [PIDFilter  pids;]
   } ReqFilteredCostMap;

   object {
     PIDName srcs<0..*>;
     PIDName dsts<0..*>;
   } PIDFilter;


endpoint properties:

   object {
     EndpointPropertyType  properties<1..*>;
     TypedEndpointAddr     endpoints<1..*>;
   } ReqEndpointProp;


endpoint cost:

  object {
     CostType          cost-type;
     [JSONString       constraints<0..*>;]
     EndpointFilter    endpoints;
   } ReqEndpointCostMap;

   object {
     [TypedEndpointAddr srcs<0..*>;]
     [TypedEndpointAddr dsts<0..*>;]
   } EndpointFilter;



After the server gets a query, the server first checks the syntax, an error
happens if the syntax is wrong: E_SYNTAX

Suppose the syntax is correct, and then the server needs to look at each
field in the client query. We can identify three cases:
1). the field is a valid field;
2). the field is not defined by the protocol (E_UNKNOWN_FIELD; note that
8.3.8 says ignore unknown field);
3. a required field is missing (E_FIELD_MISSNG).

Next look at case 1), an error can happen if the value is invalid (e.g.,
invalid cost-type, or address type, ...). Hence, a generic error code can
be: E_INVALID_FIELD_VALUE.

As a result, we have 4 (or 3, if we do not include unknown field) generic
error codes that cover all error cases. For more informative errors, the
error message body can identify the field involved.

Next, we can refine the errors for invalid values to give more details.
Here are the fields defined so far:

pids,
address-types,

cost-type,
constraints,
pids.srcs,
pids.dsts,

properties,
endpoints,

cost-type,
constraints,
endpoints.srcs,
endpoints.dsts,

We can see that the current error codes have not completely covered all
fields (i.e., covered only INVALID_COST_MODE, INVALID_COST_METRIC, and
INVALID_PROPERTY_TYPE). Instead of hardcoding all fields, how about we
define the following error msg:

{
   "meta": {
      "code": one of the generic error codes;
      ["field": optional identify the field triggered the error;]
      ["value": optional identify the wrong value when error is
E_INVALID_FIELD_VALUE]
      ["message": gives a text description]
    }
}

The preceding is a simple change in Sec. 8.5.2, and is more extensible. How
does this sound?

Thanks again!

Richard


> Thanks
> Sebastian
>

--e89a8ffbab6bde48dc04e7c209c2
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Sebatian,<div><br></div><div><div class=3D"gmail_extra"=
><br><div class=3D"gmail_quote">On Tue, Oct 1, 2013 at 4:49 PM, Sebastian K=
iesel <span dir=3D"ltr">&lt;<a href=3D"mailto:ietf-alto@skiesel.de" target=
=3D"_blank">ietf-alto@skiesel.de</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">Hi Richard,<br>
<div class=3D"im"><br>
On Tue, Oct 01, 2013 at 03:24:15PM -0400, Y. Richard Yang wrote:<br>
&gt; On Tue, Oct 1, 2013 at 2:33 AM, Sebastian Kiesel &lt;<a href=3D"mailto=
:ietf-alto@skiesel.de">ietf-alto@skiesel.de</a>&gt;wrote:<br>
</div><div class=3D"im">&gt; &gt; &gt; =A0 =A0Req. AR-9: An ALTO client pro=
tocol specification MUST define<br>
&gt; &gt; &gt; =A0 =A0mechanisms that can be used by the ALTO server to ind=
icate that a<br>
&gt; &gt; &gt; =A0 =A0host-group descriptor used by the ALTO client is of a=
n unsupported<br>
&gt; &gt; &gt; =A0 =A0type, or that the indicated mapping mechanism could n=
ot be used.<br>
&gt; &gt;<br>
&gt; &gt; Req. AR-9: =A0Full compliant: 8.5.2<br>
&gt; &gt;<br>
&gt; &gt; Comment:<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0 The error code E_JSON_VALUE_TYPE can be used, though it m=
ight be<br>
&gt; &gt; =A0 =A0 useful to define an own, less generic error message.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; Do you suggest that we make a small change to add a more specific erro=
r<br>
&gt; code, say E_INVALID_HOST_GROUP_DESCRIPTOR? The same as below...<br>
<br>
</div>I think we should add a E_INVALID_ADDRESS_TYPE to the table<br>
in section 8.5.2.<br>
<br>
<br>
(IMO &quot;invalid address type&quot; is more consistent with the terminolo=
gy<br>
used in the protocol document.)<br>
<br></blockquote><div><br></div><div>Agree. Here is a proposal for a quick =
change on handling errors.</div><div><br></div><div>- Errors come from clie=
nt query, which consists of the following:</div><div><br></div><div>network=
 map filtering:</div>
<div><pre class=3D"" style=3D"font-size:1em;margin-top:0px;margin-bottom:0p=
x;color:rgb(0,0,0)">  object {
     PIDName pids&lt;0..*&gt;;
     [AddressType address-types&lt;0..*&gt;;]
   } ReqFilteredNetworkMap;</pre><pre class=3D"" style=3D"font-size:1em;mar=
gin-top:0px;margin-bottom:0px;color:rgb(0,0,0)"><br></pre><pre class=3D"" s=
tyle=3D"font-size:1em;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)"><d=
iv style=3D"color:rgb(34,34,34);font-family:arial;font-size:small;white-spa=
ce:normal">
cost map filtering:</div><div style=3D"color:rgb(34,34,34);font-family:aria=
l;font-size:small;white-space:normal"><pre class=3D"" style=3D"font-size:1e=
m;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)">   object {
     CostType   cost-type;
     [JSONString constraints&lt;0..*&gt;;]
     [PIDFilter  pids;]
   } ReqFilteredCostMap;

   object {
     PIDName srcs&lt;0..*&gt;;
     PIDName dsts&lt;0..*&gt;;
   } PIDFilter;</pre><pre class=3D"" style=3D"font-size:1em;margin-top:0px;=
margin-bottom:0px;color:rgb(0,0,0)"><br></pre></div><div style=3D"color:rgb=
(34,34,34);font-family:arial;font-size:small;white-space:normal"><div>endpo=
int properties:</div>
<div></div></div><div style=3D"color:rgb(34,34,34);font-family:arial;font-s=
ize:small;white-space:normal"></div></pre></div><div><pre class=3D"" style=
=3D"font-size:1em;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)">   obj=
ect {
     EndpointPropertyType  properties&lt;1..*&gt;;
     TypedEndpointAddr     endpoints&lt;1..*&gt;;
   } ReqEndpointProp;</pre></div><div><br></div><div>endpoint cost:<br></di=
v><div><pre class=3D"" style=3D"font-size:1em;margin-top:0px;margin-bottom:=
0px;color:rgb(0,0,0)">  object {
     CostType          cost-type;
     [JSONString       constraints&lt;0..*&gt;;]
     EndpointFilter    endpoints;
   } ReqEndpointCostMap;

   object {
     [TypedEndpointAddr srcs&lt;0..*&gt;;]
     [TypedEndpointAddr dsts&lt;0..*&gt;;]
   } EndpointFilter;</pre><pre class=3D"" style=3D"font-size:1em;margin-top=
:0px;margin-bottom:0px;color:rgb(0,0,0)"><br></pre><pre class=3D"" style=3D=
"font-size:1em;margin-top:0px;margin-bottom:0px;color:rgb(0,0,0)"><br></pre=
></div>
<div>After the server gets a query, the server first checks the syntax, an =
error happens if the syntax is wrong: E_SYNTAX</div><div><br></div><div>Sup=
pose the syntax is correct, and then the server needs to look at each field=
 in the client query. We can identify three cases:</div>
<div>1). the field is a valid field;</div><div>2). the field is not defined=
 by the protocol (E_UNKNOWN_FIELD; note that 8.3.8 says ignore unknown fiel=
d);</div><div>3. a required field is missing (E_FIELD_MISSNG).</div><div>
<br></div><div>Next look at case 1), an error can happen if the value is in=
valid (e.g., invalid cost-type, or address type, ...). Hence, a generic err=
or code can be: E_INVALID_FIELD_VALUE.</div><div><br></div><div>As a result=
, we have 4 (or 3, if we do not include unknown field) generic error codes =
that cover all error cases. For more informative errors, the error message =
body can identify the field involved.</div>
<div><br></div><div>Next, we can refine the errors for invalid values to gi=
ve more details. Here are the fields defined so far:</div><div><br>pids,</d=
iv><div>address-types,</div><div><br></div><div>cost-type,</div><div>constr=
aints,</div>
<div>pids.srcs,</div><div>pids.dsts,</div><div><br></div><div>properties,</=
div><div>endpoints,</div><div><br></div><div><div>cost-type,</div><div>cons=
traints,</div><div>endpoints.srcs,</div><div>endpoints.dsts,</div></div>
<div><br></div><div>We can see that the current error codes have not comple=
tely covered all fields (i.e., covered only INVALID_COST_MODE, INVALID_COST=
_METRIC, and INVALID_PROPERTY_TYPE). Instead of hardcoding all fields, how =
about we define the following error msg:</div>
<div><br></div><div>{</div><div>=A0 =A0&quot;meta&quot;: {</div><div>=A0 =
=A0 =A0 &quot;code&quot;: one of the generic error codes;</div><div>=A0 =A0=
 =A0 [&quot;field&quot;: optional identify the field triggered the error;]<=
/div><div>=A0 =A0 =A0 [&quot;value&quot;: optional identify the wrong value=
 when error is E_INVALID_FIELD_VALUE]</div>
<div>=A0 =A0 =A0 [&quot;message&quot;: gives a text description]</div><div>=
=A0 =A0 }</div><div>}</div><div><br></div><div>The preceding is a simple ch=
ange in Sec. 8.5.2, and is more extensible. How does this sound?</div><div>=
=A0</div>
<div>Thanks again!</div><div><br></div><div>Richard</div><div>=A0</div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;paddi=
ng-left:1ex">

Thanks<br>
<span class=3D""><font color=3D"#888888">Sebastian<br>
</font></span></blockquote></div><br></div></div></div>

--e89a8ffbab6bde48dc04e7c209c2--

From yang.r.yang@gmail.com  Wed Oct  2 09:17:35 2013
Return-Path: <yang.r.yang@gmail.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 3174321F9C10 for <alto@ietfa.amsl.com>; Wed,  2 Oct 2013 09:17:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.152
X-Spam-Level: 
X-Spam-Status: No, score=-0.152 tagged_above=-999 required=5 tests=[AWL=1.225,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_44=0.6, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id txb3wjQVeiQI for <alto@ietfa.amsl.com>; Wed,  2 Oct 2013 09:17:27 -0700 (PDT)
Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [IPv6:2607:f8b0:400e:c03::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 03EAA21F8B07 for <alto@ietf.org>; Wed,  2 Oct 2013 09:15:27 -0700 (PDT)
Received: by mail-pa0-f44.google.com with SMTP id lf10so1239268pab.17 for <alto@ietf.org>; Wed, 02 Oct 2013 09:15:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=zj8gICF6TSXjW7H+i0jGi/2ssUEhvZUrIv7aXTVPVSY=; b=Vi54QtwADLC9xPel+iCM+IsoZo14rx6zI4/XzmyW8soaymHn6Q8VpXLtfsZd4juyg0 P9Sv5ZfIs/uUzyLQgEyR7aRwppHHYpvyQojGJ382VVGdtpaakd5xh2YKg7qpEpFWL9Or ODjbmsGH34b1x7J+jpFOfWyYtOyfIy9gTbTBMNRnFQ7OFw86oUHL29FHHPVOEfPJRXre M4ADi0pLRkwV/HYi0ucJ1LP/TD89ANbKuZVN+qitWPVqx2SuNjAo9dpQADmLzdNczxG3 3KbEirjvf9wqFdFlJE342Lbc710SCzbsPMfvrFm65C9rixat22oLHFNlbEq5CtrwSnZE felA==
MIME-Version: 1.0
X-Received: by 10.68.170.225 with SMTP id ap1mr3427468pbc.133.1380730527051; Wed, 02 Oct 2013 09:15:27 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.147.4 with HTTP; Wed, 2 Oct 2013 09:15:26 -0700 (PDT)
In-Reply-To: <CANUuoLru6nCxHfnr1rHYzPVMJvGSyoC0rfLF8w6J-Ycb8NJ_WQ@mail.gmail.com>
References: <20131001063320.GA9262@gw01.ehlo.wurstkaes.de> <CANUuoLr+xNtivMa_AbhzvQWASctEqijYSM61VMQsnHcXwhaN6Q@mail.gmail.com> <20131001204925.GB9262@gw01.ehlo.wurstkaes.de> <CANUuoLru6nCxHfnr1rHYzPVMJvGSyoC0rfLF8w6J-Ycb8NJ_WQ@mail.gmail.com>
Date: Wed, 2 Oct 2013 12:15:26 -0400
X-Google-Sender-Auth: A4pwiULU9pPvOSNBrgW9MfKGiSw
Message-ID: <CANUuoLrfHT6HgXZPRmCxtKH03G6qJikkt=oL8CinAwLAghS9ng@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Sebastian Kiesel <ietf-alto@skiesel.de>
Content-Type: multipart/alternative; boundary=047d7b6731fa98798a04e7c460ff
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] alto-protocol-18 vs. RFC 6708
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 02 Oct 2013 16:17:35 -0000

--047d7b6731fa98798a04e7c460ff
Content-Type: text/plain; charset=ISO-8859-1

Hi Sebastian, all,

We went ahead with an attempt to revise the error codes. Here is a
potential new text:

Any comments are appreciated.

Richard

----------------------------
8.5.1.  Media Type

   The media type for an ALTO Error Response is "application/
   alto-error+json".

8.5.2.  Response Format and Error Codes

   An ALTO Error Response MUST include the "code" key in the "meta"
   field of the response.  The value of "code" MUST be an ALTO Error
   Code defined in Table 1.  Note that the ALTO Error Codes defined in
   Table 1 are limited to support the error conditions needed for
   purposes of this document.  Additional status codes may be defined in
   companion or extension documents.

   +-----------------------+-------------------------------------------+
   | ALTO Error Code       | Description                               |
   +-----------------------+-------------------------------------------+
   | E_SYNTAX              | Parsing error in request (including       |
   |                       | identifiers)                              |
   | E_JSON_VALUE_TYPE     | JSON Value of unexpected type             |
   | E_MISSING_FIELD       | Required JSON field missing               |
   | E_INVALID_FIELD_VALUE | The value of a JSON field is invalid      |
   +-----------------------+-------------------------------------------+

                    Table 1: Defined ALTO Error Codes.

   Specifically, after an ALTO Server receives a query, it needs to
   check the syntax of the query, and indicates a syntax error using the
   error code E_SYNTAX.  A specific type of syntax error is
   E_JSON_VALUE_TYPE, which indicates that a JSON type is incorrect
   (e.g., a request uses a JSONString when a JSONNumber is expected).
   An ALTO Server may return either the general E_SYNTAX error code or
   the more specific E_JSON_VALUE_TYPE error code, if possible.

   A query without syntax error may still be invalid.  An error case is
   that the query misses a required field.  The server indicates such an
   error using error code E_MISSING_FIELD.  This document defines
   required fields for Network Map Filtering (Section 11.3.1.3), Cost
   Map Filtering (Section 11.3.2.3), Endpoint Properties
   (Section 11.4.1.3), and Endpoint Cost (Section 11.5.1.3).  For an
   E_MISSING_FIELD error, the server may include the optional "field"
   key in the "meta" field of the response, to indicate the missing
   field.

   A query with correct query fields may specify a wrong value for a
   field.  For example, a cost map filtering query may specify a wrong
   value of CostMode in the "cost-type" field (Section 11.3.2.3).  The
   server indicates such an error with error code E_INVALID_FIELD_VALUE.
   For an E_INVALID_FIELD_VALUE error, the server may include the
   optional "field" key in the "meta" field of the response, to indicate
   the field that contains the wrong value.  The server may also include
   the optional "value" key in the "meta" field of the response to
   indicate the wrong value that triggered the error.

   If multiple errors are present in a single request (e.g., a request
   uses a JSONString when a JSONNumber is expected and a required field
   is missing), then the ALTO Server MUST return exactly one of the
   detected errors.  However, the reported error is implementation
   defined, since specifying a particular order for message processing
   encroaches needlessly on implementation techniques.



On Wed, Oct 2, 2013 at 9:28 AM, Y. Richard Yang <yry@cs.yale.edu> wrote:

> Hi Sebatian,
>
>
> On Tue, Oct 1, 2013 at 4:49 PM, Sebastian Kiesel <ietf-alto@skiesel.de>wrote:
>
>> Hi Richard,
>>
>> On Tue, Oct 01, 2013 at 03:24:15PM -0400, Y. Richard Yang wrote:
>> > On Tue, Oct 1, 2013 at 2:33 AM, Sebastian Kiesel <ietf-alto@skiesel.de
>> >wrote:
>> > > >    Req. AR-9: An ALTO client protocol specification MUST define
>> > > >    mechanisms that can be used by the ALTO server to indicate that a
>> > > >    host-group descriptor used by the ALTO client is of an
>> unsupported
>> > > >    type, or that the indicated mapping mechanism could not be used.
>> > >
>> > > Req. AR-9:  Full compliant: 8.5.2
>> > >
>> > > Comment:
>> > >
>> > >     The error code E_JSON_VALUE_TYPE can be used, though it might be
>> > >     useful to define an own, less generic error message.
>> > >
>> > >
>> > Do you suggest that we make a small change to add a more specific error
>> > code, say E_INVALID_HOST_GROUP_DESCRIPTOR? The same as below...
>>
>> I think we should add a E_INVALID_ADDRESS_TYPE to the table
>> in section 8.5.2.
>>
>>
>> (IMO "invalid address type" is more consistent with the terminology
>> used in the protocol document.)
>>
>>
> Agree. Here is a proposal for a quick change on handling errors.
>
> - Errors come from client query, which consists of the following:
>
> network map filtering:
>
>   object {
>      PIDName pids<0..*>;
>      [AddressType address-types<0..*>;]
>    } ReqFilteredNetworkMap;
>
>
>
> cost map filtering:
>
>    object {
>      CostType   cost-type;
>      [JSONString constraints<0..*>;]
>      [PIDFilter  pids;]
>    } ReqFilteredCostMap;
>
>    object {
>      PIDName srcs<0..*>;
>      PIDName dsts<0..*>;
>    } PIDFilter;
>
>
> endpoint properties:
>
>    object {
>      EndpointPropertyType  properties<1..*>;
>      TypedEndpointAddr     endpoints<1..*>;
>    } ReqEndpointProp;
>
>
> endpoint cost:
>
>   object {
>      CostType          cost-type;
>      [JSONString       constraints<0..*>;]
>      EndpointFilter    endpoints;
>    } ReqEndpointCostMap;
>
>    object {
>      [TypedEndpointAddr srcs<0..*>;]
>      [TypedEndpointAddr dsts<0..*>;]
>    } EndpointFilter;
>
>
>
> After the server gets a query, the server first checks the syntax, an
> error happens if the syntax is wrong: E_SYNTAX
>
> Suppose the syntax is correct, and then the server needs to look at each
> field in the client query. We can identify three cases:
> 1). the field is a valid field;
> 2). the field is not defined by the protocol (E_UNKNOWN_FIELD; note that
> 8.3.8 says ignore unknown field);
> 3. a required field is missing (E_FIELD_MISSNG).
>
> Next look at case 1), an error can happen if the value is invalid (e.g.,
> invalid cost-type, or address type, ...). Hence, a generic error code can
> be: E_INVALID_FIELD_VALUE.
>
> As a result, we have 4 (or 3, if we do not include unknown field) generic
> error codes that cover all error cases. For more informative errors, the
> error message body can identify the field involved.
>
> Next, we can refine the errors for invalid values to give more details.
> Here are the fields defined so far:
>
> pids,
> address-types,
>
> cost-type,
> constraints,
> pids.srcs,
> pids.dsts,
>
> properties,
> endpoints,
>
> cost-type,
> constraints,
> endpoints.srcs,
> endpoints.dsts,
>
> We can see that the current error codes have not completely covered all
> fields (i.e., covered only INVALID_COST_MODE, INVALID_COST_METRIC, and
> INVALID_PROPERTY_TYPE). Instead of hardcoding all fields, how about we
> define the following error msg:
>
> {
>    "meta": {
>       "code": one of the generic error codes;
>       ["field": optional identify the field triggered the error;]
>       ["value": optional identify the wrong value when error is
> E_INVALID_FIELD_VALUE]
>       ["message": gives a text description]
>     }
> }
>
> The preceding is a simple change in Sec. 8.5.2, and is more extensible.
> How does this sound?
>
> Thanks again!
>
> Richard
>
>
>> Thanks
>> Sebastian
>>
>
>

--047d7b6731fa98798a04e7c460ff
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Sebastian, all,<div><br></div><div>We went ahead with a=
n attempt to revise the error codes. Here is a potential new text:</div><di=
v><br></div><div>Any comments are appreciated.</div><div><br></div><div>Ric=
hard</div>
<div><br></div><div>----------------------------</div><div><div>8.5.1. =A0M=
edia Type</div><div><br></div><div>=A0 =A0The media type for an ALTO Error =
Response is &quot;application/</div><div>=A0 =A0alto-error+json&quot;.</div=
><div>
<br></div><div>8.5.2. =A0Response Format and Error Codes</div><div><br></di=
v><div>=A0 =A0An ALTO Error Response MUST include the &quot;code&quot; key =
in the &quot;meta&quot;</div><div>=A0 =A0field of the response. =A0The valu=
e of &quot;code&quot; MUST be an ALTO Error</div>
<div>=A0 =A0Code defined in Table 1. =A0Note that the ALTO Error Codes defi=
ned in</div><div>=A0 =A0Table 1 are limited to support the error conditions=
 needed for</div><div>=A0 =A0purposes of this document. =A0Additional statu=
s codes may be defined in</div>
<div>=A0 =A0companion or extension documents.</div><div><br></div><div>=A0 =
=A0+-----------------------+-------------------------------------------+</d=
iv><div>=A0 =A0| ALTO Error Code =A0 =A0 =A0 | Description =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div>
<div>=A0 =A0+-----------------------+--------------------------------------=
-----+</div><div>=A0 =A0| E_SYNTAX =A0 =A0 =A0 =A0 =A0 =A0 =A0| Parsing err=
or in request (including =A0 =A0 =A0 |</div><div>=A0 =A0| =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 | identifiers) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0|</div>
<div>=A0 =A0| E_JSON_VALUE_TYPE =A0 =A0 | JSON Value of unexpected type =A0=
 =A0 =A0 =A0 =A0 =A0 |</div><div>=A0 =A0| E_MISSING_FIELD =A0 =A0 =A0 | Req=
uired JSON field missing =A0 =A0 =A0 =A0 =A0 =A0 =A0 |</div><div>=A0 =A0| E=
_INVALID_FIELD_VALUE | The value of a JSON field is invalid =A0 =A0 =A0|</d=
iv>
<div>=A0 =A0+-----------------------+--------------------------------------=
-----+</div><div><br></div><div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Tab=
le 1: Defined ALTO Error Codes.</div><div><br></div><div>=A0 =A0Specificall=
y, after an ALTO Server receives a query, it needs to</div>
<div>=A0 =A0check the syntax of the query, and indicates a syntax error usi=
ng the</div><div>=A0 =A0error code E_SYNTAX. =A0A specific type of syntax e=
rror is</div><div>=A0 =A0E_JSON_VALUE_TYPE, which indicates that a JSON typ=
e is incorrect</div>
<div>=A0 =A0(e.g., a request uses a JSONString when a JSONNumber is expecte=
d).</div><div>=A0 =A0An ALTO Server may return either the general E_SYNTAX =
error code or</div><div>=A0 =A0the more specific E_JSON_VALUE_TYPE error co=
de, if possible.</div>
<div><br></div><div>=A0 =A0A query without syntax error may still be invali=
d. =A0An error case is</div><div>=A0 =A0that the query misses a required fi=
eld. =A0The server indicates such an</div><div>=A0 =A0error using error cod=
e E_MISSING_FIELD. =A0This document defines</div>
<div>=A0 =A0required fields for Network Map Filtering (Section 11.3.1.3), C=
ost</div><div>=A0 =A0Map Filtering (Section 11.3.2.3), Endpoint Properties<=
/div><div>=A0 =A0(Section 11.4.1.3), and Endpoint Cost (Section 11.5.1.3). =
=A0For an</div>
<div>=A0 =A0E_MISSING_FIELD error, the server may include the optional &quo=
t;field&quot;</div><div>=A0 =A0key in the &quot;meta&quot; field of the res=
ponse, to indicate the missing</div><div>=A0 =A0field.</div><div><br></div>=
<div>=A0 =A0A query with correct query fields may specify a wrong value for=
 a</div>
<div>=A0 =A0field. =A0For example, a cost map filtering query may specify a=
 wrong</div><div>=A0 =A0value of CostMode in the &quot;cost-type&quot; fiel=
d (Section 11.3.2.3). =A0The</div><div>=A0 =A0server indicates such an erro=
r with error code E_INVALID_FIELD_VALUE.</div>
<div>=A0 =A0For an E_INVALID_FIELD_VALUE error, the server may include the<=
/div><div>=A0 =A0optional &quot;field&quot; key in the &quot;meta&quot; fie=
ld of the response, to indicate</div><div>=A0 =A0the field that contains th=
e wrong value. =A0The server may also include</div>
<div>=A0 =A0the optional &quot;value&quot; key in the &quot;meta&quot; fiel=
d of the response to</div><div>=A0 =A0indicate the wrong value that trigger=
ed the error.</div><div><br></div><div>=A0 =A0If multiple errors are presen=
t in a single request (e.g., a request</div>
<div>=A0 =A0uses a JSONString when a JSONNumber is expected and a required =
field</div><div>=A0 =A0is missing), then the ALTO Server MUST return exactl=
y one of the</div><div>=A0 =A0detected errors. =A0However, the reported err=
or is implementation</div>
<div>=A0 =A0defined, since specifying a particular order for message proces=
sing</div><div>=A0 =A0encroaches needlessly on implementation techniques.</=
div></div><div><br></div></div><div class=3D"gmail_extra"><br><br><div clas=
s=3D"gmail_quote">
On Wed, Oct 2, 2013 at 9:28 AM, Y. Richard Yang <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&gt;</sp=
an> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div dir=3D"ltr">Hi Sebatian,<div><br></div><div><div class=3D"gmail_extra"=
><br><div class=3D"gmail_quote"><div><div class=3D"h5">On Tue, Oct 1, 2013 =
at 4:49 PM, Sebastian Kiesel <span dir=3D"ltr">&lt;<a href=3D"mailto:ietf-a=
lto@skiesel.de" target=3D"_blank">ietf-alto@skiesel.de</a>&gt;</span> wrote=
:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">Hi Richard,<br>
<div><br>
On Tue, Oct 01, 2013 at 03:24:15PM -0400, Y. Richard Yang wrote:<br>
&gt; On Tue, Oct 1, 2013 at 2:33 AM, Sebastian Kiesel &lt;<a href=3D"mailto=
:ietf-alto@skiesel.de" target=3D"_blank">ietf-alto@skiesel.de</a>&gt;wrote:=
<br>
</div><div>&gt; &gt; &gt; =A0 =A0Req. AR-9: An ALTO client protocol specifi=
cation MUST define<br>
&gt; &gt; &gt; =A0 =A0mechanisms that can be used by the ALTO server to ind=
icate that a<br>
&gt; &gt; &gt; =A0 =A0host-group descriptor used by the ALTO client is of a=
n unsupported<br>
&gt; &gt; &gt; =A0 =A0type, or that the indicated mapping mechanism could n=
ot be used.<br>
&gt; &gt;<br>
&gt; &gt; Req. AR-9: =A0Full compliant: 8.5.2<br>
&gt; &gt;<br>
&gt; &gt; Comment:<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0 The error code E_JSON_VALUE_TYPE can be used, though it m=
ight be<br>
&gt; &gt; =A0 =A0 useful to define an own, less generic error message.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; Do you suggest that we make a small change to add a more specific erro=
r<br>
&gt; code, say E_INVALID_HOST_GROUP_DESCRIPTOR? The same as below...<br>
<br>
</div>I think we should add a E_INVALID_ADDRESS_TYPE to the table<br>
in section 8.5.2.<br>
<br>
<br>
(IMO &quot;invalid address type&quot; is more consistent with the terminolo=
gy<br>
used in the protocol document.)<br>
<br></blockquote><div><br></div></div></div><div>Agree. Here is a proposal =
for a quick change on handling errors.</div><div><br></div><div>- Errors co=
me from client query, which consists of the following:</div><div><br></div>
<div>network map filtering:</div>
<div><pre style=3D"font-size:1em;margin-bottom:0px;margin-top:0px">  object=
 {
     PIDName pids&lt;0..*&gt;;
     [AddressType address-types&lt;0..*&gt;;]
   } ReqFilteredNetworkMap;</pre><pre style=3D"font-size:1em;margin-bottom:=
0px;margin-top:0px"><br></pre><pre style=3D"font-size:1em;margin-bottom:0px=
;margin-top:0px"><div style=3D"color:rgb(34,34,34);font-family:arial;font-s=
ize:small;white-space:normal">

cost map filtering:</div><div style=3D"color:rgb(34,34,34);font-family:aria=
l;font-size:small;white-space:normal"><pre style=3D"font-size:1em;margin-to=
p:0px;margin-bottom:0px;color:rgb(0,0,0)">   object {
     CostType   cost-type;
     [JSONString constraints&lt;0..*&gt;;]
     [PIDFilter  pids;]
   } ReqFilteredCostMap;

   object {
     PIDName srcs&lt;0..*&gt;;
     PIDName dsts&lt;0..*&gt;;
   } PIDFilter;</pre><pre style=3D"font-size:1em;margin-top:0px;margin-bott=
om:0px;color:rgb(0,0,0)"><br></pre></div><div style=3D"color:rgb(34,34,34);=
font-family:arial;font-size:small;white-space:normal"><div>endpoint propert=
ies:</div>

<div></div></div><div style=3D"color:rgb(34,34,34);font-family:arial;font-s=
ize:small;white-space:normal"></div></pre></div><div><pre style=3D"font-siz=
e:1em;margin-bottom:0px;margin-top:0px">   object {
     EndpointPropertyType  properties&lt;1..*&gt;;
     TypedEndpointAddr     endpoints&lt;1..*&gt;;
   } ReqEndpointProp;</pre></div><div><br></div><div>endpoint cost:<br></di=
v><div><pre style=3D"font-size:1em;margin-bottom:0px;margin-top:0px">  obje=
ct {
     CostType          cost-type;
     [JSONString       constraints&lt;0..*&gt;;]
     EndpointFilter    endpoints;
   } ReqEndpointCostMap;

   object {
     [TypedEndpointAddr srcs&lt;0..*&gt;;]
     [TypedEndpointAddr dsts&lt;0..*&gt;;]
   } EndpointFilter;</pre><pre style=3D"font-size:1em;margin-bottom:0px;mar=
gin-top:0px"><br></pre><pre style=3D"font-size:1em;margin-bottom:0px;margin=
-top:0px"><br></pre></div>
<div>After the server gets a query, the server first checks the syntax, an =
error happens if the syntax is wrong: E_SYNTAX</div><div><br></div><div>Sup=
pose the syntax is correct, and then the server needs to look at each field=
 in the client query. We can identify three cases:</div>

<div>1). the field is a valid field;</div><div>2). the field is not defined=
 by the protocol (E_UNKNOWN_FIELD; note that 8.3.8 says ignore unknown fiel=
d);</div><div>3. a required field is missing (E_FIELD_MISSNG).</div><div>

<br></div><div>Next look at case 1), an error can happen if the value is in=
valid (e.g., invalid cost-type, or address type, ...). Hence, a generic err=
or code can be: E_INVALID_FIELD_VALUE.</div><div><br></div><div>As a result=
, we have 4 (or 3, if we do not include unknown field) generic error codes =
that cover all error cases. For more informative errors, the error message =
body can identify the field involved.</div>

<div><br></div><div>Next, we can refine the errors for invalid values to gi=
ve more details. Here are the fields defined so far:</div><div><br>pids,</d=
iv><div>address-types,</div><div><br></div><div>cost-type,</div><div>constr=
aints,</div>

<div>pids.srcs,</div><div>pids.dsts,</div><div><br></div><div>properties,</=
div><div>endpoints,</div><div><br></div><div><div>cost-type,</div><div>cons=
traints,</div><div>endpoints.srcs,</div><div>endpoints.dsts,</div></div>

<div><br></div><div>We can see that the current error codes have not comple=
tely covered all fields (i.e., covered only INVALID_COST_MODE, INVALID_COST=
_METRIC, and INVALID_PROPERTY_TYPE). Instead of hardcoding all fields, how =
about we define the following error msg:</div>

<div><br></div><div>{</div><div>=A0 =A0&quot;meta&quot;: {</div><div>=A0 =
=A0 =A0 &quot;code&quot;: one of the generic error codes;</div><div>=A0 =A0=
 =A0 [&quot;field&quot;: optional identify the field triggered the error;]<=
/div><div>=A0 =A0 =A0 [&quot;value&quot;: optional identify the wrong value=
 when error is E_INVALID_FIELD_VALUE]</div>

<div>=A0 =A0 =A0 [&quot;message&quot;: gives a text description]</div><div>=
=A0 =A0 }</div><div>}</div><div><br></div><div>The preceding is a simple ch=
ange in Sec. 8.5.2, and is more extensible. How does this sound?</div><div>=
=A0</div>

<div>Thanks again!</div><div><br></div><div>Richard</div><div>=A0</div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;paddi=
ng-left:1ex">


Thanks<br>
<span><font color=3D"#888888">Sebastian<br>
</font></span></blockquote></div><br></div></div></div>
</blockquote></div><br></div>

--047d7b6731fa98798a04e7c460ff--

From sebi@gw01.ehlo.wurstkaes.de  Wed Oct  2 13:50:55 2013
Return-Path: <sebi@gw01.ehlo.wurstkaes.de>
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 EB88921F94FA for <alto@ietfa.amsl.com>; Wed,  2 Oct 2013 13:50:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.3
X-Spam-Level: 
X-Spam-Status: No, score=-1.3 tagged_above=-999 required=5 tests=[AWL=1.300, BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n3EQR+Fp2qI0 for <alto@ietfa.amsl.com>; Wed,  2 Oct 2013 13:50:41 -0700 (PDT)
Received: from gw01.ehlo.wurstkaes.de (gw01.ehlo.wurstkaes.de [IPv6:2a02:a00:e000:116::41]) by ietfa.amsl.com (Postfix) with ESMTP id 879D221F90CF for <alto@ietf.org>; Wed,  2 Oct 2013 13:50:30 -0700 (PDT)
Received: from sebi by gw01.ehlo.wurstkaes.de with local (Exim 4.80) (envelope-from <sebi@gw01.ehlo.wurstkaes.de>) id 1VRTNF-00077s-2G; Wed, 02 Oct 2013 22:50:21 +0200
Date: Wed, 2 Oct 2013 22:50:21 +0200
From: Sebastian Kiesel <ietf-alto@skiesel.de>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <20131002205020.GA26306@gw01.ehlo.wurstkaes.de>
References: <20131001063320.GA9262@gw01.ehlo.wurstkaes.de> <CANUuoLr+xNtivMa_AbhzvQWASctEqijYSM61VMQsnHcXwhaN6Q@mail.gmail.com> <20131001204925.GB9262@gw01.ehlo.wurstkaes.de> <CANUuoLru6nCxHfnr1rHYzPVMJvGSyoC0rfLF8w6J-Ycb8NJ_WQ@mail.gmail.com> <CANUuoLrfHT6HgXZPRmCxtKH03G6qJikkt=oL8CinAwLAghS9ng@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANUuoLrfHT6HgXZPRmCxtKH03G6qJikkt=oL8CinAwLAghS9ng@mail.gmail.com>
Accept-Languages: en, de
Organization: my personal mail account
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] alto-protocol-18 vs. RFC 6708
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 02 Oct 2013 20:50:56 -0000

Hi Richard, all,

I think for consistency, it would make sense to rename E_JSON_VALUE_TYPE
to E_INVALID_FIELD_TYPE

Furthermore, we should make clear that the text below the table
is a non-normative illustration how these error codes might be used,
but not a mandatory-to-implement-like-this way of doing sanity checks.

My proposal is:

> 8.5.1.  Media Type
>
>    The media type for an ALTO Error Response is "application/
>    alto-error+json".
>
> 8.5.2.  Response Format and Error Codes
>
>    An ALTO Error Response MUST include the "code" key in the "meta"
>    field of the response.  The value of "code" MUST be an ALTO Error
>    Code defined in Table 1.  Note that the ALTO Error Codes defined in
>    Table 1 are limited to support the error conditions needed for
>    purposes of this document.  Additional status codes may be defined in
>    companion or extension documents.
>                                                                               
>    +-----------------------+-------------------------------------------+      
>    | ALTO Error Code       | Description                               |      
>    +-----------------------+-------------------------------------------+      
>    | E_SYNTAX              | Parsing error in request (including       |      
>    |                       | identifiers)                              |      
     | E_MISSING_FIELD       | Required JSON field missing               |
     | E_INVALID_FIELD_TYPE  | The type of a JSON field is invalid       |
>    | E_INVALID_FIELD_VALUE | The value of a JSON field is invalid      |
>    +-----------------------+-------------------------------------------+      
>                                                                               
>                     Table 1: Defined ALTO Error Codes.                        

   After an ALTO Server receives a query message, it needs to verify the
   syntactic and semantic validity.  The following paragraphs in this
   section are intended to illustrate the usage of the error codes
   defined above.  Note that the order of the checks is implementation
   specific.

   In the first step after an ALTO Server receives a query, it checks
   the syntax of the query, i.e., whether the JSON structure can be
   parsed, and indicates a syntax error using the error code E_SYNTAX.

>    A query without syntax error may still be invalid.  An error case is
>    that the query misses a required field.  The server indicates such an
>    error using error code E_MISSING_FIELD.  This document defines
>    required fields for Network Map Filtering (Section 11.3.1.3), Cost
>    Map Filtering (Section 11.3.2.3), Endpoint Properties
>    (Section 11.4.1.3), and Endpoint Cost (Section 11.5.1.3).  For an
>    E_MISSING_FIELD error, the server may include the optional "field"
>    key in the "meta" field of the response, to indicate the missing
>    field.

   A query with correct query fields might use a wrong type for a field.
   For example, a request could use a JSONString when a JSONNumber is
   expected. The server indicates such an error using error code
   E_INVALID_FIELD_TYPE.  The server may include the optional "field"
   key in the "meta" field of the response, to indicate the field that
   contains the wrong type.

>    A query with correct query fields may specify a wrong value for a
>    field.  For example, a cost map filtering query may specify a wrong
>    value of CostMode in the "cost-type" field (Section 11.3.2.3).  The
>    server indicates such an error with error code E_INVALID_FIELD_VALUE.
>    For an E_INVALID_FIELD_VALUE error, the server may include the
>    optional "field" key in the "meta" field of the response, to indicate
>    the field that contains the wrong value.  The server may also include
>    the optional "value" key in the "meta" field of the response to
>    indicate the wrong value that triggered the error.
>
>    If multiple errors are present in a single request (e.g., a request
>    uses a JSONString when a JSONNumber is expected and a required field
>    is missing), then the ALTO Server MUST return exactly one of the
>    detected errors.  However, the reported error is implementation
>    defined, since specifying a particular order for message processing
>    encroaches needlessly on implementation techniques.

Thanks
Sebastian

From yang.r.yang@gmail.com  Wed Oct  2 14:48:47 2013
Return-Path: <yang.r.yang@gmail.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 165D521F9F0A for <alto@ietfa.amsl.com>; Wed,  2 Oct 2013 14:48:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.861
X-Spam-Level: 
X-Spam-Status: No, score=-0.861 tagged_above=-999 required=5 tests=[AWL=1.116,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XYyOIpwYQ5SV for <alto@ietfa.amsl.com>; Wed,  2 Oct 2013 14:48:40 -0700 (PDT)
Received: from mail-pb0-x22a.google.com (mail-pb0-x22a.google.com [IPv6:2607:f8b0:400e:c01::22a]) by ietfa.amsl.com (Postfix) with ESMTP id C8E8521F9F4F for <alto@ietf.org>; Wed,  2 Oct 2013 14:47:20 -0700 (PDT)
Received: by mail-pb0-f42.google.com with SMTP id un15so1496911pbc.29 for <alto@ietf.org>; Wed, 02 Oct 2013 14:47:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=GCDGBelFiQlFn0jD0LiKxjEyZN31cWxTIPrwzY1T86o=; b=AhdDRa7peEAEO4ve/nQp/b0OmbZvmJgR0mL7HCnRjbISdLnRGsPUAUhR8cshPJ5V4M FzWiV9ZTLGgvkOcEqJ/8hFdhTuftQKLChEZGSVJ0FW8yssXtkvF5pVYAWpCjerhi1QL5 UvCZzDQCh9tFqfEVa/z1DFjZ3IlocZjsYFvRJdxgHOjn9BXXPtYLJ7ExEErAY9H/Gb+e EeWGSS+PIYIcd1kVj0Na8MrUjGA5bPLFl3t1zaRAQtuXYtueY6MYZi0VSoXJ7F7c+22m NOxiZaTv1hlw4xV1jZGwBQzEaAD/QvcqqMlDmHRWs8EyVHvennIl8I2Irs5P6Nmh/+7M wuvw==
MIME-Version: 1.0
X-Received: by 10.66.141.199 with SMTP id rq7mr5551232pab.9.1380750440383; Wed, 02 Oct 2013 14:47:20 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.147.4 with HTTP; Wed, 2 Oct 2013 14:47:20 -0700 (PDT)
Received: by 10.68.147.4 with HTTP; Wed, 2 Oct 2013 14:47:20 -0700 (PDT)
In-Reply-To: <20131002205020.GA26306@gw01.ehlo.wurstkaes.de>
References: <20131001063320.GA9262@gw01.ehlo.wurstkaes.de> <CANUuoLr+xNtivMa_AbhzvQWASctEqijYSM61VMQsnHcXwhaN6Q@mail.gmail.com> <20131001204925.GB9262@gw01.ehlo.wurstkaes.de> <CANUuoLru6nCxHfnr1rHYzPVMJvGSyoC0rfLF8w6J-Ycb8NJ_WQ@mail.gmail.com> <CANUuoLrfHT6HgXZPRmCxtKH03G6qJikkt=oL8CinAwLAghS9ng@mail.gmail.com> <20131002205020.GA26306@gw01.ehlo.wurstkaes.de>
Date: Wed, 2 Oct 2013 17:47:20 -0400
X-Google-Sender-Auth: pFq8m3rUFgEQNfiTll3Dv5RtO9M
Message-ID: <CANUuoLoUk++ODTht1nCB=AHDbwA_2TCxqb9Rq2_tO4tapN5nkQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Sebastian Kiesel <ietf-alto@skiesel.de>
Content-Type: multipart/alternative; boundary=001a11330f2c85cd1c04e7c9031e
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] alto-protocol-18 vs. RFC 6708
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 02 Oct 2013 21:48:47 -0000

--001a11330f2c85cd1c04e7c9031e
Content-Type: text/plain; charset=ISO-8859-1

Hi Sebastian,

Thanks a lot. Please see below.
On Oct 2, 2013 4:50 PM, "Sebastian Kiesel" <ietf-alto@skiesel.de> wrote:
>
> Hi Richard, all,
>
> I think for consistency, it would make sense to rename E_JSON_VALUE_TYPE
> to E_INVALID_FIELD_TYPE

In a sense, if a query uses an invalid type (e.g., string but should be
number) when specifying the value of a field, it is an invalid field value
already. But this is a different error (can be caught by syntax without
using semantics). Hence it is good for me.

> Furthermore, we should make clear that the text below the table
> is a non-normative illustration how these error codes might be used,
> but not a mandatory-to-implement-like-this way of doing sanity checks.

Good approach to make clear the non-normative aspect.

> My proposal is:
>
> > 8.5.1.  Media Type
> >
> >    The media type for an ALTO Error Response is "application/
> >    alto-error+json".
> >
> > 8.5.2.  Response Format and Error Codes
> >
> >    An ALTO Error Response MUST include the "code" key in the "meta"
> >    field of the response.  The value of "code" MUST be an ALTO Error
> >    Code defined in Table 1.  Note that the ALTO Error Codes defined in
> >    Table 1 are limited to support the error conditions needed for
> >    purposes of this document.  Additional status codes may be defined in
> >    companion or extension documents.
> >
> >    +-----------------------+-------------------------------------------+
> >    | ALTO Error Code       | Description                               |
> >    +-----------------------+-------------------------------------------+
> >    | E_SYNTAX              | Parsing error in request (including       |
> >    |                       | identifiers)                              |
>      | E_MISSING_FIELD       | Required JSON field missing               |
>      | E_INVALID_FIELD_TYPE  | The type of a JSON field is invalid       |
> >    | E_INVALID_FIELD_VALUE | The value of a JSON field is invalid      |
> >    +-----------------------+-------------------------------------------+
> >
> >                     Table 1: Defined ALTO Error Codes.
>
>    After an ALTO Server receives a query message, it needs to verify the
>    syntactic and semantic validity.  The following paragraphs in this
>    section are intended to illustrate the usage of the error codes
>    defined above.  Note that the order of the checks is implementation
>    specific.
>
>    In the first step after an ALTO Server receives a query, it checks
>    the syntax of the query, i.e., whether the JSON structure can be
>    parsed, and indicates a syntax error using the error code E_SYNTAX.
>
> >    A query without syntax error may still be invalid.  An error case is
> >    that the query misses a required field.  The server indicates such an
> >    error using error code E_MISSING_FIELD.  This document defines
> >    required fields for Network Map Filtering (Section 11.3.1.3), Cost
> >    Map Filtering (Section 11.3.2.3), Endpoint Properties
> >    (Section 11.4.1.3), and Endpoint Cost (Section 11.5.1.3).  For an
> >    E_MISSING_FIELD error, the server may include the optional "field"
> >    key in the "meta" field of the response, to indicate the missing
> >    field.
>
>    A query with correct query fields might use a wrong type for a field.
>    For example, a request could use a JSONString when a JSONNumber is
>    expected. The server indicates such an error using error code
>    E_INVALID_FIELD_TYPE.  The server may include the optional "field"
>    key in the "meta" field of the response, to indicate the field that
>    contains the wrong type.
>
> >    A query with correct query fields may specify a wrong value for a
> >    field.  For example, a cost map filtering query may specify a wrong
> >    value of CostMode in the "cost-type" field (Section 11.3.2.3).  The
> >    server indicates such an error with error code E_INVALID_FIELD_VALUE.
> >    For an E_INVALID_FIELD_VALUE error, the server may include the
> >    optional "field" key in the "meta" field of the response, to indicate
> >    the field that contains the wrong value.  The server may also include
> >    the optional "value" key in the "meta" field of the response to
> >    indicate the wrong value that triggered the error.
> >
> >    If multiple errors are present in a single request (e.g., a request
> >    uses a JSONString when a JSONNumber is expected and a required field
> >    is missing), then the ALTO Server MUST return exactly one of the
> >    detected errors.  However, the reported error is implementation
> >    defined, since specifying a particular order for message processing
> >    encroaches needlessly on implementation techniques.

The new text looks great to me. We will post a new version tonight, unless
we hear objections.

Thanks again!

Richard
> Thanks
> Sebastian

--001a11330f2c85cd1c04e7c9031e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Hi Sebastian,</p>
<p dir=3D"ltr">Thanks a lot. Please see below.<br>
On Oct 2, 2013 4:50 PM, &quot;Sebastian Kiesel&quot; &lt;<a href=3D"mailto:=
ietf-alto@skiesel.de">ietf-alto@skiesel.de</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Richard, all,<br>
&gt;<br>
&gt; I think for consistency, it would make sense to rename E_JSON_VALUE_TY=
PE<br>
&gt; to E_INVALID_FIELD_TYPE<br></p>
<p dir=3D"ltr">In a sense, if a query uses an invalid type (e.g., string bu=
t should be number) when specifying the value of a field, it is an invalid =
field value already. But this is a different error (can be caught by syntax=
 without using semantics). Hence it is good for me.</p>

<p dir=3D"ltr">&gt; Furthermore, we should make clear that the text below t=
he table<br>
&gt; is a non-normative illustration how these error codes might be used,<b=
r>
&gt; but not a mandatory-to-implement-like-this way of doing sanity checks.=
<br></p>
<p dir=3D"ltr">Good approach to make clear the non-normative aspect.</p>
<p dir=3D"ltr">&gt; My proposal is:<br>
&gt;<br>
&gt; &gt; 8.5.1. =A0Media Type<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0The media type for an ALTO Error Response is &quot;applica=
tion/<br>
&gt; &gt; =A0 =A0alto-error+json&quot;.<br>
&gt; &gt;<br>
&gt; &gt; 8.5.2. =A0Response Format and Error Codes<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0An ALTO Error Response MUST include the &quot;code&quot; k=
ey in the &quot;meta&quot;<br>
&gt; &gt; =A0 =A0field of the response. =A0The value of &quot;code&quot; MU=
ST be an ALTO Error<br>
&gt; &gt; =A0 =A0Code defined in Table 1. =A0Note that the ALTO Error Codes=
 defined in<br>
&gt; &gt; =A0 =A0Table 1 are limited to support the error conditions needed=
 for<br>
&gt; &gt; =A0 =A0purposes of this document. =A0Additional status codes may =
be defined in<br>
&gt; &gt; =A0 =A0companion or extension documents.<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0+-----------------------+---------------------------------=
----------+<br>
&gt; &gt; =A0 =A0| ALTO Error Code =A0 =A0 =A0 | Description =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; &gt; =A0 =A0+-----------------------+---------------------------------=
----------+<br>
&gt; &gt; =A0 =A0| E_SYNTAX =A0 =A0 =A0 =A0 =A0 =A0 =A0| Parsing error in r=
equest (including =A0 =A0 =A0 |<br>
&gt; &gt; =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 | identifier=
s) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|<br>
&gt; =A0 =A0 =A0| E_MISSING_FIELD =A0 =A0 =A0 | Required JSON field missing=
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 |<br>
&gt; =A0 =A0 =A0| E_INVALID_FIELD_TYPE =A0| The type of a JSON field is inv=
alid =A0 =A0 =A0 |<br>
&gt; &gt; =A0 =A0| E_INVALID_FIELD_VALUE | The value of a JSON field is inv=
alid =A0 =A0 =A0|<br>
&gt; &gt; =A0 =A0+-----------------------+---------------------------------=
----------+<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Table 1: Defined ALTO Err=
or Codes.<br>
&gt;<br>
&gt; =A0 =A0After an ALTO Server receives a query message, it needs to veri=
fy the<br>
&gt; =A0 =A0syntactic and semantic validity. =A0The following paragraphs in=
 this<br>
&gt; =A0 =A0section are intended to illustrate the usage of the error codes=
<br>
&gt; =A0 =A0defined above. =A0Note that the order of the checks is implemen=
tation<br>
&gt; =A0 =A0specific.<br>
&gt;<br>
&gt; =A0 =A0In the first step after an ALTO Server receives a query, it che=
cks<br>
&gt; =A0 =A0the syntax of the query, i.e., whether the JSON structure can b=
e<br>
&gt; =A0 =A0parsed, and indicates a syntax error using the error code E_SYN=
TAX.<br>
&gt;<br>
&gt; &gt; =A0 =A0A query without syntax error may still be invalid. =A0An e=
rror case is<br>
&gt; &gt; =A0 =A0that the query misses a required field. =A0The server indi=
cates such an<br>
&gt; &gt; =A0 =A0error using error code E_MISSING_FIELD. =A0This document d=
efines<br>
&gt; &gt; =A0 =A0required fields for Network Map Filtering (Section 11.3.1.=
3), Cost<br>
&gt; &gt; =A0 =A0Map Filtering (Section 11.3.2.3), Endpoint Properties<br>
&gt; &gt; =A0 =A0(Section 11.4.1.3), and Endpoint Cost (Section 11.5.1.3). =
=A0For an<br>
&gt; &gt; =A0 =A0E_MISSING_FIELD error, the server may include the optional=
 &quot;field&quot;<br>
&gt; &gt; =A0 =A0key in the &quot;meta&quot; field of the response, to indi=
cate the missing<br>
&gt; &gt; =A0 =A0field.<br>
&gt;<br>
&gt; =A0 =A0A query with correct query fields might use a wrong type for a =
field.<br>
&gt; =A0 =A0For example, a request could use a JSONString when a JSONNumber=
 is<br>
&gt; =A0 =A0expected. The server indicates such an error using error code<b=
r>
&gt; =A0 =A0E_INVALID_FIELD_TYPE. =A0The server may include the optional &q=
uot;field&quot;<br>
&gt; =A0 =A0key in the &quot;meta&quot; field of the response, to indicate =
the field that<br>
&gt; =A0 =A0contains the wrong type.<br>
&gt;<br>
&gt; &gt; =A0 =A0A query with correct query fields may specify a wrong valu=
e for a<br>
&gt; &gt; =A0 =A0field. =A0For example, a cost map filtering query may spec=
ify a wrong<br>
&gt; &gt; =A0 =A0value of CostMode in the &quot;cost-type&quot; field (Sect=
ion 11.3.2.3). =A0The<br>
&gt; &gt; =A0 =A0server indicates such an error with error code E_INVALID_F=
IELD_VALUE.<br>
&gt; &gt; =A0 =A0For an E_INVALID_FIELD_VALUE error, the server may include=
 the<br>
&gt; &gt; =A0 =A0optional &quot;field&quot; key in the &quot;meta&quot; fie=
ld of the response, to indicate<br>
&gt; &gt; =A0 =A0the field that contains the wrong value. =A0The server may=
 also include<br>
&gt; &gt; =A0 =A0the optional &quot;value&quot; key in the &quot;meta&quot;=
 field of the response to<br>
&gt; &gt; =A0 =A0indicate the wrong value that triggered the error.<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0If multiple errors are present in a single request (e.g., =
a request<br>
&gt; &gt; =A0 =A0uses a JSONString when a JSONNumber is expected and a requ=
ired field<br>
&gt; &gt; =A0 =A0is missing), then the ALTO Server MUST return exactly one =
of the<br>
&gt; &gt; =A0 =A0detected errors. =A0However, the reported error is impleme=
ntation<br>
&gt; &gt; =A0 =A0defined, since specifying a particular order for message p=
rocessing<br>
&gt; &gt; =A0 =A0encroaches needlessly on implementation techniques.<br></p=
>
<p dir=3D"ltr">The new text looks great to me. We will post a new version t=
onight, unless we hear objections.</p>
<p dir=3D"ltr">Thanks again!</p>
<p dir=3D"ltr">Richard<br>
&gt; Thanks<br>
&gt; Sebastian<br>
</p>

--001a11330f2c85cd1c04e7c9031e--

From sebi@gw01.ehlo.wurstkaes.de  Wed Oct  2 15:05:41 2013
Return-Path: <sebi@gw01.ehlo.wurstkaes.de>
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 11CC321F8B9C for <alto@ietfa.amsl.com>; Wed,  2 Oct 2013 15:05:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.95
X-Spam-Level: 
X-Spam-Status: No, score=-1.95 tagged_above=-999 required=5 tests=[AWL=0.650,  BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZFBjcH-+vXiO for <alto@ietfa.amsl.com>; Wed,  2 Oct 2013 15:05:33 -0700 (PDT)
Received: from gw01.ehlo.wurstkaes.de (gw01.ehlo.wurstkaes.de [IPv6:2a02:a00:e000:116::41]) by ietfa.amsl.com (Postfix) with ESMTP id A242421F8546 for <alto@ietf.org>; Wed,  2 Oct 2013 15:04:49 -0700 (PDT)
Received: from sebi by gw01.ehlo.wurstkaes.de with local (Exim 4.80) (envelope-from <sebi@gw01.ehlo.wurstkaes.de>) id 1VRUXB-0007fs-3q; Thu, 03 Oct 2013 00:04:41 +0200
Date: Thu, 3 Oct 2013 00:04:41 +0200
From: Sebastian Kiesel <ietf-alto@skiesel.de>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <20131002220441.GF9262@gw01.ehlo.wurstkaes.de>
References: <20131001063320.GA9262@gw01.ehlo.wurstkaes.de> <CANUuoLr+xNtivMa_AbhzvQWASctEqijYSM61VMQsnHcXwhaN6Q@mail.gmail.com> <20131001204925.GB9262@gw01.ehlo.wurstkaes.de> <CANUuoLru6nCxHfnr1rHYzPVMJvGSyoC0rfLF8w6J-Ycb8NJ_WQ@mail.gmail.com> <CANUuoLrfHT6HgXZPRmCxtKH03G6qJikkt=oL8CinAwLAghS9ng@mail.gmail.com> <20131002205020.GA26306@gw01.ehlo.wurstkaes.de> <CANUuoLoUk++ODTht1nCB=AHDbwA_2TCxqb9Rq2_tO4tapN5nkQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANUuoLoUk++ODTht1nCB=AHDbwA_2TCxqb9Rq2_tO4tapN5nkQ@mail.gmail.com>
Accept-Languages: en, de
Organization: my personal mail account
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] alto-protocol-18 vs. RFC 6708
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 02 Oct 2013 22:05:41 -0000

Hi Richard,

On Wed, Oct 02, 2013 at 05:47:20PM -0400, Y. Richard Yang wrote:
> Hi Sebastian,
> 
> Thanks a lot. Please see below.
> On Oct 2, 2013 4:50 PM, "Sebastian Kiesel" <ietf-alto@skiesel.de> wrote:
> >
> > Hi Richard, all,
> >
> > I think for consistency, it would make sense to rename E_JSON_VALUE_TYPE
> > to E_INVALID_FIELD_TYPE
> 
> In a sense, if a query uses an invalid type (e.g., string but should be
> number) when specifying the value of a field, it is an invalid field value
> already. But this is a different error (can be caught by syntax without
> using semantics). Hence it is good for me.

I think it is important to have a way to indicate invalid (or
unsupported or unexpected) types.

What happens in the future, when we define an extension document that
specifies, say, using AS Numbers instead of IP addresses? This document
will probably contain a mechanism through which a server can indicate
that it supports ASNs. But then, what happens if the server does NOT
announce this capability but the client nonetheless sends such a query?
This query would be completely valid in the sense of the specifications,
except for the fact that the server can't handle it.  Sending "syntax
error", or "invalid value" although the AS number is perfectly valid,
does not seem appropriate to me.

Thanks
Sebastian

From internet-drafts@ietf.org  Wed Oct  2 18:25:05 2013
Return-Path: <internet-drafts@ietf.org>
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 3007221F8578; Wed,  2 Oct 2013 18:25:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.494
X-Spam-Level: 
X-Spam-Status: No, score=-102.494 tagged_above=-999 required=5 tests=[AWL=0.106, BAYES_00=-2.599, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C5Xu3b+9ZzcK; Wed,  2 Oct 2013 18:24:58 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 115C221F9F1B; Wed,  2 Oct 2013 18:24:31 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.72.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20131003012431.20697.43832.idtracker@ietfa.amsl.com>
Date: Wed, 02 Oct 2013 18:24:31 -0700
Cc: alto@ietf.org
Subject: [alto] I-D Action: draft-ietf-alto-protocol-19.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 03 Oct 2013 01:25:05 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Application-Layer Traffic Optimization Wo=
rking Group of the IETF.

	Title           : ALTO Protocol
	Author(s)       : Richard Alimi
                          Reinaldo Penno
                          Y. Richard Yang
	Filename        : draft-ietf-alto-protocol-19.txt
	Pages           : 85
	Date            : 2013-10-02

Abstract:
   Applications using the Internet already have access to some topology
   information of Internet Service Provider (ISP) networks.  For
   example, views to Internet routing tables at looking glass servers
   are available and can be practically downloaded to many network
   application clients.  What is missing is knowledge of the underlying
   network topologies from the point of view of ISPs.  In other words,
   what an ISP prefers in terms of traffic optimization -- and a way to
   distribute it.

   The Application-Layer Traffic Optimization (ALTO) Service provides
   network information (e.g., basic network location structure and
   preferences of network paths) with the goal of modifying network
   resource consumption patterns while maintaining or improving
   application performance.  The basic information of ALTO is based on
   abstract maps of a network.  These maps provide a simplified view,
   yet enough information about a network for applications to
   effectively utilize them.  Additional services are built on top of
   the maps.

   This document describes a protocol implementing the ALTO Service.
   Although the ALTO Service would primarily be provided by ISPs, other
   entities such as content service providers could also operate an ALTO
   Service.  Applications that could use this service are those that
   have a choice to which end points to connect.  Examples of such
   applications are peer-to-peer (P2P) and content delivery networks.



The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-alto-protocol

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-alto-protocol-19

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-alto-protocol-19


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From internet-drafts@ietf.org  Wed Oct  2 18:41:27 2013
Return-Path: <internet-drafts@ietf.org>
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 C7A7121F9F0A; Wed,  2 Oct 2013 18:41:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.498
X-Spam-Level: 
X-Spam-Status: No, score=-102.498 tagged_above=-999 required=5 tests=[AWL=0.102, BAYES_00=-2.599, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bHMrVRyYmJRZ; Wed,  2 Oct 2013 18:41:20 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C93B21F9F97; Wed,  2 Oct 2013 18:41:10 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.72.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20131003014110.20697.88563.idtracker@ietfa.amsl.com>
Date: Wed, 02 Oct 2013 18:41:10 -0700
Cc: alto@ietf.org
Subject: [alto] I-D Action: draft-ietf-alto-protocol-20.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 03 Oct 2013 01:41:27 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Application-Layer Traffic Optimization Wo=
rking Group of the IETF.

	Title           : ALTO Protocol
	Author(s)       : Richard Alimi
                          Reinaldo Penno
                          Y. Richard Yang
	Filename        : draft-ietf-alto-protocol-20.txt
	Pages           : 85
	Date            : 2013-10-02

Abstract:
   Applications using the Internet already have access to some topology
   information of Internet Service Provider (ISP) networks.  For
   example, views to Internet routing tables at looking glass servers
   are available and can be practically downloaded to many network
   application clients.  What is missing is knowledge of the underlying
   network topologies from the point of view of ISPs.  In other words,
   what an ISP prefers in terms of traffic optimization -- and a way to
   distribute it.

   The Application-Layer Traffic Optimization (ALTO) Service provides
   network information (e.g., basic network location structure and
   preferences of network paths) with the goal of modifying network
   resource consumption patterns while maintaining or improving
   application performance.  The basic information of ALTO is based on
   abstract maps of a network.  These maps provide a simplified view,
   yet enough information about a network for applications to
   effectively utilize them.  Additional services are built on top of
   the maps.

   This document describes a protocol implementing the ALTO Service.
   Although the ALTO Service would primarily be provided by ISPs, other
   entities such as content service providers could also operate an ALTO
   Service.  Applications that could use this service are those that
   have a choice to which end points to connect.  Examples of such
   applications are peer-to-peer (P2P) and content delivery networks.



The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-alto-protocol

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-alto-protocol-20

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-alto-protocol-20


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From yang.r.yang@gmail.com  Wed Oct  2 18:45:42 2013
Return-Path: <yang.r.yang@gmail.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 65B1F21F9BCE for <alto@ietfa.amsl.com>; Wed,  2 Oct 2013 18:45:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.14
X-Spam-Level: 
X-Spam-Status: No, score=-1.14 tagged_above=-999 required=5 tests=[AWL=0.837,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id buESsCP5rjpm for <alto@ietfa.amsl.com>; Wed,  2 Oct 2013 18:45:34 -0700 (PDT)
Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) by ietfa.amsl.com (Postfix) with ESMTP id F280421F8424 for <alto@ietf.org>; Wed,  2 Oct 2013 18:45:23 -0700 (PDT)
Received: by mail-pd0-f177.google.com with SMTP id y10so1723315pdj.22 for <alto@ietf.org>; Wed, 02 Oct 2013 18:45:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=CnZ797muskXg7pngbXyBNwIKYrFxS1/Xna9C34W1n2U=; b=GDjVUSKjlRgL4/gpq/TAwDW0NwjraVfv29R5/+uMRQdIkryzvR8PUjIBlGyT94W17A yOvofN4/6iJJG0cbV2pv+wNSlqtyUdI1h+AMRjRygMJi4Azg6LSbpLhXmGHJISJXDWBp qClNGWhYQbQG6N3wm7+SnHik4JLjcV7P9iVmFhWWFy8kToI5c31bDBklENvQINFXivc8 2oS+2BqxAK+6DKSOcU+RcA9p6q21nFU2EScYNisyPCk6YT5PRF1+jpemLbVDqTAsjyKn ejKbft9qD4xtLWqD70UbKb2qHRsXONTTYeyhSj0VqbjTu9ydy8Qwlre1jLunvu+2sD4g QCEA==
MIME-Version: 1.0
X-Received: by 10.67.23.36 with SMTP id hx4mr6467947pad.54.1380764723642; Wed, 02 Oct 2013 18:45:23 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.147.4 with HTTP; Wed, 2 Oct 2013 18:45:23 -0700 (PDT)
Date: Wed, 2 Oct 2013 21:45:23 -0400
X-Google-Sender-Auth: mI-7IQ026Ym9wiqFBQ0Ox5YuPSI
Message-ID: <CANUuoLrPmSV+2XfpGpFjz5GuFmFuYoZphOGSpZ2-GOp0t5cA4Q@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: IETF ALTO <alto@ietf.org>
Content-Type: multipart/alternative; boundary=047d7b072450df1bed04e7cc563d
Subject: Re: [alto] I-D Action: draft-ietf-alto-protocol-20.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 03 Oct 2013 01:45:42 -0000

--047d7b072450df1bed04e7cc563d
Content-Type: text/plain; charset=ISO-8859-1

Dear all,

The editors have made the changes to the error codes, suggested by the
excellent work of Sebastian (who should become a co-editor, I feel), and
feel confident on the technical content of the document. Hence, we would
like to request the working group to review the document soon so that we
can finish a short WGLC soon and start extension working items, as we
discussed at last IETF.

Thanks a lot!

Richard

On Wed, Oct 2, 2013 at 9:41 PM, <internet-drafts@ietf.org> wrote:

>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>  This draft is a work item of the Application-Layer Traffic Optimization
> Working Group of the IETF.
>
>         Title           : ALTO Protocol
>         Author(s)       : Richard Alimi
>                           Reinaldo Penno
>                           Y. Richard Yang
>         Filename        : draft-ietf-alto-protocol-20.txt
>         Pages           : 85
>         Date            : 2013-10-02
>
> Abstract:
>    Applications using the Internet already have access to some topology
>    information of Internet Service Provider (ISP) networks.  For
>    example, views to Internet routing tables at looking glass servers
>    are available and can be practically downloaded to many network
>    application clients.  What is missing is knowledge of the underlying
>    network topologies from the point of view of ISPs.  In other words,
>    what an ISP prefers in terms of traffic optimization -- and a way to
>    distribute it.
>
>    The Application-Layer Traffic Optimization (ALTO) Service provides
>    network information (e.g., basic network location structure and
>    preferences of network paths) with the goal of modifying network
>    resource consumption patterns while maintaining or improving
>    application performance.  The basic information of ALTO is based on
>    abstract maps of a network.  These maps provide a simplified view,
>    yet enough information about a network for applications to
>    effectively utilize them.  Additional services are built on top of
>    the maps.
>
>    This document describes a protocol implementing the ALTO Service.
>    Although the ALTO Service would primarily be provided by ISPs, other
>    entities such as content service providers could also operate an ALTO
>    Service.  Applications that could use this service are those that
>    have a choice to which end points to connect.  Examples of such
>    applications are peer-to-peer (P2P) and content delivery networks.
>
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-alto-protocol
>
> There's also a htmlized version available at:
> http://tools.ietf.org/html/draft-ietf-alto-protocol-20
>
> A diff from the previous version is available at:
> http://www.ietf.org/rfcdiff?url2=draft-ietf-alto-protocol-20
>
>
> Please note that it may take a couple of minutes from the time of
> submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>

--047d7b072450df1bed04e7cc563d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra">Dear all,</div><div class=
=3D"gmail_extra"><br></div><div class=3D"gmail_extra">The editors have made=
 the changes to the error codes, suggested by the excellent work of Sebasti=
an (who should become a co-editor, I feel), and feel confident on the techn=
ical content of the document. Hence, we would like to request the working g=
roup to review the document soon so that we can finish a short WGLC soon an=
d start extension working items, as we discussed at last IETF.</div>
<div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Thanks a lo=
t!</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Ric=
hard<br><br><div class=3D"gmail_quote">On Wed, Oct 2, 2013 at 9:41 PM,  <sp=
an dir=3D"ltr">&lt;<a href=3D"mailto:internet-drafts@ietf.org" target=3D"_b=
lank">internet-drafts@ietf.org</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
=A0This draft is a work item of the Application-Layer Traffic Optimization =
Working Group of the IETF.<br>
<br>
=A0 =A0 =A0 =A0 Title =A0 =A0 =A0 =A0 =A0 : ALTO Protocol<br>
=A0 =A0 =A0 =A0 Author(s) =A0 =A0 =A0 : Richard Alimi<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Reinaldo Penno<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Y. Richard Yang<br>
=A0 =A0 =A0 =A0 Filename =A0 =A0 =A0 =A0: draft-ietf-alto-protocol-20.txt<b=
r>
=A0 =A0 =A0 =A0 Pages =A0 =A0 =A0 =A0 =A0 : 85<br>
=A0 =A0 =A0 =A0 Date =A0 =A0 =A0 =A0 =A0 =A0: 2013-10-02<br>
<br>
Abstract:<br>
=A0 =A0Applications using the Internet already have access to some topology=
<br>
=A0 =A0information of Internet Service Provider (ISP) networks. =A0For<br>
=A0 =A0example, views to Internet routing tables at looking glass servers<b=
r>
=A0 =A0are available and can be practically downloaded to many network<br>
=A0 =A0application clients. =A0What is missing is knowledge of the underlyi=
ng<br>
=A0 =A0network topologies from the point of view of ISPs. =A0In other words=
,<br>
=A0 =A0what an ISP prefers in terms of traffic optimization -- and a way to=
<br>
=A0 =A0distribute it.<br>
<br>
=A0 =A0The Application-Layer Traffic Optimization (ALTO) Service provides<b=
r>
=A0 =A0network information (e.g., basic network location structure and<br>
=A0 =A0preferences of network paths) with the goal of modifying network<br>
=A0 =A0resource consumption patterns while maintaining or improving<br>
=A0 =A0application performance. =A0The basic information of ALTO is based o=
n<br>
=A0 =A0abstract maps of a network. =A0These maps provide a simplified view,=
<br>
=A0 =A0yet enough information about a network for applications to<br>
=A0 =A0effectively utilize them. =A0Additional services are built on top of=
<br>
=A0 =A0the maps.<br>
<br>
=A0 =A0This document describes a protocol implementing the ALTO Service.<br=
>
=A0 =A0Although the ALTO Service would primarily be provided by ISPs, other=
<br>
=A0 =A0entities such as content service providers could also operate an ALT=
O<br>
=A0 =A0Service. =A0Applications that could use this service are those that<=
br>
=A0 =A0have a choice to which end points to connect. =A0Examples of such<br=
>
=A0 =A0applications are peer-to-peer (P2P) and content delivery networks.<b=
r>
<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-ietf-alto-protocol" targe=
t=3D"_blank">https://datatracker.ietf.org/doc/draft-ietf-alto-protocol</a><=
br>
<br>
There&#39;s also a htmlized version available at:<br>
<a href=3D"http://tools.ietf.org/html/draft-ietf-alto-protocol-20" target=
=3D"_blank">http://tools.ietf.org/html/draft-ietf-alto-protocol-20</a><br>
<br>
A diff from the previous version is available at:<br>
<a href=3D"http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-alto-protocol-20" =
target=3D"_blank">http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-alto-protoc=
ol-20</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n<br>
until the htmlized version and diff are available at <a href=3D"http://tool=
s.ietf.org" target=3D"_blank">tools.ietf.org</a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" target=3D"_blank">ftp://ftp=
.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div><br></div></div>

--047d7b072450df1bed04e7cc563d--

From sebi@gw01.ehlo.wurstkaes.de  Thu Oct  3 01:43:36 2013
Return-Path: <sebi@gw01.ehlo.wurstkaes.de>
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 61BC021E804D for <alto@ietfa.amsl.com>; Thu,  3 Oct 2013 01:43:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.717
X-Spam-Level: 
X-Spam-Status: No, score=-0.717 tagged_above=-999 required=5 tests=[AWL=-1.017, BAYES_00=-2.599, J_CHICKENPOX_47=0.6, MANGLED_LOAN=2.3, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d1s5bELPIUO0 for <alto@ietfa.amsl.com>; Thu,  3 Oct 2013 01:43:28 -0700 (PDT)
Received: from gw01.ehlo.wurstkaes.de (gw01.ehlo.wurstkaes.de [IPv6:2a02:a00:e000:116::41]) by ietfa.amsl.com (Postfix) with ESMTP id 97B7E21F9E13 for <alto@ietf.org>; Thu,  3 Oct 2013 01:43:19 -0700 (PDT)
Received: from sebi by gw01.ehlo.wurstkaes.de with local (Exim 4.80) (envelope-from <sebi@gw01.ehlo.wurstkaes.de>) id 1VReVA-0002tf-3p for alto@ietf.org; Thu, 03 Oct 2013 10:43:16 +0200
Date: Thu, 3 Oct 2013 10:43:16 +0200
From: Sebastian Kiesel <ietf-alto@skiesel.de>
To: IETF ALTO <alto@ietf.org>
Message-ID: <20131003084316.GG9262@gw01.ehlo.wurstkaes.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Accept-Languages: en, de
Organization: my personal mail account
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: [alto] alto-protocol-20 vs. RFC 6708
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 03 Oct 2013 08:43:36 -0000

Dear all,

the changes from versions -18 to -20 of the ALTO protocol draft were
only minor, and so are the differences in the evaluation against
the ALTO requirements (RFC 6708). I'm posting this anyway, for easier
reference in the future.


Summary
-------

all requirements met.

Future work (extension documents) may be useful in the area of caching
and redistribution of information resources, see AR-25 below.

Thanks,
Sebastian

----- ----- -----

A line

Req. AR-X:   Full compliant : Y.Z

to be read as:

The requirement X from RFC 6708 is fulfilled because of the mechanisms
or rules specified in section Y.Z of draft-ietf-alto-protocol-20.txt

> 3.  ALTO Requirements
>
> 3.1.  ALTO Client Protocol
>
> 3.1.1.  General Requirements
>
>    Req. AR-1: The ALTO service is provided by one or more ALTO servers.
>    It may be queried by ALTO clients seeking guidance for selecting
>    appropriate resource providers.  ALTO clients and ALTO servers MUST
>    implement an ALTO client protocol.  An ALTO client protocol MUST be
>    able to transmit ALTO queries from an ALTO client to an ALTO server,
>    and it MUST be able to transmit the corresponding ALTO replies from
>    the ALTO server to the ALTO client.

Req. AR-1:  Full compliant: 8.3

>    The detailed specification of an ALTO client protocol is out of the
>    scope of this document.  In fact, this document does not even assume
>    that there will be only one single protocol specification.  However,
>    this document enumerates requirements for ALTO, to be considered when
>    specifying, assessing, or comparing protocols and implementations.
>
>    Req. AR-2: An ALTO client protocol MUST provide adequate mechanisms
>    for operations and management support, as outlined in RFC 5706
>    [RFC5706].

Req. AR-2:  Full compliant: 16

> 3.1.2.  Host-Group Descriptor Support
>
>    The ALTO guidance is based on the evaluation of several resource
>    providers or groups of resource providers, considering one or more
>    rating criteria.  The resource providers or groups of resource
>    providers are characterized by means of host-group descriptors.
>
>    Req. AR-3: An ALTO client protocol MUST support the usage of multiple
>    host-group descriptor types.

Req. AR-3:  Full compliant: 10.4.1

>
>    Req. AR-4: ALTO clients and ALTO servers MUST clearly identify the
>    type of each host-group descriptor sent in ALTO queries or responses.
>    An ALTO protocol specification MUST provide appropriate protocol
>    elements.

Req. AR-4:  Full compliant: 10.4.2.3.
>
>    Req. AR-5: An ALTO client protocol MUST support the host group
>    descriptor types "IPv4 address prefix" and "IPv6 address prefix".
>    They can be used to specify the IP address of one host, or an IP
>    address range (in Classless Inter-Domain Routing (CIDR) notation)
>    containing all hosts in question.

Req. AR-5:  Full compliant: 10.4.3.1, 10.4.3.2

>    Req. AR-6: An ALTO client protocol MUST be extensible to enable
>    future support of other host-group descriptor types.  An ALTO client
>    protocol specification MUST define an appropriate procedure for
>    adding new host-group descriptor types, e.g., by establishing an IANA
>    registry.

Req. AR-6:  Full compliant: 14.4

>    Req. AR-7: For host-group descriptor types other than "IPv4 address
>    prefix" and "IPv6 address prefix", the host-group descriptor type
>    identification MUST be supplemented by a reference to a facility that
>    can be used to translate host-group descriptors of this type to IPv4/
>    IPv6 address prefixes, e.g., by means of a mapping table or an
>    algorithm.

Req. AR-7:  Full compliant: 5, 11.2.1, 14.4

Comment:

    In addition to IPv4/6 addresses/prefixes, the document only
    defines one host-group descriptor type, namely PIDs. The mapping
    mechanism from IP prefixes to PIDs ("Network Map") is described
    in 5 and 11.2.1.

    The IANA registry defined in 14.4 contains a column
    "Mapping to/from IPv4/IPv6 Addresses".

>    Req. AR-8: Protocol functions for mapping other host-group descriptor
>    types to IPv4/IPv6 address prefixes SHOULD be designed and specified
>    as part of an ALTO client protocol, and the corresponding address
>    mapping information SHOULD be made available by the same entity that
>    wants to use these host-group descriptors within an ALTO client
>    protocol.  However, an ALTO server or an ALTO client MAY also send a
>    reference to an external mapping facility, e.g., a translation table
>    to be obtained via an alternative mechanism.

Req. AR-8:  Full compliant: 5, 11.2.1

Comment:

    The network map is part of the protocol.

    Due to the extensible nature of JSON/HTTP we will most likely be
    able to define many kinds of extensions that are compliant to this
    requirement.

>       Rationale for the previous two requirements: The preferred type of
>       host-group descriptors are IPv4 and IPv6 prefixes.  However, in
>       some situations, one party may prefer to use another type, e.g.,
>       AS numbers.  Usually, applications seeking ALTO guidance work with
>       IP addresses, e.g., when establishing connections.  Understanding
>       guiding information that is based on other host-group descriptor
>       types, i.e., mapping from these other types to IP prefixes and
>       back, may be a non-trivial task.  Therefore, before a party may
>       use other host-group descriptor types, they must provide a mapping
>       mechanism to IP prefixes.
>
>    Req. AR-9: An ALTO client protocol specification MUST define
>    mechanisms that can be used by the ALTO server to indicate that a
>    host-group descriptor used by the ALTO client is of an unsupported
>    type, or that the indicated mapping mechanism could not be used.

Req. AR-9:  Full compliant: 8.5.2

>    Req. AR-10: An ALTO client protocol specification MUST define
>    mechanisms that can be used by the ALTO client to indicate that a
>    host-group descriptor used by the ALTO server is of an unsupported
>    type, or that the indicated mapping mechanism could not be used.

Req. AR-10: Not applicable.

Comment:

    This requirement has been written down without any specific
    design pattern for the ALTO protocol in mind. With the HTTP+RESTful
    approach eventually taken, the server announces the available
    information resources through its IRD, and then it's up to the
    client to access those resources that it can understand and that
    it considers useful.

> 3.1.3.  Rating Criteria Support
>
>    Req. AR-11: An ALTO client protocol specification MUST define a
>    rating criterion that can be used to express and evaluate the
>    "relative operator's preference".  This is a relative measure, i.e.,
>    it is not associated with any unit of measurement.  A preferred
>    rating, according to this criterion, indicates that the application
>    should prefer the respective candidate resource provider over others
>    with less preferred ratings (unless information from non-ALTO sources
>    suggests a different choice, such as transmission attempts suggesting
>    that the path is currently congested).  The operator of the ALTO
>    server does not have to disclose how and based on which data the
>    ratings are actually computed.  Examples could be: cost for peering
>    or transit traffic, traffic engineering inside the network, and other
>    policies.

Req. AR-11: Full compliant: 6.1.1.1
>
>    Req. AR-12: An ALTO client protocol MUST be extensible to enable
>    future support of other rating criteria types.  An ALTO client
>    protocol specification MUST define an appropriate procedure for
>    adding new rating criteria types, e.g., by establishing an IANA
>    registry.

Req. AR-12:  Full compliant: 14.2

>    Req. AR-13: ALTO client protocol specifications MUST NOT define
>    rating criteria closely related to the instantaneous network
>    congestion state, i.e., rating criteria that have the primary aim to
>    serve as an alternative to established congestion control strategies,
>    such as using TCP-based transport.

Req. AR-13:  Full compliant: no such attribute is defined in the document

>    Req. AR-14: Applications using ALTO guidance MUST NOT rely solely on
>    the ALTO guidance to avoid causing network congestion.  Instead, they
>    MUST use other appropriate means, such as TCP-based transport, to
>    avoid causing excessive congestion.

Req. AR-14: Not applicable

Comment:

    This requirement is not about the ALTO Client Protocol
    (specification|implementation) itself, but about the application
    using it.

>       Rationale for the previous requirement: One design assumption for
>       ALTO is that it is acceptable for the host-characteristics
>       attributes, which are stored and processed in the ALTO servers for
>       giving guidance, to be updated rather infrequently.  Typical
>       update intervals may be several orders of magnitude longer than
>       the typical network-layer packet round-trip time (RTT).
>       Therefore, ALTO cannot be a replacement for TCP-like congestion
>       control mechanisms.
>
>    Req. AR-15: In the target-independent query mode, the ALTO query
>    message SHOULD allow the ALTO client to express which host-
>    characteristics attributes should be returned.

Req. AR-15: Full compliant: 9.2

Comment:

    The ALTO client may use the HTTP GET method with a cost map URI
    learned from the server's IRD (sec. 9.2)

>    Req. AR-16: In the target-aware query mode, the ALTO query message
>    SHOULD allow the ALTO client to express which rating criteria should
>    be considered by the server, as well as their relative relevance for
>    the specific application that will eventually make use of the
>    guidance.  The corresponding ALTO response message SHOULD allow the
>    ALTO server to express which rating criteria have been considered
>    when generating the response.

Req. AR-16: Full compliant: 11.4.1.3, 11.4.1.6, 11.5.1.3, 11.5.1.6

>    Req. AR-17: An ALTO client protocol specification MUST define
>    mechanisms that can be used by the ALTO client and the ALTO server to
>    indicate that a rating criteria used by the other party is of an
>    unsupported type.

Req. AR-17: Full compliant:  8.5.2

> 3.1.4.  Placement of Entities and Timing of Transactions
>
>    With respect to the placement of ALTO clients, several modes of
>    operation exist:
>
>    o  One mode of ALTO operation is that an ALTO client may be embedded
>       directly in the resource consumer, i.e., the application protocol
>       entity that will eventually initiate data transmission to/from the
>       selected resource provider(s) in order to access the desired
>       resource.  For example, an ALTO client could be integrated into
>       the peer of a P2P application that uses a distributed algorithm
>       such as "query flooding" for resource discovery.
>
>    o  Another mode of operation is to integrate the ALTO client into a
>       third party, such as a resource directory.  This third party may
>       issue ALTO queries to solicit preference on potential resource
>       providers, considering the respective resource consumer.  For
>       example, an ALTO client could be integrated into the tracker of a
>       tracker-based P2P application, in order to request ALTO guidance
>       on behalf of the peers contacting the tracker.
>
>    Req. AR-18: An ALTO client protocol MUST support the mode of
>    operation in which the ALTO client is directly embedded in the
>    resource consumer.

Req. AR-18: Full compliant: 12.2, 12.3

>    Req. AR-19: An ALTO client protocol MUST support the mode of
>    operation in which the ALTO client is embedded in a third party.
>    This third party performs queries on behalf of resource consumers.

Req. AR-19: Full compliant: 12.1

>    Req. AR-20: An ALTO client protocol MUST be designed in a way that
>    the ALTO service can be provided by an entity that is not the
>    operator of the underlying IP network.

Req. AR-20: Full compliant: The ALTO protocol is based on HTTP
    (Sec.  8.3).  HTTP can be used to access servers anywhere in the
    Internet, which are operated by arbitrary entities.  No additional
    single-domain or link-layer-coupled mechanisms (e.g. DHCP, IP
    multicasting/broadcasts, etc.) are mandated by this document.

>    Req. AR-21: An ALTO client protocol MUST be designed in a way that
>    different instances of the ALTO service operated by different
>    providers can coexist.

Req. AR-21: Full compliant: The ALTO protocol is based on HTTP
    (Sec. 8.3). Servers operated by different entities can coexist.

Comment:

    The ALTO server discovery mechanism, which is out of the scope of
    this document, may need additional mechanisms for selecting the
    desired ALTO server operator.

>    Req. AR-22: An ALTO client protocol specification MUST specify at
>    least one query mode, either the target-aware or the target-
>    independent query mode.

Req. AR-22: Full compliant: The target-independent query mode
    is implemented by the Network Map and the Cost Map.
    "An ALTO Server MUST provide at least one Network Map." (11.2.1)
    and "This resource [Cost Map] MUST be provided for at least the
    'routingcost' Cost Metric." (11.2.2).

>    Note that this requirements document does not assume that there will
>    be only one single protocol specification.
>
>    Req. AR-23: An ALTO client protocol specification SHOULD specify both
>    the target-aware and the target-independent query mode.  If an ALTO
>    client protocol specification specifies more than one query mode, it
>    MUST define at least one of these modes as REQUIRED to implement by
>    ALTO clients and ALTO servers.  Furthermore, it MUST specify an
>    appropriate protocol mechanism for negotiating between the ALTO
>    client and ALTO server, which query mode to use.

Req. AR-23: Full compliant: The target-independent query mode MUST
    be supported (see AR-22).

    The target-aware query mode is implemented by the Endpoint Property
    Service, which MAY be provided by an ALTO server (11.4.1) and the
    Endpoint Cost Service, which MAY be provided by an ALTO server
    (11.5.1).

    The ALTO server adds appropriate entries to its Information Resource
    Directory (9) if the Endpoint Property Service and/or the
    Endpoint Cost Service are supported.  The client may then decide
    whether to access them or the Cost Maps.

>    Req. AR-24: An ALTO client protocol SHOULD support version numbering,
>    TTL (time-to-live) attributes, and/or similar mechanisms in ALTO
>    transactions, in order to enable time validity checking for caching,
>    and to enable comparisons of multiple recommendations obtained
>    through redistribution.

Req. AR-24: Full compliant: 3.2

>    Req. AR-25: An ALTO client protocol SHOULD allow the ALTO server to
>    add information about appropriate modes of reuse to its ALTO
>    responses.  Reuse may include redistributing an ALTO response to
>    other parties, as well as using the same ALTO information in a
>    resource directory to improve the responses to different resource
>    consumers within the specified lifetime of the ALTO response.  The
>    ALTO server SHOULD be able to express that
>
>    o  no reuse should occur.
>
>    o  reuse is appropriate for a specific "target audience", i.e., a set
>       of resource consumers explicitly defined by a list of host-group
>       descriptors.  The ALTO server MAY specify a "target audience" in
>       the ALTO response that is only a subset of the known actual
>       "target audience", e.g., if required by operator policies.
>
>    o  reuse is appropriate for any resource consumer that would send (or
>       cause a third party to send on behalf of it) the same ALTO query
>       (i.e., with the same query parameters, except for the resource
>       consumer ID, if applicable) to this ALTO server.
>
>    o  reuse is appropriate for any resource consumer that would send (or
>       cause a third party to send on behalf of it) the same ALTO query
>       (i.e., with the same query parameters, except for the resource
>       consumer ID, if applicable) to any other ALTO server that was
>       discovered (using an ALTO discovery mechanism) together with this
>       ALTO server.
>
>    o  reuse is appropriate for any resource consumer that would send (or
>       cause a third party to send on behalf of it) the same ALTO query
>       (i.e., with the same query parameters, except for the resource
>       consumer ID, if applicable) to any ALTO server in the whole
>       network.

Req.  AR-25:  Compliant for the current state of the base protocol

Comment:

    Only the first and the last bullet are supported by mechanisms
    of the underlying HTTP protocol and there are no additional
    mechanisms defined within the ALTO protocol.
    So formally speaking, this requirement is only partially met.
    However, this requirement has been written down without any specific
    design pattern for the ALTO protocol in mind. With the HTTP+RESTful
    approach eventually taken, options #2, #3, and #4 are not really
    applicable. So for the time being this requirement is sufficiently
    met. However, future documents on caching and redistribution (e.g.,
    redistribution of ALTO replies within the P2P application protocol)
    should re-visit this requirement.

>    Req. AR-26: An ALTO client protocol MUST support the transport of
>    ALTO transactions, even if the ALTO client is located in the private
>    address realm behind a network address translator (NAT).  There are
>    different types of NAT, see [RFC4787] and [RFC5382].

Req. AR-26: Full compliant: The ALTO protocol is based on HTTP
    (Sec.  8.3). Allowing HTTP traffic is one of the most basic requirements
    for all types of NAT. For detection of "public" IP address see 13.3.

> 3.1.5.  Protocol Extensibility
>
>    Req. AR-27: An ALTO client protocol MUST include support for adding
>    protocol extensions in a non-disruptive, backward-compatible way.

Req. AR-27: Full compliant: 14.1

>    Req. AR-28: An ALTO client protocol MUST include protocol versioning
>    support, in order to clearly distinguish between incompatible
>    versions of the protocol.

Req. AR-28: Full compliant.  Due to the very flexible mechanisms for
    seamlessly extending the protocol (see Req. AR-27), a disruptive
    update is only needed if the structure of the IRD has to be changed.
    This can be done by defining a new media type
    (e.g., alto-directory_v2_0+json) and using the content-type header
    in the underlying HTTP protocol.

> 3.1.6.  Error Handling and Overload Protection
>
>    Req. AR-29: An ALTO client protocol MUST use congestion-aware
>    transport, e.g., by using TCP.

Req.  AR-29:  Full compliant.  Protocol is based on HTTP (8.3), which
    does not neccessarily run on top of TCP (see 1.4. of RFC 2616), but
    de-facto always does.

>    Req. AR-30: An ALTO client protocol specification MUST specify
>    mechanisms for an ALTO server to inform clients about an impending or
>    occurring overload situation, or how to leverage appropriate
>    mechanisms provided by underlying protocol layers.  The mechanisms
>    MUST provide all of the following options to the server:
>
>    o  terminate the conversation with the client,
>
>    o  redirect the client to another ALTO server, and
>
>    o  request that the client throttle its query rate.
>
>       In particular, a simple form of throttling is to let an ALTO
>       server answer a query with an error message advising the client to
>       retry the query later (e.g., using a protocol function such as
>       HTTP's Retry-After header ([RFC2616], Section 14.37)).  Another
>       simple option is to actually answer the query with the desired
>       information, but adding an indication that the ALTO client should
>       not send further queries to this ALTO server before an indicated
>       period of time has elapsed.

Req. AR-30:  Full compliant:  8.5.3.

>    Req. AR-31: An ALTO client protocol specification MUST specify
>    mechanisms for an ALTO server to inform clients about its inability
>    to answer queries due to technical problems or system maintenance, or
>    how to leverage appropriate mechanisms provided by underlying
>    protocol layers.  The mechanisms MUST provide all of the following
>    options to the server:
>
>    o  terminate the conversation with the client,
>
>    o  redirect the client to another ALTO server, and
>
>    o  request that the client retry the query later.

Req. AR-31:  Full compliant:  8.5.3.

>    Note: The existence of the above-mentioned protocol mechanisms does
>    not imply that an ALTO server must use them when facing an overload,
>    technical problem, or maintenance situation, respectively.  Some
>    servers may be unable to use them in that situation, or they may
>    prefer to simply refuse the connection or not to send any answer at
>    all.
>
> 3.2.  ALTO Server Discovery

Reqs. AR-32 to AR-39: not applicable to this document

> 3.3.  Security and Privacy
>
>    Req. AR-40: An ALTO client protocol specification MUST specify
>    mechanisms for the authentication of ALTO servers or specify how to
>    leverage appropriate mechanisms provided by underlying protocol
>    layers.

Req. AR-40: Full compliant: 8.3.5.

>    Req. AR-41: An ALTO client protocol specification MUST specify
>    mechanisms for the authentication of ALTO clients or specify how to
>    leverage appropriate mechanisms provided by underlying protocol
>    layers.

Req. AR-41: Full compliant: 8.3.5.

>    Req. AR-42: An ALTO client protocol specification MUST specify
>    mechanisms for the encryption of messages or specify how to leverage
>    appropriate mechanisms provided by underlying protocol layers.

Req. AR-42: Full compliant: 8.3.5.

>    Req. AR-43: An ALTO client is not required to implement mechanisms or
>    to comply with rules that limit its ability to redistribute
>    information retrieved from the ALTO server to third parties.

Req. AR-43: Not applicable to this document. See also 15.3.3.

>    Req. AR-44: An ALTO client protocol MUST support different levels of
>    detail in queries and responses in order to protect the privacy of
>    users, to ensure that the operators of ALTO servers and other users
>    of the same application cannot derive sensitive information.

Req.  AR-44:  Full compliant.  Host Group Descriptors are always
    encoded as TypedEndpointAddr, which allows to use IP prefixes.
    Therefore it is possible to obfuscate the identity of candidate
    resource consumers, e.g., by specifying a broader address range
    (i.e., a shorter prefix length) than a group of hosts in question
    actually uses, or by zeroing-out or randomizing the last few bits of
    IP addresses.  However, there is the potential side effect of
    yielding inaccurate results.

>    Req. AR-45: An ALTO client protocol MAY include mechanisms that can
>    be used by the ALTO client when requesting guidance to specify the
>    resource (e.g., content identifiers) it wants to access.  An ALTO
>    server MUST provide adequate guidance, even if the ALTO client
>    prefers not to specify the desired resource (e.g., keeps the data
>    field empty).  The mechanism MUST be designed in a way that the
>    operator of the ALTO server cannot easily deduce the resource
>    identifier (e.g., file name in P2P file sharing) if the ALTO client
>    prefers not to specify it.

Req.  AR-45:  Full compliant.  The optional ("MAY") feature is not
    defined and therefore, the MUST-statements do not apply.

>    Req. AR-46: An ALTO client protocol specification MUST specify
>    appropriate mechanisms for protecting the ALTO service against
>    Denial-of-Service (DoS) attacks or specify how to leverage
>    appropriate mechanisms provided by underlying protocol layers.

Req.  AR-46:  Full compliant. See 15.5. for ALTO-specific protection
    strategies. Furthermore, the protocol is based on HTTP, and
    protecting HTTP-based services against different kinds of attacks,
    including DoS attacks, is a rather well-understood issue.

-- end --

From enrico.marocco@telecomitalia.it  Thu Oct  3 09:11:21 2013
Return-Path: <enrico.marocco@telecomitalia.it>
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 837B711E80E0 for <alto@ietfa.amsl.com>; Thu,  3 Oct 2013 09:11:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.719
X-Spam-Level: 
X-Spam-Status: No, score=-101.719 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LYs7LQ7rGC+w for <alto@ietfa.amsl.com>; Thu,  3 Oct 2013 09:11:05 -0700 (PDT)
Received: from GRFEDG701RM001.telecomitalia.it (grfedg701rm001.telecomitalia.it [217.169.121.20]) by ietfa.amsl.com (Postfix) with ESMTP id BECC311E80FC for <alto@ietf.org>; Thu,  3 Oct 2013 09:00:36 -0700 (PDT)
Received: from grfhub702rm001.griffon.local (10.19.3.9) by GRFEDG701RM001.telecomitalia.it (10.173.88.20) with Microsoft SMTP Server (TLS) id 8.3.297.1; Thu, 3 Oct 2013 18:00:06 +0200
Received: from MacLab.local (163.162.173.7) by smtp.telecomitalia.it (10.19.9.235) with Microsoft SMTP Server (TLS) id 8.3.297.1; Thu, 3 Oct 2013 18:00:05 +0200
Message-ID: <524D9485.7040202@telecomitalia.it>
Date: Thu, 3 Oct 2013 18:00:05 +0200
From: Enrico Marocco <enrico.marocco@telecomitalia.it>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: "alto@ietf.org" <alto@ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms080003080200090503040703"
X-TI-Disclaimer: Disclaimer1
Subject: [alto] WGLC (second): draft-ietf-alto-protocol-20
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 03 Oct 2013 16:11:22 -0000

--------------ms080003080200090503040703
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi all,

the chairs, the authors and an extended group of contributors that have
spent a great effort on the document, believe that the text in
draft-ietf-alto-protocol-20 represents a good specification for the
Application-Layer Traffic Optimization (ALTO) Protocol, understandable
and implementable by developers that have not necessarily been involved
in the ALTO Working Group.

Therefore, the chairs would like to issue a Working Group Last Call, so
that people that have not had a chance to review and comment on the
final version yet, can do so before the documents leaves the WG and
begins the publication process.

The WGLC is effective by now, until Friday, November 1st.

Enrico


--------------ms080003080200090503040703
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMojCC
BjQwggQcoAMCAQICAR4wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDE1NVoXDTE3MTAyNDIxMDE1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcJg8zOLdgasSmkLhOr
lr6KMoOMpohBllVHrdRvEg/q6r8jR+EK75xCGhR8ToREoqe7zM9/UnC6TS2y9UKTpT1v7RSM
zR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC+y7P3/1/X7U8ocb8VpH/Clt+4iq7nirMcNh6
qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxDz2UbFqE2+6vIZoL+jb9x4Pa5gNf1TwSD
kOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr/+N2JLKutIxMYqQOJebr/f/h5t95
m4JgrM3Y/w7YX9d7YAL9jvN4SydHsU6n65cCAwEAAaOCAa0wggGpMA8GA1UdEwEB/wQFMAMB
Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRTcu2SnODaywFcfH6WNU7y1LhRgjAfBgNV
HSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRaMFgwJwYIKwYBBQUH
MAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYhaHR0cDovL3d3
dy5zdGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6Ly93d3cu
c3RhcnRzc2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20v
c2ZzY2EuY3JsMIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0
dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93
d3cuc3RhcnRzc2wuY29tL2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQEFBQADggIBAAqD
CH14qywGXLhjjF6uHLkjd02hcdh9hrw+VUsv+q1eeQWB21jWj3kJ96AUlPCoEGZ/ynJNScWy
6QMVQjbbMXltUfO4n4bGGdKo3awPWp61tjAFgraLJgDk+DsSvUD6EowjMTNx25GQgyYJ5RPI
zKKR9tQW8gGK+2+RHxkUCTbYFnL6kl8Ch507rUdPPipJ9CgJFws3kDS3gOS5WFMxcjO5DwKf
KSETEPrHh7p5shuuNktvsv6hxHTLhiMKX893gxdT3XLS9OKmCv87vkINQcNEcIIoFWbP9HOR
z9v3vQwR4e3ksLc2JZOAFK+ssS5XMEoznzpihEP0PLc4dCBYjbvSD7kxgDwZ+Aj8Q9PkbvE9
sIPP7ON0fz095HdThKjiVJe6vofq+n6b1NBc8XdrQvBmunwxD5nvtTW4vtN6VY7mUCmxsCie
uoBJ9OlqmsVWQvifIYf40dJPZkk9YgGTzWLpXDSfLSplbY2LL9C9U0ptvjcDjefLTvqSFc7t
w1sEhF0n/qpA2r0GpvkLRDmcSwVyPvmjFBGqUp/pNy8ZuPGQmHwFi2/14+xeSUDG2bwnsYJQ
G2EdJCB6luQ57GEnTA/yKZSTKI8dDQa8Sd3zfXb19mOgSF0bBdXbuKhEpuP9wirslFe6fQ1t
5j5R0xi72MZ8ikMu1RQZKCyDbMwazlHiMIIGZjCCBU6gAwIBAgIDByD0MA0GCSqGSIb3DQEB
BQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20g
Q2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwHhcNMTMwNzI0MTg1NjUz
WhcNMTQwNzI1MTExMzEwWjB1MRkwFwYDVQQNExBJcWRVZVdCRExxaEZ2N1hrMSgwJgYDVQQD
DB9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MS4wLAYJKoZIhvcNAQkBFh9lbnJp
Y28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEA078rvuWkIkHhL41Zi2MjXjy5TU71hLgnrstLepYUATbwALhWSs0Kk6l8FhKrOyCl
MPT8NMR5OPG91nEIloDY/AJL7GahjQXomtyqCPXWoRQL95sh+QhlCktlmGhVXm98YAcFWm8E
WoanJmv7UxKhJ6bdXLADn/dtxZGNiACG2U+fBaSyUT0Sa12SQ+u59yOZNWoaLRi2tos0hbZx
eKKVk7a+vxaIS5IIsvUUgJ3tGwFTsz+o3AFWLI/8U1u2LitbpKF/G91ReDA9bb10k5ay43r+
o1TigZEdHd683i7j4DIdjkY3FybFibDtzx+O054BPx5v4C4Nk8vHOHtif2czMwIDAQABo4IC
5TCCAuEwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsG
AQUFBwMEMB0GA1UdDgQWBBSjX2uvKQFc1dKQOjONZZ1hVH42cTAfBgNVHSMEGDAWgBRTcu2S
nODaywFcfH6WNU7y1LhRgjAqBgNVHREEIzAhgR9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRh
bGlhLml0MIIBTAYDVR0gBIIBQzCCAT8wggE7BgsrBgEEAYG1NwECAzCCASowLgYIKwYBBQUH
AgEWImh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwgfcGCCsGAQUFBwICMIHq
MCcWIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MAMCAQEagb5UaGlzIGNlcnRp
ZmljYXRlIHdhcyBpc3N1ZWQgYWNjb3JkaW5nIHRvIHRoZSBDbGFzcyAxIFZhbGlkYXRpb24g
cmVxdWlyZW1lbnRzIG9mIHRoZSBTdGFydENvbSBDQSBwb2xpY3ksIHJlbGlhbmNlIG9ubHkg
Zm9yIHRoZSBpbnRlbmRlZCBwdXJwb3NlIGluIGNvbXBsaWFuY2Ugb2YgdGhlIHJlbHlpbmcg
cGFydHkgb2JsaWdhdGlvbnMuMDYGA1UdHwQvMC0wK6ApoCeGJWh0dHA6Ly9jcmwuc3RhcnRz
c2wuY29tL2NydHUxLWNybC5jcmwwgY4GCCsGAQUFBwEBBIGBMH8wOQYIKwYBBQUHMAGGLWh0
dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9zdWIvY2xhc3MxL2NsaWVudC9jYTBCBggrBgEFBQcw
AoY2aHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc3ViLmNsYXNzMS5jbGllbnQuY2Eu
Y3J0MCMGA1UdEgQcMBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzANBgkqhkiG9w0BAQUF
AAOCAQEAQ9Ff1giJV3UOk090vsVroHHsBy4J4eITcDLGg+wJ+M+4kULtKS7i+kJjfd5VZb1e
ZsnezvgmhmAaJRy+xl/j7l3UKbSVXfUcnKQ1IVnPVedA+4g6L8nA2cBTGj+vFScEC03HSFqy
Q2Shh3AkCo1L6HLoohHxTvSi7+A4P4uayaHSC0OSdVOXWyDOrjnkSWKQiPX4jc0nJofA7b+H
TppvjgzM5t+c9EQ0v8ldDfP4Pl6HhJ/xwMAETn3VG3hVuT321Gx/BXCS1TDMyUnXVf5BB+S8
vGlgwoPfX2o2ti0/ZXSt/VRUOmBF5kiePNIJ7MLOa15cbxI/2bF0xXKHEjBcETGCA90wggPZ
AgEBMIGUMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UE
CxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRD
b20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAwcg9DAJBgUrDgMC
GgUAoIICHTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzEw
MDMxNjAwMDVaMCMGCSqGSIb3DQEJBDEWBBRaqLo5OzQM0kk0euNJnJAdsr3S6jBsBgkqhkiG
9w0BCQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcNAwcwDgYIKoZI
hvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGlBgkr
BgEEAYI3EAQxgZcwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQu
MSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQD
Ey9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDByD0
MIGnBgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcx
ODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50
IENBAgMHIPQwDQYJKoZIhvcNAQEBBQAEggEAL2qYZeNkM+T6+Vs2iIF9RonpWniYr1UsJMtv
Xyc29vzfbVXIY2AOALn5N1EPa31fAHd/3g4LIVThzq4zbKvb3TOjA2HJQEo9I5blXwvWhdwW
tXxCFoDAmY12AA1jpevrPUh//J/hFn8Z4GQb0EcDsYIq5ROC0aoFdsWQRF8Mdfo5hmK1tV+x
ryPcj/qV06vHTh68hGlXi/4NViutFhfKDypsY0PQrbCYgN74nKizJVskExNjnpx5MWVPN8Ke
PlDvgpsa7fM88SH111rYoXe8FqTaKZv4XNI/nx0N9FPIb2jwwo0Bd6V89ap9twZSaItueqxF
8XBrZlwDHt23zn5jNgAAAAAAAA==
--------------ms080003080200090503040703--

From enrico.marocco@telecomitalia.it  Sat Oct  5 02:13:01 2013
Return-Path: <enrico.marocco@telecomitalia.it>
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 1A2D021F9B0D for <alto@ietfa.amsl.com>; Sat,  5 Oct 2013 02:13:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.719
X-Spam-Level: 
X-Spam-Status: No, score=-101.719 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ewAdT9GB6tdJ for <alto@ietfa.amsl.com>; Sat,  5 Oct 2013 02:12:56 -0700 (PDT)
Received: from GRFEDG701RM001.telecomitalia.it (grfedg701rm001.telecomitalia.it [217.169.121.20]) by ietfa.amsl.com (Postfix) with ESMTP id 05D9C21F9B21 for <alto@ietf.org>; Sat,  5 Oct 2013 02:12:56 -0700 (PDT)
Received: from grfhub702rm001.griffon.local (10.19.3.9) by GRFEDG701RM001.telecomitalia.it (10.173.88.20) with Microsoft SMTP Server (TLS) id 8.3.297.1; Sat, 5 Oct 2013 11:12:48 +0200
Received: from MacLab.local (163.162.180.246) by smtp.telecomitalia.it (10.19.9.235) with Microsoft SMTP Server (TLS) id 8.3.297.1; Sat, 5 Oct 2013 11:12:47 +0200
Message-ID: <524FD80D.3020307@telecomitalia.it>
Date: Sat, 5 Oct 2013 11:12:45 +0200
From: Enrico Marocco <enrico.marocco@telecomitalia.it>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: "alto@ietf.org" <alto@ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms020004060502020009020506"
X-TI-Disclaimer: Disclaimer1
Subject: [alto] ALTO WG session at IETF 88
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sat, 05 Oct 2013 09:13:01 -0000

--------------ms020004060502020009020506
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi all,

the ALTO WG has been assigned a 2-hour session on the preliminary (i.e.
very likely to change) agenda for the IETF-88 meeting:
https://datatracker.ietf.org/meeting/88/agenda.html

The chairs are now accepting requests for topics that people would like
to see discussed during such session. Given the recent progress on the
core specs, proposals for ALTO protocol extensions this time _will be_
taken into consideration for inclusion in the main session.

Please send any request by Tuesday, October 22.

Enrico


--------------ms020004060502020009020506
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMojCC
BjQwggQcoAMCAQICAR4wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDE1NVoXDTE3MTAyNDIxMDE1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcJg8zOLdgasSmkLhOr
lr6KMoOMpohBllVHrdRvEg/q6r8jR+EK75xCGhR8ToREoqe7zM9/UnC6TS2y9UKTpT1v7RSM
zR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC+y7P3/1/X7U8ocb8VpH/Clt+4iq7nirMcNh6
qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxDz2UbFqE2+6vIZoL+jb9x4Pa5gNf1TwSD
kOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr/+N2JLKutIxMYqQOJebr/f/h5t95
m4JgrM3Y/w7YX9d7YAL9jvN4SydHsU6n65cCAwEAAaOCAa0wggGpMA8GA1UdEwEB/wQFMAMB
Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRTcu2SnODaywFcfH6WNU7y1LhRgjAfBgNV
HSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRaMFgwJwYIKwYBBQUH
MAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYhaHR0cDovL3d3
dy5zdGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6Ly93d3cu
c3RhcnRzc2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20v
c2ZzY2EuY3JsMIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0
dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93
d3cuc3RhcnRzc2wuY29tL2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQEFBQADggIBAAqD
CH14qywGXLhjjF6uHLkjd02hcdh9hrw+VUsv+q1eeQWB21jWj3kJ96AUlPCoEGZ/ynJNScWy
6QMVQjbbMXltUfO4n4bGGdKo3awPWp61tjAFgraLJgDk+DsSvUD6EowjMTNx25GQgyYJ5RPI
zKKR9tQW8gGK+2+RHxkUCTbYFnL6kl8Ch507rUdPPipJ9CgJFws3kDS3gOS5WFMxcjO5DwKf
KSETEPrHh7p5shuuNktvsv6hxHTLhiMKX893gxdT3XLS9OKmCv87vkINQcNEcIIoFWbP9HOR
z9v3vQwR4e3ksLc2JZOAFK+ssS5XMEoznzpihEP0PLc4dCBYjbvSD7kxgDwZ+Aj8Q9PkbvE9
sIPP7ON0fz095HdThKjiVJe6vofq+n6b1NBc8XdrQvBmunwxD5nvtTW4vtN6VY7mUCmxsCie
uoBJ9OlqmsVWQvifIYf40dJPZkk9YgGTzWLpXDSfLSplbY2LL9C9U0ptvjcDjefLTvqSFc7t
w1sEhF0n/qpA2r0GpvkLRDmcSwVyPvmjFBGqUp/pNy8ZuPGQmHwFi2/14+xeSUDG2bwnsYJQ
G2EdJCB6luQ57GEnTA/yKZSTKI8dDQa8Sd3zfXb19mOgSF0bBdXbuKhEpuP9wirslFe6fQ1t
5j5R0xi72MZ8ikMu1RQZKCyDbMwazlHiMIIGZjCCBU6gAwIBAgIDByD0MA0GCSqGSIb3DQEB
BQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20g
Q2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwHhcNMTMwNzI0MTg1NjUz
WhcNMTQwNzI1MTExMzEwWjB1MRkwFwYDVQQNExBJcWRVZVdCRExxaEZ2N1hrMSgwJgYDVQQD
DB9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MS4wLAYJKoZIhvcNAQkBFh9lbnJp
Y28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEA078rvuWkIkHhL41Zi2MjXjy5TU71hLgnrstLepYUATbwALhWSs0Kk6l8FhKrOyCl
MPT8NMR5OPG91nEIloDY/AJL7GahjQXomtyqCPXWoRQL95sh+QhlCktlmGhVXm98YAcFWm8E
WoanJmv7UxKhJ6bdXLADn/dtxZGNiACG2U+fBaSyUT0Sa12SQ+u59yOZNWoaLRi2tos0hbZx
eKKVk7a+vxaIS5IIsvUUgJ3tGwFTsz+o3AFWLI/8U1u2LitbpKF/G91ReDA9bb10k5ay43r+
o1TigZEdHd683i7j4DIdjkY3FybFibDtzx+O054BPx5v4C4Nk8vHOHtif2czMwIDAQABo4IC
5TCCAuEwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsG
AQUFBwMEMB0GA1UdDgQWBBSjX2uvKQFc1dKQOjONZZ1hVH42cTAfBgNVHSMEGDAWgBRTcu2S
nODaywFcfH6WNU7y1LhRgjAqBgNVHREEIzAhgR9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRh
bGlhLml0MIIBTAYDVR0gBIIBQzCCAT8wggE7BgsrBgEEAYG1NwECAzCCASowLgYIKwYBBQUH
AgEWImh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwgfcGCCsGAQUFBwICMIHq
MCcWIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MAMCAQEagb5UaGlzIGNlcnRp
ZmljYXRlIHdhcyBpc3N1ZWQgYWNjb3JkaW5nIHRvIHRoZSBDbGFzcyAxIFZhbGlkYXRpb24g
cmVxdWlyZW1lbnRzIG9mIHRoZSBTdGFydENvbSBDQSBwb2xpY3ksIHJlbGlhbmNlIG9ubHkg
Zm9yIHRoZSBpbnRlbmRlZCBwdXJwb3NlIGluIGNvbXBsaWFuY2Ugb2YgdGhlIHJlbHlpbmcg
cGFydHkgb2JsaWdhdGlvbnMuMDYGA1UdHwQvMC0wK6ApoCeGJWh0dHA6Ly9jcmwuc3RhcnRz
c2wuY29tL2NydHUxLWNybC5jcmwwgY4GCCsGAQUFBwEBBIGBMH8wOQYIKwYBBQUHMAGGLWh0
dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9zdWIvY2xhc3MxL2NsaWVudC9jYTBCBggrBgEFBQcw
AoY2aHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc3ViLmNsYXNzMS5jbGllbnQuY2Eu
Y3J0MCMGA1UdEgQcMBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzANBgkqhkiG9w0BAQUF
AAOCAQEAQ9Ff1giJV3UOk090vsVroHHsBy4J4eITcDLGg+wJ+M+4kULtKS7i+kJjfd5VZb1e
ZsnezvgmhmAaJRy+xl/j7l3UKbSVXfUcnKQ1IVnPVedA+4g6L8nA2cBTGj+vFScEC03HSFqy
Q2Shh3AkCo1L6HLoohHxTvSi7+A4P4uayaHSC0OSdVOXWyDOrjnkSWKQiPX4jc0nJofA7b+H
TppvjgzM5t+c9EQ0v8ldDfP4Pl6HhJ/xwMAETn3VG3hVuT321Gx/BXCS1TDMyUnXVf5BB+S8
vGlgwoPfX2o2ti0/ZXSt/VRUOmBF5kiePNIJ7MLOa15cbxI/2bF0xXKHEjBcETGCA90wggPZ
AgEBMIGUMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UE
CxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRD
b20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAwcg9DAJBgUrDgMC
GgUAoIICHTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzEw
MDUwOTEyNDVaMCMGCSqGSIb3DQEJBDEWBBTZAN0xHbbY7+cxMLQ6ILz+nCNxHDBsBgkqhkiG
9w0BCQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcNAwcwDgYIKoZI
hvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGlBgkr
BgEEAYI3EAQxgZcwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQu
MSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQD
Ey9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDByD0
MIGnBgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcx
ODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50
IENBAgMHIPQwDQYJKoZIhvcNAQEBBQAEggEAjUUCZspzoLH7elHDp9XvkUY4BQpet+cyDsaX
pb7jcjKVhz5qpNFNcIf+6EFiTpPoLCC74MlGkjN2AiapQsPlpTvUhe1WXh+qR0ikZ3y1qbdI
OSFMNy9bPDpd25gnG3k6O3NeUXKHhvhNWCLjAXvnlfU1zv8sXLmOH8cBwddJlHrhDcvNbYkW
89gXAy0dWGDy+UpEzDhXR1nVp2+VTaKs+hxN2JARlVMXz9x0fjLz8IlVHovobb+RxxKoI2Rs
pmPETNb5u4VOTHrfdhU/jhwaBClSxzgNpW2qj2takrmpeeRmhTmOGTnu5dxSbLymONDUsD5C
JqNjE0Mb4NBxIfmVxwAAAAAAAA==
--------------ms020004060502020009020506--

From w.roome@alcatel-lucent.com  Wed Oct  9 10:42:17 2013
Return-Path: <w.roome@alcatel-lucent.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 C2B1721E814A for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 10:42:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.999
X-Spam-Level: 
X-Spam-Status: No, score=-9.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_54=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1iEpga3mBWGG for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 10:42:11 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id 7B93821F8EB5 for <alto@ietf.org>; Wed,  9 Oct 2013 10:42:07 -0700 (PDT)
Received: from usnavsmail3.ndc.alcatel-lucent.com (usnavsmail3.ndc.alcatel-lucent.com [135.3.39.11]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r99Hg6SO025412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Wed, 9 Oct 2013 12:42:06 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail3.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r99Hg6DK021236 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Wed, 9 Oct 2013 12:42:06 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r99Hg4Y5013503 for <alto@ietf.org>; Wed, 9 Oct 2013 12:42:05 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.7.130812
Date: Wed, 09 Oct 2013 13:42:12 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: <alto@ietf.org>
Message-ID: <CE7B0CDB.9A8BD%w.roome@alcatel-lucent.com>
Thread-Topic: New error format in draft 20
In-Reply-To: <mailman.262.1380789816.3485.alto@ietf.org>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
Subject: Re: [alto] New error format in draft 20
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 09 Oct 2013 17:42:17 -0000

A few comments and questions on the new error reporting.

* For code = E_INVALID_FIELD_VALUE, what is the JSON type of the "value"
field"?  Seems like it should be the type of the field with the bad value.
But that means "value" has a polymorphic type. That's not impossible to
handle, but so far we're avoided that.  That also implies that if the
server returns  "value", the server MUST set "field" the name of the
offending field, so the client knows what type to expect for "value".

* What happens when a field is partially invalid? Eg, consider an endpoint
cost request with 6 src endpoints. "srcs" is a properly formed JSON array,
but one string is an invalid  address (poorly formed, bad type prefix,
whatever). What does the server return? Seems like the logical thing would
be to return field=srcs, with value set to the JSON array with all 6
sources.  But that's not very helpful.

* Similarly, for the endpoint property request, what does the server
return if the client requests an undefined property name?

* Interesting inconsistency: for a filtered network map request,
{10.3.1.6} says that the server should ignore unknown PID names.  Eg,
that's not an error. But invalid addresses or property names are errors.
As you may recall, my default design paradigm is to legislate errors out
of existence by ignoring them whenever possible.  So I'd support quietly
ignoring invalid addresses and prop names, the same way we ignore invalid
PID names.

	- Wendy Roome



From yang.r.yang@gmail.com  Wed Oct  9 11:13:53 2013
Return-Path: <yang.r.yang@gmail.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 2A40A21E8165 for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 11:13:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.007
X-Spam-Level: 
X-Spam-Status: No, score=-1.007 tagged_above=-999 required=5 tests=[AWL=0.370,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_54=0.6, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VH61GHHu+lKb for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 11:13:52 -0700 (PDT)
Received: from mail-pb0-x231.google.com (mail-pb0-x231.google.com [IPv6:2607:f8b0:400e:c01::231]) by ietfa.amsl.com (Postfix) with ESMTP id 2F2D511E80E7 for <alto@ietf.org>; Wed,  9 Oct 2013 11:13:52 -0700 (PDT)
Received: by mail-pb0-f49.google.com with SMTP id xb4so1290817pbc.22 for <alto@ietf.org>; Wed, 09 Oct 2013 11:13:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=4A3EA8ilpJq+hno8E3LSXQKNvm6RphHEqmXARCquHZI=; b=GvUJOf4TxN0IBHXe4w4SyaqbvDeHY0r5iXkNcpKzYsncIClGgoN/6zUeri/VQj1qtb C7ZmT7wTU9F59kVKft+imPaQPUqn8WeOT4oaxr9AMuwT7t9DTGA5fs0kn3AEzAKjPj0i Ko+r2QLXH3f5pLhcfdVOqFOVv+EjzbaZJOj94/cmFuP5E06HL51Ie+1G/ZxeebVZbaxN 1V8e0c7uH4hlzUgfNfVlT2yvGnU5cwy8A82xUkyu9qgo0qP8ccmLhiXLxpvMD2Garelc Z7pZg+kY2zhOIBFYLODOuqjm7xa3z9IO3IpMZR580aZl/gDCUC9Cn/Gxc2pS6XxI2LIz Z4AA==
MIME-Version: 1.0
X-Received: by 10.68.203.163 with SMTP id kr3mr9262427pbc.161.1381342431651; Wed, 09 Oct 2013 11:13:51 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.147.4 with HTTP; Wed, 9 Oct 2013 11:13:51 -0700 (PDT)
In-Reply-To: <CE7B0CDB.9A8BD%w.roome@alcatel-lucent.com>
References: <mailman.262.1380789816.3485.alto@ietf.org> <CE7B0CDB.9A8BD%w.roome@alcatel-lucent.com>
Date: Wed, 9 Oct 2013 14:13:51 -0400
X-Google-Sender-Auth: IdqQ-DM30r88SPIUpq0C-QrXp7I
Message-ID: <CANUuoLpB1JAraVkOzELkPL7S2+3ODO1V9G-JCwrfeSkmx=chVQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b15add5f3bb2204e852d805
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] New error format in draft 20
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 09 Oct 2013 18:13:53 -0000

--047d7b15add5f3bb2204e852d805
Content-Type: text/plain; charset=ISO-8859-1

Hi Wendy,

Good comment! Please see below.

On Wed, Oct 9, 2013 at 1:42 PM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:

> A few comments and questions on the new error reporting.
>
> * For code = E_INVALID_FIELD_VALUE, what is the JSON type of the "value"
> field"?  Seems like it should be the type of the field with the bad value.
> But that means "value" has a polymorphic type. That's not impossible to
> handle, but so far we're avoided that.  That also implies that if the
> server returns  "value", the server MUST set "field" the name of the
> offending field, so the client knows what type to expect for "value".
>
>
Good comment! The thought was that "value" is a JSONString of the relevant
wrong value specified in the request, as your good example below suggested.
You are definitely right that if "value" is specified, "field" should be
specified as well.


> * What happens when a field is partially invalid? Eg, consider an endpoint
> cost request with 6 src endpoints. "srcs" is a properly formed JSON array,
> but one string is an invalid  address (poorly formed, bad type prefix,
> whatever). What does the server return? Seems like the logical thing would
> be to return field=srcs, with value set to the JSON array with all 6
> sources.  But that's not very helpful.
>
>
The thinking is "field" : "srcs", and "value" :
"the_one_wrong_address_as_string"


> * Similarly, for the endpoint property request, what does the server
> return if the client requests an undefined property name?
>
>
"field": "properties" and "value" : "name_of_the_unspecified_properties"

Below is a list of all requests. We can see two types of fields: array or
non-array. If it is an array, the "value" field is a String of the one
wrong element of the array.

network map filtering:

  object {
     PIDName pids<0..*>;
     [AddressType address-types<0..*>;]
   } ReqFilteredNetworkMap;


cost map filtering:

   object {
     CostType   cost-type;
     [JSONString constraints<0..*>;]
     [PIDFilter  pids;]
   } ReqFilteredCostMap;

   object {
     PIDName srcs<0..*>;
     PIDName dsts<0..*>;
   } PIDFilter;


endpoint properties:

   object {
     EndpointPropertyType  properties<1..*>;
     TypedEndpointAddr     endpoints<1..*>;
   } ReqEndpointProp;


endpoint cost:

  object {
     CostType          cost-type;
     [JSONString       constraints<0..*>;]
     EndpointFilter    endpoints;
   } ReqEndpointCostMap;

   object {
     [TypedEndpointAddr srcs<0..*>;]
     [TypedEndpointAddr dsts<0..*>;]
   } EndpointFilter;




> * Interesting inconsistency: for a filtered network map request,
> {10.3.1.6}


Which version of 10.3.1.6? I think you mean 11.3.1.6 in the newest version:
"If the input parameters contain a PID name (yry note: as a value in the
"pids" field) that is not currently defined by the ALTO Server, the ALTO
Server MUST behave as if the PID did not appear in the input parameters."

You are right that we do have Section 8.3.8 (
http://datatracker.ietf.org/doc/draft-ietf-alto-protocol/?include_text=1)
which states generally that unknown fields should be ignored. Hence, we do
not have E_UNKNOWN_FIELD error.

My thinking is that if a field in a request is known but the value is
clearly wrong and there is no explicit specification in the document to
states that a wrong value should be ignore, the server returns
E_INVALID_FIELD_VALUE. What do you think?

Richard

says that the server should ignore unknown PID names.  Eg,
> that's not an error. But invalid addresses or property names are errors.
> As you may recall, my default design paradigm is to legislate errors out
> of existence by ignoring them whenever possible.  So I'd support quietly
> ignoring invalid addresses and prop names, the same way we ignore invalid
> PID names.
>
>         - Wendy Roome
>
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>

--047d7b15add5f3bb2204e852d805
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Wendy,<br><div class=3D"gmail_extra"><br></div><div cla=
ss=3D"gmail_extra">Good comment! Please see below.<br><br><div class=3D"gma=
il_quote">On Wed, Oct 9, 2013 at 1:42 PM, Wendy Roome <span dir=3D"ltr">&lt=
;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@al=
catel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">A few comments and questions on the new error reporting.<b=
r>

<br>
* For code =3D E_INVALID_FIELD_VALUE, what is the JSON type of the &quot;va=
lue&quot;<br>
field&quot;? =A0Seems like it should be the type of the field with the bad =
value.<br>
But that means &quot;value&quot; has a polymorphic type. That&#39;s not imp=
ossible to<br>
handle, but so far we&#39;re avoided that. =A0That also implies that if the=
<br>
server returns =A0&quot;value&quot;, the server MUST set &quot;field&quot; =
the name of the<br>
offending field, so the client knows what type to expect for &quot;value&qu=
ot;.<br>
<br></blockquote><div><br></div><div>Good comment! The thought was that &qu=
ot;value&quot; is a JSONString of the relevant wrong value specified in the=
 request, as your good example below suggested. You are definitely right th=
at if &quot;value&quot; is specified, &quot;field&quot; should be specified=
 as well.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex">
* What happens when a field is partially invalid? Eg, consider an endpoint<=
br>
cost request with 6 src endpoints. &quot;srcs&quot; is a properly formed JS=
ON array,<br>
but one string is an invalid =A0address (poorly formed, bad type prefix,<br=
>
whatever). What does the server return? Seems like the logical thing would<=
br>
be to return field=3Dsrcs, with value set to the JSON array with all 6<br>
sources. =A0But that&#39;s not very helpful.<br>
<br></blockquote><div><br></div><div>The thinking is &quot;field&quot; : &q=
uot;srcs&quot;, and &quot;value&quot; : &quot;the_one_wrong_address_as_stri=
ng&quot;</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,20=
4);border-left-style:solid;padding-left:1ex">

* Similarly, for the endpoint property request, what does the server<br>
return if the client requests an undefined property name?<br>
<br></blockquote><div><br></div><div>&quot;field&quot;: &quot;properties&qu=
ot; and &quot;value&quot; : &quot;name_of_the_unspecified_properties&quot;<=
/div><div><br></div><div>Below is a list of all requests. We can see two ty=
pes of fields: array or non-array. If it is an array, the &quot;value&quot;=
 field is a String of the one wrong element of the array.</div>
<div><br></div><div><div style=3D"font-family:arial,sans-serif;font-size:12=
.800000190734863px">network map filtering:</div><div style=3D"font-family:a=
rial,sans-serif;font-size:12.800000190734863px"><pre style=3D"white-space:p=
re-wrap;font-size:1em;margin-bottom:0px;margin-top:0px">
  object {
     PIDName pids&lt;0..*&gt;;
     [AddressType address-types&lt;0..*&gt;;]
   } ReqFilteredNetworkMap;</pre><pre style=3D"white-space:pre-wrap;font-si=
ze:1em;margin-bottom:0px;margin-top:0px"><br></pre><pre style=3D"white-spac=
e:pre-wrap;font-size:1em;margin-bottom:0px;margin-top:0px"><div style=3D"fo=
nt-family:arial;font-size:small;white-space:normal">
cost map filtering:</div><div style=3D"font-family:arial;font-size:small;wh=
ite-space:normal"><pre style=3D"white-space:pre-wrap;font-size:1em;margin-t=
op:0px;margin-bottom:0px;color:rgb(0,0,0)">   object {
     CostType   cost-type;
     [JSONString constraints&lt;0..*&gt;;]
     [PIDFilter  pids;]
   } ReqFilteredCostMap;

   object {
     PIDName srcs&lt;0..*&gt;;
     PIDName dsts&lt;0..*&gt;;
   } PIDFilter;</pre><pre style=3D"white-space:pre-wrap;font-size:1em;margi=
n-top:0px;margin-bottom:0px;color:rgb(0,0,0)"><br></pre></div><div style=3D=
"font-family:arial;font-size:small;white-space:normal"><div>endpoint proper=
ties:</div>
<div></div></div><div style=3D"font-family:arial;font-size:small;white-spac=
e:normal"></div></pre></div><div style=3D"font-family:arial,sans-serif;font=
-size:12.800000190734863px"><pre style=3D"white-space:pre-wrap;font-size:1e=
m;margin-bottom:0px;margin-top:0px">
   object {
     EndpointPropertyType  properties&lt;1..*&gt;;
     TypedEndpointAddr     endpoints&lt;1..*&gt;;
   } ReqEndpointProp;</pre></div><div style=3D"font-family:arial,sans-serif=
;font-size:12.800000190734863px"><br></div><div style=3D"font-family:arial,=
sans-serif;font-size:12.800000190734863px">endpoint cost:<br></div><div sty=
le=3D"font-family:arial,sans-serif;font-size:12.800000190734863px">
<pre style=3D"white-space:pre-wrap;font-size:1em;margin-bottom:0px;margin-t=
op:0px">  object {
     CostType          cost-type;
     [JSONString       constraints&lt;0..*&gt;;]
     EndpointFilter    endpoints;
   } ReqEndpointCostMap;

   object {
     [TypedEndpointAddr srcs&lt;0..*&gt;;]
     [TypedEndpointAddr dsts&lt;0..*&gt;;]
   } EndpointFilter;</pre></div></div><div><br></div><div>=A0</div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-wid=
th:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-l=
eft:1ex">

* Interesting inconsistency: for a filtered network map request,<br>
{10.3.1.6} </blockquote><div><br></div><div>Which version of 10.3.1.6? I th=
ink you mean 11.3.1.6 in the newest version: &quot;If the input parameters =
contain a PID name (yry note: as a value in the &quot;pids&quot; field) tha=
t is not currently defined by the ALTO Server, the ALTO Server MUST behave =
as if the PID did not appear in the input parameters.&quot;</div>
<div><br></div><div>You are right that we do have Section 8.3.8 (<a href=3D=
"http://datatracker.ietf.org/doc/draft-ietf-alto-protocol/?include_text=3D1=
">http://datatracker.ietf.org/doc/draft-ietf-alto-protocol/?include_text=3D=
1</a>) which states generally that unknown fields should be ignored. Hence,=
 we do not have E_UNKNOWN_FIELD error.=A0</div>
<div>=A0</div><div>My thinking is that if a field in a request is known but=
 the value is clearly wrong and there is no explicit specification in the d=
ocument to states that a wrong value should be ignore, the server returns E=
_INVALID_FIELD_VALUE. What do you think?</div>
<div><br></div><div>Richard</div><div><br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-=
color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">says that =
the server should ignore unknown PID names. =A0Eg,<br>

that&#39;s not an error. But invalid addresses or property names are errors=
.<br>
As you may recall, my default design paradigm is to legislate errors out<br=
>
of existence by ignoring them whenever possible. =A0So I&#39;d support quie=
tly<br>
ignoring invalid addresses and prop names, the same way we ignore invalid<b=
r>
PID names.<br>
<br>
=A0 =A0 =A0 =A0 - Wendy Roome<br>
<br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div><br></div></div>

--047d7b15add5f3bb2204e852d805--

From w.roome@alcatel-lucent.com  Wed Oct  9 11:47:55 2013
Return-Path: <w.roome@alcatel-lucent.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 3FABE21E8171 for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 11:47:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.601
X-Spam-Level: 
X-Spam-Status: No, score=-9.601 tagged_above=-999 required=5 tests=[AWL=-0.399, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jO-Pz+yEoIEo for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 11:47:48 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id 5CFE421E8092 for <alto@ietf.org>; Wed,  9 Oct 2013 11:47:48 -0700 (PDT)
Received: from usnavsmail4.ndc.alcatel-lucent.com (usnavsmail4.ndc.alcatel-lucent.com [135.3.39.12]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r99Ilfxt017221 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 9 Oct 2013 13:47:41 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail4.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r99Ile7D008115 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 9 Oct 2013 13:47:40 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r99IlcET024822; Wed, 9 Oct 2013 13:47:39 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.7.130812
Date: Wed, 09 Oct 2013 14:47:46 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <CE7B1974.9A8C8%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] New error format in draft 20
In-Reply-To: <CANUuoLpB1JAraVkOzELkPL7S2+3ODO1V9G-JCwrfeSkmx=chVQ@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3464174868_17345218"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] New error format in draft 20
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 09 Oct 2013 18:47:55 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3464174868_17345218
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit

Ah! That makes sense. I suggest adding the following to the end of that
paragraph in {8.5.2} :

"The "value" key must have a JSONString value. If the invalid value isn't a
string, the server must convert it to a string. If the server includes the
"value" key, it must also include the "field" key."

- Wendy Roome



From:  "Y. Richard Yang" <yry@cs.yale.edu>
Date:  Wed, October 9, 2013 14:13
To:  Wendy Roome <w.roome@alcatel-lucent.com>
Cc:  IETF ALTO <alto@ietf.org>
Subject:  Re: [alto] New error format in draft 20

On Wed, Oct 9, 2013 at 1:42 PM, Wendy Roome <w.roome@alcatel-lucent.com>
wrote:
> A few comments and questions on the new error reporting.
> 
> * For code = E_INVALID_FIELD_VALUE, what is the JSON type of the "value"
> field"?  Seems like it should be the type of the field with the bad value.
> But that means "value" has a polymorphic type. That's not impossible to
> handle, but so far we're avoided that.  That also implies that if the
> server returns  "value", the server MUST set "field" the name of the
> offending field, so the client knows what type to expect for "value".
> 

Good comment! The thought was that "value" is a JSONString of the relevant
wrong value specified in the request, as your good example below suggested.
You are definitely right that if "value" is specified, "field" should be
specified as well.



--B_3464174868_17345218
Content-type: text/html;
	charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>Ah! That makes sense. I sugg=
est adding the following to the end of that paragraph in {8.5.2} :</div><div=
><br></div><div>"The "value" key must have a JSONString value. If the invali=
d value isn't a string, the server must convert it to a string. If the serve=
r includes the "value" key, it must also include the "field" key."</div><div=
><br></div><div><span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span=
>- Wendy Roome</div><div><br></div><div><br></div><div><br></div><span id=3D"O=
LK_SRC_BODY_SECTION"><div style=3D"font-family:Calibri; font-size:11pt; text-a=
lign:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none=
; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b=
5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style=3D"f=
ont-weight:bold">From: </span> "Y. Richard Yang" &lt;<a href=3D"mailto:yry@cs.=
yale.edu">yry@cs.yale.edu</a>&gt;<br><span style=3D"font-weight:bold">Date: </=
span> Wed, October 9, 2013 14:13<br><span style=3D"font-weight:bold">To: </spa=
n> Wendy Roome &lt;<a href=3D"mailto:w.roome@alcatel-lucent.com">w.roome@alcat=
el-lucent.com</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> IETF ALT=
O &lt;<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&gt;<br><span style=3D"f=
ont-weight:bold">Subject: </span> Re: [alto] New error format in draft 20<br=
></div><div><br></div><span class=3D"Apple-style-span" style=3D"border-collapse:=
 separate; color: rgb(0, 0, 0); font-family: Calibri; font-style: normal; fo=
nt-variant: normal; font-weight: normal; letter-spacing: normal; line-height=
: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-trans=
form: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-borde=
r-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-tex=
t-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-=
stroke-width: 0px; font-size: medium; ">On Wed, Oct 9, 2013 at 1:42 PM, Wend=
y Roome<span class=3D"Apple-converted-space">&nbsp;</span><span dir=3D"ltr">&lt;=
<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-=
lucent.com</a>&gt;</span><span class=3D"Apple-converted-space">&nbsp;</span>wr=
ote:<br><blockquote class=3D"gmail_quote" style=3D"margin-top: 0px; margin-right=
: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; borde=
r-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1e=
x; ">A few comments and questions on the new error reporting.<br><br>* For c=
ode =3D E_INVALID_FIELD_VALUE, what is the JSON type of the "value"<br>field"?=
 &nbsp;Seems like it should be the type of the field with the bad value.<br>=
But that means "value" has a polymorphic type. That's not impossible to<br>h=
andle, but so far we're avoided that. &nbsp;That also implies that if the<br=
>server returns &nbsp;"value", the server MUST set "field" the name of the<b=
r>offending field, so the client knows what type to expect for "value".<br><=
br></blockquote><div><br></div><div>Good comment! The thought was that "valu=
e" is a JSONString of the relevant wrong value specified in the request, as =
your good example below suggested. You are definitely right that if "value" =
is specified, "field" should be specified as well.</div></span></span></body=
></html>

--B_3464174868_17345218--



From w.roome@alcatel-lucent.com  Wed Oct  9 12:13:27 2013
Return-Path: <w.roome@alcatel-lucent.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 C7DD321E81A1 for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 12:13:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.401
X-Spam-Level: 
X-Spam-Status: No, score=-9.401 tagged_above=-999 required=5 tests=[AWL=-0.199, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I5tfUeOypjr7 for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 12:13:18 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id 5A12321E8188 for <alto@ietf.org>; Wed,  9 Oct 2013 12:13:16 -0700 (PDT)
Received: from usnavsmail1.ndc.alcatel-lucent.com (usnavsmail1.ndc.alcatel-lucent.com [135.3.39.9]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r99JDDQ2008646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 9 Oct 2013 14:13:14 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail1.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r99JDDaD025398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 9 Oct 2013 14:13:13 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r99JDAKF010456; Wed, 9 Oct 2013 14:13:12 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.7.130812
Date: Wed, 09 Oct 2013 15:13:18 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <CE7B1D96.9A8E8%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] New error format in draft 20
In-Reply-To: <CANUuoLpB1JAraVkOzELkPL7S2+3ODO1V9G-JCwrfeSkmx=chVQ@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3464176401_17452539"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] New error format in draft 20
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 09 Oct 2013 19:13:27 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3464176401_17452539
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit

Actually that needs more explanation than just what I wrote before. How
about this:

If the server includes the "value" field, it must also specify "field" with
the name of the field. The "value" field is always a JSON string.

If the invalid value is a string, "value" is that string. If the invalid
value is a number, "value" must be the invalid number as a string.

If the invalid value is a subfield, the server must set "field" to the
subfield name and "value" to the invalid subfield value, converting it to a
string if needed. For example,  if the "cost-mode" subfield of the
"cost-type" field is invalid mode "foo", the server should set "value" to
"foo", and "field" to "cost-mode", not "cost-type".

If an element of a JSON array has an invalid value, the server sets "value"
to the value of the invalid element, as a string, and "field" to the name of
the array. An array element of the wrong type (e.g., a number in what is
supposed to be an array of strings) is an invalid value error, not an
invalid type error. The server sets "value" to the string version of the
incorrect element, and "field" to the name of the array.

I think that covers all bases.

- Wendy Roome

From:  "Y. Richard Yang" <yry@cs.yale.edu>
Date:  Wed, October 9, 2013 14:13
To:  Wendy Roome <w.roome@alcatel-lucent.com>
Cc:  IETF ALTO <alto@ietf.org>
Subject:  Re: [alto] New error format in draft 20

On Wed, Oct 9, 2013 at 1:42 PM, Wendy Roome <w.roome@alcatel-lucent.com>
wrote:
> A few comments and questions on the new error reporting.
> 
> * For code = E_INVALID_FIELD_VALUE, what is the JSON type of the "value"
> field"?  Seems like it should be the type of the field with the bad value.
> But that means "value" has a polymorphic type. That's not impossible to
> handle, but so far we're avoided that.  That also implies that if the
> server returns  "value", the server MUST set "field" the name of the
> offending field, so the client knows what type to expect for "value".
> 

Good comment! The thought was that "value" is a JSONString of the relevant
wrong value specified in the request, as your good example below suggested.
You are definitely right that if "value" is specified, "field" should be
specified as well.



--B_3464176401_17452539
Content-type: text/html;
	charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>Actually that needs more exp=
lanation than just what I wrote before. How about this:</div><div><br></div>=
<div>If the server includes the "value" field, it must also specify "field" =
with the name of the field. The "value" field is always a JSON string.</div>=
<div><br></div><div>If the invalid value is a string, "value" is that string=
. If the invalid value is a number, "value" must be the invalid number as a =
string.</div><div><br></div><div>If the invalid value is a subfield, the ser=
ver must set "field" to the subfield name and "value" to the invalid subfiel=
d value, converting it to a string if needed. For example,&nbsp;&nbsp;if the=
 "cost-mode" subfield of the "cost-type" field is invalid mode "foo", the se=
rver should set "value" to "foo", and "field" to "cost-mode", not "cost-type=
".</div><div><br></div><div>If an element of a JSON array has an invalid val=
ue, the server sets "value" to the value of the invalid element, as a string=
, and "field" to the name of the array. An array element of the wrong type (=
e.g., a number in what is supposed to be an array of strings) is an invalid =
value error, not an invalid type error. The server sets "value" to the strin=
g version of the incorrect element, and "field" to the name of the array.</d=
iv><div><br></div><div>I think that covers all bases.</div><div><br></div><d=
iv><span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>- Wendy Room=
e</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-famil=
y:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medi=
um none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; P=
ADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none;=
 PADDING-TOP: 3pt"><span style=3D"font-weight:bold">From: </span> "Y. Richard =
Yang" &lt;<a href=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br><span =
style=3D"font-weight:bold">Date: </span> Wed, October 9, 2013 14:13<br><span s=
tyle=3D"font-weight:bold">To: </span> Wendy Roome &lt;<a href=3D"mailto:w.roome@=
alcatel-lucent.com">w.roome@alcatel-lucent.com</a>&gt;<br><span style=3D"font-=
weight:bold">Cc: </span> IETF ALTO &lt;<a href=3D"mailto:alto@ietf.org">alto@i=
etf.org</a>&gt;<br><span style=3D"font-weight:bold">Subject: </span> Re: [alto=
] New error format in draft 20<br></div><div><br></div><span class=3D"Apple-st=
yle-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family=
: Calibri; font-style: normal; font-variant: normal; font-weight: normal; le=
tter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-a=
uto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2;=
 word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-v=
ertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text=
-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">On =
Wed, Oct 9, 2013 at 1:42 PM, Wendy Roome<span class=3D"Apple-converted-space">=
&nbsp;</span><span dir=3D"ltr">&lt;<a href=3D"mailto:w.roome@alcatel-lucent.com"=
 target=3D"_blank">w.roome@alcatel-lucent.com</a>&gt;</span><span class=3D"Apple=
-converted-space">&nbsp;</span>wrote:<br><blockquote class=3D"gmail_quote" sty=
le=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8=
ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-le=
ft-style: solid; padding-left: 1ex; ">A few comments and questions on the ne=
w error reporting.<br><br>* For code =3D E_INVALID_FIELD_VALUE, what is the JS=
ON type of the "value"<br>field"? &nbsp;Seems like it should be the type of =
the field with the bad value.<br>But that means "value" has a polymorphic ty=
pe. That's not impossible to<br>handle, but so far we're avoided that. &nbsp=
;That also implies that if the<br>server returns &nbsp;"value", the server M=
UST set "field" the name of the<br>offending field, so the client knows what=
 type to expect for "value".<br><br></blockquote><div><br></div><div>Good co=
mment! The thought was that "value" is a JSONString of the relevant wrong va=
lue specified in the request, as your good example below suggested. You are =
definitely right that if "value" is specified, "field" should be specified a=
s well.</div></span></span></body></html>

--B_3464176401_17452539--



From w.roome@alcatel-lucent.com  Wed Oct  9 12:37:43 2013
Return-Path: <w.roome@alcatel-lucent.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 C211A21E81B0 for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 12:37:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.033
X-Spam-Level: 
X-Spam-Status: No, score=-10.033 tagged_above=-999 required=5 tests=[AWL=0.566, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uHR796ePf-Pw for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 12:37:37 -0700 (PDT)
Received: from ihemail2.lucent.com (ihemail2.lucent.com [135.245.0.35]) by ietfa.amsl.com (Postfix) with ESMTP id 74E0521E8194 for <alto@ietf.org>; Wed,  9 Oct 2013 12:37:34 -0700 (PDT)
Received: from usnavsmail1.ndc.alcatel-lucent.com (usnavsmail1.ndc.alcatel-lucent.com [135.3.39.9]) by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id r99JbWsP019525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Wed, 9 Oct 2013 14:37:33 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail1.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r99JbWPc000773 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Wed, 9 Oct 2013 14:37:32 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r99JbUvm025259 for <alto@ietf.org>; Wed, 9 Oct 2013 14:37:31 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.7.130812
Date: Wed, 09 Oct 2013 15:37:38 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: IETF ALTO <alto@ietf.org>
Message-ID: <CE7B28C2.9A94F%w.roome@alcatel-lucent.com>
Thread-Topic: Is E_INVALID_FIELD_TYPE necessary?
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35
Subject: [alto] Is E_INVALID_FIELD_TYPE necessary?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 09 Oct 2013 19:37:43 -0000

Do we really need a separate E_INVALID_FIELD_TYPE error code?  Why not
just fold it into E_MISSING_FIELD, by defining that as "The field is
missing or it has the wrong type."

First reason it's unnecessary: if the protocol says the client must
provide a String field named "cost-type", and the client defines
"cost-type" as an array, well, the STRING field is missing, isn't it?

Second reason: JSON libraries rarely distinguish between "missing" and
"wrong type". Eg, getString("foo") usually returns null if "foo" doesn't
exist or if it exists but isn't a string. The server has to do additional
analysis to distinguish between the two cases.


Third reason: Does distinguishing "missing" from "wrong type" really help
the client? Fundamentally its the same error. The client programer will
check the definition of the field and will figure it out pretty quickly.

	- Wendy Roome



From yang.r.yang@gmail.com  Wed Oct  9 13:56:45 2013
Return-Path: <yang.r.yang@gmail.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 D761C21F9B8F for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 13:56:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.369
X-Spam-Level: 
X-Spam-Status: No, score=-1.369 tagged_above=-999 required=5 tests=[AWL=0.608,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0emni5GzMTir for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 13:56:44 -0700 (PDT)
Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) by ietfa.amsl.com (Postfix) with ESMTP id 0DEA521F9B86 for <alto@ietf.org>; Wed,  9 Oct 2013 13:56:32 -0700 (PDT)
Received: by mail-pa0-f54.google.com with SMTP id kx10so1661268pab.27 for <alto@ietf.org>; Wed, 09 Oct 2013 13:56:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=InpjaugIENgsDPAlQYdqNbTbCYPc4QnicyEtXkIb+gE=; b=tDUuhmPxjNpMgJ3k2GWYPHiCjKZJ3NJztjtoBDVHGKYDcRTqgGex0rqIfoZvztb+Hq ZIt1j2xa6YTgKAtDM8oE5TMlljtzAzhCuieoDG5+rWmtWkzUpEdGmYWO0bOXk5hSjYpU 7bihoYVd8JXMFfJ00VoDgM8Zr7E6ZXIzw8sUNRBiYyLecxVgXDdPEqez1eaA3nPMq+NO VyHBB6O/ogvftDf2sFN6GIppMbrLe1hu9w+FChIWbJQJI9pIiSh/f1ZvO8RasHFb0myN TDP4z8QDQ86s7LweW/Qviopew1w8fyp/dQGclSSYuZ5Wghm6jcE8YKkm5CtXHaCUTGii UC5A==
MIME-Version: 1.0
X-Received: by 10.68.20.69 with SMTP id l5mr9980906pbe.93.1381352192795; Wed, 09 Oct 2013 13:56:32 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.147.4 with HTTP; Wed, 9 Oct 2013 13:56:31 -0700 (PDT)
In-Reply-To: <CE7B1D96.9A8E8%w.roome@alcatel-lucent.com>
References: <CANUuoLpB1JAraVkOzELkPL7S2+3ODO1V9G-JCwrfeSkmx=chVQ@mail.gmail.com> <CE7B1D96.9A8E8%w.roome@alcatel-lucent.com>
Date: Wed, 9 Oct 2013 16:56:31 -0400
X-Google-Sender-Auth: -mcc-lFd7N783CIH7uDssBA6amY
Message-ID: <CANUuoLpnBHbq432r+ZEZQ5d7PwiE_fs78HNWw=+U_i+BwQ5PJQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=bcaec520e879c2ecf804e8551ed7
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] New error format in draft 20
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 09 Oct 2013 20:56:46 -0000

--bcaec520e879c2ecf804e8551ed7
Content-Type: text/plain; charset=ISO-8859-1

Hi Wendy,

On Wed, Oct 9, 2013 at 3:13 PM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:

> Actually that needs more explanation than just what I wrote before. How
> about this:
>
> If the server includes the "value" field, it must also specify "field"
> with the name of the field. The "value" field is always a JSON string.
>
>
Yes.


> If the invalid value is a string, "value" is that string. If the invalid
> value is a number, "value" must be the invalid number as a string.
>
>

> If the invalid value is a subfield, the server must set "field" to the
> subfield name and "value" to the invalid subfield value, converting it to a
> string if needed. For example,  if the "cost-mode" subfield of the
> "cost-type" field is invalid mode "foo", the server should set "value" to
> "foo", and "field" to "cost-mode", not "cost-type".
>
>
An example used in the discussions will say:

"field" : "cost-type.cost-mode"
"value" : "foo"

The reason for the "." subfield structure is to avoid future cases of
ambiguous subfield name, for example, two fields with different names, but
both have a subfield with the same name. We do not have any two subfields
with the same name in the current design, but future extensions might and
hence cause problem for the general structure. For the "." notation to be
valid, we need to avoid "." in field names. What do you think?


> If an element of a JSON array has an invalid value, the server sets
> "value" to the value of the invalid element, as a string, and "field" to
> the name of the array.
>

Yes.


> An array element of the wrong type (e.g., a number in what is supposed to
> be an array of strings) is an invalid value error, not an invalid type
> error. The server sets "value" to the string version of the incorrect
> element, and "field" to the name of the array.
>
>
This will lead to your next email: invalid value or invalid type. I will
reply in the next email.


> I think that covers all bases.
>
>
Indeed.

Richard


> - Wendy Roome
>
> From: "Y. Richard Yang" <yry@cs.yale.edu>
> Date: Wed, October 9, 2013 14:13
> To: Wendy Roome <w.roome@alcatel-lucent.com>
> Cc: IETF ALTO <alto@ietf.org>
> Subject: Re: [alto] New error format in draft 20
>
> On Wed, Oct 9, 2013 at 1:42 PM, Wendy Roome <w.roome@alcatel-lucent.com>
> wrote:
>
>> A few comments and questions on the new error reporting.
>>
>> * For code = E_INVALID_FIELD_VALUE, what is the JSON type of the "value"
>> field"?  Seems like it should be the type of the field with the bad value.
>> But that means "value" has a polymorphic type. That's not impossible to
>> handle, but so far we're avoided that.  That also implies that if the
>> server returns  "value", the server MUST set "field" the name of the
>> offending field, so the client knows what type to expect for "value".
>>
>>
> Good comment! The thought was that "value" is a JSONString of the relevant
> wrong value specified in the request, as your good example below suggested.
> You are definitely right that if "value" is specified, "field" should be
> specified as well.
>

--bcaec520e879c2ecf804e8551ed7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Wendy,<br><div class=3D"gmail_extra"><br><div class=3D"=
gmail_quote">On Wed, Oct 9, 2013 at 3:13 PM, Wendy Roome <span dir=3D"ltr">=
&lt;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome=
@alcatel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;font-family:Cal=
ibri,sans-serif;word-wrap:break-word"><div>Actually that needs more explana=
tion than just what I wrote before. How about this:</div>
<div><br></div><div>If the server includes the &quot;value&quot; field, it =
must also specify &quot;field&quot; with the name of the field. The &quot;v=
alue&quot; field is always a JSON string.</div><div><br></div></div></block=
quote>
<div><br></div><div>Yes.</div><div>=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">=
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div><div>If the invalid value is a string, &quot;value&quot; is that=
 string. If the invalid value is a number, &quot;value&quot; must be the in=
valid number as a string.</div><div><br></div></div></blockquote><div>=A0</=
div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;font-family:Cal=
ibri,sans-serif;word-wrap:break-word"><div></div><div>If the invalid value =
is a subfield, the server must set &quot;field&quot; to the subfield name a=
nd &quot;value&quot; to the invalid subfield value, converting it to a stri=
ng if needed. For example,=A0=A0if the &quot;cost-mode&quot; subfield of th=
e &quot;cost-type&quot; field is invalid mode &quot;foo&quot;, the server s=
hould set &quot;value&quot; to &quot;foo&quot;, and &quot;field&quot; to &q=
uot;cost-mode&quot;, not &quot;cost-type&quot;.</div>
<div><br></div></div></blockquote><div><br></div><div>An example used in th=
e discussions will say:</div><div><br></div><div>&quot;field&quot; : &quot;=
cost-type.cost-mode&quot;</div><div>&quot;value&quot; : &quot;foo&quot;</di=
v>
<div><br></div><div>The reason for the &quot;.&quot; subfield structure is =
to avoid future cases of ambiguous subfield name, for example, two fields w=
ith different names, but both have a subfield with the same name. We do not=
 have any two subfields with the same name in the current design, but futur=
e extensions might and hence cause problem for the general structure. For t=
he &quot;.&quot; notation to be valid, we need to avoid &quot;.&quot; in fi=
eld names. What do you think?</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;f=
ont-family:Calibri,sans-serif;word-wrap:break-word"><div></div><div>If an e=
lement of a JSON array has an invalid value, the server sets &quot;value&qu=
ot; to the value of the invalid element, as a string, and &quot;field&quot;=
 to the name of the array. </div>
</div></blockquote><div><br></div><div>Yes.</div><div>=A0</div><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex"><div style=3D"font-size:14px;font-family:Calibri,sans-se=
rif;word-wrap:break-word">
<div>An array element of the wrong type (e.g., a number in what is supposed=
 to be an array of strings) is an invalid value error, not an invalid type =
error. The server sets &quot;value&quot; to the string version of the incor=
rect element, and &quot;field&quot; to the name of the array.</div>
<div><br></div></div></blockquote><div><br></div><div>This will lead to you=
r next email: invalid value or invalid type. I will reply in the next email=
.</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div></div><div>I think that covers all bases.</div><span class=3D"H=
OEnZb"><font color=3D"#888888"><div><br></div></font></span></div></blockqu=
ote>
<div><br></div><div>Indeed.</div><div><br></div><div>Richard</div><div>=A0<=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;font-famil=
y:Calibri,sans-serif;word-wrap:break-word">
<span class=3D"HOEnZb"><font color=3D"#888888"><div></div><div><span style=
=3D"white-space:pre-wrap">	</span>- Wendy Roome</div><div><br></div></font>=
</span><span><div class=3D"im"><div style=3D"border-right:medium none;paddi=
ng-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11p=
t;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt soli=
d;padding-bottom:0in;border-left:medium none">
<span style=3D"font-weight:bold">From: </span> &quot;Y. Richard Yang&quot; =
&lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a=
>&gt;<br><span style=3D"font-weight:bold">Date: </span> Wed, October 9, 201=
3 14:13<br>
<span style=3D"font-weight:bold">To: </span> Wendy Roome &lt;<a href=3D"mai=
lto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.co=
m</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> IETF ALTO &lt;<a =
href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span> Re: [alto] New error form=
at in draft 20<br></div><div><br></div></div><div class=3D"im"><span style=
=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-w=
ebkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-c=
ollapse:separate;text-transform:none;font-size:medium;white-space:normal;fo=
nt-family:Calibri;word-spacing:0px">On Wed, Oct 9, 2013 at 1:42 PM, Wendy R=
oome<span>=A0</span><span dir=3D"ltr">&lt;<a href=3D"mailto:w.roome@alcatel=
-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.com</a>&gt;</span><sp=
an>=A0</span>wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin-top:0px;margin-right:0px;=
margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color=
:rgb(204,204,204);border-left-style:solid;padding-left:1ex">A few comments =
and questions on the new error reporting.<br>
<br>* For code =3D E_INVALID_FIELD_VALUE, what is the JSON type of the &quo=
t;value&quot;<br>field&quot;? =A0Seems like it should be the type of the fi=
eld with the bad value.<br>But that means &quot;value&quot; has a polymorph=
ic type. That&#39;s not impossible to<br>
handle, but so far we&#39;re avoided that. =A0That also implies that if the=
<br>server returns =A0&quot;value&quot;, the server MUST set &quot;field&qu=
ot; the name of the<br>offending field, so the client knows what type to ex=
pect for &quot;value&quot;.<br>
<br></blockquote><div><br></div><div>Good comment! The thought was that &qu=
ot;value&quot; is a JSONString of the relevant wrong value specified in the=
 request, as your good example below suggested. You are definitely right th=
at if &quot;value&quot; is specified, &quot;field&quot; should be specified=
 as well.</div>
</span></div></span></div>
</blockquote></div><br></div></div>

--bcaec520e879c2ecf804e8551ed7--

From yang.r.yang@gmail.com  Wed Oct  9 14:31:18 2013
Return-Path: <yang.r.yang@gmail.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 C5B0E21F9ACA for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 14:31:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.456
X-Spam-Level: 
X-Spam-Status: No, score=-1.456 tagged_above=-999 required=5 tests=[AWL=0.521,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FG6uP5aGySeh for <alto@ietfa.amsl.com>; Wed,  9 Oct 2013 14:31:18 -0700 (PDT)
Received: from mail-pb0-x22a.google.com (mail-pb0-x22a.google.com [IPv6:2607:f8b0:400e:c01::22a]) by ietfa.amsl.com (Postfix) with ESMTP id B4DF621F9C06 for <alto@ietf.org>; Wed,  9 Oct 2013 14:31:10 -0700 (PDT)
Received: by mail-pb0-f42.google.com with SMTP id un15so1526805pbc.15 for <alto@ietf.org>; Wed, 09 Oct 2013 14:31:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=x+YGWDsqqVA3ddBcFe6VDIojxkM67hVs+9hRHeHGnF8=; b=bMuuMKFYhBRDUJBnNd0/4B/A60zspNv5ZOrW/xQasCOLQ7hTPe7ykJr6A/DFJXcKeG 5H5c6zG73YKv0+CQo6zi88ezGA9ZrqYm2JZvMdcyjywTunn9pmMyHGsN8VnlZpHLu3sv YK25UbmneyYqXEoQEvzpCqjBzkDYQYGsmNPbUT26y26AWD0JOfcNbIL0HOlWo75l8q08 QrQE1Iwk0xtHJ6624z6PyhDSflY67dQ5p6SEF4LwbfH7PpNDkGuDqID7DYBmgcuvmoHr qmKXB8byM09sWGaq3P+YpK7jCLrVOPDVd0zzFVsxrT/eU7e3o/Dc3/WPKbOhvCY+Nynr 8dpA==
MIME-Version: 1.0
X-Received: by 10.66.226.46 with SMTP id rp14mr11816334pac.133.1381354270468;  Wed, 09 Oct 2013 14:31:10 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.147.4 with HTTP; Wed, 9 Oct 2013 14:31:10 -0700 (PDT)
In-Reply-To: <CE7B28C2.9A94F%w.roome@alcatel-lucent.com>
References: <CE7B28C2.9A94F%w.roome@alcatel-lucent.com>
Date: Wed, 9 Oct 2013 17:31:10 -0400
X-Google-Sender-Auth: fFSFAcCcuTz6gO-iyk9o6jrn8v8
Message-ID: <CANUuoLoMCgNJRCJeD7X=jgB32Cn2PkCJr6fuUT2f3WxGFTEfmA@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b15a72b99af3b04e8559a9a
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Is E_INVALID_FIELD_TYPE necessary?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 09 Oct 2013 21:31:18 -0000

--047d7b15a72b99af3b04e8559a9a
Content-Type: text/plain; charset=ISO-8859-1

Hi Wendy,

Good comment!

On Wed, Oct 9, 2013 at 3:37 PM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:

> Do we really need a separate E_INVALID_FIELD_TYPE error code?  Why not
> just fold it into E_MISSING_FIELD, by defining that as "The field is
> missing or it has the wrong type."
>
> First reason it's unnecessary: if the protocol says the client must
> provide a String field named "cost-type", and the client defines
> "cost-type" as an array, well, the STRING field is missing, isn't it?
>
> Second reason: JSON libraries rarely distinguish between "missing" and
> "wrong type". Eg, getString("foo") usually returns null if "foo" doesn't
> exist or if it exists but isn't a string. The server has to do additional
> analysis to distinguish between the two cases.
>
>
Suppose one uses Data Binding (e.g.,
http://wiki.fasterxml.com/JacksonInFiveMinutes) for deserialization. A
wrong type, in a strong typed language, will cause the deserialization to
fail, depending on specified features (
https://github.com/FasterXML/jackson-databind/wiki/Deserialization-Features).
Hence, if one uses a strict parser, a wrong type (e.g., a number but should
be a string) will cause the parser to fail, and the server may only know
that it is a syntax error E_SYNTAX. I agree that a missing field will cause
the same. In this sense, they are all syntax errors in a PL sense. Hence, a
more appropriate coarse error is E_SYNTAX. In this sense, E_SYNTAX is a
base class of two specific sub types (missing or wrong type). What do you
think?


> Third reason: Does distinguishing "missing" from "wrong type" really help
> the client? Fundamentally its the same error. The client programer will
> check the definition of the field and will figure it out pretty quickly.
>
>
If a server can distinguish between these two: it can be helpful to a
client. For example, a programmer might specified a number for a string,
and can be wondering why the server says that the field is missing when
there is the field there. Saying that it is a wrong type can be helpful, if
the server can.

Thanks a lot for the always great catch!

Richard



>         - Wendy Roome
>
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>

--047d7b15a72b99af3b04e8559a9a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Wendy,<div class=3D"gmail_extra"><br>Good comment!</div=
><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Oct 9, 2=
013 at 3:37 PM, Wendy Roome <span dir=3D"ltr">&lt;<a href=3D"mailto:w.roome=
@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.com</a>&gt;</=
span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">Do we really need a separate E_INVALID_FIELD_TYPE error co=
de? =A0Why not<br>

just fold it into E_MISSING_FIELD, by defining that as &quot;The field is<b=
r>
missing or it has the wrong type.&quot;<br>
<br>
First reason it&#39;s unnecessary: if the protocol says the client must<br>
provide a String field named &quot;cost-type&quot;, and the client defines<=
br>
&quot;cost-type&quot; as an array, well, the STRING field is missing, isn&#=
39;t it?<br>
<br>
Second reason: JSON libraries rarely distinguish between &quot;missing&quot=
; and<br>
&quot;wrong type&quot;. Eg, getString(&quot;foo&quot;) usually returns null=
 if &quot;foo&quot; doesn&#39;t<br>
exist or if it exists but isn&#39;t a string. The server has to do addition=
al<br>
analysis to distinguish between the two cases.<br>
<br></blockquote><div><br></div><div>Suppose one uses Data Binding (e.g., <=
a href=3D"http://wiki.fasterxml.com/JacksonInFiveMinutes">http://wiki.faste=
rxml.com/JacksonInFiveMinutes</a>) for deserialization. A wrong type, in a =
strong typed language, will cause the deserialization to fail, depending on=
 specified features (<a href=3D"https://github.com/FasterXML/jackson-databi=
nd/wiki/Deserialization-Features">https://github.com/FasterXML/jackson-data=
bind/wiki/Deserialization-Features</a>). Hence, if one uses a strict parser=
, a wrong type (e.g., a number but should be a string) will cause the parse=
r to fail, and the server may only know that it is a syntax error E_SYNTAX.=
 I agree that a missing field will cause the same. In this sense, they are =
all syntax errors in a PL sense. Hence, a more appropriate coarse error is =
E_SYNTAX. In this sense, E_SYNTAX is a base class of two specific sub types=
 (missing or wrong type). What do you think?</div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0p=
x 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-lef=
t-style:solid;padding-left:1ex">
<br>
Third reason: Does distinguishing &quot;missing&quot; from &quot;wrong type=
&quot; really help<br>
the client? Fundamentally its the same error. The client programer will<br>
check the definition of the field and will figure it out pretty quickly.<br=
>
<br></blockquote><div><br></div><div>If a server can distinguish between th=
ese two: it can be helpful to a client. For example, a programmer might spe=
cified a number for a string, and can be wondering why the server says that=
 the field is missing when there is the field there. Saying that it is a wr=
ong type can be helpful, if the server can.=A0</div>
<div><br></div><div>Thanks a lot for the always great catch!</div><div><br>=
</div><div>Richard</div><div><br></div><div>=A0</div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-=
left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

=A0 =A0 =A0 =A0 - Wendy Roome<br>
<br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div><br></div></div>

--047d7b15a72b99af3b04e8559a9a--

From w.roome@alcatel-lucent.com  Thu Oct 10 07:35:45 2013
Return-Path: <w.roome@alcatel-lucent.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 6A2B011E8178 for <alto@ietfa.amsl.com>; Thu, 10 Oct 2013 07:35:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.476
X-Spam-Level: 
X-Spam-Status: No, score=-9.476 tagged_above=-999 required=5 tests=[AWL=-0.274, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u6b3utSBTy3h for <alto@ietfa.amsl.com>; Thu, 10 Oct 2013 07:35:36 -0700 (PDT)
Received: from ihemail1.lucent.com (ihemail1.lucent.com [135.245.0.33]) by ietfa.amsl.com (Postfix) with ESMTP id CCA5111E817C for <alto@ietf.org>; Thu, 10 Oct 2013 07:35:35 -0700 (PDT)
Received: from usnavsmail1.ndc.alcatel-lucent.com (usnavsmail1.ndc.alcatel-lucent.com [135.3.39.9]) by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id r9AEZTBQ019744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 10 Oct 2013 09:35:29 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail1.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9AEZSil032207 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 10 Oct 2013 09:35:28 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9AEZQYo009222; Thu, 10 Oct 2013 09:35:27 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.7.130812
Date: Thu, 10 Oct 2013 10:35:37 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <CE7C31D3.9A9FB%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] New error format in draft 20
In-Reply-To: <CANUuoLpnBHbq432r+ZEZQ5d7PwiE_fs78HNWw=+U_i+BwQ5PJQ@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3464246140_17898823"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] New error format in draft 20
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 10 Oct 2013 14:35:45 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3464246140_17898823
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit

Good point! I was relying on the fact that our field names are unique for
now, but there's no guarantee it will stay that way. So yes, set "field" to
the full path, and ban "." from field names.

 But the path should go all the way to the root dictionary.  Eg, for a bad
mode,

   "field": "meta.cost-type.cost-mode"
   "value": "foo"

or for a bad IP address in an endpoint cost request,

   "field": "endpoints.srcs"
   "value": "ipv4:a.b.c"

- Wendy


From:  "Y. Richard Yang" <yry@cs.yale.edu>
Date:  Wed, October 9, 2013 16:56
To:  Wendy Roome <w.roome@alcatel-lucent.com>
Cc:  IETF ALTO <alto@ietf.org>
Subject:  Re: [alto] New error format in draft 20

> If the invalid value is a subfield, the server must set "field" to the
> subfield name and "value" to the invalid subfield value, converting it to a
> string if needed. For example,  if the "cost-mode" subfield of the "cost-type"
> field is invalid mode "foo", the server should set "value" to "foo", and
> "field" to "cost-mode", not "cost-type".
> 

An example used in the discussions will say:

"field" : "cost-type.cost-mode"
"value" : "foo"

The reason for the "." subfield structure is to avoid future cases of
ambiguous subfield name, for example, two fields with different names, but
both have a subfield with the same name. We do not have any two subfields
with the same name in the current design, but future extensions might and
hence cause problem for the general structure. For the "." notation to be
valid, we need to avoid "." in field names. What do you think?



--B_3464246140_17898823
Content-type: text/html;
	charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>Good point! I was relying on=
 the fact that our field names are unique for now, but there's no guarantee =
it will stay that way. So yes, set "field" to the full path, and ban "." fro=
m field names.</div><div><br></div><div>&nbsp;But the path should go all the=
 way to the root dictionary. &nbsp;Eg, for a bad mode,</div><div><br></div><=
div>&nbsp; &nbsp;"field": "meta.cost-type.cost-mode"</div><div>&nbsp; &nbsp;=
"value": "foo"</div><div><br></div><div>or for a bad IP address in an endpoi=
nt cost request,</div><div><br></div><div>&nbsp; &nbsp;"field": "endpoints.s=
rcs"</div><div>&nbsp; &nbsp;"value": "ipv4:a.b.c"</div><div><br></div><div><=
span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>- Wendy</div><di=
v><br></div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-=
family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM:=
 medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0=
in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium =
none; PADDING-TOP: 3pt"><span style=3D"font-weight:bold">From: </span> "Y. Ric=
hard Yang" &lt;<a href=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br><=
span style=3D"font-weight:bold">Date: </span> Wed, October 9, 2013 16:56<br><s=
pan style=3D"font-weight:bold">To: </span> Wendy Roome &lt;<a href=3D"mailto:w.r=
oome@alcatel-lucent.com">w.roome@alcatel-lucent.com</a>&gt;<br><span style=3D"=
font-weight:bold">Cc: </span> IETF ALTO &lt;<a href=3D"mailto:alto@ietf.org">a=
lto@ietf.org</a>&gt;<br><span style=3D"font-weight:bold">Subject: </span> Re: =
[alto] New error format in draft 20<br></div><div><br></div><span class=3D"App=
le-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-f=
amily: Calibri; font-style: normal; font-variant: normal; font-weight: norma=
l; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -web=
kit-auto; text-indent: 0px; text-transform: none; white-space: normal; widow=
s: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-bor=
der-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit=
-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; =
"><blockquote class=3D"gmail_quote" style=3D"margin-top: 0px; margin-right: 0px;=
 margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left=
-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; "><=
div style=3D"font-size: 14px; font-family: Calibri, sans-serif; word-wrap: bre=
ak-word; "><div>If the invalid value is a subfield, the server must set "fie=
ld" to the subfield name and "value" to the invalid subfield value, converti=
ng it to a string if needed. For example,&nbsp;&nbsp;if the "cost-mode" subf=
ield of the "cost-type" field is invalid mode "foo", the server should set "=
value" to "foo", and "field" to "cost-mode", not "cost-type".</div><div><br>=
</div></div></blockquote><div><br></div><div>An example used in the discussi=
ons will say:</div><div><br></div><div>"field" : "cost-type.cost-mode"</div>=
<div>"value" : "foo"</div><div><br></div><div>The reason for the "." subfiel=
d structure is to avoid future cases of ambiguous subfield name, for example=
, two fields with different names, but both have a subfield with the same na=
me. We do not have any two subfields with the same name in the current desig=
n, but future extensions might and hence cause problem for the general struc=
ture. For the "." notation to be valid, we need to avoid "." in field names.=
 What do you think?</div></span></span></body></html>

--B_3464246140_17898823--



From vkg@bell-labs.com  Thu Oct 10 09:00:57 2013
Return-Path: <vkg@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 D591B21E8154 for <alto@ietfa.amsl.com>; Thu, 10 Oct 2013 09:00:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level: 
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lb994q8Lnyp4 for <alto@ietfa.amsl.com>; Thu, 10 Oct 2013 09:00:52 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id D00DE21E8140 for <alto@ietf.org>; Thu, 10 Oct 2013 09:00:46 -0700 (PDT)
Received: from usnavsmail2.ndc.alcatel-lucent.com (usnavsmail2.ndc.alcatel-lucent.com [135.3.39.10]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r9AG0fq3013754 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Thu, 10 Oct 2013 11:00:42 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail2.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9AG0fiV012197 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Thu, 10 Oct 2013 11:00:41 -0500
Received: from shoonya.ih.lucent.com (shoonya.ih.lucent.com [135.185.237.229]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9AG0fMr011675 for <alto@ietf.org>; Thu, 10 Oct 2013 11:00:41 -0500 (CDT)
Message-ID: <5256D062.8020005@bell-labs.com>
Date: Thu, 10 Oct 2013 11:05:54 -0500
From: "Vijay K. Gurbani" <vkg@bell-labs.com>
Organization: Bell Laboratories, Alcatel-Lucent
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130805 Thunderbird/17.0.8
MIME-Version: 1.0
To: alto <alto@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
Subject: [alto] Reminder: ALTO WG meeting and submitting drafts
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 10 Oct 2013 16:00:58 -0000

Folks: This is a reminder that we are scheduled to meet on Monday Nov
4, 2013 @ 1740 - 1940 local time.  This date is subject to change until
the final agenda is released tomorrow, but I suspect that the meeting
time will the same in the final agenda.

As announced earlier [1], among requests for WG-chartered items, Enrico
and I are also soliciting proposals for ALTO extensions.

The draft cutoff date is 2013-10-21 (Monday), UTC 24:00, which is a
little more than a week from today.

Please ensure that all drafts are submitted by the above deadline so the
WG can discuss them before the meeting.

Thanks,

[1] http://www.ietf.org/mail-archive/web/alto/current/msg02156.html

- vijay
-- 
Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)
Email: vkg@{bell-labs.com,acm.org} / vijay.gurbani@alcatel-lucent.com
Web: http://ect.bell-labs.com/who/vkg/  | Calendar: http://goo.gl/x3Ogq

From vkg@bell-labs.com  Thu Oct 10 09:16:26 2013
Return-Path: <vkg@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 695EA11E81A1 for <alto@ietfa.amsl.com>; Thu, 10 Oct 2013 09:16:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level: 
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eZlYHOF9rr-p for <alto@ietfa.amsl.com>; Thu, 10 Oct 2013 09:16:22 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id EA8D811E8186 for <alto@ietf.org>; Thu, 10 Oct 2013 09:16:21 -0700 (PDT)
Received: from usnavsmail2.ndc.alcatel-lucent.com (usnavsmail2.ndc.alcatel-lucent.com [135.3.39.10]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r9AGGIZQ029745 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Thu, 10 Oct 2013 11:16:18 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail2.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9AGGHkJ018664 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Thu, 10 Oct 2013 11:16:18 -0500
Received: from shoonya.ih.lucent.com (shoonya.ih.lucent.com [135.185.237.229]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9AGGHWh022179 for <alto@ietf.org>; Thu, 10 Oct 2013 11:16:17 -0500 (CDT)
Message-ID: <5256D40A.2060602@bell-labs.com>
Date: Thu, 10 Oct 2013 11:21:30 -0500
From: "Vijay K. Gurbani" <vkg@bell-labs.com>
Organization: Bell Laboratories, Alcatel-Lucent
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130805 Thunderbird/17.0.8
MIME-Version: 1.0
To: alto <alto@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
Subject: [alto] Nomcom 2013 call for nominations
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 10 Oct 2013 16:16:26 -0000

Folks: It's the Nomcom season again.  Please read the email below and
if you have a nominee in mind for the open positions listed below,
please feel free to nominate!

-------- Original Message --------
Subject: 	NOMCOM 2013 - Second Call for Nominations - two weeks left
Date: 	Fri, 4 Oct 2013 10:31:49 -0700
From: 	NomCom Chair 2013 <nomcom-chair-2013 at ietf.org>
Reply-To: 	<ietf at ietf.org>, <Nomcom at ietfa.amsl.com>, <Chair at 
ietfa.amsl.com>, <"2013 <nomcom-chair-2013"@ietf.org>
To: 	IETF Announcement List <ietf-announce at ietf.org>
CC: 	IETF Discuss List <ietf at ietf.org>


Nominations for the IESG, IAB, and IAOC are due to the Nomcom by Friday, 
18 October, 2013.

Is there someone you work with at IETF who has leadership potential and 
a growing track record? Please read the Nomcom call for nominations and 
consider nominating her or him. Or several folks! Deadline for 
nominations is October 18.  Nominate soon to give your nominee(s) plenty 
time to fill in the questionnaire. Information about the desired 
expertise for positions is here:
            https://datatracker.ietf.org/nomcom/2013/expertise

Lots more, including which positions are open, how to make a nomination, 
and how to
send us your feedback on the desired expertise, follows.

IETFers, let's hear from you!  Make nominations, accept nominations!

If you have any questions about the process, feel free to get in touch 
with me.

Best regards,

Allison for the Nomcom

Allison Mankin
Nomcom Chair 2013-14

----- The Info You Need for Nominating -----

The 2013-14 Nominating Committee (Nomcom) is seeking nominations
from now until October 18, 2013. The open positions being considered
by this year's Nomcom can be found later in this section, and also on
this year's Nomcom website:

https://datatracker.ietf.org/nomcom/2013/

Nominations may be made by selecting the Nominate link at the top of
the Nomcom 2013 home page, or by visiting the following URL:

https://datatracker.ietf.org/nomcom/2013/nominate/

Note that nominations made using the web tool require an ietf.org
datatracker account. You can create a datatracker ietf.org account
if you don't have one already by visiting the following URL:

https://datatracker.ietf.org/accounts/create/

Nominations may also be made by email to nomcom13 at ietf.org.
If you nominate by email, please include the word "Nominate" in the Subject
and indicate in the email who is being nominated, their email address (to
confirm acceptance of the nomination), and the position for which you
are making the nomination. If you use email, please use a separate email for
each person you nominate, and for each position (if you are nominating one
person for multiple positions).

Self-nomination is welcome!  No need to be shy.

Nomcom 2013-14 will follow the policy for "Open Disclosure of Willing
Nominees" described in RFC 5680.  As stated in RFC 5680: "The list of
nominees willing to be considered for positions under review in the
current Nomcom cycle is not confidential". Willing nominees for each
position will be listed in a publicly accessible way - anyone with a
datatracker account may access the lists.  In all other ways, the
confidentiality requirements of RFC 3777/BCP10 remain in effect.  All
feedback and all Nomcom deliberations will remain confidential and will
not be disclosed.

In order to ensure time to collect sufficient community feedback about
each of the willing nominees, nominations must be received by the
Nomcom on or before October 18, 2013.  Please submit your nominations
as early as possible for the sake of your nominees, as we've set the
questionnaire submission deadline for October 25, 2013.

The list of people and posts whose terms end with the March 2014 IETF 
meeting,
and thus the positions for which we are accepting nominations:

IAOC
Chris Griffiths

IAB
Bernard Aboba
Marc Blanchet
Ross Callon
Eliot Lear
Hannes Tschofenig

IESG
Barry Leiba (Applications)
Brian Haberman (Internet)
Benoit Claise (Operations and Management)
Gonzalo Camarillo (RAI)
Stewart Bryant (Routing)
Sean Turner (Security)
Martin Stiemerling (Transport)

Please be resourceful in identifying possible candidates for these
positions, as developing our talent is a very crucial requirement for
the IETF.  Also, please give serious consideration to accepting nominations
you receive.

The summaries of the desired expertise for the positions, developed by the
respective bodies, are found at:

https://datatracker.ietf.org/nomcom/2013/expertise/

In addition to nominations, the Nomcom seeks community input on
the positions themselves.  We need and welcome the community's
views and input on the jobs within each organization. If you
have ideas on the positions' responsibilities (more, less,
different), please let us know.  You can send us email about this to
nomcom13 at ietf.org, and we will use this feedback actively.

Thank you for your help in nominating a great pool of strong and interesting
nominees!

-------- End Original Message --------

Cheers,

- vijay
-- 
Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)
Email: vkg@{bell-labs.com,acm.org} / vijay.gurbani@alcatel-lucent.com
Web: http://ect.bell-labs.com/who/vkg/  | Calendar: http://goo.gl/x3Ogq

From w.roome@alcatel-lucent.com  Thu Oct 10 09:25:47 2013
Return-Path: <w.roome@alcatel-lucent.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 912E821E8136 for <alto@ietfa.amsl.com>; Thu, 10 Oct 2013 09:25:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.421
X-Spam-Level: 
X-Spam-Status: No, score=-9.421 tagged_above=-999 required=5 tests=[AWL=-0.219, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7iaWlYQHYASn for <alto@ietfa.amsl.com>; Thu, 10 Oct 2013 09:25:42 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id E604521E8139 for <alto@ietf.org>; Thu, 10 Oct 2013 09:25:34 -0700 (PDT)
Received: from usnavsmail2.ndc.alcatel-lucent.com (usnavsmail2.ndc.alcatel-lucent.com [135.3.39.10]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r9AGPXME026099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 10 Oct 2013 11:25:33 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail2.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9AGPXe5022304 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 10 Oct 2013 11:25:33 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9AGPUZW027208; Thu, 10 Oct 2013 11:25:31 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.7.130812
Date: Thu, 10 Oct 2013 12:25:41 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <CE7C45C6.9AA9C%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Is E_INVALID_FIELD_TYPE necessary?
In-Reply-To: <CANUuoLoMCgNJRCJeD7X=jgB32Cn2PkCJr6fuUT2f3WxGFTEfmA@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3464252744_18308534"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Is E_INVALID_FIELD_TYPE necessary?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 10 Oct 2013 16:25:47 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3464252744_18308534
Content-type: text/plain;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

I hadn't realized JSON parsers have gotten that sophisticated -- I've just
used the standard DOM and SAX parsers.

That said, I don't like the idea of returning E_SYNTAX when a field has the
wrong type (or is missing). That strikes me as very confusing to a client
programmer. As currently defined, E_SYNTAX doesn't say where the error
occurred. Odds are that the client programmer will use a generic JSON parse=
r
to verify the JSON she sent, and that parser will say the JSON is perfectly
valid. And then programmer will go, "What the =8A.?"

So I'd reserve E_SYNTAX for pure JSON syntax errors.  Use E_MISSING_FIELD o=
r
E_INVALID_FIELD_TYPE for schema violations.

I didn't go into the details of the JSON parsers you cited, but wouldn't th=
e
parser distinguish  between "JSON syntax error" and "doesn't follow schema"=
?
I believe XML parsers make that distinction when validating against a DTD.

Also, having written a few compilers early in my career, I learned the hard
way that it was better to extend the YACC grammar to accept some common
errors, and detect them in action routines and give the user a detailed
explanation of the error. When I let YACC give a generic "syntax error",
users would bang on my door telling me the compiler was broken.

- Wendy

From:  "Y. Richard Yang" <yry@cs.yale.edu>
Date:  Wed, October 9, 2013 17:31
To:  Wendy Roome <w.roome@alcatel-lucent.com>
Cc:  IETF ALTO <alto@ietf.org>
Subject:  Re: [alto] Is E_INVALID_FIELD_TYPE necessary?

On Wed, Oct 9, 2013 at 3:37 PM, Wendy Roome <w.roome@alcatel-lucent.com>
wrote:
> Do we really need a separate E_INVALID_FIELD_TYPE error code?  Why not
> just fold it into E_MISSING_FIELD, by defining that as "The field is
> missing or it has the wrong type."
>=20
> First reason it's unnecessary: if the protocol says the client must
> provide a String field named "cost-type", and the client defines
> "cost-type" as an array, well, the STRING field is missing, isn't it?
>=20
> Second reason: JSON libraries rarely distinguish between "missing" and
> "wrong type". Eg, getString("foo") usually returns null if "foo" doesn't
> exist or if it exists but isn't a string. The server has to do additional
> analysis to distinguish between the two cases.
>=20

Suppose one uses Data Binding (e.g.,
http://wiki.fasterxml.com/JacksonInFiveMinutes) for deserialization. A wron=
g
type, in a strong typed language, will cause the deserialization to fail,
depending on specified features
(https://github.com/FasterXML/jackson-databind/wiki/Deserialization-Feature=
s
). Hence, if one uses a strict parser, a wrong type (e.g., a number but
should be a string) will cause the parser to fail, and the server may only
know that it is a syntax error E_SYNTAX. I agree that a missing field will
cause the same. In this sense, they are all syntax errors in a PL sense.
Hence, a more appropriate coarse error is E_SYNTAX. In this sense, E_SYNTAX
is a base class of two specific sub types (missing or wrong type). What do
you think?




--B_3464252744_18308534
Content-type: text/html;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"color: rgb(0, 0, 0); font-size: 14px; font-=
family: Calibri, sans-serif; word-wrap: break-word; -webkit-nbsp-mode: space=
; -webkit-line-break: after-white-space; "><div>I hadn't realized JSON parse=
rs have gotten that sophisticated -- I've just used the standard DOM and SAX=
 parsers.</div><div><br></div><div>That said, I don't like the idea of retur=
ning E_SYNTAX when a field has the wrong type (or is missing). That strikes =
me as very confusing to a client programmer. As currently defined, E_SYNTAX =
doesn't say where the error occurred. Odds are that the client programmer wi=
ll use a generic JSON parser to verify the JSON she sent, and that parser wi=
ll say the JSON is perfectly valid. And then programmer will go, "What the &=
#8230;.?"</div><div><br></div><div>So I'd reserve E_SYNTAX for pure JSON syn=
tax errors. &nbsp;Use E_MISSING_FIELD or E_INVALID_FIELD_TYPE for schema vio=
lations.</div><div><br></div><div>I didn't go into the details of the JSON p=
arsers you cited, but wouldn't the parser distinguish &nbsp;between "JSON sy=
ntax error" and "doesn't follow schema"? I believe XML parsers make that dis=
tinction when validating against a DTD.</div><div><br></div><div>Also, havin=
g written a few compilers early in my career, I learned the hard way that it=
 was better to extend the YACC grammar to accept some common errors, and det=
ect them in action routines and give the user a detailed explanation of the =
error. When I let YACC give a generic "syntax error", users would bang on my=
 door telling me the compiler was broken.</div><div><br></div><div><span cla=
ss=3D"Apple-tab-span" style=3D"white-space:pre">	</span>- Wendy</div><div><br></=
div><span id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-family:Calibri; font-si=
ze:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LE=
FT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in;=
 BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"=
><span style=3D"font-weight:bold">From: </span> "Y. Richard Yang" &lt;<a href=3D=
"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br><span style=3D"font-weight=
:bold">Date: </span> Wed, October 9, 2013 17:31<br><span style=3D"font-weight:=
bold">To: </span> Wendy Roome &lt;<a href=3D"mailto:w.roome@alcatel-lucent.com=
">w.roome@alcatel-lucent.com</a>&gt;<br><span style=3D"font-weight:bold">Cc: <=
/span> IETF ALTO &lt;<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&gt;<br=
><span style=3D"font-weight:bold">Subject: </span> Re: [alto] Is E_INVALID_FIE=
LD_TYPE necessary?<br></div><div><br></div><span class=3D"Apple-style-span" st=
yle=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Calibri; f=
ont-style: normal; font-variant: normal; font-weight: normal; letter-spacing=
: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-in=
dent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacin=
g: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spac=
ing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust=
: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">On Wed, Oct 9, =
2013 at 3:37 PM, Wendy Roome<span class=3D"Apple-converted-space">&nbsp;</span=
><span dir=3D"ltr">&lt;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_bl=
ank">w.roome@alcatel-lucent.com</a>&gt;</span><span class=3D"Apple-converted-s=
pace">&nbsp;</span>wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin-t=
op: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-l=
eft-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: so=
lid; padding-left: 1ex; ">Do we really need a separate E_INVALID_FIELD_TYPE =
error code? &nbsp;Why not<br>just fold it into E_MISSING_FIELD, by defining =
that as "The field is<br>missing or it has the wrong type."<br><br>First rea=
son it's unnecessary: if the protocol says the client must<br>provide a Stri=
ng field named "cost-type", and the client defines<br>"cost-type" as an arra=
y, well, the STRING field is missing, isn't it?<br><br>Second reason: JSON l=
ibraries rarely distinguish between "missing" and<br>"wrong type". Eg, getSt=
ring("foo") usually returns null if "foo" doesn't<br>exist or if it exists b=
ut isn't a string. The server has to do additional<br>analysis to distinguis=
h between the two cases.<br><br></blockquote><div><br></div><div>Suppose one=
 uses Data Binding (e.g.,<span class=3D"Apple-converted-space">&nbsp;</span><a=
 href=3D"http://wiki.fasterxml.com/JacksonInFiveMinutes">http://wiki.fasterxml=
.com/JacksonInFiveMinutes</a>) for deserialization. A wrong type, in a stron=
g typed language, will cause the deserialization to fail, depending on speci=
fied features (<a href=3D"https://github.com/FasterXML/jackson-databind/wiki/D=
eserialization-Features">https://github.com/FasterXML/jackson-databind/wiki/=
Deserialization-Features</a>). Hence, if one uses a strict parser, a wrong t=
ype (e.g., a number but should be a string) will cause the parser to fail, a=
nd the server may only know that it is a syntax error E_SYNTAX. I agree that=
 a missing field will cause the same. In this sense, they are all syntax err=
ors in a PL sense. Hence, a more appropriate coarse error is E_SYNTAX. In th=
is sense, E_SYNTAX is a base class of two specific sub types (missing or wro=
ng type). What do you think?</div></span><br class=3D"Apple-interchange-newlin=
e"></span></body></html>

--B_3464252744_18308534--



From w.roome@alcatel-lucent.com  Thu Oct 10 09:50:54 2013
Return-Path: <w.roome@alcatel-lucent.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 09F2D11E818C for <alto@ietfa.amsl.com>; Thu, 10 Oct 2013 09:50:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.783
X-Spam-Level: 
X-Spam-Status: No, score=-9.783 tagged_above=-999 required=5 tests=[AWL=0.216,  BAYES_00=-2.599, J_CHICKENPOX_71=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SVxtV+Rd7sUK for <alto@ietfa.amsl.com>; Thu, 10 Oct 2013 09:50:47 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id 138E311E817E for <alto@ietf.org>; Thu, 10 Oct 2013 09:50:34 -0700 (PDT)
Received: from usnavsmail3.ndc.alcatel-lucent.com (usnavsmail3.ndc.alcatel-lucent.com [135.3.39.11]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r9AGoYpX020702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Thu, 10 Oct 2013 11:50:34 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail3.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9AGoXjY010060 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Thu, 10 Oct 2013 11:50:33 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9AGoUAR012678 for <alto@ietf.org>; Thu, 10 Oct 2013 11:50:32 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.7.130812
Date: Thu, 10 Oct 2013 12:50:41 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: IETF ALTO <alto@ietf.org>
Message-ID: <CE7C5321.9B763%w.roome@alcatel-lucent.com>
Thread-Topic: Adding explanation for E_SYNTAX error
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
Subject: [alto] Adding explanation for E_SYNTAX error
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 10 Oct 2013 16:50:54 -0000

As current;y defined, E_SYNTAX gives no indication as to where the error
is or what was wrong. So how about adding the following additional fields
for E_SYNTAX:

"line"  Optional line number (first line is 1)
"character"  Optional character in line (first character is 1)
"reason"  Optional error message, which may or may not include line and
character.

This raises the question of what language to use for "reason". At the risk
of coming across as an English chauvinist, I suggest that it be in
English. After all, the RFC is in English, and the field names are
English. So it's pretty unlikely that server and client programmers won't
understand enough English to deal with a simple error message. And I don't
see a client library displaying that message to the end user; instead the
lib would log it for analysis by the developers.

And if a server isn't able to give an English error message, use "line"
and "character".

	- Wendy Roome



From vkg@bell-labs.com  Fri Oct 11 14:33:01 2013
Return-Path: <vkg@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 81B6021F9CA0 for <alto@ietfa.amsl.com>; Fri, 11 Oct 2013 14:33:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level: 
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eHpSgjdpC0nZ for <alto@ietfa.amsl.com>; Fri, 11 Oct 2013 14:32:56 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id D1AF521F935A for <alto@ietf.org>; Fri, 11 Oct 2013 14:32:55 -0700 (PDT)
Received: from usnavsmail1.ndc.alcatel-lucent.com (usnavsmail1.ndc.alcatel-lucent.com [135.3.39.9]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r9BLWsEp023030 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Fri, 11 Oct 2013 16:32:54 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail1.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9BLWsHB021792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Fri, 11 Oct 2013 16:32:54 -0500
Received: from shoonya.ih.lucent.com (shoonya.ih.lucent.com [135.185.237.229]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9BLWrL1005281 for <alto@ietf.org>; Fri, 11 Oct 2013 16:32:53 -0500 (CDT)
Message-ID: <52586FBF.9040201@bell-labs.com>
Date: Fri, 11 Oct 2013 16:38:07 -0500
From: "Vijay K. Gurbani" <vkg@bell-labs.com>
Organization: Bell Laboratories, Alcatel-Lucent
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130805 Thunderbird/17.0.8
MIME-Version: 1.0
To: alto <alto@ietf.org>
References: <5257A241.7060607@ericsson.com>
In-Reply-To: <5257A241.7060607@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
Subject: [alto] Fwd: Fwd: [RAI] Fwd: NOMCOM 2013 - UPDATED 2nd Call for Nominations - APP, OAM, RAI, TSV
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 11 Oct 2013 21:33:01 -0000

All: If you have secretly harbored a desire to become a TSV AD, fear
no more ... this is your chance!  See below.  We need nominees for TSV.

-------- Original Message --------
Subject: Fwd: [RAI] Fwd: NOMCOM 2013 - UPDATED 2nd Call for Nominations 
- APP, OAM, RAI, TSV
Resent-Date: Fri, 11 Oct 2013 02:02:03 -0500 (CDT)
Resent-From: wg-alias-bounces@tools.ietf.org
Date: Fri, 11 Oct 2013 10:01:21 +0300
From: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
To: <rai-chairs@ietf.org>

Chairs,

please, distribute this message to your respective WGs.

Thanks,

Gonzalo

-------- Original Message --------
Subject: [RAI] Fwd: NOMCOM 2013 - UPDATED 2nd Call for Nominations -
APP, OAM, RAI, TSV
Date: Fri, 11 Oct 2013 09:44:23 +0300
From: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
To: <rai@ietf.org>

Folks,

we need more volunteers (see email below). If you are thinking of
running but still have some doubts about it, feel free to talk with me
(or with any of the former RAI ADs) and we will be happy to clarify
everything for you.

Cheers,

Gonzalo


-------- Original Message --------
Subject: NOMCOM 2013 - UPDATED 2nd Call for Nominations - APP, OAM, RAI, TSV
Date: Tue, 8 Oct 2013 11:45:14 -0700
From: NomCom Chair <nomcom-chair@ietf.org>
Reply-To: <nomcom-chair-2013@ietf.org>
To: IETF Announcement List <ietf-announce@ietf.org>
CC: <ietf@ietf.org>

UPDATE: nominations are too sparse in several of the IESG areas:  APP, OAM,
RAI, and TSV.  If you know one or more of those areas, exercise your social
network and submit nominations.  We'll be very grateful!

Is there someone you work with at IETF who has leadership potential and a
growing track record? Please read this Nomcom call for nominations and
consider
nominating her or him. Or several folks! Deadline for nominations is
October 18.
Nominate soon to give your nominee(s) plenty time to fill in the
questionnaire.

If you're nominated, even if you support the present incumbent, being
reviewed
by Nomcom is great IETF experience.  The questionnaire offers a chance to
think about IETF and about your area.  Whether or not your candidacy
progresses
this time, you'll have gained some valuable insights, and you'll have
contributed
greatly. This process only works because many IETFers take part; please
join in.

Lots more, including which positions are open, how to make a nomination
(including nomination of yourself), and how to send us your feedback on
the desired expertise, follows.

IETFers, let's hear from you!  Make nominations, accept nominations!

If you have any questions about the process, feel free to get in touch
with me.

Best regards,

Allison for the Nomcom

Allison Mankin
Nomcom Chair 2013-14

----- The Info You Need for Nominating -----

The 2013-14 Nominating Committee (Nomcom) is seeking nominations
from now until October 18, 2013. The open positions being considered
by this year's Nomcom can be found later in this section, and also on
this year's Nomcom website:

https://datatracker.ietf.org/nomcom/2013/

Information about the desired expertise for positions is here:
           https://datatracker.ietf.org/nomcom/2013/expertise

Nominations may be made by selecting the Nominate link at the top of
the Nomcom 2013 home page, or by visiting the following URL:

https://datatracker.ietf.org/nomcom/2013/nominate/

Note that nominations made using the web tool require an ietf.org
datatracker account. You can create a datatracker ietf.org account
if you don't have one already by visiting the following URL:

https://datatracker.ietf.org/accounts/create/

Nominations may also be made by email to nomcom13 at ietf.org.
If you nominate by email, please include the word "Nominate" in the Subject
and indicate in the email who is being nominated, their email address (to
confirm acceptance of the nomination), and the position for which you
are making the nomination. If you use email, please use a separate email for
each person you nominate, and for each position (if you are nominating one
person for multiple positions).

Self-nomination is welcome!  No need to be shy.

Nomcom 2013-14 will follow the policy for "Open Disclosure of Willing
Nominees" described in RFC 5680.  As stated in RFC 5680: "The list of
nominees willing to be considered for positions under review in the
current Nomcom cycle is not confidential". Willing nominees for each
position will be listed in a publicly accessible way - anyone with a
datatracker account may access the lists.  In all other ways, the
confidentiality requirements of RFC 3777/BCP10 remain in effect.  All
feedback and all Nomcom deliberations will remain confidential and will
not be disclosed.

In order to ensure time to collect sufficient community feedback about
each of the willing nominees, nominations must be received by the
Nomcom on or before October 18, 2013.  Please submit your nominations
as early as possible for the sake of your nominees, as we've set the
questionnaire submission deadline for October 25, 2013.

The list of people and posts whose terms end with the March 2014 IETF
meeting,
and thus the positions for which we are accepting nominations:

IAOC
Chris Griffiths

IAB
Bernard Aboba
Marc Blanchet
Ross Callon
Eliot Lear
Hannes Tschofenig

IESG
Barry Leiba (Applications)
Brian Haberman (Internet)
Benoit Claise (Operations and Management)
Gonzalo Camarillo (RAI)
Stewart Bryant (Routing)
Sean Turner (Security)
Martin Stiemerling (Transport)

Please be resourceful in identifying possible candidates for these
positions, as developing our talent is a very crucial requirement for
the IETF.  Also, please give serious consideration to accepting nominations
you receive.

The summaries of the desired expertise for the positions, developed by the
respective bodies, are found at:

https://datatracker.ietf.org/nomcom/2013/expertise/

In addition to nominations, the Nomcom seeks community input on
the positions themselves.  We need and welcome the community's
views and input on the jobs within each organization. If you
have ideas on the positions' responsibilities (more, less,
different), please let us know.  You can send us email about this to
nomcom13 at ietf.org, and we will use this feedback actively.

Thank you for your help in nominating a great pool of strong and interesting
nominees!



_______________________________________________
RAI mailing list
RAI@ietf.org
https://www.ietf.org/mailman/listinfo/rai



- vijay
-- 
Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)
Email: vkg@{bell-labs.com,acm.org} / vijay.gurbani@alcatel-lucent.com
Web: http://ect.bell-labs.com/who/vkg/  | Calendar: http://goo.gl/x3Ogq



From yang.r.yang@gmail.com  Fri Oct 11 17:54:59 2013
Return-Path: <yang.r.yang@gmail.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 4E31021E8103 for <alto@ietfa.amsl.com>; Fri, 11 Oct 2013 17:54:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.221
X-Spam-Level: 
X-Spam-Status: No, score=-1.221 tagged_above=-999 required=5 tests=[AWL=0.156,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_71=0.6, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K48K59q03e1g for <alto@ietfa.amsl.com>; Fri, 11 Oct 2013 17:54:58 -0700 (PDT)
Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [IPv6:2607:f8b0:400e:c03::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 4187221E8104 for <alto@ietf.org>; Fri, 11 Oct 2013 17:54:58 -0700 (PDT)
Received: by mail-pa0-f44.google.com with SMTP id lf10so5129812pab.3 for <alto@ietf.org>; Fri, 11 Oct 2013 17:54:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=v399gUbTzR8/7lsH2zqRwW4aUz99fNYRRX/FNfvdGow=; b=WUY7KF8djbaiSom7rjSjV+vTZmdmM1cWxtWTL8zHosthVEX2INcbxkHH/D9RHvLHBC aQuvr2mAL1mGT5CMQcJ1iazmvvyZ5ru5e61ivqjVuR2235zxVz45a48P8HLX45Aca5Pu f9AXsu0JN0AO3JlU9X6CHt2T+MbsxP7yFgvvUsUlWm4gxWbdnrw1wsQfF7OW5m7jED7B pWxIpqdAiGnUo6uLa1BG782B0hlB0AP3rekqUdXGJFSwPCblJbLoMUotjjUiq7gMnrW6 CGdJEewvTPjptyMHxrPXiJKxpJtE31rDdo5QhpB1bzxUgZ25O4WHRpdWUPsU7c440tP5 TytA==
MIME-Version: 1.0
X-Received: by 10.68.34.105 with SMTP id y9mr23018378pbi.15.1381539297968; Fri, 11 Oct 2013 17:54:57 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.187.67 with HTTP; Fri, 11 Oct 2013 17:54:57 -0700 (PDT)
In-Reply-To: <CE7C5321.9B763%w.roome@alcatel-lucent.com>
References: <CE7C5321.9B763%w.roome@alcatel-lucent.com>
Date: Fri, 11 Oct 2013 20:54:57 -0400
X-Google-Sender-Auth: sQKGMeS9UGRwZ3N9AoQpKic7Bm4
Message-ID: <CANUuoLrBFq8Mis+VHJ3PnAY096TN+nYZEtTM5RS80hU7ddcz=Q@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=bcaec520ef431949f504e880afd4
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Adding explanation for E_SYNTAX error
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sat, 12 Oct 2013 00:54:59 -0000

--bcaec520ef431949f504e880afd4
Content-Type: text/plain; charset=ISO-8859-1

Hi Wendy,

Interesting suggestion. I assume that the fields will be optional, right? A
consideration is that the syntax errors typically are caught by a JSON
parser. I know that you know quite a few parsers. Will the existing parsers
give such information (e.g., line, character)?

To others: if you have used multiple parsers, your experience can be quite
helpful here.

Thanks!

Richard


On Thu, Oct 10, 2013 at 12:50 PM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:

> As current;y defined, E_SYNTAX gives no indication as to where the error
> is or what was wrong. So how about adding the following additional fields
> for E_SYNTAX:
>
> "line"  Optional line number (first line is 1)
> "character"  Optional character in line (first character is 1)
> "reason"  Optional error message, which may or may not include line and
> character.
>
> This raises the question of what language to use for "reason". At the risk
> of coming across as an English chauvinist, I suggest that it be in
> English. After all, the RFC is in English, and the field names are
> English. So it's pretty unlikely that server and client programmers won't
> understand enough English to deal with a simple error message. And I don't
> see a client library displaying that message to the end user; instead the
> lib would log it for analysis by the developers.
>
> And if a server isn't able to give an English error message, use "line"
> and "character".
>
>         - Wendy Roome
>
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>

--bcaec520ef431949f504e880afd4
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Wendy,<div><br></div><div>Interesting suggestion. I ass=
ume that the fields will be optional, right? A consideration is that the sy=
ntax errors typically are caught by a JSON parser. I know that you know qui=
te a few parsers. Will the existing parsers give such information (e.g., li=
ne, character)?=A0</div>
<div><br></div><div>To others: if you have used multiple parsers, your expe=
rience can be quite helpful here.</div><div><br></div><div>Thanks!<br><br><=
/div><div>Richard=A0</div></div><div class=3D"gmail_extra"><br><br><div cla=
ss=3D"gmail_quote">
On Thu, Oct 10, 2013 at 12:50 PM, Wendy Roome <span dir=3D"ltr">&lt;<a href=
=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lu=
cent.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As current;y defined, E_SYNTAX gives no indication as to where the error<br=
>
is or what was wrong. So how about adding the following additional fields<b=
r>
for E_SYNTAX:<br>
<br>
&quot;line&quot; =A0Optional line number (first line is 1)<br>
&quot;character&quot; =A0Optional character in line (first character is 1)<=
br>
&quot;reason&quot; =A0Optional error message, which may or may not include =
line and<br>
character.<br>
<br>
This raises the question of what language to use for &quot;reason&quot;. At=
 the risk<br>
of coming across as an English chauvinist, I suggest that it be in<br>
English. After all, the RFC is in English, and the field names are<br>
English. So it&#39;s pretty unlikely that server and client programmers won=
&#39;t<br>
understand enough English to deal with a simple error message. And I don&#3=
9;t<br>
see a client library displaying that message to the end user; instead the<b=
r>
lib would log it for analysis by the developers.<br>
<br>
And if a server isn&#39;t able to give an English error message, use &quot;=
line&quot;<br>
and &quot;character&quot;.<br>
<br>
=A0 =A0 =A0 =A0 - Wendy Roome<br>
<br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div><br></div>

--bcaec520ef431949f504e880afd4--

From yang.r.yang@gmail.com  Fri Oct 11 18:18:23 2013
Return-Path: <yang.r.yang@gmail.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 E184511E80FE for <alto@ietfa.amsl.com>; Fri, 11 Oct 2013 18:18:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.538
X-Spam-Level: 
X-Spam-Status: No, score=-1.538 tagged_above=-999 required=5 tests=[AWL=0.439,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gEW0LO860Dfd for <alto@ietfa.amsl.com>; Fri, 11 Oct 2013 18:18:22 -0700 (PDT)
Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::22a]) by ietfa.amsl.com (Postfix) with ESMTP id A8F6821E80B2 for <alto@ietf.org>; Fri, 11 Oct 2013 18:18:18 -0700 (PDT)
Received: by mail-pa0-f42.google.com with SMTP id lj1so5158671pab.15 for <alto@ietf.org>; Fri, 11 Oct 2013 18:18:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/fsklQSF75byAsQpPuLBJH++IyW4WJ21KxM+YLH3iaA=; b=Lp44untRxih+26pE4vTnEtIQbz/Rkdm1/lQ28MHWcT/wu01ALRwi+uZAuDrPDgo7Dy HBBxt4+oN9otNulXmgJfIsf3AG0n4VqM/v6iiG/BTnPtE9A4B354nr5jzk9LrdYQ/7tI WVVoEVRhA9gc+5A6aaIWPdj9gKBuDXHjCymP251yGalBUU0vEeIEnLgsfqL3oc3D6Y0I j07pUPAXLsWKsTsomCv+1ny18588ke+3fXj9I4v27tVrX4JRtqcrBOeH1WXbTbMH1foK weuR26x4/u99V2FVWBUaCDiZK34FFcgK8YekHOCXZD4/yXYbCUHUAqgbpAC6r7v34F97 glYw==
MIME-Version: 1.0
X-Received: by 10.66.158.196 with SMTP id ww4mr24850484pab.57.1381540698127; Fri, 11 Oct 2013 18:18:18 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.187.67 with HTTP; Fri, 11 Oct 2013 18:18:18 -0700 (PDT)
In-Reply-To: <CE7C45C6.9AA9C%w.roome@alcatel-lucent.com>
References: <CANUuoLoMCgNJRCJeD7X=jgB32Cn2PkCJr6fuUT2f3WxGFTEfmA@mail.gmail.com> <CE7C45C6.9AA9C%w.roome@alcatel-lucent.com>
Date: Fri, 11 Oct 2013 21:18:18 -0400
X-Google-Sender-Auth: IkiW6zRefT3L2hJ0Guqdgz7yHLY
Message-ID: <CANUuoLqPWAepDyNZaSje8z_0mo_0yMkJG4EHryyV+tby934poQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b6737848e06a304e8810275
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Is E_INVALID_FIELD_TYPE necessary?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sat, 12 Oct 2013 01:18:24 -0000

--047d7b6737848e06a304e8810275
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi Wendy,

On Thu, Oct 10, 2013 at 12:25 PM, Wendy Roome <w.roome@alcatel-lucent.com>w=
rote:

> I hadn't realized JSON parsers have gotten that sophisticated -- I've jus=
t
> used the standard DOM and SAX parsers.
>
> That said, I don't like the idea of returning E_SYNTAX when a field has
> the wrong type (or is missing).
>

I am in a CS department with a strong emphasis on type theory, which in
essence is to capture semantic errors by syntax (e.g., mismatch in type
system). Hence, I feel more comfortable with a syntax error means of a
wrong type or a missing field :-) But I agree that this can be confusing.

That strikes me as very confusing to a client programmer. As currently
> defined, E_SYNTAX doesn't say where the error occurred. Odds are that the
> client programmer will use a generic JSON parser to verify the JSON she
> sent, and that parser will say the JSON is perfectly valid. And then
> programmer will go, "What the =85.?"
>
> So I'd reserve E_SYNTAX for pure JSON syntax errors.  Use E_MISSING_FIELD
> or E_INVALID_FIELD_TYPE for schema violations.
>

Agree that if the server's parser can identify such schema errors, the
server should be explicit. A question is whether we specify in the protocol
that the server must distinguish all such cases. To avoid limiting the
choice of JSON parsers, we can add a sentence in the spec that E_SYNTAX
indicates that the server's JSON parser could not parse the request. If it
helps, one possibility is to change E_SYNTAX to E_PARSING. How does this
sound?


>
> I didn't go into the details of the JSON parsers you cited, but wouldn't
> the parser distinguish  between "JSON syntax error" and "doesn't follow
> schema"? I believe XML parsers make that distinction when validating
> against a DTD.
>
>
>From what I know, the return could be just that the result is a null.


> Also, having written a few compilers early in my career, I learned the
> hard way that it was better to extend the YACC grammar to accept some
> common errors, and detect them in action routines and give the user a
> detailed explanation of the error. When I let YACC give a generic "syntax
> error", users would bang on my door telling me the compiler was broken.
>
>
Totally agree with your experience. I teach Introduction to Programming,
and it is my first hand experience to see how frustrated the students are
when they see the  generic syntax messages. I am not sure how extensible
the JSON parsers are. As a best practice, the ALTO Server programmer should
make errors as specific as possible. We can add such a sentence in the spec
to encourage this, but will not use the inter-op (e.g., MUST, SHOULD)
words, because they do will not have an impact on interop. What do you
think?

It is always a great discussion!

Richard



> - Wendy
>
> From: "Y. Richard Yang" <yry@cs.yale.edu>
> Date: Wed, October 9, 2013 17:31
> To: Wendy Roome <w.roome@alcatel-lucent.com>
> Cc: IETF ALTO <alto@ietf.org>
> Subject: Re: [alto] Is E_INVALID_FIELD_TYPE necessary?
>
> On Wed, Oct 9, 2013 at 3:37 PM, Wendy Roome <w.roome@alcatel-lucent.com>
> wrote:
>
>> Do we really need a separate E_INVALID_FIELD_TYPE error code?  Why not
>> just fold it into E_MISSING_FIELD, by defining that as "The field is
>> missing or it has the wrong type."
>>
>> First reason it's unnecessary: if the protocol says the client must
>> provide a String field named "cost-type", and the client defines
>> "cost-type" as an array, well, the STRING field is missing, isn't it?
>>
>> Second reason: JSON libraries rarely distinguish between "missing" and
>> "wrong type". Eg, getString("foo") usually returns null if "foo" doesn't
>> exist or if it exists but isn't a string. The server has to do additiona=
l
>> analysis to distinguish between the two cases.
>>
>>
> Suppose one uses Data Binding (e.g.,
> http://wiki.fasterxml.com/JacksonInFiveMinutes) for deserialization. A
> wrong type, in a strong typed language, will cause the deserialization to
> fail, depending on specified features (
> https://github.com/FasterXML/jackson-databind/wiki/Deserialization-Featur=
es).
> Hence, if one uses a strict parser, a wrong type (e.g., a number but shou=
ld
> be a string) will cause the parser to fail, and the server may only know
> that it is a syntax error E_SYNTAX. I agree that a missing field will cau=
se
> the same. In this sense, they are all syntax errors in a PL sense. Hence,=
 a
> more appropriate coarse error is E_SYNTAX. In this sense, E_SYNTAX is a
> base class of two specific sub types (missing or wrong type). What do you
> think?
>
>

--047d7b6737848e06a304e8810275
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Wendy,<div class=3D"gmail_extra"><br><div class=3D"gmai=
l_quote">On Thu, Oct 10, 2013 at 12:25 PM, Wendy Roome <span dir=3D"ltr">&l=
t;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@a=
lcatel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;font-family:Cal=
ibri,sans-serif;word-wrap:break-word"><div>I hadn&#39;t realized JSON parse=
rs have gotten that sophisticated -- I&#39;ve just used the standard DOM an=
d SAX parsers.</div>
<div><br></div><div>That said, I don&#39;t like the idea of returning E_SYN=
TAX when a field has the wrong type (or is missing). </div></div></blockquo=
te><div><br></div><div>I am in a CS department with a strong emphasis on ty=
pe theory, which in essence is to capture semantic errors by syntax (e.g., =
mismatch in type system). Hence, I feel more comfortable with a syntax erro=
r means of a wrong type or a missing field :-) But I agree that this can be=
 confusing.</div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;=
font-family:Calibri,sans-serif;word-wrap:break-word"><div>That strikes me a=
s very confusing to a client programmer. As currently defined, E_SYNTAX doe=
sn&#39;t say where the error occurred. Odds are that the client programmer =
will use a generic JSON parser to verify the JSON she sent, and that parser=
 will say the JSON is perfectly valid. And then programmer will go, &quot;W=
hat the =85.?&quot;</div>
<div><br></div><div>So I&#39;d reserve E_SYNTAX for pure JSON syntax errors=
. =A0Use E_MISSING_FIELD or E_INVALID_FIELD_TYPE for schema violations.</di=
v></div></blockquote><div><br></div><div>Agree that if the server&#39;s par=
ser can identify such schema errors, the server should be explicit. A quest=
ion is whether we specify in the protocol that the server must distinguish =
all such cases. To avoid limiting the choice of JSON parsers, we can add a =
sentence in the spec that E_SYNTAX indicates that the server&#39;s JSON par=
ser could not parse the request. If it helps, one possibility is to change =
E_SYNTAX to E_PARSING. How does this sound?</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;f=
ont-family:Calibri,sans-serif;word-wrap:break-word"><div><br></div><div>I d=
idn&#39;t go into the details of the JSON parsers you cited, but wouldn&#39=
;t the parser distinguish =A0between &quot;JSON syntax error&quot; and &quo=
t;doesn&#39;t follow schema&quot;? I believe XML parsers make that distinct=
ion when validating against a DTD.</div>
<div><br></div></div></blockquote><div><br></div><div>From what I know, the=
 return could be just that the result is a null.</div><div>=A0</div><blockq=
uote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc =
solid;padding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div></div><div>Also, having written a few compilers early in my car=
eer, I learned the hard way that it was better to extend the YACC grammar t=
o accept some common errors, and detect them in action routines and give th=
e user a detailed explanation of the error. When I let YACC give a generic =
&quot;syntax error&quot;, users would bang on my door telling me the compil=
er was broken.</div>
<div><br></div></div></blockquote><div><br></div><div>Totally agree with yo=
ur experience. I teach Introduction to Programming, and it is my first hand=
 experience to see how frustrated the students are when they see the =A0gen=
eric syntax messages. I am not sure how extensible the JSON parsers are. As=
 a best practice, the ALTO Server programmer should make errors as specific=
 as possible. We can add such a sentence in the spec to encourage this, but=
 will not use the inter-op (e.g., MUST, SHOULD) words, because they do will=
 not have an impact on interop. What do you think?</div>
<div><br></div><div>It is always a great discussion!</div><div><br></div><d=
iv>Richard</div><div><br></div><div>=A0</div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
><div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:brea=
k-word">
<div></div><div><span style=3D"white-space:pre-wrap">	</span>- Wendy</div><=
div><br></div><span><div style=3D"border-right:medium none;padding-right:0i=
n;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bo=
ttom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-b=
ottom:0in;border-left:medium none">
<span style=3D"font-weight:bold">From: </span> &quot;Y. Richard Yang&quot; =
&lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a=
>&gt;<br><span style=3D"font-weight:bold">Date: </span> Wed, October 9, 201=
3 17:31<br>
<span style=3D"font-weight:bold">To: </span> Wendy Roome &lt;<a href=3D"mai=
lto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.co=
m</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> IETF ALTO &lt;<a =
href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span> Re: [alto] Is E_INVALID_F=
IELD_TYPE necessary?<br></div><div class=3D"im"><div><br></div><span style=
=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-w=
ebkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-c=
ollapse:separate;text-transform:none;font-size:medium;white-space:normal;fo=
nt-family:Calibri;word-spacing:0px">On Wed, Oct 9, 2013 at 3:37 PM, Wendy R=
oome<span>=A0</span><span dir=3D"ltr">&lt;<a href=3D"mailto:w.roome@alcatel=
-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.com</a>&gt;</span><sp=
an>=A0</span>wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin-top:0px;margin-right:0px;=
margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color=
:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Do we really ne=
ed a separate E_INVALID_FIELD_TYPE error code? =A0Why not<br>
just fold it into E_MISSING_FIELD, by defining that as &quot;The field is<b=
r>missing or it has the wrong type.&quot;<br><br>First reason it&#39;s unne=
cessary: if the protocol says the client must<br>provide a String field nam=
ed &quot;cost-type&quot;, and the client defines<br>
&quot;cost-type&quot; as an array, well, the STRING field is missing, isn&#=
39;t it?<br><br>Second reason: JSON libraries rarely distinguish between &q=
uot;missing&quot; and<br>&quot;wrong type&quot;. Eg, getString(&quot;foo&qu=
ot;) usually returns null if &quot;foo&quot; doesn&#39;t<br>
exist or if it exists but isn&#39;t a string. The server has to do addition=
al<br>analysis to distinguish between the two cases.<br><br></blockquote><d=
iv><br></div><div>Suppose one uses Data Binding (e.g.,<span>=A0</span><a hr=
ef=3D"http://wiki.fasterxml.com/JacksonInFiveMinutes" target=3D"_blank">htt=
p://wiki.fasterxml.com/JacksonInFiveMinutes</a>) for deserialization. A wro=
ng type, in a strong typed language, will cause the deserialization to fail=
, depending on specified features (<a href=3D"https://github.com/FasterXML/=
jackson-databind/wiki/Deserialization-Features" target=3D"_blank">https://g=
ithub.com/FasterXML/jackson-databind/wiki/Deserialization-Features</a>). He=
nce, if one uses a strict parser, a wrong type (e.g., a number but should b=
e a string) will cause the parser to fail, and the server may only know tha=
t it is a syntax error E_SYNTAX. I agree that a missing field will cause th=
e same. In this sense, they are all syntax errors in a PL sense. Hence, a m=
ore appropriate coarse error is E_SYNTAX. In this sense, E_SYNTAX is a base=
 class of two specific sub types (missing or wrong type). What do you think=
?</div>
</span><br></div></span></div>
</blockquote></div><br></div></div>

--047d7b6737848e06a304e8810275--

From yang.r.yang@gmail.com  Fri Oct 11 18:20:24 2013
Return-Path: <yang.r.yang@gmail.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 82F1E11E80F2 for <alto@ietfa.amsl.com>; Fri, 11 Oct 2013 18:20:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.582
X-Spam-Level: 
X-Spam-Status: No, score=-1.582 tagged_above=-999 required=5 tests=[AWL=0.395,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id poYB6L+vinaU for <alto@ietfa.amsl.com>; Fri, 11 Oct 2013 18:20:24 -0700 (PDT)
Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 2EBDD11E80FE for <alto@ietf.org>; Fri, 11 Oct 2013 18:20:23 -0700 (PDT)
Received: by mail-pa0-f46.google.com with SMTP id fa1so5143779pad.19 for <alto@ietf.org>; Fri, 11 Oct 2013 18:20:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=BeBU1oUeeEsi7CNH29bE60UYmD7+rbYvxa9fzFBjpqM=; b=0uxEDMKIEvc8Gic/98Ny3Xbadw02WENQ2zkXQZDkmjEZZgIQhJ04jBIZwE6GF1av18 FMWBXSV3He5OTICUo9KUw/kdvKyzfLv5t4jCWXz0k9r41kVnw5zQVpxYypKpJ2uPsUUQ Xc682HHPpilDkPfIqZt7//Ykfx18/zSGG/2DdPP6eFuRcx9o8qIel0Nd+PEV2uT7ZKw0 ENMkNlpZL8BdIVAYvNvYHGDPh1+ZJlLzJ9rY19q3SuA3E6ZnowoYMK7inX2wuMdxJaSj 427Z3hJfIKBghI/LbSeeuj+Uzo7dPQzzqV8FEX9jQQFDLkXkcdAedS/StqseM9bqzrxV Bcmw==
MIME-Version: 1.0
X-Received: by 10.68.234.10 with SMTP id ua10mr23181190pbc.116.1381540822985;  Fri, 11 Oct 2013 18:20:22 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.187.67 with HTTP; Fri, 11 Oct 2013 18:20:22 -0700 (PDT)
In-Reply-To: <CE7C31D3.9A9FB%w.roome@alcatel-lucent.com>
References: <CANUuoLpnBHbq432r+ZEZQ5d7PwiE_fs78HNWw=+U_i+BwQ5PJQ@mail.gmail.com> <CE7C31D3.9A9FB%w.roome@alcatel-lucent.com>
Date: Fri, 11 Oct 2013 21:20:22 -0400
X-Google-Sender-Auth: tRxvdjdxo4l650c12xYCxpoj-Ms
Message-ID: <CANUuoLoeP1AidfpqkqOVDxvv30uKb92fhpSRF7TodCAJ5MCc8w@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b33cab4ff398704e88109e5
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] New error format in draft 20
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sat, 12 Oct 2013 01:20:24 -0000

--047d7b33cab4ff398704e88109e5
Content-Type: text/plain; charset=ISO-8859-1

Hi Wendy,

On Thu, Oct 10, 2013 at 10:35 AM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:

> Good point! I was relying on the fact that our field names are unique for
> now, but there's no guarantee it will stay that way. So yes, set "field" to
> the full path, and ban "." from field names.
>
>  But the path should go all the way to the root dictionary.  Eg, for a bad
> mode,
>
>    "field": "meta.cost-type.cost-mode"
>    "value": "foo"
>
>
Good point. We will revise the sentence slightly to clarify this.

Thanks!

Richard


> or for a bad IP address in an endpoint cost request,
>
>    "field": "endpoints.srcs"
>    "value": "ipv4:a.b.c"
>
> - Wendy
>
>
> From: "Y. Richard Yang" <yry@cs.yale.edu>
> Date: Wed, October 9, 2013 16:56
>
> To: Wendy Roome <w.roome@alcatel-lucent.com>
> Cc: IETF ALTO <alto@ietf.org>
> Subject: Re: [alto] New error format in draft 20
>
> If the invalid value is a subfield, the server must set "field" to the
>> subfield name and "value" to the invalid subfield value, converting it to a
>> string if needed. For example,  if the "cost-mode" subfield of the
>> "cost-type" field is invalid mode "foo", the server should set "value" to
>> "foo", and "field" to "cost-mode", not "cost-type".
>>
>>
> An example used in the discussions will say:
>
> "field" : "cost-type.cost-mode"
> "value" : "foo"
>
> The reason for the "." subfield structure is to avoid future cases of
> ambiguous subfield name, for example, two fields with different names, but
> both have a subfield with the same name. We do not have any two subfields
> with the same name in the current design, but future extensions might and
> hence cause problem for the general structure. For the "." notation to be
> valid, we need to avoid "." in field names. What do you think?
>

--047d7b33cab4ff398704e88109e5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Wendy,<br><div class=3D"gmail_extra"><br><div class=3D"=
gmail_quote">On Thu, Oct 10, 2013 at 10:35 AM, Wendy Roome <span dir=3D"ltr=
">&lt;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roo=
me@alcatel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;font-family:Cal=
ibri,sans-serif;word-wrap:break-word"><div>Good point! I was relying on the=
 fact that our field names are unique for now, but there&#39;s no guarantee=
 it will stay that way. So yes, set &quot;field&quot; to the full path, and=
 ban &quot;.&quot; from field names.</div>
<div><br></div><div>=A0But the path should go all the way to the root dicti=
onary. =A0Eg, for a bad mode,</div><div><br></div><div>=A0 =A0&quot;field&q=
uot;: &quot;meta.cost-type.cost-mode&quot;</div><div>=A0 =A0&quot;value&quo=
t;: &quot;foo&quot;</div>
<div><br></div></div></blockquote><div><br></div><div>Good point. We will r=
evise the sentence slightly to clarify this.</div><div><br></div><div>Thank=
s!</div><div><br></div><div>Richard</div><div>=A0</div><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div></div><div>or for a bad IP address in an endpoint cost request,=
</div><div><br></div><div>=A0 =A0&quot;field&quot;: &quot;endpoints.srcs&qu=
ot;</div>
<div>=A0 =A0&quot;value&quot;: &quot;ipv4:a.b.c&quot;</div><div><br></div><=
div><span style=3D"white-space:pre-wrap">	</span>- Wendy</div><div><br></di=
v><div><br></div><span><div style=3D"border-right:medium none;padding-right=
:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border=
-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;paddin=
g-bottom:0in;border-left:medium none">
<div class=3D"im"><span style=3D"font-weight:bold">From: </span> &quot;Y. R=
ichard Yang&quot; &lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">=
yry@cs.yale.edu</a>&gt;<br></div><span style=3D"font-weight:bold">Date: </s=
pan> Wed, October 9, 2013 16:56<div class=3D"im">
<br><span style=3D"font-weight:bold">To: </span> Wendy Roome &lt;<a href=3D=
"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lucen=
t.com</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> IETF ALTO &lt=
;<a href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;<b=
r>
<span style=3D"font-weight:bold">Subject: </span> Re: [alto] New error form=
at in draft 20<br></div></div><div class=3D"im"><div><br></div><span style=
=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-w=
ebkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-c=
ollapse:separate;text-transform:none;font-size:medium;white-space:normal;fo=
nt-family:Calibri;word-spacing:0px"><blockquote class=3D"gmail_quote" style=
=3D"margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;bor=
der-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:sol=
id;padding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div>If the invalid value is a subfield, the server must set &quot;f=
ield&quot; to the subfield name and &quot;value&quot; to the invalid subfie=
ld value, converting it to a string if needed. For example,=A0=A0if the &qu=
ot;cost-mode&quot; subfield of the &quot;cost-type&quot; field is invalid m=
ode &quot;foo&quot;, the server should set &quot;value&quot; to &quot;foo&q=
uot;, and &quot;field&quot; to &quot;cost-mode&quot;, not &quot;cost-type&q=
uot;.</div>
<div><br></div></div></blockquote><div><br></div><div>An example used in th=
e discussions will say:</div><div><br></div><div>&quot;field&quot; : &quot;=
cost-type.cost-mode&quot;</div><div>&quot;value&quot; : &quot;foo&quot;</di=
v>
<div><br></div><div>The reason for the &quot;.&quot; subfield structure is =
to avoid future cases of ambiguous subfield name, for example, two fields w=
ith different names, but both have a subfield with the same name. We do not=
 have any two subfields with the same name in the current design, but futur=
e extensions might and hence cause problem for the general structure. For t=
he &quot;.&quot; notation to be valid, we need to avoid &quot;.&quot; in fi=
eld names. What do you think?</div>
</span></div></span></div>
</blockquote></div><br></div></div>

--047d7b33cab4ff398704e88109e5--

From richard.alimi@gmail.com  Sat Oct 12 10:44:09 2013
Return-Path: <richard.alimi@gmail.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 5768621F9AF0 for <alto@ietfa.amsl.com>; Sat, 12 Oct 2013 10:44:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.377
X-Spam-Level: 
X-Spam-Status: No, score=-1.377 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_71=0.6, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uBEcfRP0bK8t for <alto@ietfa.amsl.com>; Sat, 12 Oct 2013 10:44:08 -0700 (PDT)
Received: from mail-vb0-x229.google.com (mail-vb0-x229.google.com [IPv6:2607:f8b0:400c:c02::229]) by ietfa.amsl.com (Postfix) with ESMTP id 8DF0121F9A97 for <alto@ietf.org>; Sat, 12 Oct 2013 10:44:08 -0700 (PDT)
Received: by mail-vb0-f41.google.com with SMTP id g17so3700865vbg.14 for <alto@ietf.org>; Sat, 12 Oct 2013 10:44:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=bvlkiHOk5C8Ey6W0eQdqmiRuR+1YaDsY0itfvp5beVs=; b=pN+NqZtxhRo4lzcc/K/LYsRSspPaN17rNo1BNLIzsyx2yoCCYaD6hTmduCuCuqwj53 iK4RiUrkUVzcMaDw2/v/EnNSOtB3R7/E3MAbeh5TdV7K10uoxv9mlZNQu6wmooOlnWSp 1rnnVl/52oMcK7p5yPbjNNS59Jm5+8O/x7zQsaOYacm7YGR54+vGX02P4UenYPwGpbZC 5J1w92O+eXhJ4jI66rKnW1R47SBPRfhm65Pw7Tckw6BJ0mm4Cf4MJBJwEFGcKKzG/fjS AVIdqcJdNwlHYlVUNIgUO/1VMj7WdOpj8YRahboqbZRqZ+zbn1kW/PLBDAwoXoNgo8WY YT0w==
X-Received: by 10.220.174.200 with SMTP id u8mr20234745vcz.6.1381599847999; Sat, 12 Oct 2013 10:44:07 -0700 (PDT)
MIME-Version: 1.0
Sender: richard.alimi@gmail.com
Received: by 10.52.185.194 with HTTP; Sat, 12 Oct 2013 10:43:47 -0700 (PDT)
In-Reply-To: <CANUuoLrBFq8Mis+VHJ3PnAY096TN+nYZEtTM5RS80hU7ddcz=Q@mail.gmail.com>
References: <CE7C5321.9B763%w.roome@alcatel-lucent.com> <CANUuoLrBFq8Mis+VHJ3PnAY096TN+nYZEtTM5RS80hU7ddcz=Q@mail.gmail.com>
From: Richard Alimi <rich@velvetsea.net>
Date: Sat, 12 Oct 2013 10:43:47 -0700
X-Google-Sender-Auth: wyAboyp_7I9tqnaIPdw41mm4PVI
Message-ID: <CA+cvDaYD-rsA=TA6oj-jXj3USeTAzvSRn_fkDynBQP1+hSEY8Q@mail.gmail.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Content-Type: multipart/alternative; boundary=089e0149ca3a296f3e04e88ec830
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Adding explanation for E_SYNTAX error
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sat, 12 Oct 2013 17:44:09 -0000

--089e0149ca3a296f3e04e88ec830
Content-Type: text/plain; charset=ISO-8859-1

We used to have a 'reason' field, but it was suggested in the the apps-area
review that it be removed because of the concern over internationalization.
 Given that it's WGLC I would prefer not to revisit that.

I don't have a problem with adding optional line and character fields,
given that they can be conveyed as integers.  I don't think it should be
required, since not all parsers may provide that information.

Rich


On Fri, Oct 11, 2013 at 5:54 PM, Y. Richard Yang <yry@cs.yale.edu> wrote:

> Hi Wendy,
>
> Interesting suggestion. I assume that the fields will be optional, right?
> A consideration is that the syntax errors typically are caught by a JSON
> parser. I know that you know quite a few parsers. Will the existing parsers
> give such information (e.g., line, character)?
>
> To others: if you have used multiple parsers, your experience can be quite
> helpful here.
>
> Thanks!
>
> Richard
>
>
> On Thu, Oct 10, 2013 at 12:50 PM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:
>
>> As current;y defined, E_SYNTAX gives no indication as to where the error
>> is or what was wrong. So how about adding the following additional fields
>> for E_SYNTAX:
>>
>> "line"  Optional line number (first line is 1)
>> "character"  Optional character in line (first character is 1)
>> "reason"  Optional error message, which may or may not include line and
>> character.
>>
>> This raises the question of what language to use for "reason". At the risk
>> of coming across as an English chauvinist, I suggest that it be in
>> English. After all, the RFC is in English, and the field names are
>> English. So it's pretty unlikely that server and client programmers won't
>> understand enough English to deal with a simple error message. And I don't
>> see a client library displaying that message to the end user; instead the
>> lib would log it for analysis by the developers.
>>
>> And if a server isn't able to give an English error message, use "line"
>> and "character".
>>
>>         - Wendy Roome
>>
>>
>> _______________________________________________
>> alto mailing list
>> alto@ietf.org
>> https://www.ietf.org/mailman/listinfo/alto
>>
>
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>
>

--089e0149ca3a296f3e04e88ec830
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">We used to have a &#39;reason&#39; field, but it was sugge=
sted in the the apps-area review that it be removed because of the concern =
over internationalization. =A0Given that it&#39;s WGLC I would prefer not t=
o revisit that.<div>

<br></div><div>I don&#39;t have a problem with adding optional line and cha=
racter fields, given that they can be conveyed as integers. =A0I don&#39;t =
think it should be required, since not all parsers may provide that informa=
tion.</div>

<div><br></div><div>Rich<br></div></div><div class=3D"gmail_extra"><br><br>=
<div class=3D"gmail_quote">On Fri, Oct 11, 2013 at 5:54 PM, Y. Richard Yang=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank"=
>yry@cs.yale.edu</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hi Wendy,<div><br></div><di=
v>Interesting suggestion. I assume that the fields will be optional, right?=
 A consideration is that the syntax errors typically are caught by a JSON p=
arser. I know that you know quite a few parsers. Will the existing parsers =
give such information (e.g., line, character)?=A0</div>


<div><br></div><div>To others: if you have used multiple parsers, your expe=
rience can be quite helpful here.</div><div><br></div><div>Thanks!<span cla=
ss=3D"HOEnZb"><font color=3D"#888888"><br><br></font></span></div><span cla=
ss=3D"HOEnZb"><font color=3D"#888888"><div>

Richard=A0</div></font></span></div><div class=3D"HOEnZb"><div class=3D"h5"=
><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">
On Thu, Oct 10, 2013 at 12:50 PM, Wendy Roome <span dir=3D"ltr">&lt;<a href=
=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lu=
cent.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


As current;y defined, E_SYNTAX gives no indication as to where the error<br=
>
is or what was wrong. So how about adding the following additional fields<b=
r>
for E_SYNTAX:<br>
<br>
&quot;line&quot; =A0Optional line number (first line is 1)<br>
&quot;character&quot; =A0Optional character in line (first character is 1)<=
br>
&quot;reason&quot; =A0Optional error message, which may or may not include =
line and<br>
character.<br>
<br>
This raises the question of what language to use for &quot;reason&quot;. At=
 the risk<br>
of coming across as an English chauvinist, I suggest that it be in<br>
English. After all, the RFC is in English, and the field names are<br>
English. So it&#39;s pretty unlikely that server and client programmers won=
&#39;t<br>
understand enough English to deal with a simple error message. And I don&#3=
9;t<br>
see a client library displaying that message to the end user; instead the<b=
r>
lib would log it for analysis by the developers.<br>
<br>
And if a server isn&#39;t able to give an English error message, use &quot;=
line&quot;<br>
and &quot;character&quot;.<br>
<br>
=A0 =A0 =A0 =A0 - Wendy Roome<br>
<br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
<br></blockquote></div><br></div>

--089e0149ca3a296f3e04e88ec830--

From yang.r.yang@gmail.com  Sun Oct 13 16:19:40 2013
Return-Path: <yang.r.yang@gmail.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 0C6DB21E8143 for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 16:19:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.618
X-Spam-Level: 
X-Spam-Status: No, score=-1.618 tagged_above=-999 required=5 tests=[AWL=0.359,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jav8IK3P2ge6 for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 16:19:39 -0700 (PDT)
Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com [IPv6:2607:f8b0:400e:c03::229]) by ietfa.amsl.com (Postfix) with ESMTP id 3CE6721F9B08 for <alto@ietf.org>; Sun, 13 Oct 2013 16:19:37 -0700 (PDT)
Received: by mail-pa0-f41.google.com with SMTP id bj1so6805417pad.14 for <alto@ietf.org>; Sun, 13 Oct 2013 16:19:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type;  bh=KgjrGHoP2kjRY0s7GYP7cnnfPiWHTZy6Sx4UIflC5w0=; b=wN04yLI3NKVp/Dtni/R7FMJvKOk/8QdBnerUgRUZ5jYO++W84+ifq3HBlwcl1zJzg1 ykkJfAcknxvqC7G6BdB9BHwMm4NBfvB5MTJHgOpMcymwJ87WvYMf3VbteZ6IikPZ3s5X 7PRA9SJ4l23KVy5YWh89pkP4wxS/Ow65K2f2bHEGlcKhK09fnFL+KHJj0M100uNTrtVS TgwA9IvcylKWxiBR4ESig50O7Mxhyqe6RTVllgO4QdDTkuzum2kc1pJGedEVafT3jaN8 wIKC3Pvyqbc8rDRrP7ASGCqvx66F0wTdcawt/1wKyBOQ95BePzkZWYU0PlnVypJzZXHZ 2vsg==
MIME-Version: 1.0
X-Received: by 10.66.146.199 with SMTP id te7mr34921754pab.106.1381706376995;  Sun, 13 Oct 2013 16:19:36 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.225.129 with HTTP; Sun, 13 Oct 2013 16:19:36 -0700 (PDT)
Date: Sun, 13 Oct 2013 19:19:36 -0400
X-Google-Sender-Auth: rTzQCozv1vlOmIVw192sCMABnIE
Message-ID: <CANUuoLpy5Budcx+tJCeExeYC_yTcQ9J2gC7HsXcjCvhOi7p_Vg@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: IETF ALTO <alto@ietf.org>
Content-Type: multipart/alternative; boundary=047d7b6d99aec8e9ad04e8a795cb
Cc: "choits@etri.re.kr" <choits@etri.re.kr>, Qin Wu <bill.wu@huawei.com>
Subject: [alto] ALTO Extension: Defining a Cost Metrics document?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sun, 13 Oct 2013 23:19:40 -0000

--047d7b6d99aec8e9ad04e8a795cb
Content-Type: text/plain; charset=ISO-8859-1

Dear all,

I am reading up on the documents that define cost metrics.

The motivation is that the base ALTO protocol (
http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt) has defined only
one Cost Metric: 'routingcost':

- Defined the semantics at Sec. 6.1.1.1 of , and then listed it at Table 3.

- Used "hopcount" in examples of Sec. 9.2.3 and 9.2.4, but the semantics of
not formally defined.

Given the aforementioned state of the base protocol, I see good value in
that the WG produces a WG document that defines a relatively complete set
of Cost Metrics.

I particular, I read the following:

- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02
  (Sec. 3.4 introduced three metrics: hopcount, latency, pktcost, and cost)

- http://tools.ietf.org/html/draft-wu-alto-json-te-01
  Defined a set of metrics: in Sec. 4. This work, as stated in the
document, is motivated by

- http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt

During the review of ALTO base protocol, we are suggested to document
performance metrics (cost metrics) per the guideline of

- RFC 6390 Guidelines for Considering New Performance Metric Development.
A. Clark, B. Claise. October 2011. (Format: TXT=49930 bytes) (Also BCP0170)
(Status: BEST CURRENT PRACTICE)

Here a first question, I have, is whether the authors will produce a
"simple" document, at the upcoming IETF, whose only purpose is to:

  define a set of cost metrics, including the nameing, the semantics, ...
following the guideline per RFC 6390, that can benefit the base protocol.

I feel that such a document is focused, and has good value by itself.

The implications of the introducing multiple cost metrics can be explored
in another document, which I will send in another email shortly.

Thanks.

Richard

--047d7b6d99aec8e9ad04e8a795cb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear all,<div><br></div><div>I am reading up on the docume=
nts that define cost metrics.=A0<br></div><div><br></div><div>The motivatio=
n is that the base ALTO protocol (<a href=3D"http://www.ietf.org/id/draft-i=
etf-alto-protocol-20.txt">http://www.ietf.org/id/draft-ietf-alto-protocol-2=
0.txt</a>) has defined only one Cost Metric: &#39;routingcost&#39;:</div>
<div><br></div><div>- Defined the semantics at Sec. 6.1.1.1 of , and then l=
isted it at Table 3.</div><div><br></div><div>- Used &quot;hopcount&quot; i=
n examples of Sec. 9.2.3 and 9.2.4, but the semantics of not formally defin=
ed.</div>
<div><br></div><div>Given the aforementioned state of the base protocol, I =
see good value in that the WG produces a WG document that defines a relativ=
ely complete set of Cost Metrics.</div><div><br></div><div>I particular, I =
read the following:</div>
<div><br></div><div>-=A0<a href=3D"http://tools.ietf.org/html/draft-lee-alt=
o-app-net-info-exchange-02">http://tools.ietf.org/html/draft-lee-alto-app-n=
et-info-exchange-02</a></div><div>=A0 (Sec. 3.4 introduced three metrics: h=
opcount, latency, pktcost, and cost)</div>
<div><br></div><div>-=A0<a href=3D"http://tools.ietf.org/html/draft-wu-alto=
-json-te-01">http://tools.ietf.org/html/draft-wu-alto-json-te-01</a></div><=
div>=A0 Defined a set of metrics: in Sec. 4. This work, as stated in the do=
cument, is motivated by=A0</div>
<div><br></div><div>-=A0<a href=3D"http://www.ietf.org/id/draft-ietf-ospf-t=
e-metric-extensions-04.txt">http://www.ietf.org/id/draft-ietf-ospf-te-metri=
c-extensions-04.txt</a></div><div><br></div><div>During the review of ALTO =
base protocol, we are suggested to document performance metrics (cost metri=
cs) per the guideline of=A0<br>
<span style=3D"font-family:arial,sans-serif;font-size:12.800000190734863px"=
><br></span></div><div><span style=3D"font-family:arial,sans-serif;font-siz=
e:12.800000190734863px">- RFC=A0</span>6390 Guidelines for Considering New =
Performance Metric Development. A. Clark, B. Claise. October 2011. (Format:=
 TXT=3D49930 bytes) (Also BCP0170) (Status: BEST CURRENT PRACTICE)</div>
<div><br></div><div>Here a first question, I have, is whether the authors w=
ill produce a &quot;simple&quot; document, at the upcoming IETF, whose only=
 purpose is to:</div><div><br></div><div>=A0 define a set of cost metrics, =
including the nameing, the semantics, ... following the guideline per RFC 6=
390, that can benefit the base protocol.</div>
<div><br></div><div>I feel that such a document is focused, and has good va=
lue by itself.</div><div><br></div><div>The implications of the introducing=
 multiple cost metrics can be explored in another document, which I will se=
nd in another email shortly.</div>
<div><br></div><div>Thanks.</div><div><br></div><div>Richard</div><div>=A0=
=A0</div></div>

--047d7b6d99aec8e9ad04e8a795cb--

From yang.r.yang@gmail.com  Sun Oct 13 16:57:53 2013
Return-Path: <yang.r.yang@gmail.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 DCF9F21E814C for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 16:57:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.648
X-Spam-Level: 
X-Spam-Status: No, score=-1.648 tagged_above=-999 required=5 tests=[AWL=0.329,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9uCtI+LMu4LA for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 16:57:53 -0700 (PDT)
Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com [IPv6:2607:f8b0:400e:c03::229]) by ietfa.amsl.com (Postfix) with ESMTP id 2B55721E8143 for <alto@ietf.org>; Sun, 13 Oct 2013 16:57:53 -0700 (PDT)
Received: by mail-pa0-f41.google.com with SMTP id bj1so6800259pad.0 for <alto@ietf.org>; Sun, 13 Oct 2013 16:57:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type;  bh=HYsuvGd/M86qFn6/emC3TyXhmX0L0PgcBTuYfG0K6Aw=; b=gAN7Uld6B/whP+KFXDDv7HPYC2XDAgsUWp9H4FyIu0BIGginBrRBRVO6qIKhoQhNIb /4MoBmI7ovCqqFyXu/nTTVaeEUiPztrEi/F5lls+PGUQTtkvCQtmdyZymbBaM34huJMp RjVMyzQsUvEmgMlm8UBCdTFXvFA8jX2fEqZ2JT87MRCxqndP/UODDGaqLuIsjAvpgTbr 8kc2lHEvaOCqlTxp1XSrQbBaAgEY7wMz/Uimauszs4Q1HB1JbNX6K2J1H5yZqFF22NAA E9mOpZ8S+rY9yVjrEydMZZm0MwwHRNwAG3mn2mJooYR6LbpVLxmEmmDLtK5bWAXrp7CV g+rA==
MIME-Version: 1.0
X-Received: by 10.67.24.7 with SMTP id ie7mr34078413pad.112.1381708672990; Sun, 13 Oct 2013 16:57:52 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.225.129 with HTTP; Sun, 13 Oct 2013 16:57:52 -0700 (PDT)
Date: Sun, 13 Oct 2013 19:57:52 -0400
X-Google-Sender-Auth: dR07sgHKhuMHg6P853wZJwQ8brE
Message-ID: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: IETF ALTO <alto@ietf.org>
Content-Type: multipart/alternative; boundary=001a11345102a3045e04e8a81e7b
Cc: Wendy Roome <W.Roome@alcatel-lucent.com>, "choits@etri.re.kr" <choits@etri.re.kr>, Qin Wu <bill.wu@huawei.com>
Subject: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sun, 13 Oct 2013 23:57:54 -0000

--001a11345102a3045e04e8a81e7b
Content-Type: text/plain; charset=ISO-8859-1

Dear all,

The base ALTO protocol (
http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt) is mostly a
single-cost-metric centric:

- The Cost Map filtering service uses only one cost-type (Sec. 11.3.2.3):

     object {
     CostType   cost-type;
     [JSONString constraints<0..*>;]
     [PIDFilter  pids;]
   } ReqFilteredCostMap;

   object {
     PIDName srcs<0..*>;
     PIDName dsts<0..*>;
   } PIDFilter;

...
 constraints  Defines a list of additional constraints on which
      elements of the Cost Map are returned.  This parameter MUST NOT be
      specified if this resource's capabilities (Section 11.3.2.4)
      indicate that constraint support is not available.  A constraint
      contains two entities separated by whitespace: (1) an operator,
      'gt' for greater than, 'lt' for less than, 'ge' for greater than
      or equal to, 'le' for less than or equal to, or 'eq' for equal to;
      (2) a target cost value.

- The Endpoint Cost service allows filtering (Sec. 11.5.1.3) as well, and
is similar to Cost Map Filtering:

   object {
     CostType          cost-type;
     [JSONString       constraints<0..*>;]
     EndpointFilter    endpoints;
   } ReqEndpointCostMap;

   object {
     [TypedEndpointAddr srcs<0..*>;]
     [TypedEndpointAddr dsts<0..*>;]
   } EndpointFilter;

   constraints  Defined equivalently to the "constraints" input
      parameter of a Filtered Cost Map (see Section 11.3.2).

In other words, in the base protocol, the filtering condition and the
output are based on the same Cost Metric. It is natural that the filtering
and the output are based on different Cost metrics. For example, a Client
asks for routingcost for only pairs whose latency is below a threshold (see
use cases in http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07
).

One may argue that the filter-metric-no-equal-to-output-metric function can
be implemented on top of the filter-and-output-using-one-metric function:

In particular, suppose the filtering is based on metrics M1 and M2, and the
output is M3, for a set src to a set dsts. The Client can use the following
three queries:

- Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains <srcs1,
dsts1> in return;
- Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains
<srcs2, dsts2> in return;
- Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final
result.

Although this is not too bad, it is inconvenient. Note that preceding is
first discussed by Sabine, Wendy, Nico in:
http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07

I saw that this is also the issue discussed in
- http://tools.ietf.org/html/draft-wu-alto-json-te-01
- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02

Hence, I propose that the WG extends the base protocol with this
capability, as I see that it is quite useful. One issue is that I see three
designs, and I am wondering if the authors are preparing on discussing
their designs at the coming IETF, and if there is a possibility for a
single, unified document, focusing on this issue.

Thanks a lot!

Richard

--001a11345102a3045e04e8a81e7b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear all,<div><br></div><div>The base ALTO protocol (<a hr=
ef=3D"http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt">http://www.ie=
tf.org/id/draft-ietf-alto-protocol-20.txt</a>) is mostly a single-cost-metr=
ic centric:</div>
<div><br></div><div>- The Cost Map filtering service uses only one cost-typ=
e (Sec. 11.3.2.3):</div><div><br></div><div>=A0 =A0 =A0object {</div><div>=
=A0 =A0 =A0CostType =A0 cost-type;</div><div>=A0 =A0 =A0[JSONString constra=
ints&lt;0..*&gt;;]</div>
<div>=A0 =A0 =A0[PIDFilter =A0pids;]</div><div>=A0 =A0} ReqFilteredCostMap;=
</div><div><br></div><div>=A0 =A0object {</div><div>=A0 =A0 =A0PIDName srcs=
&lt;0..*&gt;;</div><div>=A0 =A0 =A0PIDName dsts&lt;0..*&gt;;</div><div>=A0 =
=A0} PIDFilter;</div><div><br>
</div><div>...</div><div><div>=A0constraints =A0Defines a list of additiona=
l constraints on which</div><div>=A0 =A0 =A0 elements of the Cost Map are r=
eturned. =A0This parameter MUST NOT be</div><div>=A0 =A0 =A0 specified if t=
his resource&#39;s capabilities (Section 11.3.2.4)</div>
<div>=A0 =A0 =A0 indicate that constraint support is not available. =A0A co=
nstraint</div><div>=A0 =A0 =A0 contains two entities separated by whitespac=
e: (1) an operator,</div><div>=A0 =A0 =A0 &#39;gt&#39; for greater than, &#=
39;lt&#39; for less than, &#39;ge&#39; for greater than</div>
<div>=A0 =A0 =A0 or equal to, &#39;le&#39; for less than or equal to, or &#=
39;eq&#39; for equal to;</div><div>=A0 =A0 =A0 (2) a target cost value.=A0<=
/div></div><div><br></div><div>- The Endpoint Cost service allows filtering=
 (Sec. 11.5.1.3) as well, and is similar to Cost Map Filtering:</div>
<div><br></div><div><div>=A0 =A0object {</div><div>=A0 =A0 =A0CostType =A0 =
=A0 =A0 =A0 =A0cost-type;</div><div>=A0 =A0 =A0[JSONString =A0 =A0 =A0 cons=
traints&lt;0..*&gt;;]</div><div>=A0 =A0 =A0EndpointFilter =A0 =A0endpoints;=
</div><div>=A0 =A0} ReqEndpointCostMap;</div>
<div><br></div><div>=A0 =A0object {</div><div>=A0 =A0 =A0[TypedEndpointAddr=
 srcs&lt;0..*&gt;;]</div><div>=A0 =A0 =A0[TypedEndpointAddr dsts&lt;0..*&gt=
;;]</div><div>=A0 =A0} EndpointFilter;</div></div><div><br></div><div><div>=
=A0 =A0constraints =A0Defined equivalently to the &quot;constraints&quot; i=
nput</div>
<div>=A0 =A0 =A0 parameter of a Filtered Cost Map (see Section 11.3.2).</di=
v></div><div><br></div><div>In other words, in the base protocol, the filte=
ring condition and the output are based on the same Cost Metric. It is natu=
ral that the filtering and the output are based on different Cost metrics. =
For example, a Client asks for routingcost for only pairs whose latency is =
below a threshold (see use cases in <a href=3D"http://tools.ietf.org/html/d=
raft-randriamasy-alto-multi-cost-07">http://tools.ietf.org/html/draft-randr=
iamasy-alto-multi-cost-07</a>).=A0</div>
<div><br></div><div>One may argue that the filter-metric-no-equal-to-output=
-metric function can be implemented on top of the filter-and-output-using-o=
ne-metric function:</div><div><br></div><div>In particular, suppose the fil=
tering is based on metrics M1 and M2, and the output is M3, for a set src t=
o a set dsts. The Client can use the following three queries:</div>
<div><br></div><div>- Q1: Use single metric &lt;M1, filter on M1, srcs, dst=
s&gt; and obtains &lt;srcs1, dsts1&gt; in return;</div><div>- Q2: Use singl=
e metric &lt;M2, filter on M2, srcs1, dsts1&gt; and obtains &lt;srcs2, dsts=
2&gt; in return;</div>
<div>- Q3: Use single metric &lt;M3, no filter, srcs2, dsts2&gt; to get the=
 final result.</div><div><br></div><div>Although this is not too bad, it is=
 inconvenient. Note that preceding is first discussed by Sabine, Wendy, Nic=
o in:<br>
<a href=3D"http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07"=
>http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07</a><br></d=
iv><div><br></div><div>I saw that this is also the issue discussed in =A0</=
div>
<div>-=A0<a href=3D"http://tools.ietf.org/html/draft-wu-alto-json-te-01">ht=
tp://tools.ietf.org/html/draft-wu-alto-json-te-01</a><br></div><div>-=A0<a =
href=3D"http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02"=
 target=3D"_blank" style=3D"font-size:12.800000190734863px;font-family:aria=
l,sans-serif">http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchan=
ge-02</a></div>
<div><br></div><div>Hence, I propose that the WG extends the base protocol =
with this capability, as I see that it is quite useful. One issue is that I=
 see three designs, and I am wondering if the authors are preparing on disc=
ussing their designs at the coming IETF, and if there is a possibility for =
a single, unified document, focusing on this issue.</div>
<div><br></div><div>Thanks a lot!</div><div><br></div><div>Richard</div></d=
iv>

--001a11345102a3045e04e8a81e7b--

From yang.r.yang@gmail.com  Sun Oct 13 19:42:20 2013
Return-Path: <yang.r.yang@gmail.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 E9C9911E80E8 for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 19:42:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.673
X-Spam-Level: 
X-Spam-Status: No, score=-1.673 tagged_above=-999 required=5 tests=[AWL=0.304,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Bw6+Hct4uk2 for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 19:42:20 -0700 (PDT)
Received: from mail-pb0-x236.google.com (mail-pb0-x236.google.com [IPv6:2607:f8b0:400e:c01::236]) by ietfa.amsl.com (Postfix) with ESMTP id D132A11E8106 for <alto@ietf.org>; Sun, 13 Oct 2013 19:42:17 -0700 (PDT)
Received: by mail-pb0-f54.google.com with SMTP id ro12so6724591pbb.13 for <alto@ietf.org>; Sun, 13 Oct 2013 19:42:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type;  bh=g8MzeRlDGIDhHf1mNsfUZgR6DFNRMmSMPU9KRnn5M9E=; b=IWCk5JCPDvELe/iVAPrES9IDUGDICd0Cp+B8lr7Dl9G3WQupYcU0hklyz3y8HmU4pf Y1d64gtpUAfvBGVW+lJitEfyIFT6EDfgilwQhf+eUfvsLN7RwZG/maSzMa/08BUnrLfo SkAlQKK0CRGUY9McnrbxqXQjn4P9CGrL9r/wzNTkhDVlPNwsIOTurgirsCBNKmy4EiAT xEFP2Bv3PEdWHIv8tj6aeLoWAeuqXcyNp4D53KLdfeNg+Mz2vBmoXpZkpjD5jDqLE8zY aXbEyaj9y7VEhTfxLkNJHC7Sah5kq/IVaxVHfBgX+wceSHztPXC/Xf7iQ8aTNwzav+PQ ZtRg==
MIME-Version: 1.0
X-Received: by 10.68.134.6 with SMTP id pg6mr33742407pbb.67.1381718537618; Sun, 13 Oct 2013 19:42:17 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.225.129 with HTTP; Sun, 13 Oct 2013 19:42:17 -0700 (PDT)
Date: Sun, 13 Oct 2013 22:42:17 -0400
X-Google-Sender-Auth: -GS0XVxi2tbUqbTK84x-9zT7M2g
Message-ID: <CANUuoLrYSOykB6YyvNSj2Zvrw-ZQiJoFFBoMCXLzkpgW37T1HA@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: IETF ALTO <alto@ietf.org>
Content-Type: multipart/alternative; boundary=047d7b10cebf9d4da004e8aa6a85
Cc: Wendy Roome <W.Roome@alcatel-lucent.com>, "choits@etri.re.kr" <choits@etri.re.kr>, Qin Wu <bill.wu@huawei.com>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 02:42:21 -0000

--047d7b10cebf9d4da004e8aa6a85
Content-Type: text/plain; charset=ISO-8859-1

Let me add on: although a filtering service can be a very useful service,
it can also be quite involved, and hence the WG may need to think through
the issues when designing this service. For example, there are two types of
use cases:

- end-to-end: given src set {s1, s2, s3, ..., sn} and dst set {d1, d2, d3,
..., dm}, return all pairs (si, dj), where si in {s1, ..., sn} and dj in
{d1, ..., dm} such that (si, dj) satisfies the constraints;

- relay: given src s, dst d, and a relay candidate set {r1, r2, ..., rk},
return all of the ri such that s -> ri -> d satisfies the constraints.

Note that with relay, we will then need to worry about the "composition"
semantics of metrics. For example, delay might be additive, loss rate
(unless small and independent) may not be.

The relay could be even fancier (e.g., one-hop server detour such as Akamai
one-hop detour and hence may involved two relay servers), but it may or may
not be a good idea to go too complex, depending on if the WG can define a
clean API (e.g., SQL select/where grammar comes to mind quickly).

Thanks!

Richard

On Sun, Oct 13, 2013 at 7:57 PM, Y. Richard Yang <yry@cs.yale.edu> wrote:

> Dear all,
>
> The base ALTO protocol (
> http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt) is mostly a
> single-cost-metric centric:
>
> - The Cost Map filtering service uses only one cost-type (Sec. 11.3.2.3):
>
>      object {
>      CostType   cost-type;
>      [JSONString constraints<0..*>;]
>      [PIDFilter  pids;]
>    } ReqFilteredCostMap;
>
>    object {
>      PIDName srcs<0..*>;
>      PIDName dsts<0..*>;
>    } PIDFilter;
>
> ...
>  constraints  Defines a list of additional constraints on which
>       elements of the Cost Map are returned.  This parameter MUST NOT be
>       specified if this resource's capabilities (Section 11.3.2.4)
>       indicate that constraint support is not available.  A constraint
>       contains two entities separated by whitespace: (1) an operator,
>       'gt' for greater than, 'lt' for less than, 'ge' for greater than
>       or equal to, 'le' for less than or equal to, or 'eq' for equal to;
>       (2) a target cost value.
>
> - The Endpoint Cost service allows filtering (Sec. 11.5.1.3) as well, and
> is similar to Cost Map Filtering:
>
>    object {
>      CostType          cost-type;
>      [JSONString       constraints<0..*>;]
>      EndpointFilter    endpoints;
>    } ReqEndpointCostMap;
>
>    object {
>      [TypedEndpointAddr srcs<0..*>;]
>      [TypedEndpointAddr dsts<0..*>;]
>    } EndpointFilter;
>
>    constraints  Defined equivalently to the "constraints" input
>       parameter of a Filtered Cost Map (see Section 11.3.2).
>
> In other words, in the base protocol, the filtering condition and the
> output are based on the same Cost Metric. It is natural that the filtering
> and the output are based on different Cost metrics. For example, a Client
> asks for routingcost for only pairs whose latency is below a threshold (see
> use cases in
> http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07).
>
> One may argue that the filter-metric-no-equal-to-output-metric function
> can be implemented on top of the filter-and-output-using-one-metric
> function:
>
> In particular, suppose the filtering is based on metrics M1 and M2, and
> the output is M3, for a set src to a set dsts. The Client can use the
> following three queries:
>
> - Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains <srcs1,
> dsts1> in return;
> - Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains
> <srcs2, dsts2> in return;
> - Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final
> result.
>
> Although this is not too bad, it is inconvenient. Note that preceding is
> first discussed by Sabine, Wendy, Nico in:
> http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07
>
> I saw that this is also the issue discussed in
> - http://tools.ietf.org/html/draft-wu-alto-json-te-01
> - http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02
>
> Hence, I propose that the WG extends the base protocol with this
> capability, as I see that it is quite useful. One issue is that I see three
> designs, and I am wondering if the authors are preparing on discussing
> their designs at the coming IETF, and if there is a possibility for a
> single, unified document, focusing on this issue.
>
> Thanks a lot!
>
> Richard
>

--047d7b10cebf9d4da004e8aa6a85
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Let me add on: although a filtering service can be a very =
useful service, it can also be quite involved, and hence the WG may need to=
 think through the issues when designing this service. For example, there a=
re two types of use cases:<div>
<br></div><div>- end-to-end: given src set {s1, s2, s3, ..., sn} and dst se=
t {d1, d2, d3, ..., dm}, return all pairs (si, dj), where si in {s1, ..., s=
n} and dj in {d1, ..., dm} such that (si, dj) satisfies the constraints;</d=
iv>
<div><br><div class=3D"gmail_extra">- relay: given src s, dst d, and a rela=
y candidate set {r1, r2, ..., rk}, return all of the ri such that s -&gt; r=
i -&gt; d satisfies the constraints.=A0</div><div class=3D"gmail_extra"><br=
></div>
<div class=3D"gmail_extra">Note that with relay, we will then need to worry=
 about the &quot;composition&quot; semantics of metrics. For example, delay=
 might be additive, loss rate (unless small and independent) may not be.</d=
iv>
<div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">The relay c=
ould be even fancier (e.g., one-hop server detour such as Akamai one-hop de=
tour and hence may involved two relay servers), but it may or may not be a =
good idea to go too complex, depending on if the WG can define a clean API =
(e.g., SQL select/where grammar comes to mind quickly).</div>
<div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Thanks!</di=
v><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">Richard<b=
r><br><div class=3D"gmail_quote">On Sun, Oct 13, 2013 at 7:57 PM, Y. Richar=
d Yang <span dir=3D"ltr">&lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_=
blank">yry@cs.yale.edu</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">Dear all,<div><br></div><di=
v>The base ALTO protocol (<a href=3D"http://www.ietf.org/id/draft-ietf-alto=
-protocol-20.txt" target=3D"_blank">http://www.ietf.org/id/draft-ietf-alto-=
protocol-20.txt</a>) is mostly a single-cost-metric centric:</div>

<div><br></div><div>- The Cost Map filtering service uses only one cost-typ=
e (Sec. 11.3.2.3):</div><div><br></div><div>=A0 =A0 =A0object {</div><div>=
=A0 =A0 =A0CostType =A0 cost-type;</div><div>=A0 =A0 =A0[JSONString constra=
ints&lt;0..*&gt;;]</div>

<div>=A0 =A0 =A0[PIDFilter =A0pids;]</div><div>=A0 =A0} ReqFilteredCostMap;=
</div><div><br></div><div>=A0 =A0object {</div><div>=A0 =A0 =A0PIDName srcs=
&lt;0..*&gt;;</div><div>=A0 =A0 =A0PIDName dsts&lt;0..*&gt;;</div><div>=A0 =
=A0} PIDFilter;</div><div><br>

</div><div>...</div><div><div>=A0constraints =A0Defines a list of additiona=
l constraints on which</div><div>=A0 =A0 =A0 elements of the Cost Map are r=
eturned. =A0This parameter MUST NOT be</div><div>=A0 =A0 =A0 specified if t=
his resource&#39;s capabilities (Section 11.3.2.4)</div>

<div>=A0 =A0 =A0 indicate that constraint support is not available. =A0A co=
nstraint</div><div>=A0 =A0 =A0 contains two entities separated by whitespac=
e: (1) an operator,</div><div>=A0 =A0 =A0 &#39;gt&#39; for greater than, &#=
39;lt&#39; for less than, &#39;ge&#39; for greater than</div>

<div>=A0 =A0 =A0 or equal to, &#39;le&#39; for less than or equal to, or &#=
39;eq&#39; for equal to;</div><div>=A0 =A0 =A0 (2) a target cost value.=A0<=
/div></div><div><br></div><div>- The Endpoint Cost service allows filtering=
 (Sec. 11.5.1.3) as well, and is similar to Cost Map Filtering:</div>

<div><br></div><div><div>=A0 =A0object {</div><div>=A0 =A0 =A0CostType =A0 =
=A0 =A0 =A0 =A0cost-type;</div><div>=A0 =A0 =A0[JSONString =A0 =A0 =A0 cons=
traints&lt;0..*&gt;;]</div><div>=A0 =A0 =A0EndpointFilter =A0 =A0endpoints;=
</div><div>=A0 =A0} ReqEndpointCostMap;</div>

<div><br></div><div>=A0 =A0object {</div><div>=A0 =A0 =A0[TypedEndpointAddr=
 srcs&lt;0..*&gt;;]</div><div>=A0 =A0 =A0[TypedEndpointAddr dsts&lt;0..*&gt=
;;]</div><div>=A0 =A0} EndpointFilter;</div></div><div><br></div><div><div>=
=A0 =A0constraints =A0Defined equivalently to the &quot;constraints&quot; i=
nput</div>

<div>=A0 =A0 =A0 parameter of a Filtered Cost Map (see Section 11.3.2).</di=
v></div><div><br></div><div>In other words, in the base protocol, the filte=
ring condition and the output are based on the same Cost Metric. It is natu=
ral that the filtering and the output are based on different Cost metrics. =
For example, a Client asks for routingcost for only pairs whose latency is =
below a threshold (see use cases in <a href=3D"http://tools.ietf.org/html/d=
raft-randriamasy-alto-multi-cost-07" target=3D"_blank">http://tools.ietf.or=
g/html/draft-randriamasy-alto-multi-cost-07</a>).=A0</div>

<div><br></div><div>One may argue that the filter-metric-no-equal-to-output=
-metric function can be implemented on top of the filter-and-output-using-o=
ne-metric function:</div><div><br></div><div>In particular, suppose the fil=
tering is based on metrics M1 and M2, and the output is M3, for a set src t=
o a set dsts. The Client can use the following three queries:</div>

<div><br></div><div>- Q1: Use single metric &lt;M1, filter on M1, srcs, dst=
s&gt; and obtains &lt;srcs1, dsts1&gt; in return;</div><div>- Q2: Use singl=
e metric &lt;M2, filter on M2, srcs1, dsts1&gt; and obtains &lt;srcs2, dsts=
2&gt; in return;</div>

<div>- Q3: Use single metric &lt;M3, no filter, srcs2, dsts2&gt; to get the=
 final result.</div><div><br></div><div>Although this is not too bad, it is=
 inconvenient. Note that preceding is first discussed by Sabine, Wendy, Nic=
o in:<br>

<a href=3D"http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07"=
 target=3D"_blank">http://tools.ietf.org/html/draft-randriamasy-alto-multi-=
cost-07</a><br></div><div><br></div><div>I saw that this is also the issue =
discussed in =A0</div>

<div>-=A0<a href=3D"http://tools.ietf.org/html/draft-wu-alto-json-te-01" ta=
rget=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-json-te-01</a><br>=
</div><div>-=A0<a href=3D"http://tools.ietf.org/html/draft-lee-alto-app-net=
-info-exchange-02" style=3D"font-size:12.800000190734863px;font-family:aria=
l,sans-serif" target=3D"_blank">http://tools.ietf.org/html/draft-lee-alto-a=
pp-net-info-exchange-02</a></div>

<div><br></div><div>Hence, I propose that the WG extends the base protocol =
with this capability, as I see that it is quite useful. One issue is that I=
 see three designs, and I am wondering if the authors are preparing on disc=
ussing their designs at the coming IETF, and if there is a possibility for =
a single, unified document, focusing on this issue.</div>

<div><br></div><div>Thanks a lot!</div><span class=3D"HOEnZb"><font color=
=3D"#888888"><div><br></div><div>Richard</div></font></span></div>
</blockquote></div><br></div></div></div>

--047d7b10cebf9d4da004e8aa6a85--

From bill.wu@huawei.com  Sun Oct 13 20:14:38 2013
Return-Path: <bill.wu@huawei.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 C5C2611E80E8 for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 20:14:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.524
X-Spam-Level: 
X-Spam-Status: No, score=-6.524 tagged_above=-999 required=5 tests=[AWL=0.075,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lqreopvhf8EU for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 20:14:34 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id E104E21F9C6B for <alto@ietf.org>; Sun, 13 Oct 2013 20:14:32 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AWT87845; Mon, 14 Oct 2013 03:14:29 +0000 (GMT)
Received: from LHREML401-HUB.china.huawei.com (10.201.5.240) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.146.0; Mon, 14 Oct 2013 04:13:40 +0100
Received: from nkgeml405-hub.china.huawei.com (10.98.56.36) by lhreml401-hub.china.huawei.com (10.201.5.240) with Microsoft SMTP Server (TLS) id 14.3.146.0; Mon, 14 Oct 2013 04:14:26 +0100
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.141]) by nkgeml405-hub.china.huawei.com ([10.98.56.36]) with mapi id 14.03.0146.000; Mon, 14 Oct 2013 11:14:15 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>, IETF ALTO <alto@ietf.org>
Thread-Topic: ALTO Extension: A document defining multi-metrics filtering?
Thread-Index: AQHOyHALHY93+IaOIEi7gBrq1LoWBJnzZMAw
Date: Mon, 14 Oct 2013 03:14:14 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA43C0ABE8@nkgeml501-mbs.china.huawei.com>
References: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com>
In-Reply-To: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.138.41.149]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA43C0ABE8nkgeml501mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: Wendy Roome <W.Roome@alcatel-lucent.com>, "choits@etri.re.kr" <choits@etri.re.kr>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 03:14:38 -0000

--_000_B8F9A780D330094D99AF023C5877DABA43C0ABE8nkgeml501mbschi_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,Richard:
Thanks for raising discussion for this on the list.
Please see my reply inline below.

Regards!
-Qin

>From: yang.r.yang@gmail.com [mailto:yang.r.yang@gmail.com] On Behalf Of Y.=
 Richard Yang
>Sent: Monday, October 14, 2013 7:58 AM
>To: IETF ALTO
>Cc: Sabine Randriamasy; Wendy Roome; ietf@nico-schwan.de; Qin Wu; Leeyoung=
; Greg Bernstein; choits@etri.re.kr; Dhruv Dhody
>Subject: ALTO Extension: A document defining multi-metrics filtering?

>Dear all,

>The base ALTO protocol (http://www.ietf.org/id/draft-ietf-alto-protocol-20=
.txt) is mostly a single-cost-metric centric:

>- The Cost Map filtering service uses only one cost-type (Sec. 11.3.2.3):

>     object {
>     CostType   cost-type;
>     [JSONString constraints<0..*>;]
>     [PIDFilter  pids;]
>   } ReqFilteredCostMap;

>   object {
>     PIDName srcs<0..*>;
>     PIDName dsts<0..*>;
>   } PIDFilter;

...
> constraints  Defines a list of additional constraints on which
>      elements of the Cost Map are returned.  This parameter MUST NOT be
>      specified if this resource's capabilities (Section 11.3.2.4)
>      indicate that constraint support is not available.  A constraint
>      contains two entities separated by whitespace: (1) an operator,
>      'gt' for greater than, 'lt' for less than, 'ge' for greater than
>      or equal to, 'le' for less than or equal to, or 'eq' for equal to;
>      (2) a target cost value.

>- The Endpoint Cost service allows filtering (Sec. 11.5.1.3) as well, and =
is similar to Cost Map Filtering:

>   object {
>     CostType          cost-type;
>     [JSONString       constraints<0..*>;]
>     EndpointFilter    endpoints;
>   } ReqEndpointCostMap;

>   object {
>     [TypedEndpointAddr srcs<0..*>;]
>     [TypedEndpointAddr dsts<0..*>;]
>   } EndpointFilter;

>   constraints  Defined equivalently to the "constraints" input
>      parameter of a Filtered Cost Map (see Section 11.3.2).

>In other words, in the base protocol, the filtering condition and the outp=
ut are based on the same Cost Metric.

[Qin]: Exactly, the restriction of base protocol is require filtering condi=
tion and the output basing on the same cost metric,e.g., routing cost.
In draft-wu-alto-json-te-01, we propose to relax such restriction to make f=
iltering condition and the output based on the different cost metric.
The change to the base protocol is:
In the JSON Object of type ReqFilteredCostMap in base protocol, the constra=
int
attribute is expressed as:
"
[gt | lt | ge | le | eq ] <value>
"

In draft-wu-alto-json-te-01, the constraint attribute is changed to
      "
   <cost-type2>  [gt | lt | ge | le | eq ] <value>
      "
i.e., an cost type is by default cost-type in the JSON Object of type ReqFi=
lteredCostMap in base protocol.
However it could be another cost-type used for the returned cost.

I guess this new constraint attribute should go to the document defining mu=
lti-metrics filering.


>It is natural that the filtering and the output are based on different Cos=
t metrics.

>For example, a Client asks for routingcost for only pairs whose latency is=
 below a threshold (see use cases in http://tools.ietf.org/html/draft-randr=
iamasy-alto-multi-cost-07).


>One may argue that the filter-metric-no-equal-to-output-metric function ca=
n be implemented on top of the filter-and-output-using-one-metric function:

>In particular, suppose the filtering is based on metrics M1 and M2, and th=
e output is M3, for a set src to a set dsts. The Client can use the followi=
ng three queries:

>- Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains <srcs1,=
 dsts1> in return;
>- Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains <srcs=
2, dsts2> in return;
>- Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final res=
ult.

[Qin]: I believe the base ALTO protocol support these queries.
However it doesn't looks efficient to do such query since these queries sho=
uld happen in order one by one , i.e.,<Q1,Q2,Q3>.
It takes three round exchange to get the results.

If we have five or  six metrics as filtering,  it takes ever longer to get =
the results, which is not desirable.

On the other hand, in some cases, not only we want to know cost information=
 from one source endpoint to one destination endpoint, but also
We want to know all the endpoints traversed by traffic in the path that sat=
isfy several constraints, e.g.,delay, packet loss, jitter, bandwidth.
e.g., in path computation in the networks, we want to compute  end-to-end p=
ath with latency, latency-variation and packet loss
 constraints, the end to end path is identified by (source address, middlep=
oint1 address, middlepoint2 address,....,destination address)


>Although this is not too bad, it is inconvenient. Note that preceding is f=
irst discussed by Sabine, Wendy, Nico in:
>http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07

>I saw that this is also the issue discussed in
>- http://tools.ietf.org/html/draft-wu-alto-json-te-01
>- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02

[Qin]:Young ,Dhruv and I have already looking for consolidation in this asp=
ect in these days.

>Hence, I propose that the WG extends the base protocol with this capabilit=
y, as I see that it is quite useful. One issue is that I see three designs,=
 and I am wondering if the authors are >preparing on discussing their desig=
ns at the coming IETF, and if there is a possibility for a single, unified =
document, focusing on this issue.

[Qin]: Good idea, I think some constraints can be applied to all path from =
source endpoint to destination, some constraint can be applied to some link=
s in the path.
e.g., delay can be applied to per link or end to end path, if the delay is =
applied to the end to end path, that means, we want to find a path from src=
 to dest that meets end to end delay requirement.
Another example is utilized bandwidth, utilized bandwidth can be applied to=
 per link, if the utilized bandwidth is applied to per link, that means we =
want to find a path from src to dest that meet
Per link bandwidth utilization requirement.

>Thanks a lot!

>Richard

--_000_B8F9A780D330094D99AF023C5877DABA43C0ABE8nkgeml501mbschi_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.HTMLChar
	{mso-style-name:"HTML \9884\8BBE\683C\5F0F Char";
	mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi,Richard:<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks for raising discus=
sion for this on the list.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Please see my reply inlin=
e below.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regards!<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">-Qin<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">&gt;</span></b><b><span style=3D"font=
-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</=
span></b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&qu=
ot;sans-serif&quot;"> yang.r.yang@gmail.com
 [mailto:yang.r.yang@gmail.com] <b>On Behalf Of </b>Y. Richard Yang<br>
</span><b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&q=
uot;sans-serif&quot;">&gt;</span></b><b><span style=3D"font-size:10.0pt;fon=
t-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Sent:</span></b><span s=
tyle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&qu=
ot;"> Monday, October 14,
 2013 7:58 AM<br>
</span><b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&q=
uot;sans-serif&quot;">&gt;</span></b><b><span style=3D"font-size:10.0pt;fon=
t-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">To:</span></b><span sty=
le=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot=
;"> IETF ALTO<br>
</span><b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&q=
uot;sans-serif&quot;">&gt;</span></b><b><span style=3D"font-size:10.0pt;fon=
t-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Cc:</span></b><span sty=
le=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot=
;"> Sabine Randriamasy; Wendy
 Roome; ietf@nico-schwan.de; Qin Wu; Leeyoung; Greg Bernstein; choits@etri.=
re.kr; Dhruv Dhody<br>
</span><b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&q=
uot;sans-serif&quot;">&gt;</span></b><b><span style=3D"font-size:10.0pt;fon=
t-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Subject:</span></b><spa=
n style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif=
&quot;"> ALTO Extension: A
 document defining multi-metrics filtering?<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>Dear all,<o=
:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>The base AL=
TO protocol (<a href=3D"http://www.ietf.org/id/draft-ietf-alto-protocol-20.=
txt">http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt</a>) is mostly =
a single-cost-metric centric:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>- The Cost =
Map filtering service uses only one cost-type (Sec. 11.3.2.3):<o:p></o:p></=
p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp;object {<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp;CostType &nbsp; cost-type;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp;[JSONString constraints&lt;0..*&gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp;[PIDFilter &nbsp;pids;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p;} ReqFilteredCostMap;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p;object {<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp;PIDName srcs&lt;0..*&gt;;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp;PIDName dsts&lt;0..*&gt;;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p;} PIDFilter;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">...<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp;const=
raints &nbsp;Defines a list of additional constraints on which<o:p></o:p></=
p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp; elements of the Cost Map are returned. &nbsp;This parameter MUST =
NOT be<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp; specified if this resource's capabilities (Section 11.3.2.4)<o:p>=
</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp; indicate that constraint support is not available. &nbsp;A constr=
aint<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp; contains two entities separated by whitespace: (1) an operator,<o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp; 'gt' for greater than, 'lt' for less than, 'ge' for greater than<=
o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp; or equal to, 'le' for less than or equal to, or 'eq' for equal to=
;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp; (2) a target cost value.&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>- The Endpo=
int Cost service allows filtering (Sec. 11.5.1.3) as well, and is similar t=
o Cost Map Filtering:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p;object {<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp;CostType &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cost-type;<o:p></o:p></=
p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp;[JSONString &nbsp; &nbsp; &nbsp; constraints&lt;0..*&gt;;]<o:p></o=
:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp;EndpointFilter &nbsp; &nbsp;endpoints;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p;} ReqEndpointCostMap;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p;object {<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp;[TypedEndpointAddr srcs&lt;0..*&gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp;[TypedEndpointAddr dsts&lt;0..*&gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p;} EndpointFilter;<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p;constraints &nbsp;Defined equivalently to the &quot;constraints&quot; inp=
ut<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>&nbsp; &nbs=
p; &nbsp; parameter of a Filtered Cost Map (see Section 11.3.2).<o:p></o:p>=
</p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>In other wo=
rds, in the base protocol, the filtering condition and the output are based=
 on the same Cost Metric.
<span style=3D"color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">[Qin]: Exactly, the restr=
iction of base protocol is require filtering condition and the output basin=
g on the same cost metric,e.g., routing cost.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">In draft-wu-alto-json-te-=
01, we propose to relax such restriction to make filtering condition and th=
e output based on the different cost metric.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">The change to the base pr=
otocol is:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">In the JSON Object of typ=
e ReqFilteredCostMap in base protocol, the constraint<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">attribute is expressed as=
:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&quot;<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">[gt | lt | ge | le | eq ]=
 &lt;value&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&quot;<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">In draft-wu-alto-json-te-=
01, the constraint attribute is changed to<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; &quot;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp; &lt;cost-typ=
e2&gt;&nbsp; [gt | lt | ge | le | eq ] &lt;value&gt;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; &quot;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">i.e., an cost type is by =
default cost-type in the JSON Object of type ReqFilteredCostMap in base pro=
tocol.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">However it could be anoth=
er cost-type used for the returned cost.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I guess this new constrai=
nt attribute should go to the document defining multi-metrics filering.<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>It is natur=
al that the filtering and the output are based on different Cost metrics.
<span style=3D"color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>For example=
, a Client asks for routingcost for only pairs whose latency is below a thr=
eshold (see use cases in
<a href=3D"http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07"=
>http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07</a>).&nbsp=
;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>One may arg=
ue that the filter-metric-no-equal-to-output-metric function can be impleme=
nted on top of the filter-and-output-using-one-metric function:<o:p></o:p><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>In particul=
ar, suppose the filtering is based on metrics M1 and M2, and the output is =
M3, for a set src to a set dsts. The Client can use the following three que=
ries:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>- Q1: Use s=
ingle metric &lt;M1, filter on M1, srcs, dsts&gt; and obtains &lt;srcs1, ds=
ts1&gt; in return;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>- Q2: Use s=
ingle metric &lt;M2, filter on M2, srcs1, dsts1&gt; and obtains &lt;srcs2, =
dsts2&gt; in return;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>- Q3: Use s=
ingle metric &lt;M3, no filter, srcs2, dsts2&gt; to get the final result.<o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">[Qin]: I believe the base=
 ALTO protocol support these queries.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">However it doesn&#8217;t =
looks efficient to do such query since these queries should happen in order=
 one by one , i.e.,&lt;Q1,Q2,Q3&gt;.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">It takes three round exch=
ange to get the results.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">If we have five or&nbsp; =
six metrics as filtering,&nbsp; it takes ever longer to get the results, wh=
ich is not desirable.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">On the other hand, in som=
e cases, not only we want to know cost information from one source endpoint=
 to one destination endpoint, but also<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">We want to know all the e=
ndpoints traversed by traffic in the path that satisfy several constraints,=
 e.g.,delay, packet loss, jitter, bandwidth.
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"line-height:14.4pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">e.g., in path computation in the networks, we want to compute&nbsp; end=
-to-end path with latency, latency-variation and packet loss<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;constraints, the en=
d to end path is identified by (source address, middlepoint1 address, middl=
epoint2 address,&#8230;.,destination address)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>Although th=
is is not too bad, it is inconvenient. Note that preceding is first discuss=
ed by Sabine, Wendy, Nico in:<br>
<span style=3D"color:#1F497D">&gt;</span><a href=3D"http://tools.ietf.org/h=
tml/draft-randriamasy-alto-multi-cost-07">http://tools.ietf.org/html/draft-=
randriamasy-alto-multi-cost-07</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>I saw that =
this is also the issue discussed in &nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>-&nbsp;<a h=
ref=3D"http://tools.ietf.org/html/draft-wu-alto-json-te-01">http://tools.ie=
tf.org/html/draft-wu-alto-json-te-01</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>-&nbsp;<a h=
ref=3D"http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02" =
target=3D"_blank"><span style=3D"font-size:9.5pt;font-family:&quot;Arial&qu=
ot;,&quot;sans-serif&quot;">http://tools.ietf.org/html/draft-lee-alto-app-n=
et-info-exchange-02</span></a><span style=3D"color:#1F497D"><o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">[Qin]:Young ,Dhruv and I =
have already looking for consolidation in this aspect in these days.<o:p></=
o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>Hence, I pr=
opose that the WG extends the base protocol with this capability, as I see =
that it is quite useful. One issue is that I see three designs, and I am wo=
ndering if the authors are
<span style=3D"color:#1F497D">&gt;</span>preparing on discussing their desi=
gns at the coming IETF, and if there is a possibility for a single, unified=
 document, focusing on this issue.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">[Qin]: Good idea, I think=
 some constraints can be applied to all path from source endpoint to destin=
ation, some constraint can be applied to some links in the
 path.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">e.g., delay can be applie=
d to per link or end to end path, if the delay is applied to the end to end=
 path, that means, we want to find a path from src to dest
 that meets end to end delay requirement.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Another example is utiliz=
ed bandwidth, utilized bandwidth can be applied to per link, if the utilize=
d bandwidth is applied to per link, that means we want to
 find a path from src to dest that meet<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Per link bandwidth utiliz=
ation requirement.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>Thanks a lo=
t!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>Richard<o:p=
></o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_B8F9A780D330094D99AF023C5877DABA43C0ABE8nkgeml501mbschi_--

From bill.wu@huawei.com  Sun Oct 13 20:27:54 2013
Return-Path: <bill.wu@huawei.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 655C311E80E2 for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 20:27:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.738
X-Spam-Level: 
X-Spam-Status: No, score=-3.738 tagged_above=-999 required=5 tests=[AWL=-2.740, BAYES_00=-2.599, GB_SUMOF=5, HTML_MESSAGE=0.001, J_CHICKENPOX_51=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QfvXejdplED5 for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 20:27:42 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id 4BDD911E81DE for <alto@ietf.org>; Sun, 13 Oct 2013 20:27:40 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml204-edg.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AZB17471; Mon, 14 Oct 2013 03:27:38 +0000 (GMT)
Received: from LHREML403-HUB.china.huawei.com (10.201.5.217) by lhreml204-edg.china.huawei.com (172.18.7.223) with Microsoft SMTP Server (TLS) id 14.3.146.0; Mon, 14 Oct 2013 04:27:01 +0100
Received: from nkgeml409-hub.china.huawei.com (10.98.56.40) by lhreml403-hub.china.huawei.com (10.201.5.217) with Microsoft SMTP Server (TLS) id 14.3.146.0; Mon, 14 Oct 2013 04:27:37 +0100
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.141]) by nkgeml409-hub.china.huawei.com ([10.98.56.40]) with mapi id 14.03.0146.000; Mon, 14 Oct 2013 11:27:32 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>, IETF ALTO <alto@ietf.org>
Thread-Topic: [alto] ALTO Extension: A document defining multi-metrics filtering?
Thread-Index: AQHOyIcKeuX3PR7A3UaZLZZKGcHyMZnzhqKQ
Date: Mon, 14 Oct 2013 03:27:31 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA43C0AC14@nkgeml501-mbs.china.huawei.com>
References: <CANUuoLrYSOykB6YyvNSj2Zvrw-ZQiJoFFBoMCXLzkpgW37T1HA@mail.gmail.com>
In-Reply-To: <CANUuoLrYSOykB6YyvNSj2Zvrw-ZQiJoFFBoMCXLzkpgW37T1HA@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.138.41.149]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA43C0AC14nkgeml501mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: "choits@etri.re.kr" <choits@etri.re.kr>, Wendy Roome <W.Roome@alcatel-lucent.com>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics	filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 03:27:54 -0000

--_000_B8F9A780D330094D99AF023C5877DABA43C0AC14nkgeml501mbschi_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Richard took words out of my mouth,:)
Yes, in some cases, from source to destination, there is only one hop away,=
 or we only care about source endpoint address and destination endpoint add=
ress, we don't care about which intermediary it traverses in the path from =
src to destination, I think base protocol strong support such case.

However when we put more constraints on the path, e.g.,we need to compute a=
n end to end path with these constraints. These constraints can be latency,=
 packet loss, jitter.
However latency, packet loss, jitter are usually gathered from routing prot=
ocol, and put as per link metrics, so we need to do some aggregation when w=
e apply these per link metrics
to the end to end path, e.g., per link latency, if we choose a path that tr=
averses link A, link B, link C, then we can get end to end latency by choos=
ing the sum of per link latency of link A, link B and link C.

Regards!
-Qin

From: alto-bounces@ietf.org [mailto:alto-bounces@ietf.org] On Behalf Of Y. =
Richard Yang
Sent: Monday, October 14, 2013 10:42 AM
To: IETF ALTO
Cc: Wendy Roome; choits@etri.re.kr; Qin Wu
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics filte=
ring?

Let me add on: although a filtering service can be a very useful service, i=
t can also be quite involved, and hence the WG may need to think through th=
e issues when designing this service. For example, there are two types of u=
se cases:

- end-to-end: given src set {s1, s2, s3, ..., sn} and dst set {d1, d2, d3, =
..., dm}, return all pairs (si, dj), where si in {s1, ..., sn} and dj in {d=
1, ..., dm} such that (si, dj) satisfies the constraints;

- relay: given src s, dst d, and a relay candidate set {r1, r2, ..., rk}, r=
eturn all of the ri such that s -> ri -> d satisfies the constraints.

Note that with relay, we will then need to worry about the "composition" se=
mantics of metrics. For example, delay might be additive, loss rate (unless=
 small and independent) may not be.

The relay could be even fancier (e.g., one-hop server detour such as Akamai=
 one-hop detour and hence may involved two relay servers), but it may or ma=
y not be a good idea to go too complex, depending on if the WG can define a=
 clean API (e.g., SQL select/where grammar comes to mind quickly).

Thanks!

Richard
On Sun, Oct 13, 2013 at 7:57 PM, Y. Richard Yang <yry@cs.yale.edu<mailto:yr=
y@cs.yale.edu>> wrote:
Dear all,

The base ALTO protocol (http://www.ietf.org/id/draft-ietf-alto-protocol-20.=
txt) is mostly a single-cost-metric centric:

- The Cost Map filtering service uses only one cost-type (Sec. 11.3.2.3):

     object {
     CostType   cost-type;
     [JSONString constraints<0..*>;]
     [PIDFilter  pids;]
   } ReqFilteredCostMap;

   object {
     PIDName srcs<0..*>;
     PIDName dsts<0..*>;
   } PIDFilter;

...
 constraints  Defines a list of additional constraints on which
      elements of the Cost Map are returned.  This parameter MUST NOT be
      specified if this resource's capabilities (Section 11.3.2.4)
      indicate that constraint support is not available.  A constraint
      contains two entities separated by whitespace: (1) an operator,
      'gt' for greater than, 'lt' for less than, 'ge' for greater than
      or equal to, 'le' for less than or equal to, or 'eq' for equal to;
      (2) a target cost value.

- The Endpoint Cost service allows filtering (Sec. 11.5.1.3) as well, and i=
s similar to Cost Map Filtering:

   object {
     CostType          cost-type;
     [JSONString       constraints<0..*>;]
     EndpointFilter    endpoints;
   } ReqEndpointCostMap;

   object {
     [TypedEndpointAddr srcs<0..*>;]
     [TypedEndpointAddr dsts<0..*>;]
   } EndpointFilter;

   constraints  Defined equivalently to the "constraints" input
      parameter of a Filtered Cost Map (see Section 11.3.2).

In other words, in the base protocol, the filtering condition and the outpu=
t are based on the same Cost Metric. It is natural that the filtering and t=
he output are based on different Cost metrics. For example, a Client asks f=
or routingcost for only pairs whose latency is below a threshold (see use c=
ases in http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07).

One may argue that the filter-metric-no-equal-to-output-metric function can=
 be implemented on top of the filter-and-output-using-one-metric function:

In particular, suppose the filtering is based on metrics M1 and M2, and the=
 output is M3, for a set src to a set dsts. The Client can use the followin=
g three queries:

- Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains <srcs1, =
dsts1> in return;
- Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains <srcs2=
, dsts2> in return;
- Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final resu=
lt.

Although this is not too bad, it is inconvenient. Note that preceding is fi=
rst discussed by Sabine, Wendy, Nico in:
http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07

I saw that this is also the issue discussed in
- http://tools.ietf.org/html/draft-wu-alto-json-te-01
- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02

Hence, I propose that the WG extends the base protocol with this capability=
, as I see that it is quite useful. One issue is that I see three designs, =
and I am wondering if the authors are preparing on discussing their designs=
 at the coming IETF, and if there is a possibility for a single, unified do=
cument, focusing on this issue.

Thanks a lot!

Richard


--_000_B8F9A780D330094D99AF023C5877DABA43C0AC14nkgeml501mbschi_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.hoenzb
	{mso-style-name:hoenzb;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Richard took words out of=
 my mouth,</span><span style=3D"font-size:11.0pt;font-family:Wingdings;colo=
r:#1F497D">J</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibr=
i&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Yes, in some cases, from =
source to destination, there is only one hop away, or we only care about so=
urce endpoint address and destination endpoint address,
 we don&#8217;t care about which intermediary it traverses in the path from=
 src to destination, I think base protocol strong support such case.<o:p></=
o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">However when we put more =
constraints on the path, e.g.,we need to compute an end to end path with th=
ese constraints. These constraints can be latency, packet
 loss, jitter.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">However latency, packet l=
oss, jitter are usually gathered from routing protocol, and put as per link=
 metrics, so we need to do some aggregation when we apply
 these per link metrics<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">to the end to end path, e=
.g., per link latency, if we choose a path that traverses link A, link B, l=
ink C, then we can get end to end latency by choosing the
 sum of per link latency of link A, link B and link C.<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regards!<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">-Qin<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> alto-bou=
nces@ietf.org [mailto:alto-bounces@ietf.org]
<b>On Behalf Of </b>Y. Richard Yang<br>
<b>Sent:</b> Monday, October 14, 2013 10:42 AM<br>
<b>To:</b> IETF ALTO<br>
<b>Cc:</b> Wendy Roome; choits@etri.re.kr; Qin Wu<br>
<b>Subject:</b> Re: [alto] ALTO Extension: A document defining multi-metric=
s filtering?<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">Let me add on: although a filtering service can be a=
 very useful service, it can also be quite involved, and hence the WG may n=
eed to think through the issues when designing this service. For example, t=
here are two types of use cases:<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">- end-to-end: given src set {s1, s2, s3, ..., sn} an=
d dst set {d1, d2, d3, ..., dm}, return all pairs (si, dj), where si in {s1=
, ..., sn} and dj in {d1, ..., dm} such that (si, dj) satisfies the constra=
ints;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">- relay: given src s, dst d, and a relay candidate s=
et {r1, r2, ..., rk}, return all of the ri such that s -&gt; ri -&gt; d sat=
isfies the constraints.&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Note that with relay, we will then need to worry abo=
ut the &quot;composition&quot; semantics of metrics. For example, delay mig=
ht be additive, loss rate (unless small and independent) may not be.<o:p></=
o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">The relay could be even fancier (e.g., one-hop serve=
r detour such as Akamai one-hop detour and hence may involved two relay ser=
vers), but it may or may not be a good idea to go too complex, depending on=
 if the WG can define a clean API
 (e.g., SQL select/where grammar comes to mind quickly).<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Thanks!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">Richard<o:p></o:p></p=
>
<div>
<p class=3D"MsoNormal">On Sun, Oct 13, 2013 at 7:57 PM, Y. Richard Yang &lt=
;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&g=
t; wrote:<o:p></o:p></p>
<div>
<p class=3D"MsoNormal">Dear all,<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">The base ALTO protocol (<a href=3D"http://www.ietf.o=
rg/id/draft-ietf-alto-protocol-20.txt" target=3D"_blank">http://www.ietf.or=
g/id/draft-ietf-alto-protocol-20.txt</a>) is mostly a single-cost-metric ce=
ntric:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">- The Cost Map filtering service uses only one cost-=
type (Sec. 11.3.2.3):<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp;object {<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp;CostType &nbsp; cost-type;<o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp;[JSONString constraints&lt;0..*&=
gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp;[PIDFilter &nbsp;pids;]<o:p></o:=
p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp;} ReqFilteredCostMap;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp;object {<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp;PIDName srcs&lt;0..*&gt;;<o:p></=
o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp;PIDName dsts&lt;0..*&gt;;<o:p></=
o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp;} PIDFilter;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">...<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;constraints &nbsp;Defines a list of additional=
 constraints on which<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp; elements of the Cost Map are re=
turned. &nbsp;This parameter MUST NOT be<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp; specified if this resource's ca=
pabilities (Section 11.3.2.4)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp; indicate that constraint suppor=
t is not available. &nbsp;A constraint<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp; contains two entities separated=
 by whitespace: (1) an operator,<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp; 'gt' for greater than, 'lt' for=
 less than, 'ge' for greater than<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp; or equal to, 'le' for less than=
 or equal to, or 'eq' for equal to;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp; (2) a target cost value.&nbsp;<=
o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">- The Endpoint Cost service allows filtering (Sec. 1=
1.5.1.3) as well, and is similar to Cost Map Filtering:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp;object {<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp;CostType &nbsp; &nbsp; &nbsp; &n=
bsp; &nbsp;cost-type;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp;[JSONString &nbsp; &nbsp; &nbsp;=
 constraints&lt;0..*&gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp;EndpointFilter &nbsp; &nbsp;endp=
oints;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp;} ReqEndpointCostMap;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp;object {<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp;[TypedEndpointAddr srcs&lt;0..*&=
gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp;[TypedEndpointAddr dsts&lt;0..*&=
gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp;} EndpointFilter;<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp;constraints &nbsp;Defined equivalently =
to the &quot;constraints&quot; input<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; &nbsp; parameter of a Filtered Cost Ma=
p (see Section 11.3.2).<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">In other words, in the base protocol, the filtering =
condition and the output are based on the same Cost Metric. It is natural t=
hat the filtering and the output are based on different Cost metrics. For e=
xample, a Client asks for routingcost
 for only pairs whose latency is below a threshold (see use cases in <a hre=
f=3D"http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07" targe=
t=3D"_blank">
http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07</a>).&nbsp;=
<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">One may argue that the filter-metric-no-equal-to-out=
put-metric function can be implemented on top of the filter-and-output-usin=
g-one-metric function:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">In particular, suppose the filtering is based on met=
rics M1 and M2, and the output is M3, for a set src to a set dsts. The Clie=
nt can use the following three queries:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">- Q1: Use single metric &lt;M1, filter on M1, srcs, =
dsts&gt; and obtains &lt;srcs1, dsts1&gt; in return;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">- Q2: Use single metric &lt;M2, filter on M2, srcs1,=
 dsts1&gt; and obtains &lt;srcs2, dsts2&gt; in return;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">- Q3: Use single metric &lt;M3, no filter, srcs2, ds=
ts2&gt; to get the final result.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Although this is not too bad, it is inconvenient. No=
te that preceding is first discussed by Sabine, Wendy, Nico in:<br>
<a href=3D"http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07"=
 target=3D"_blank">http://tools.ietf.org/html/draft-randriamasy-alto-multi-=
cost-07</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I saw that this is also the issue discussed in &nbsp=
;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-w=
u-alto-json-te-01" target=3D"_blank">http://tools.ietf.org/html/draft-wu-al=
to-json-te-01</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-l=
ee-alto-app-net-info-exchange-02" target=3D"_blank"><span style=3D"font-siz=
e:9.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">http://tools.=
ietf.org/html/draft-lee-alto-app-net-info-exchange-02</span></a><o:p></o:p>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Hence, I propose that the WG extends the base protoc=
ol with this capability, as I see that it is quite useful. One issue is tha=
t I see three designs, and I am wondering if the authors are preparing on d=
iscussing their designs at the coming
 IETF, and if there is a possibility for a single, unified document, focusi=
ng on this issue.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Thanks a lot!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#888888"><o:p>&nbsp;</o:p></spa=
n></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#888888">Richard<o:p></o:p></sp=
an></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_B8F9A780D330094D99AF023C5877DABA43C0AC14nkgeml501mbschi_--

From yang.r.yang@gmail.com  Sun Oct 13 21:05:27 2013
Return-Path: <yang.r.yang@gmail.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 32EEC21E8091 for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 21:05:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.695
X-Spam-Level: 
X-Spam-Status: No, score=-1.695 tagged_above=-999 required=5 tests=[AWL=0.282,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mObN-7pKwBWs for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 21:05:26 -0700 (PDT)
Received: from mail-pd0-x234.google.com (mail-pd0-x234.google.com [IPv6:2607:f8b0:400e:c02::234]) by ietfa.amsl.com (Postfix) with ESMTP id A191111E8110 for <alto@ietf.org>; Sun, 13 Oct 2013 21:05:23 -0700 (PDT)
Received: by mail-pd0-f180.google.com with SMTP id y10so6787776pdj.25 for <alto@ietf.org>; Sun, 13 Oct 2013 21:05:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=nf0tPCE2g9eplD1SUb0Dnun44DQIvibZeZtSSGFhF+I=; b=MjbJ6hU+gltOmPcKodNK9+TRclfo51SjtwGwcJooJ9mvjXJcpu1zmoAsJlqrQMEmOP JZA0P3WSS6ajtc7Hw4UZdqFWnHy6QdkN+J2078sDz5Kj6rfdrs7uXzckqvtGQr+ce3ss H2BYh7pedCC5FKLEPHv/qlXXP3sOfMFGTw9V2cJPC3KFQn97ViufTz+h1kN7dmvW+o9F 2dpPtKMAeQ/NEsHYb2QapvGphC0chsGSeomIolMxUubp3wOJAKrLCmbcreX2o62VUA6B T4a/sbTPdyvIqhg1yT5hg4FW5JunAE6f2GKXkQW1TyvA4YpABuLecVkyVy7LMhRKU4tP 6iLA==
MIME-Version: 1.0
X-Received: by 10.66.168.7 with SMTP id zs7mr622039pab.152.1381723523120; Sun, 13 Oct 2013 21:05:23 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.225.129 with HTTP; Sun, 13 Oct 2013 21:05:23 -0700 (PDT)
Date: Mon, 14 Oct 2013 00:05:23 -0400
X-Google-Sender-Auth: 3cu0FTO4dTCiYBWM7_TkD7XTJA0
Message-ID: <CANUuoLpfMX4dOG_J+pju-LJgW91cAPjSJseuky4Doe74Cy0qgw@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: IETF ALTO <alto@ietf.org>
Content-Type: multipart/alternative; boundary=047d7bdca522c604f404e8ab93a4
Subject: [alto] Incremental update
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 04:05:27 -0000

--047d7bdca522c604f404e8ab93a4
Content-Type: text/plain; charset=ISO-8859-1

Dear all,

I am evaluating the base protocol (
http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt) from the
perspective of incremental updates, following the discussions in:
http://tools.ietf.org/html/draft-schwan-alto-incr-updates-02

Here is what I read:

- The base protocol does not include the "update-interval". This is an
interesting concept, and BitTorrent Tracker protocol includes such as
field. I suppose that we could add this field as an option field.

- vtag: the base protocol requires that the server MUST specify the vtag of
the network map (Sec. 11.2.1.6 of alto-protocol-20). But for the Cost Map:
the base protocol requires only the vtag of the dependent network map; it
does not require that a vtag for the cost map MUST be specified. In other
words, an incremental update service must specify this requirement.

- JSON Patch and JSON pointer: It appears that they have changed and became
RFCs: http://tools.ietf.org/html/rfc6901 and
http://tools.ietf.org/html/rfc6902

I am wondering if the authors of the incremental update draft have revised
the document, considering the updated base protocol and the updated JSON
patch and pointer docs.

It will be great if ALTO provides an incremental update/subscription
mechanism soon.

Thanks!

Richard

--047d7bdca522c604f404e8ab93a4
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Dear all,</div><div><br></div>I am evaluating the bas=
e protocol (<a href=3D"http://www.ietf.org/id/draft-ietf-alto-protocol-20.t=
xt">http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt</a>) from the pe=
rspective of incremental updates, following the discussions in: <a href=3D"=
http://tools.ietf.org/html/draft-schwan-alto-incr-updates-02">http://tools.=
ietf.org/html/draft-schwan-alto-incr-updates-02</a><div>
<br></div><div>Here is what I read:</div><div><br></div><div>- The base pro=
tocol does not include the &quot;update-interval&quot;. This is an interest=
ing concept, and BitTorrent Tracker protocol includes such as field. I supp=
ose that we could add this field as an option field.</div>
<div><br></div><div>- vtag: the base protocol requires that the server MUST=
 specify the vtag of the network map (Sec. 11.2.1.6 of alto-protocol-20). B=
ut for the Cost Map: the base protocol requires only the vtag of the depend=
ent network map; it does not require that a vtag for the cost map MUST be s=
pecified. In other words, an incremental update service must specify this r=
equirement.=A0</div>
<div><br></div><div>- JSON Patch and JSON pointer: It appears that they hav=
e changed and became RFCs:=A0<a href=3D"http://tools.ietf.org/html/rfc6901"=
>http://tools.ietf.org/html/rfc6901</a> and =A0<a href=3D"http://tools.ietf=
.org/html/rfc6902">http://tools.ietf.org/html/rfc6902</a></div>
<div><br></div><div>I am wondering if the authors of the incremental update=
 draft have revised the document, considering the updated base protocol and=
 the updated JSON patch and pointer docs.=A0</div><div><br></div><div>It wi=
ll be great if ALTO provides an incremental update/subscription mechanism s=
oon.</div>
<div><br></div><div>Thanks!</div><div><br></div><div>Richard</div><div><div=
><br></div></div></div>

--047d7bdca522c604f404e8ab93a4--

From yang.r.yang@gmail.com  Sun Oct 13 21:14:50 2013
Return-Path: <yang.r.yang@gmail.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 3AAE121F9DD0 for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 21:14:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.414
X-Spam-Level: 
X-Spam-Status: No, score=-1.414 tagged_above=-999 required=5 tests=[AWL=-0.037, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_71=0.6, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U+vlv5I0mhZ9 for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 21:14:49 -0700 (PDT)
Received: from mail-pd0-x234.google.com (mail-pd0-x234.google.com [IPv6:2607:f8b0:400e:c02::234]) by ietfa.amsl.com (Postfix) with ESMTP id D938721E80C0 for <alto@ietf.org>; Sun, 13 Oct 2013 21:14:41 -0700 (PDT)
Received: by mail-pd0-f180.google.com with SMTP id y10so6824347pdj.39 for <alto@ietf.org>; Sun, 13 Oct 2013 21:14:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Vcp4kXKF7q3bfR3gOEPApaQQd8dGTM7zpcOZYjMdE5M=; b=uMcsuwuujROSwknWCDSdp16aq2jCKpq3Z1YlGVnNIOohe0Th96yqxFlioJ+DvcJOgN CRs9TXSOHeCyD30a3O8mEGz7inyZSy+J5P6s05sOpuFBg5YSRLNUo2xNk8aKWGnhOyrI EswUhxRRcJAt54H7BkG6MV58iElhp80UCIxxB6PWBsneuUgXFRP70rz/8sQ6bsiv6C0a tnGF4sAHAbc0pQUCHpJkkKjXavp64QtW51AVTQ9KST6PFpcI99zA5JCM/brUjHmlCESx guaKoNOeEcL3Y7vbPErREwgp2wzMCnsbCgiRZjeO7n3ZFi4HPDX3wGpdmMWcYkdoa4J6 Z2gg==
MIME-Version: 1.0
X-Received: by 10.68.179.98 with SMTP id df2mr33636868pbc.38.1381724081617; Sun, 13 Oct 2013 21:14:41 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.225.129 with HTTP; Sun, 13 Oct 2013 21:14:41 -0700 (PDT)
In-Reply-To: <CA+cvDaYD-rsA=TA6oj-jXj3USeTAzvSRn_fkDynBQP1+hSEY8Q@mail.gmail.com>
References: <CE7C5321.9B763%w.roome@alcatel-lucent.com> <CANUuoLrBFq8Mis+VHJ3PnAY096TN+nYZEtTM5RS80hU7ddcz=Q@mail.gmail.com> <CA+cvDaYD-rsA=TA6oj-jXj3USeTAzvSRn_fkDynBQP1+hSEY8Q@mail.gmail.com>
Date: Mon, 14 Oct 2013 00:14:41 -0400
X-Google-Sender-Auth: lSOIpWP1bg1uqcc7WY_AYQnCSlc
Message-ID: <CANUuoLoP1Qwux-5Rkq=+7PMqJW6O-7VW_tDZOLUBePd5m8HdJg@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Richard Alimi <rich@velvetsea.net>
Content-Type: multipart/alternative; boundary=047d7bacba98100a5c04e8abb5ce
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Adding explanation for E_SYNTAX error
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 04:14:50 -0000

--047d7bacba98100a5c04e8abb5ce
Content-Type: text/plain; charset=ISO-8859-1

I am fine with adding two optional fields. Regarding an optional
"character" field, the suggested semantics is the character position at the
line. To avoid ambiguity, how about name them "line-number" and
"character-number" so that their JSONNumber type is not surprising?

Richard


On Sat, Oct 12, 2013 at 1:43 PM, Richard Alimi <rich@velvetsea.net> wrote:

> We used to have a 'reason' field, but it was suggested in the the
> apps-area review that it be removed because of the concern over
> internationalization.  Given that it's WGLC I would prefer not to revisit
> that.
>
> I don't have a problem with adding optional line and character fields,
> given that they can be conveyed as integers.  I don't think it should be
> required, since not all parsers may provide that information.
>
> Rich
>
>
> On Fri, Oct 11, 2013 at 5:54 PM, Y. Richard Yang <yry@cs.yale.edu> wrote:
>
>> Hi Wendy,
>>
>> Interesting suggestion. I assume that the fields will be optional, right?
>> A consideration is that the syntax errors typically are caught by a JSON
>> parser. I know that you know quite a few parsers. Will the existing parsers
>> give such information (e.g., line, character)?
>>
>> To others: if you have used multiple parsers, your experience can be
>> quite helpful here.
>>
>> Thanks!
>>
>> Richard
>>
>>
>> On Thu, Oct 10, 2013 at 12:50 PM, Wendy Roome <w.roome@alcatel-lucent.com
>> > wrote:
>>
>>> As current;y defined, E_SYNTAX gives no indication as to where the error
>>> is or what was wrong. So how about adding the following additional fields
>>> for E_SYNTAX:
>>>
>>> "line"  Optional line number (first line is 1)
>>> "character"  Optional character in line (first character is 1)
>>> "reason"  Optional error message, which may or may not include line and
>>> character.
>>>
>>> This raises the question of what language to use for "reason". At the
>>> risk
>>> of coming across as an English chauvinist, I suggest that it be in
>>> English. After all, the RFC is in English, and the field names are
>>> English. So it's pretty unlikely that server and client programmers won't
>>> understand enough English to deal with a simple error message. And I
>>> don't
>>> see a client library displaying that message to the end user; instead the
>>> lib would log it for analysis by the developers.
>>>
>>> And if a server isn't able to give an English error message, use "line"
>>> and "character".
>>>
>>>         - Wendy Roome
>>>
>>>
>>> _______________________________________________
>>> alto mailing list
>>> alto@ietf.org
>>> https://www.ietf.org/mailman/listinfo/alto
>>>
>>
>>
>> _______________________________________________
>> alto mailing list
>> alto@ietf.org
>> https://www.ietf.org/mailman/listinfo/alto
>>
>>
>

--047d7bacba98100a5c04e8abb5ce
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I am fine with adding two optional fields. Regarding an op=
tional &quot;character&quot; field, the suggested semantics is the characte=
r position at the line. To avoid ambiguity, how about name them &quot;line-=
number&quot; and &quot;character-number&quot; so that their JSONNumber type=
 is not surprising?<div>
<br></div><div>Richard</div></div><div class=3D"gmail_extra"><br><br><div c=
lass=3D"gmail_quote">On Sat, Oct 12, 2013 at 1:43 PM, Richard Alimi <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:rich@velvetsea.net" target=3D"_blank">rich=
@velvetsea.net</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">We used to have a &#39;reas=
on&#39; field, but it was suggested in the the apps-area review that it be =
removed because of the concern over internationalization. =A0Given that it&=
#39;s WGLC I would prefer not to revisit that.<div>


<br></div><div>I don&#39;t have a problem with adding optional line and cha=
racter fields, given that they can be conveyed as integers. =A0I don&#39;t =
think it should be required, since not all parsers may provide that informa=
tion.</div>


<div><br></div><div>Rich<br></div></div><div class=3D"HOEnZb"><div class=3D=
"h5"><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Fri, =
Oct 11, 2013 at 5:54 PM, Y. Richard Yang <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&gt;</span> wro=
te:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hi Wendy,<div><br></div><di=
v>Interesting suggestion. I assume that the fields will be optional, right?=
 A consideration is that the syntax errors typically are caught by a JSON p=
arser. I know that you know quite a few parsers. Will the existing parsers =
give such information (e.g., line, character)?=A0</div>



<div><br></div><div>To others: if you have used multiple parsers, your expe=
rience can be quite helpful here.</div><div><br></div><div>Thanks!<span><fo=
nt color=3D"#888888"><br><br></font></span></div><span><font color=3D"#8888=
88"><div>


Richard=A0</div></font></span></div><div><div><div class=3D"gmail_extra"><b=
r><br><div class=3D"gmail_quote">
On Thu, Oct 10, 2013 at 12:50 PM, Wendy Roome <span dir=3D"ltr">&lt;<a href=
=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lu=
cent.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



As current;y defined, E_SYNTAX gives no indication as to where the error<br=
>
is or what was wrong. So how about adding the following additional fields<b=
r>
for E_SYNTAX:<br>
<br>
&quot;line&quot; =A0Optional line number (first line is 1)<br>
&quot;character&quot; =A0Optional character in line (first character is 1)<=
br>
&quot;reason&quot; =A0Optional error message, which may or may not include =
line and<br>
character.<br>
<br>
This raises the question of what language to use for &quot;reason&quot;. At=
 the risk<br>
of coming across as an English chauvinist, I suggest that it be in<br>
English. After all, the RFC is in English, and the field names are<br>
English. So it&#39;s pretty unlikely that server and client programmers won=
&#39;t<br>
understand enough English to deal with a simple error message. And I don&#3=
9;t<br>
see a client library displaying that message to the end user; instead the<b=
r>
lib would log it for analysis by the developers.<br>
<br>
And if a server isn&#39;t able to give an English error message, use &quot;=
line&quot;<br>
and &quot;character&quot;.<br>
<br>
=A0 =A0 =A0 =A0 - Wendy Roome<br>
<br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>

--047d7bacba98100a5c04e8abb5ce--

From yang.r.yang@gmail.com  Sun Oct 13 21:19:45 2013
Return-Path: <yang.r.yang@gmail.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 B28E921F9A1C for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 21:19:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.711
X-Spam-Level: 
X-Spam-Status: No, score=-1.711 tagged_above=-999 required=5 tests=[AWL=0.266,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8iAryD7cr1gD for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 21:19:45 -0700 (PDT)
Received: from mail-pb0-x22c.google.com (mail-pb0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 5061521F99E9 for <alto@ietf.org>; Sun, 13 Oct 2013 21:19:45 -0700 (PDT)
Received: by mail-pb0-f44.google.com with SMTP id xa7so6793904pbc.17 for <alto@ietf.org>; Sun, 13 Oct 2013 21:19:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type;  bh=rYvDOV58trTXTbia7XWibXM2CJBg6SO9KzzWA7B8U2M=; b=fB/CBuUtTwat+RO8Bekk5qjMMdgDB7t02XYSlQ3p9NzdDrqqlcG+eCDWJ/SwGASxLX ogjT9tHe98bOOz4EdE+gY2hIZvoju59lLlXLqMnvbNtDXn8Qm5TsD7q6GINeVtRiYPYk vfTGu5nRTM28ra4J6T9qaFtNUBkr612w5dOhNO0PKjZboTT/2+57HULPaoCSLhs5eHS4 Hp8HEOk1hvxK46pDL6fNuhguqzJzW2soJd88lFE6OayDdGCdY43y5De4L8GP7qqWDFCS cUCpwAI4nm8OtpPgyL1YQLN68qPVg6TzQ/dIW7wxvJUqjYsTxf9qtUvkXqoYTDT9O+XI nQcg==
MIME-Version: 1.0
X-Received: by 10.68.172.66 with SMTP id ba2mr34202385pbc.92.1381724384839; Sun, 13 Oct 2013 21:19:44 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.225.129 with HTTP; Sun, 13 Oct 2013 21:19:44 -0700 (PDT)
Date: Mon, 14 Oct 2013 00:19:44 -0400
X-Google-Sender-Auth: lnGoJPTzjysT2bRzmJirNhmBiiw
Message-ID: <CANUuoLo3i4zKxm2_PBiTJS8SvF87_VQm+y32vWJx5S31FQzB-w@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b10cb1d22cd3004e8abc7b7
Cc: IETF ALTO <alto@ietf.org>, pbryan@anode.ca
Subject: Re: [alto] Consistent with JSON Patch/Pointer was New error format in draft 20
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 04:19:45 -0000

--047d7b10cb1d22cd3004e8abc7b7
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Oct 11, 2013 at 9:20 PM, Y. Richard Yang <yry@cs.yale.edu> wrote:

> Hi Wendy,
>
> On Thu, Oct 10, 2013 at 10:35 AM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:
>
>> Good point! I was relying on the fact that our field names are unique for
>> now, but there's no guarantee it will stay that way. So yes, set "field" to
>> the full path, and ban "." from field names.
>>
>>  But the path should go all the way to the root dictionary.  Eg, for a
>> bad mode,
>>
>>    "field": "meta.cost-type.cost-mode"
>>    "value": "foo"
>>
>
Suppose we want to be consistent with RFC 6901 and RFC 6902, then we may
name "field" as "path" and use "/" instead of ".". Any comments?

Richard

--047d7b10cb1d22cd3004e8abc7b7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Fri, Oct 11, 2013 at 9:20 PM, Y. Richard Yang <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&gt;</s=
pan> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hi Wendy,<br><div class=3D"=
gmail_extra"><br><div class=3D"gmail_quote"><div class=3D"im">On Thu, Oct 1=
0, 2013 at 10:35 AM, Wendy Roome <span dir=3D"ltr">&lt;<a href=3D"mailto:w.=
roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.com</a>&=
gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;font-family:Cal=
ibri,sans-serif;word-wrap:break-word"><div>Good point! I was relying on the=
 fact that our field names are unique for now, but there&#39;s no guarantee=
 it will stay that way. So yes, set &quot;field&quot; to the full path, and=
 ban &quot;.&quot; from field names.</div>

<div><br></div><div>=A0But the path should go all the way to the root dicti=
onary. =A0Eg, for a bad mode,</div><div><br></div><div>=A0 =A0&quot;field&q=
uot;: &quot;meta.cost-type.cost-mode&quot;</div><div>=A0 =A0&quot;value&quo=
t;: &quot;foo&quot;</div>
</div></blockquote></div></div></div></div></blockquote><div><br></div><div=
>Suppose we want to be consistent with RFC 6901 and RFC 6902, then we may n=
ame &quot;field&quot; as &quot;path&quot; and use &quot;/&quot; instead of =
&quot;.&quot;. Any comments?</div>
<div><br></div><div>Richard</div><div>=A0</div></div></div></div>

--047d7b10cb1d22cd3004e8abc7b7--

From richard.alimi@gmail.com  Sun Oct 13 21:46:31 2013
Return-Path: <richard.alimi@gmail.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 12A2B11E8104 for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 21:46:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.377
X-Spam-Level: 
X-Spam-Status: No, score=-1.377 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_71=0.6, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ycLusc966u+V for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 21:46:29 -0700 (PDT)
Received: from mail-vb0-x22a.google.com (mail-vb0-x22a.google.com [IPv6:2607:f8b0:400c:c02::22a]) by ietfa.amsl.com (Postfix) with ESMTP id B8BE121E8091 for <alto@ietf.org>; Sun, 13 Oct 2013 21:46:23 -0700 (PDT)
Received: by mail-vb0-f42.google.com with SMTP id e12so4305790vbg.29 for <alto@ietf.org>; Sun, 13 Oct 2013 21:46:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=PpyOx9yzAcHqihRNv2FyCfkpjpmGLRAGoFP0/vkQexw=; b=zrvfw1/oO6g6ZfoBZN92s0M7R6nXIgAnxrCxw53yRBHwOOpS/JHyummpKkcXpdyYSO jB8vSVioeF5HJ41f6RbTi2T1mMxcJqPHTWMTa1+/2J9x1WLwX8RgSodPmypvRjx3MK+Q S/uVz4dNkuqXPKsyHboVoiZOSGewjv1JOuz+6KE0NCelKaVYVP6t1lUniny52mTih6yD dhG1+auXfFXbIduVOlyH7kQA8SCOexTRZc/z3PcXn8xcwP3F0+oADjBCcMBaSysTSL/E Epxb5uDd2bcMCVLe5utTspgLZeDBQXEK6c+8eUqP0S5LMwMXj16CQ7PGiJ6eibWduk0s LMBA==
X-Received: by 10.220.237.208 with SMTP id kp16mr33001836vcb.4.1381725982977;  Sun, 13 Oct 2013 21:46:22 -0700 (PDT)
MIME-Version: 1.0
Sender: richard.alimi@gmail.com
Received: by 10.52.185.194 with HTTP; Sun, 13 Oct 2013 21:46:02 -0700 (PDT)
In-Reply-To: <CANUuoLoP1Qwux-5Rkq=+7PMqJW6O-7VW_tDZOLUBePd5m8HdJg@mail.gmail.com>
References: <CE7C5321.9B763%w.roome@alcatel-lucent.com> <CANUuoLrBFq8Mis+VHJ3PnAY096TN+nYZEtTM5RS80hU7ddcz=Q@mail.gmail.com> <CA+cvDaYD-rsA=TA6oj-jXj3USeTAzvSRn_fkDynBQP1+hSEY8Q@mail.gmail.com> <CANUuoLoP1Qwux-5Rkq=+7PMqJW6O-7VW_tDZOLUBePd5m8HdJg@mail.gmail.com>
From: Richard Alimi <rich@velvetsea.net>
Date: Sun, 13 Oct 2013 21:46:02 -0700
X-Google-Sender-Auth: AIuRQL8_9_4-aCAeNn_h4YsrWhE
Message-ID: <CA+cvDaZ_JLi3Od0GnvQHUD+MGDx=rV2-MFr+TO2j7vW50VT77g@mail.gmail.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Content-Type: multipart/alternative; boundary=047d7b34346464751f04e8ac2693
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Adding explanation for E_SYNTAX error
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 04:46:31 -0000

--047d7b34346464751f04e8ac2693
Content-Type: text/plain; charset=ISO-8859-1

Actually, how about just the character position in the input stream?  That
would avoid any complexities of different line-ending styles.  It could
simply be named "position".


On Sun, Oct 13, 2013 at 9:14 PM, Y. Richard Yang <yry@cs.yale.edu> wrote:

> I am fine with adding two optional fields. Regarding an optional
> "character" field, the suggested semantics is the character position at the
> line. To avoid ambiguity, how about name them "line-number" and
> "character-number" so that their JSONNumber type is not surprising?
>
> Richard
>
>
> On Sat, Oct 12, 2013 at 1:43 PM, Richard Alimi <rich@velvetsea.net> wrote:
>
>> We used to have a 'reason' field, but it was suggested in the the
>> apps-area review that it be removed because of the concern over
>> internationalization.  Given that it's WGLC I would prefer not to revisit
>> that.
>>
>> I don't have a problem with adding optional line and character fields,
>> given that they can be conveyed as integers.  I don't think it should be
>> required, since not all parsers may provide that information.
>>
>> Rich
>>
>>
>> On Fri, Oct 11, 2013 at 5:54 PM, Y. Richard Yang <yry@cs.yale.edu> wrote:
>>
>>> Hi Wendy,
>>>
>>> Interesting suggestion. I assume that the fields will be optional,
>>> right? A consideration is that the syntax errors typically are caught by a
>>> JSON parser. I know that you know quite a few parsers. Will the existing
>>> parsers give such information (e.g., line, character)?
>>>
>>> To others: if you have used multiple parsers, your experience can be
>>> quite helpful here.
>>>
>>> Thanks!
>>>
>>> Richard
>>>
>>>
>>> On Thu, Oct 10, 2013 at 12:50 PM, Wendy Roome <
>>> w.roome@alcatel-lucent.com> wrote:
>>>
>>>> As current;y defined, E_SYNTAX gives no indication as to where the error
>>>> is or what was wrong. So how about adding the following additional
>>>> fields
>>>> for E_SYNTAX:
>>>>
>>>> "line"  Optional line number (first line is 1)
>>>> "character"  Optional character in line (first character is 1)
>>>> "reason"  Optional error message, which may or may not include line and
>>>> character.
>>>>
>>>> This raises the question of what language to use for "reason". At the
>>>> risk
>>>> of coming across as an English chauvinist, I suggest that it be in
>>>> English. After all, the RFC is in English, and the field names are
>>>> English. So it's pretty unlikely that server and client programmers
>>>> won't
>>>> understand enough English to deal with a simple error message. And I
>>>> don't
>>>> see a client library displaying that message to the end user; instead
>>>> the
>>>> lib would log it for analysis by the developers.
>>>>
>>>> And if a server isn't able to give an English error message, use "line"
>>>> and "character".
>>>>
>>>>         - Wendy Roome
>>>>
>>>>
>>>> _______________________________________________
>>>> alto mailing list
>>>> alto@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/alto
>>>>
>>>
>>>
>>> _______________________________________________
>>> alto mailing list
>>> alto@ietf.org
>>> https://www.ietf.org/mailman/listinfo/alto
>>>
>>>
>>
>

--047d7b34346464751f04e8ac2693
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Actually, how about just the character position in the inp=
ut stream? =A0That would avoid any complexities of different line-ending st=
yles. =A0It could simply be named &quot;position&quot;.<div class=3D"gmail_=
extra">


<br><br><div class=3D"gmail_quote">On Sun, Oct 13, 2013 at 9:14 PM, Y. Rich=
ard Yang <span dir=3D"ltr">&lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D=
"_blank">yry@cs.yale.edu</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">


<div dir=3D"ltr">I am fine with adding two optional fields. Regarding an op=
tional &quot;character&quot; field, the suggested semantics is the characte=
r position at the line. To avoid ambiguity, how about name them &quot;line-=
number&quot; and &quot;character-number&quot; so that their JSONNumber type=
 is not surprising?<span><font color=3D"#888888"><div>



<br></div><div>Richard</div></font></span></div><div><div><div class=3D"gma=
il_extra"><br><br><div class=3D"gmail_quote">On Sat, Oct 12, 2013 at 1:43 P=
M, Richard Alimi <span dir=3D"ltr">&lt;<a href=3D"mailto:rich@velvetsea.net=
" target=3D"_blank">rich@velvetsea.net</a>&gt;</span> wrote:<br>



<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">We used to have a &#39;reas=
on&#39; field, but it was suggested in the the apps-area review that it be =
removed because of the concern over internationalization. =A0Given that it&=
#39;s WGLC I would prefer not to revisit that.<div>





<br></div><div>I don&#39;t have a problem with adding optional line and cha=
racter fields, given that they can be conveyed as integers. =A0I don&#39;t =
think it should be required, since not all parsers may provide that informa=
tion.</div>





<div><br></div><div>Rich<br></div></div><div><div><div class=3D"gmail_extra=
"><br><br><div class=3D"gmail_quote">On Fri, Oct 11, 2013 at 5:54 PM, Y. Ri=
chard Yang <span dir=3D"ltr">&lt;<a href=3D"mailto:yry@cs.yale.edu" target=
=3D"_blank">yry@cs.yale.edu</a>&gt;</span> wrote:<br>





<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hi Wendy,<div><br></div><di=
v>Interesting suggestion. I assume that the fields will be optional, right?=
 A consideration is that the syntax errors typically are caught by a JSON p=
arser. I know that you know quite a few parsers. Will the existing parsers =
give such information (e.g., line, character)?=A0</div>






<div><br></div><div>To others: if you have used multiple parsers, your expe=
rience can be quite helpful here.</div><div><br></div><div>Thanks!<span><fo=
nt color=3D"#888888"><br><br></font></span></div><span><font color=3D"#8888=
88"><div>





Richard=A0</div></font></span></div><div><div><div class=3D"gmail_extra"><b=
r><br><div class=3D"gmail_quote">
On Thu, Oct 10, 2013 at 12:50 PM, Wendy Roome <span dir=3D"ltr">&lt;<a href=
=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lu=
cent.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






As current;y defined, E_SYNTAX gives no indication as to where the error<br=
>
is or what was wrong. So how about adding the following additional fields<b=
r>
for E_SYNTAX:<br>
<br>
&quot;line&quot; =A0Optional line number (first line is 1)<br>
&quot;character&quot; =A0Optional character in line (first character is 1)<=
br>
&quot;reason&quot; =A0Optional error message, which may or may not include =
line and<br>
character.<br>
<br>
This raises the question of what language to use for &quot;reason&quot;. At=
 the risk<br>
of coming across as an English chauvinist, I suggest that it be in<br>
English. After all, the RFC is in English, and the field names are<br>
English. So it&#39;s pretty unlikely that server and client programmers won=
&#39;t<br>
understand enough English to deal with a simple error message. And I don&#3=
9;t<br>
see a client library displaying that message to the end user; instead the<b=
r>
lib would log it for analysis by the developers.<br>
<br>
And if a server isn&#39;t able to give an English error message, use &quot;=
line&quot;<br>
and &quot;character&quot;.<br>
<br>
=A0 =A0 =A0 =A0 - Wendy Roome<br>
<br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>

--047d7b34346464751f04e8ac2693--

From yang.r.yang@gmail.com  Sun Oct 13 21:54:42 2013
Return-Path: <yang.r.yang@gmail.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 83BA421E8091 for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 21:54:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.985
X-Spam-Level: 
X-Spam-Status: No, score=-0.985 tagged_above=-999 required=5 tests=[AWL=-0.492, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_FONT_FACE_BAD=0.884, HTML_MESSAGE=0.001, J_CHICKENPOX_71=0.6, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q8YMrJBBVaog for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 21:54:40 -0700 (PDT)
Received: from mail-pd0-x22c.google.com (mail-pd0-x22c.google.com [IPv6:2607:f8b0:400e:c02::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 9B69A11E80E6 for <alto@ietf.org>; Sun, 13 Oct 2013 21:54:40 -0700 (PDT)
Received: by mail-pd0-f172.google.com with SMTP id z10so6873282pdj.17 for <alto@ietf.org>; Sun, 13 Oct 2013 21:54:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Ol6TluqPlwJkpg4AuidRADQpZOUGTtYQW9ya8LvFJ2w=; b=kwmF8+5WnVFejI+I/8uvJcmwUclhDuVCoeMguMLISL0vAXoXU3J8mwBKeNN2bTsnBw 73jKGkHYx55YEFQlqQqXGTultKaq15zjKe6E4FjME3Iixy6lTob8E1UeieUgA9kPMheh sjr0kdwkNgrO1pw9E2/CcPgAWYXw0f8pXEbUxQ8XaWHnROdGlH8g1l5voxmsFmdtnWHX oE2SxDEbcYNeRsSZJtIoIsZo1HcnEaazra9FLcBehjK3ceBHnXdbIuPShPA7QIjiYN69 JydlAOjOxCc5/tXk97jnj/kARIRgx4UgaONzacY7y3sOYPKUP+H6TKMB5j7kFy8ls6eX 3csg==
MIME-Version: 1.0
X-Received: by 10.68.88.161 with SMTP id bh1mr34025730pbb.49.1381726480256; Sun, 13 Oct 2013 21:54:40 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.225.129 with HTTP; Sun, 13 Oct 2013 21:54:40 -0700 (PDT)
In-Reply-To: <CA+cvDaZ_JLi3Od0GnvQHUD+MGDx=rV2-MFr+TO2j7vW50VT77g@mail.gmail.com>
References: <CE7C5321.9B763%w.roome@alcatel-lucent.com> <CANUuoLrBFq8Mis+VHJ3PnAY096TN+nYZEtTM5RS80hU7ddcz=Q@mail.gmail.com> <CA+cvDaYD-rsA=TA6oj-jXj3USeTAzvSRn_fkDynBQP1+hSEY8Q@mail.gmail.com> <CANUuoLoP1Qwux-5Rkq=+7PMqJW6O-7VW_tDZOLUBePd5m8HdJg@mail.gmail.com> <CA+cvDaZ_JLi3Od0GnvQHUD+MGDx=rV2-MFr+TO2j7vW50VT77g@mail.gmail.com>
Date: Mon, 14 Oct 2013 00:54:40 -0400
X-Google-Sender-Auth: pPOSaPAVnbBFOTWeD1UiklHKJps
Message-ID: <CANUuoLpK9r54Qy9O37GPNgBRfW9b0RTK1H=pDTKmHQi=cqVQsQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Richard Alimi <rich@velvetsea.net>
Content-Type: multipart/alternative; boundary=047d7b4187eb08568904e8ac44ea
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Adding explanation for E_SYNTAX error
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 04:54:42 -0000

--047d7b4187eb08568904e8ac44ea
Content-Type: text/plain; charset=ISO-8859-1

Interesting thought. It appears a json parser, from what I used, will more
likely give only the line number. For example, try
http://jsonlint.com/

It typically gives a line number, and then some message on what is
expected. Hence, line # might be more likely available?

Richard

On Monday, October 14, 2013, Richard Alimi wrote:

> Actually, how about just the character position in the input stream?  That
> would avoid any complexities of different line-ending styles.  It could
> simply be named "position".
>
>
> On Sun, Oct 13, 2013 at 9:14 PM, Y. Richard Yang <yry@cs.yale.edu<javascript:_e({}, 'cvml', 'yry@cs.yale.edu');>
> > wrote:
>
>> I am fine with adding two optional fields. Regarding an optional
>> "character" field, the suggested semantics is the character position at the
>> line. To avoid ambiguity, how about name them "line-number" and
>> "character-number" so that their JSONNumber type is not surprising?
>>
>> Richard
>>
>>
>> On Sat, Oct 12, 2013 at 1:43 PM, Richard Alimi <rich@velvetsea.net<javascript:_e({}, 'cvml', 'rich@velvetsea.net');>
>> > wrote:
>>
>>> We used to have a 'reason' field, but it was suggested in the the
>>> apps-area review that it be removed because of the concern over
>>> internationalization.  Given that it's WGLC I would prefer not to revisit
>>> that.
>>>
>>> I don't have a problem with adding optional line and character fields,
>>> given that they can be conveyed as integers.  I don't think it should be
>>> required, since not all parsers may provide that information.
>>>
>>> Rich
>>>
>>>
>>> On Fri, Oct 11, 2013 at 5:54 PM, Y. Richard Yang <yry@cs.yale.edu<javascript:_e({}, 'cvml', 'yry@cs.yale.edu');>
>>> > wrote:
>>>
>>>> Hi Wendy,
>>>>
>>>> Interesting suggestion. I assume that the fields will be optional,
>>>> right? A consideration is that the syntax errors typically are caught by a
>>>> JSON parser. I know that you know quite a few parsers. Will the existing
>>>> parsers give such information (e.g., line, character)?
>>>>
>>>> To others: if you have used multiple parsers, your experience can be
>>>> quite helpful here.
>>>>
>>>> Thanks!
>>>>
>>>> Richard
>>>>
>>>>
>>>> On Thu, Oct 10, 2013 at 12:50 PM, Wendy Roome <
>>>> w.roome@alcatel-lucent.com <javascript:_e({}, 'cvml',
>>>> 'w.roome@alcatel-lucent.com');>> wrote:
>>>>
>>>>> As current;y defined, E_SYNTAX gives no indication as to where the
>>>>> error
>>>>> is or what was wrong. So how about adding the following additional
>>>>> fields
>>>>> for E_SYNTAX:
>>>>>
>>>>> "line"  Optional line number (first line is 1)
>>>>> "character"  Optional character in line (first character is 1)
>>>>> "reason"  Optional error message, which may or may not include line and
>>>>> character.
>>>>>
>>>>> This raises the question of what language to use for "reason". At the
>>>>> risk
>>>>> of coming across as an English chauvinist, I suggest that it be in
>>>>> English. After all, the RFC is in English, and the field names are
>>>>> English. So it's pretty unlikely that server and client programmers
>>>>> won't
>>>>> understand enough English to deal with a simple error message. And I
>>>>> don't
>>>>> see a client library displaying that message to the end user; instead
>>>>> the
>>>>> lib would log it for analysis by the developers.
>>>>>
>>>>> And if a server isn't able to give an English error message, use "line"
>>>>> and "character".
>>>>>
>>>>>         - Wendy Roome
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> alto mailing list
>>>>> alto@ietf.org <javascript:_e({}, 'cvml', 'alto@ietf.org');>
>>>>> https://www.ietf.org/mailman/listinfo/alto
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> alto mailing list
>>>> alto@ietf.org <javascript:_e({}, 'cvml', 'alto@ietf.org');>
>>>> https://www.ietf.org/mailman/listinfo/alto
>>>>
>>>>
>>>
>>
>

--047d7b4187eb08568904e8ac44ea
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Interesting thought. It appears a json parser, from what I used, will more =
likely give only the line number. For example, try=A0<div><span style=3D"fo=
nt-family:&#39;.HelveticaNeueUI&#39;;white-space:nowrap"><a href=3D"http://=
jsonlint.com/">http://jsonlint.com/</a></span></div>
<div><font face=3D".HelveticaNeueUI"><span style=3D"white-space:nowrap"><br=
></span></font></div><div><font face=3D".HelveticaNeueUI"><span style=3D"wh=
ite-space:nowrap">It typically=A0gives a line number, and then some message=
 on what is expected. Hence, line # might be more likely available?</span><=
/font></div>
<div><font face=3D".HelveticaNeueUI"><span style=3D"white-space:nowrap"><br=
></span></font></div><div><font face=3D".HelveticaNeueUI"><span style=3D"wh=
ite-space:nowrap">Richard<br></span></font><br>On Monday, October 14, 2013,=
 Richard Alimi  wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">Actually, how about just th=
e character position in the input stream? =A0That would avoid any complexit=
ies of different line-ending styles. =A0It could simply be named &quot;posi=
tion&quot;.<div class=3D"gmail_extra">



<br><br><div class=3D"gmail_quote">On Sun, Oct 13, 2013 at 9:14 PM, Y. Rich=
ard Yang <span dir=3D"ltr">&lt;<a href=3D"javascript:_e({}, &#39;cvml&#39;,=
 &#39;yry@cs.yale.edu&#39;);" target=3D"_blank">yry@cs.yale.edu</a>&gt;</sp=
an> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">


<div dir=3D"ltr">I am fine with adding two optional fields. Regarding an op=
tional &quot;character&quot; field, the suggested semantics is the characte=
r position at the line. To avoid ambiguity, how about name them &quot;line-=
number&quot; and &quot;character-number&quot; so that their JSONNumber type=
 is not surprising?<span><font color=3D"#888888"><div>




<br></div><div>Richard</div></font></span></div><div><div><div class=3D"gma=
il_extra"><br><br><div class=3D"gmail_quote">On Sat, Oct 12, 2013 at 1:43 P=
M, Richard Alimi <span dir=3D"ltr">&lt;<a href=3D"javascript:_e({}, &#39;cv=
ml&#39;, &#39;rich@velvetsea.net&#39;);" target=3D"_blank">rich@velvetsea.n=
et</a>&gt;</span> wrote:<br>




<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">We used to have a &#39;reas=
on&#39; field, but it was suggested in the the apps-area review that it be =
removed because of the concern over internationalization. =A0Given that it&=
#39;s WGLC I would prefer not to revisit that.<div>






<br></div><div>I don&#39;t have a problem with adding optional line and cha=
racter fields, given that they can be conveyed as integers. =A0I don&#39;t =
think it should be required, since not all parsers may provide that informa=
tion.</div>






<div><br></div><div>Rich<br></div></div><div><div><div class=3D"gmail_extra=
"><br><br><div class=3D"gmail_quote">On Fri, Oct 11, 2013 at 5:54 PM, Y. Ri=
chard Yang <span dir=3D"ltr">&lt;<a href=3D"javascript:_e({}, &#39;cvml&#39=
;, &#39;yry@cs.yale.edu&#39;);" target=3D"_blank">yry@cs.yale.edu</a>&gt;</=
span> wrote:<br>






<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hi Wendy,<div><br></div><di=
v>Interesting suggestion. I assume that the fields will be optional, right?=
 A consideration is that the syntax errors typically are caught by a JSON p=
arser. I know that you know quite a few parsers. Will the existing parsers =
give such information (e.g., line, character)?=A0</div>







<div><br></div><div>To others: if you have used multiple parsers, your expe=
rience can be quite helpful here.</div><div><br></div><div>Thanks!<span><fo=
nt color=3D"#888888"><br><br></font></span></div><span><font color=3D"#8888=
88"><div>






Richard=A0</div></font></span></div><div><div><div class=3D"gmail_extra"><b=
r><br><div class=3D"gmail_quote">
On Thu, Oct 10, 2013 at 12:50 PM, Wendy Roome <span dir=3D"ltr">&lt;<a href=
=3D"javascript:_e({}, &#39;cvml&#39;, &#39;w.roome@alcatel-lucent.com&#39;)=
;" target=3D"_blank">w.roome@alcatel-lucent.com</a>&gt;</span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">







As current;y defined, E_SYNTAX gives no indication as to where the error<br=
>
is or what was wrong. So how about adding the following additional fields<b=
r>
for E_SYNTAX:<br>
<br>
&quot;line&quot; =A0Optional line number (first line is 1)<br>
&quot;character&quot; =A0Optional character in line (first character is 1)<=
br>
&quot;reason&quot; =A0Optional error message, which may or may not include =
line and<br>
character.<br>
<br>
This raises the question of what language to use for &quot;reason&quot;. At=
 the risk<br>
of coming across as an English chauvinist, I suggest that it be in<br>
English. After all, the RFC is in English, and the field names are<br>
English. So it&#39;s pretty unlikely that server and client programmers won=
&#39;t<br>
understand enough English to deal with a simple error message. And I don&#3=
9;t<br>
see a client library displaying that message to the end user; instead the<b=
r>
lib would log it for analysis by the developers.<br>
<br>
And if a server isn&#39;t able to give an English error message, use &quot;=
line&quot;<br>
and &quot;character&quot;.<br>
<br>
=A0 =A0 =A0 =A0 - Wendy Roome<br>
<br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;alto@ietf.org&#39;);" tar=
get=3D"_blank">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
alto mailing list<br>
<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;alto@ietf.org&#39;);" tar=
get=3D"_blank">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>
</blockquote></div>

--047d7b4187eb08568904e8ac44ea--

From bill.wu@huawei.com  Sun Oct 13 23:30:53 2013
Return-Path: <bill.wu@huawei.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 4A32C21E80C4 for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 23:30:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.082
X-Spam-Level: 
X-Spam-Status: No, score=-6.082 tagged_above=-999 required=5 tests=[AWL=0.516,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VWG93EpraVYY for <alto@ietfa.amsl.com>; Sun, 13 Oct 2013 23:30:49 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id F2B3B21E80BB for <alto@ietf.org>; Sun, 13 Oct 2013 23:30:47 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml204-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AWT97957; Mon, 14 Oct 2013 06:30:45 +0000 (GMT)
Received: from LHREML403-HUB.china.huawei.com (10.201.5.217) by lhreml204-edg.china.huawei.com (172.18.7.223) with Microsoft SMTP Server (TLS) id 14.3.146.0; Mon, 14 Oct 2013 07:30:05 +0100
Received: from NKGEML401-HUB.china.huawei.com (10.98.56.32) by lhreml403-hub.china.huawei.com (10.201.5.217) with Microsoft SMTP Server (TLS) id 14.3.146.0; Mon, 14 Oct 2013 07:30:41 +0100
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.141]) by nkgeml401-hub.china.huawei.com ([10.98.56.32]) with mapi id 14.03.0146.000; Mon, 14 Oct 2013 14:30:36 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>, IETF ALTO <alto@ietf.org>
Thread-Topic: [alto] ALTO Extension: Defining a Cost Metrics document?
Thread-Index: AQHOyGq3gKD/pIh4mkKRiMotazW0EJnzu3Ig
Date: Mon, 14 Oct 2013 06:30:35 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA43C0ACE7@nkgeml501-mbs.china.huawei.com>
References: <CANUuoLpy5Budcx+tJCeExeYC_yTcQ9J2gC7HsXcjCvhOi7p_Vg@mail.gmail.com>
In-Reply-To: <CANUuoLpy5Budcx+tJCeExeYC_yTcQ9J2gC7HsXcjCvhOi7p_Vg@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.138.41.149]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA43C0ACE7nkgeml501mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: "choits@etri.re.kr" <choits@etri.re.kr>
Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 06:30:53 -0000

--_000_B8F9A780D330094D99AF023C5877DABA43C0ACE7nkgeml501mbschi_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

From: alto-bounces@ietf.org [mailto:alto-bounces@ietf.org] On Behalf Of Y. =
Richard Yang
Sent: Monday, October 14, 2013 7:20 AM
To: IETF ALTO
Cc: choits@etri.re.kr; Qin Wu
Subject: [alto] ALTO Extension: Defining a Cost Metrics document?

Dear all,

I am reading up on the documents that define cost metrics.

The motivation is that the base ALTO protocol (http://www.ietf.org/id/draft=
-ietf-alto-protocol-20.txt) has defined only one Cost Metric: 'routingcost'=
:

- Defined the semantics at Sec. 6.1.1.1 of , and then listed it at Table 3.

- Used "hopcount" in examples of Sec. 9.2.3 and 9.2.4, but the semantics of=
 not formally defined.

Given the aforementioned state of the base protocol, I see good value in th=
at the WG produces a WG document that defines a relatively complete set of =
Cost Metrics.

I particular, I read the following:

- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02
  (Sec. 3.4 introduced three metrics: hopcount, latency, pktcost, and cost)

- http://tools.ietf.org/html/draft-wu-alto-json-te-01
  Defined a set of metrics: in Sec. 4. This work, as stated in the document=
, is motivated by

- http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt

During the review of ALTO base protocol, we are suggested to document perfo=
rmance metrics (cost metrics) per the guideline of
- RFC 6390 Guidelines for Considering New Performance Metric Development. A=
. Clark, B. Claise. October 2011. (Format: TXT=3D49930 bytes) (Also BCP0170=
) (Status: BEST CURRENT PRACTICE)

Here a first question, I have, is whether the authors will produce a "simpl=
e" document, at the upcoming IETF, whose only purpose is to:

  define a set of cost metrics, including the nameing, the semantics, ... f=
ollowing the guideline per RFC 6390, that can benefit the base protocol.

[Qin] This is exactly what I we are doing in draft-wu-alto-json-te. We are =
checking if we can give a complete list of cost metrics that are built base=
d on

draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp<http://to=
ols.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt>,draft-ietf-ospf-te-metric-ex=
tensions-04, draft-ietf-isis-te-metric-extensions-01.

We will further generalize them to firstly have some base metrics that can =
applied either to the whole path or any link in the path and then have

Derived metrics that are link specific.



The update (v-02) will come in a few days.


I feel that such a document is focused, and has good value by itself.

The implications of the introducing multiple cost metrics can be explored i=
n another document, which I will send in another email shortly.

Thanks.

Richard


--_000_B8F9A780D330094D99AF023C5877DABA43C0ACE7nkgeml501mbschi_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.HTMLChar
	{mso-style-name:"HTML \9884\8BBE\683C\5F0F Char";
	mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> alto-bou=
nces@ietf.org [mailto:alto-bounces@ietf.org]
<b>On Behalf Of </b>Y. Richard Yang<br>
<b>Sent:</b> Monday, October 14, 2013 7:20 AM<br>
<b>To:</b> IETF ALTO<br>
<b>Cc:</b> choits@etri.re.kr; Qin Wu<br>
<b>Subject:</b> [alto] ALTO Extension: Defining a Cost Metrics document?<o:=
p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">Dear all,<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I am reading up on the documents that define cost me=
trics.&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">The motivation is that the base ALTO protocol (<a hr=
ef=3D"http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt">http://www.ie=
tf.org/id/draft-ietf-alto-protocol-20.txt</a>) has defined only one Cost Me=
tric: 'routingcost':<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">- Defined the semantics at Sec. 6.1.1.1 of , and the=
n listed it at Table 3.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">- Used &quot;hopcount&quot; in examples of Sec. 9.2.=
3 and 9.2.4, but the semantics of not formally defined.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Given the aforementioned state of the base protocol,=
 I see good value in that the WG produces a WG document that defines a rela=
tively complete set of Cost Metrics.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I particular, I read the following:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-l=
ee-alto-app-net-info-exchange-02">http://tools.ietf.org/html/draft-lee-alto=
-app-net-info-exchange-02</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; (Sec. 3.4 introduced three metrics: hopcount,=
 latency, pktcost, and cost)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-w=
u-alto-json-te-01">http://tools.ietf.org/html/draft-wu-alto-json-te-01</a><=
o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; Defined a set of metrics: in Sec. 4. This wor=
k, as stated in the document, is motivated by&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">-&nbsp;<a href=3D"http://www.ietf.org/id/draft-ietf-=
ospf-te-metric-extensions-04.txt">http://www.ietf.org/id/draft-ietf-ospf-te=
-metric-extensions-04.txt</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">During the review of =
ALTO base protocol, we are suggested to document performance metrics (cost =
metrics) per the guideline of&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:9.5pt;font-family:&quot;Ari=
al&quot;,&quot;sans-serif&quot;">- RFC&nbsp;</span>6390 Guidelines for Cons=
idering New Performance Metric Development. A. Clark, B. Claise. October 20=
11. (Format: TXT=3D49930 bytes) (Also BCP0170) (Status: BEST CURRENT
 PRACTICE)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Here a first question, I have, is whether the author=
s will produce a &quot;simple&quot; document, at the upcoming IETF, whose o=
nly purpose is to:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; define a set of cost metrics, including the n=
ameing, the semantics, ... following the guideline per RFC 6390, that can b=
enefit the base protocol.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">[Qin]</span>
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">This is exactly what I we are doing in draft-wu-=
alto-json-te. We are checking if we can give a complete list of cost metric=
s that are built based on<o:p></o:p></span></p>
<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1F497D">draft-ietf-idr-ls-distribution-03,RFC5305, =
<a href=3D"http://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt" target=
=3D"_blank"><span style=3D"color:#1F497D;text-decoration:none">draft-wu-idr=
-te-pm-bgp</span></a>,draft-ietf-ospf-te-metric-extensions-04, draft-ietf-i=
sis-te-metric-extensions-01.<o:p></o:p></span></pre>
<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1F497D">We will further generalize them to firstly =
have some base metrics that can applied either to the whole path or any lin=
k in the path and then have<o:p></o:p></span></pre>
<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1F497D">Derived metrics that are link specific.<o:p=
></o:p></span></pre>
<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></pre>
<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1F497D">The update (v-02) will come in a few days. =
<o:p></o:p></span></pre>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">I feel that such a document is focused, and has good=
 value by itself.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">The implications of the introducing multiple cost me=
trics can be explored in another document, which I will send in another ema=
il shortly.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Thanks.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Richard<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_B8F9A780D330094D99AF023C5877DABA43C0ACE7nkgeml501mbschi_--

From gregb@grotto-networking.com  Mon Oct 14 07:54:07 2013
Return-Path: <gregb@grotto-networking.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 EAEE321E8179 for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 07:54:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G1Dk2BXyIf5j for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 07:54:03 -0700 (PDT)
Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by ietfa.amsl.com (Postfix) with ESMTP id 9AA7C21E80C1 for <alto@ietf.org>; Mon, 14 Oct 2013 07:53:57 -0700 (PDT)
Received: from [192.168.0.124] (c-67-170-243-110.hsd1.ca.comcast.net [67.170.243.110]) by smtp.webfaction.com (Postfix) with ESMTP id 4AB5E209628E; Mon, 14 Oct 2013 14:53:55 +0000 (UTC)
Message-ID: <525C0581.5090104@grotto-networking.com>
Date: Mon, 14 Oct 2013 07:53:53 -0700
From: Greg Bernstein <gregb@grotto-networking.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
MIME-Version: 1.0
To: "Y. Richard Yang" <yry@cs.yale.edu>, IETF ALTO <alto@ietf.org>
References: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com>
In-Reply-To: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com>
X-Enigmail-Version: 1.5.2
Content-Type: multipart/alternative; boundary="------------050200020900060107090007"
Cc: Wendy Roome <W.Roome@alcatel-lucent.com>, "choits@etri.re.kr" <choits@etri.re.kr>, Qin Wu <bill.wu@huawei.com>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 14:54:08 -0000

This is a multi-part message in MIME format.
--------------050200020900060107090007
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi Richard, in our expired draft on  large bandwidth uses
cases,http://tools.ietf.org/html/draft-bernstein-alto-large-bandwidth-cases-02,
we were counting on some type of multi-cost extension (see section 5).
Hence, I concur with your assessment of the need and usefulness of such
an extension.
Cheers

Greg B.
On 10/13/2013 4:57 PM, Y. Richard Yang wrote:
> Dear all,
>
> The base ALTO protocol
> (http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt) is mostly a
> single-cost-metric centric:
>
> - The Cost Map filtering service uses only one cost-type (Sec. 11.3.2.3):
>
>      object {
>      CostType   cost-type;
>      [JSONString constraints<0..*>;]
>      [PIDFilter  pids;]
>    } ReqFilteredCostMap;
>
>    object {
>      PIDName srcs<0..*>;
>      PIDName dsts<0..*>;
>    } PIDFilter;
>
> ...
>  constraints  Defines a list of additional constraints on which
>       elements of the Cost Map are returned.  This parameter MUST NOT be
>       specified if this resource's capabilities (Section 11.3.2.4)
>       indicate that constraint support is not available.  A constraint
>       contains two entities separated by whitespace: (1) an operator,
>       'gt' for greater than, 'lt' for less than, 'ge' for greater than
>       or equal to, 'le' for less than or equal to, or 'eq' for equal to;
>       (2) a target cost value. 
>
> - The Endpoint Cost service allows filtering (Sec. 11.5.1.3) as well,
> and is similar to Cost Map Filtering:
>
>    object {
>      CostType          cost-type;
>      [JSONString       constraints<0..*>;]
>      EndpointFilter    endpoints;
>    } ReqEndpointCostMap;
>
>    object {
>      [TypedEndpointAddr srcs<0..*>;]
>      [TypedEndpointAddr dsts<0..*>;]
>    } EndpointFilter;
>
>    constraints  Defined equivalently to the "constraints" input
>       parameter of a Filtered Cost Map (see Section 11.3.2).
>
> In other words, in the base protocol, the filtering condition and the
> output are based on the same Cost Metric. It is natural that the
> filtering and the output are based on different Cost metrics. For
> example, a Client asks for routingcost for only pairs whose latency is
> below a threshold (see use cases in
> http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07). 
>
> One may argue that the filter-metric-no-equal-to-output-metric
> function can be implemented on top of the
> filter-and-output-using-one-metric function:
>
> In particular, suppose the filtering is based on metrics M1 and M2,
> and the output is M3, for a set src to a set dsts. The Client can use
> the following three queries:
>
> - Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains
> <srcs1, dsts1> in return;
> - Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains
> <srcs2, dsts2> in return;
> - Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final
> result.
>
> Although this is not too bad, it is inconvenient. Note that preceding
> is first discussed by Sabine, Wendy, Nico in:
> http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07
>
> I saw that this is also the issue discussed in  
> - http://tools.ietf.org/html/draft-wu-alto-json-te-01
> - http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02
>
> Hence, I propose that the WG extends the base protocol with this
> capability, as I see that it is quite useful. One issue is that I see
> three designs, and I am wondering if the authors are preparing on
> discussing their designs at the coming IETF, and if there is a
> possibility for a single, unified document, focusing on this issue.
>
> Thanks a lot!
>
> Richard


-- 
===================================================
Dr Greg Bernstein, Grotto Networking (510) 573-2237


--------------050200020900060107090007
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Richard, in our expired draft on&nbsp;
      large bandwidth uses cases,<a
href="http://tools.ietf.org/html/draft-bernstein-alto-large-bandwidth-cases-02">
http://tools.ietf.org/html/draft-bernstein-alto-large-bandwidth-cases-02</a>,<br>
      we were counting on some type of multi-cost extension (see section
      5).<br>
      Hence, I concur with your assessment of the need and usefulness of
      such an extension.<br>
      Cheers<br>
      <br>
      Greg B.<br>
      On 10/13/2013 4:57 PM, Y. Richard Yang wrote:<br>
    </div>
    <blockquote
cite="mid:CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Dear all,
        <div><br>
        </div>
        <div>The base ALTO protocol (<a moz-do-not-send="true"
            href="http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt">http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt</a>)
          is mostly a single-cost-metric centric:</div>
        <div><br>
        </div>
        <div>- The Cost Map filtering service uses only one cost-type
          (Sec. 11.3.2.3):</div>
        <div><br>
        </div>
        <div>&nbsp; &nbsp; &nbsp;object {</div>
        <div>&nbsp; &nbsp; &nbsp;CostType &nbsp; cost-type;</div>
        <div>&nbsp; &nbsp; &nbsp;[JSONString constraints&lt;0..*&gt;;]</div>
        <div>&nbsp; &nbsp; &nbsp;[PIDFilter &nbsp;pids;]</div>
        <div>&nbsp; &nbsp;} ReqFilteredCostMap;</div>
        <div><br>
        </div>
        <div>&nbsp; &nbsp;object {</div>
        <div>&nbsp; &nbsp; &nbsp;PIDName srcs&lt;0..*&gt;;</div>
        <div>&nbsp; &nbsp; &nbsp;PIDName dsts&lt;0..*&gt;;</div>
        <div>&nbsp; &nbsp;} PIDFilter;</div>
        <div><br>
        </div>
        <div>...</div>
        <div>
          <div>&nbsp;constraints &nbsp;Defines a list of additional constraints on
            which</div>
          <div>&nbsp; &nbsp; &nbsp; elements of the Cost Map are returned. &nbsp;This
            parameter MUST NOT be</div>
          <div>&nbsp; &nbsp; &nbsp; specified if this resource's capabilities (Section
            11.3.2.4)</div>
          <div>&nbsp; &nbsp; &nbsp; indicate that constraint support is not available.
            &nbsp;A constraint</div>
          <div>&nbsp; &nbsp; &nbsp; contains two entities separated by whitespace: (1)
            an operator,</div>
          <div>&nbsp; &nbsp; &nbsp; 'gt' for greater than, 'lt' for less than, 'ge' for
            greater than</div>
          <div>&nbsp; &nbsp; &nbsp; or equal to, 'le' for less than or equal to, or
            'eq' for equal to;</div>
          <div>&nbsp; &nbsp; &nbsp; (2) a target cost value.&nbsp;</div>
        </div>
        <div><br>
        </div>
        <div>- The Endpoint Cost service allows filtering (Sec.
          11.5.1.3) as well, and is similar to Cost Map Filtering:</div>
        <div><br>
        </div>
        <div>
          <div>&nbsp; &nbsp;object {</div>
          <div>&nbsp; &nbsp; &nbsp;CostType &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cost-type;</div>
          <div>&nbsp; &nbsp; &nbsp;[JSONString &nbsp; &nbsp; &nbsp; constraints&lt;0..*&gt;;]</div>
          <div>&nbsp; &nbsp; &nbsp;EndpointFilter &nbsp; &nbsp;endpoints;</div>
          <div>&nbsp; &nbsp;} ReqEndpointCostMap;</div>
          <div><br>
          </div>
          <div>&nbsp; &nbsp;object {</div>
          <div>&nbsp; &nbsp; &nbsp;[TypedEndpointAddr srcs&lt;0..*&gt;;]</div>
          <div>&nbsp; &nbsp; &nbsp;[TypedEndpointAddr dsts&lt;0..*&gt;;]</div>
          <div>&nbsp; &nbsp;} EndpointFilter;</div>
        </div>
        <div><br>
        </div>
        <div>
          <div>&nbsp; &nbsp;constraints &nbsp;Defined equivalently to the "constraints"
            input</div>
          <div>&nbsp; &nbsp; &nbsp; parameter of a Filtered Cost Map (see Section
            11.3.2).</div>
        </div>
        <div><br>
        </div>
        <div>In other words, in the base protocol, the filtering
          condition and the output are based on the same Cost Metric. It
          is natural that the filtering and the output are based on
          different Cost metrics. For example, a Client asks for
          routingcost for only pairs whose latency is below a threshold
          (see use cases in <a moz-do-not-send="true"
            href="http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07">http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07</a>).&nbsp;</div>
        <div><br>
        </div>
        <div>One may argue that the
          filter-metric-no-equal-to-output-metric function can be
          implemented on top of the filter-and-output-using-one-metric
          function:</div>
        <div><br>
        </div>
        <div>In particular, suppose the filtering is based on metrics M1
          and M2, and the output is M3, for a set src to a set dsts. The
          Client can use the following three queries:</div>
        <div><br>
        </div>
        <div>- Q1: Use single metric &lt;M1, filter on M1, srcs,
          dsts&gt; and obtains &lt;srcs1, dsts1&gt; in return;</div>
        <div>- Q2: Use single metric &lt;M2, filter on M2, srcs1,
          dsts1&gt; and obtains &lt;srcs2, dsts2&gt; in return;</div>
        <div>- Q3: Use single metric &lt;M3, no filter, srcs2, dsts2&gt;
          to get the final result.</div>
        <div><br>
        </div>
        <div>Although this is not too bad, it is inconvenient. Note that
          preceding is first discussed by Sabine, Wendy, Nico in:<br>
          <a moz-do-not-send="true"
            href="http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07">http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07</a><br>
        </div>
        <div><br>
        </div>
        <div>I saw that this is also the issue discussed in &nbsp;</div>
        <div>-&nbsp;<a moz-do-not-send="true"
            href="http://tools.ietf.org/html/draft-wu-alto-json-te-01">http://tools.ietf.org/html/draft-wu-alto-json-te-01</a><br>
        </div>
        <div>-&nbsp;<a moz-do-not-send="true"
href="http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02"
            target="_blank"
            style="font-size:12.800000190734863px;font-family:arial,sans-serif">http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02</a></div>
        <div><br>
        </div>
        <div>Hence, I propose that the WG extends the base protocol with
          this capability, as I see that it is quite useful. One issue
          is that I see three designs, and I am wondering if the authors
          are preparing on discussing their designs at the coming IETF,
          and if there is a possibility for a single, unified document,
          focusing on this issue.</div>
        <div><br>
        </div>
        <div>Thanks a lot!</div>
        <div><br>
        </div>
        <div>Richard</div>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
===================================================
Dr Greg Bernstein, Grotto Networking (510) 573-2237

</pre>
  </body>
</html>

--------------050200020900060107090007--

From w.roome@alcatel-lucent.com  Mon Oct 14 08:25:44 2013
Return-Path: <w.roome@alcatel-lucent.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 D90DC11E8184 for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 08:25:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.416
X-Spam-Level: 
X-Spam-Status: No, score=-9.416 tagged_above=-999 required=5 tests=[AWL=-0.214, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yEM46apbRFuR for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 08:25:35 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id 6EC8B11E8140 for <alto@ietf.org>; Mon, 14 Oct 2013 08:25:27 -0700 (PDT)
Received: from usnavsmail4.ndc.alcatel-lucent.com (usnavsmail4.ndc.alcatel-lucent.com [135.3.39.12]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r9EFPPJF006446 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 14 Oct 2013 10:25:25 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail4.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9EFPPIQ008811 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 14 Oct 2013 10:25:25 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9EFPLi6014356; Mon, 14 Oct 2013 10:25:23 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.8.130913
Date: Mon, 14 Oct 2013 11:25:22 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: Richard Alimi <rich@velvetsea.net>, "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <CE81816B.9CFC2%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Adding explanation for E_SYNTAX error
In-Reply-To: <CA+cvDaYD-rsA=TA6oj-jXj3USeTAzvSRn_fkDynBQP1+hSEY8Q@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3464594726_2861548"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Adding explanation for E_SYNTAX error
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 15:25:45 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3464594726_2861548
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit

Yes, I'm aware that we dropped "reason" a while back.

But we dropped it because the original "reason" covered all sorts of errors
-- in particular, transient errors on the server. The problem was that an
ALTO library might want to display that "reason" to the end user. That was
clearly inappropriate.

However, my proposal is different. This only happens because of a
programming error in the client library. An ALTO library would never display
the "reason" error message to the end-user. Instead, the ALTO lib would log
the "reason" somewhere, for later examination by the developers. The ALTO
lib would tell the user "Opps, internal error, send us the log file" , in
the user's language.

In short, most JSON parsers generate useful error messages for syntax
errors. It seems like a shame to discard information and tell a developer
"Something's wrong. Guess where."

Back in the 1970's, the original unix text editor, "ed", had one error
message: "?".  I'd like to think we can do better than that.

- Wendy Roome


From:  Richard Alimi <rich@velvetsea.net>
Date:  Sat, October 12, 2013 13:43
To:  "Y. Richard Yang" <yry@cs.yale.edu>
Cc:  Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject:  Re: [alto] Adding explanation for E_SYNTAX error

We used to have a 'reason' field, but it was suggested in the the apps-area
review that it be removed because of the concern over internationalization.
Given that it's WGLC I would prefer not to revisit that.

I don't have a problem with adding optional line and character fields, given
that they can be conveyed as integers.  I don't think it should be required,
since not all parsers may provide that information.

Rich


On Fri, Oct 11, 2013 at 5:54 PM, Y. Richard Yang <yry@cs.yale.edu> wrote:
> Hi Wendy,
> 
> Interesting suggestion. I assume that the fields will be optional, right? A
> consideration is that the syntax errors typically are caught by a JSON parser.
> I know that you know quite a few parsers. Will the existing parsers give such
> information (e.g., line, character)?
> 
> To others: if you have used multiple parsers, your experience can be quite
> helpful here.
> 
> Thanks!
> 
> Richard 
> 



--B_3464594726_2861548
Content-type: text/html;
	charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>Yes, I'm aware that we dropp=
ed "reason" a while back.</div><div><br></div><div>But we dropped it because=
 the original "reason" covered all sorts of errors -- in particular, transie=
nt errors on the server. The problem was that an ALTO library might want to =
display that "reason" to the end user. That was clearly inappropriate.</div>=
<div><br></div><div>However, my proposal is different. This only happens bec=
ause of a programming error in the client library. An ALTO library would nev=
er display the "reason" error message to the end-user. Instead, the ALTO lib=
 would log the "reason" somewhere, for later examination by the developers. =
The ALTO lib would tell the user "Opps, internal error, send us the log file=
" , in the user's language.</div><div><br></div><div>In short, most JSON par=
sers generate useful error messages for syntax errors. It seems like a shame=
 to discard information and tell a developer "Something's wrong. Guess where=
."</div><div><br></div><div>Back in the 1970's, the original unix text edito=
r, "ed", had one error message: "?". &nbsp;I'd like to think we can do bette=
r than that.</div><div><br></div><div><span class=3D"Apple-tab-span" style=3D"wh=
ite-space:pre">	</span>- Wendy Roome</div><div><br></div><div><br></div><spa=
n id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-family:Calibri; font-size:11pt;=
 text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medi=
um none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-=
TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span s=
tyle=3D"font-weight:bold">From: </span> Richard Alimi &lt;<a href=3D"mailto:rich=
@velvetsea.net">rich@velvetsea.net</a>&gt;<br><span style=3D"font-weight:bold"=
>Date: </span> Sat, October 12, 2013 13:43<br><span style=3D"font-weight:bold"=
>To: </span> "Y. Richard Yang" &lt;<a href=3D"mailto:yry@cs.yale.edu">yry@cs.y=
ale.edu</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> Wendy Roome &l=
t;<a href=3D"mailto:w.roome@alcatel-lucent.com">w.roome@alcatel-lucent.com</a>=
&gt;, IETF ALTO &lt;<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&gt;<br>=
<span style=3D"font-weight:bold">Subject: </span> Re: [alto] Adding explanatio=
n for E_SYNTAX error<br></div><div><br></div><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: Calibri;=
 font-style: normal; font-variant: normal; font-weight: normal; letter-spaci=
ng: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-=
indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spac=
ing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-sp=
acing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adju=
st: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div dir=3D"ltr=
">We used to have a 'reason' field, but it was suggested in the the apps-are=
a review that it be removed because of the concern over internationalization=
. &nbsp;Given that it's WGLC I would prefer not to revisit that.<div><br></d=
iv><div>I don't have a problem with adding optional line and character field=
s, given that they can be conveyed as integers. &nbsp;I don't think it shoul=
d be required, since not all parsers may provide that information.</div><div=
><br></div><div>Rich<br></div></div><div class=3D"gmail_extra"><br><br><div cl=
ass=3D"gmail_quote">On Fri, Oct 11, 2013 at 5:54 PM, Y. Richard Yang<span clas=
s=3D"Apple-converted-space">&nbsp;</span><span dir=3D"ltr">&lt;<a href=3D"mailto:y=
ry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&gt;</span><span class=3D"A=
pple-converted-space">&nbsp;</span>wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left:=
 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); borde=
r-left-style: solid; padding-left: 1ex; "><div dir=3D"ltr">Hi Wendy,<div><br><=
/div><div>Interesting suggestion. I assume that the fields will be optional,=
 right? A consideration is that the syntax errors typically are caught by a =
JSON parser. I know that you know quite a few parsers. Will the existing par=
sers give such information (e.g., line, character)?&nbsp;</div><div><br></di=
v><div>To others: if you have used multiple parsers, your experience can be =
quite helpful here.</div><div><br></div><div>Thanks!<span class=3D"HOEnZb"><fo=
nt color=3D"#888888"><br><br></font></span></div><span class=3D"HOEnZb"><font co=
lor=3D"#888888"><div>Richard&nbsp;</div></font></span></div><div class=3D"HOEnZb=
"><div class=3D"h5"><br class=3D"Apple-interchange-newline"></div></div></blockq=
uote></div></div></span></span></body></html>

--B_3464594726_2861548--



From w.roome@alcatel-lucent.com  Mon Oct 14 09:42:03 2013
Return-Path: <w.roome@alcatel-lucent.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 0D52921F9DA3 for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 09:42:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.947
X-Spam-Level: 
X-Spam-Status: No, score=-8.947 tagged_above=-999 required=5 tests=[AWL=-0.629, BAYES_00=-2.599, HTML_FONT_FACE_BAD=0.884, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D4K0FBRpoFXH for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 09:41:57 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id E86AD11E8144 for <alto@ietf.org>; Mon, 14 Oct 2013 09:41:55 -0700 (PDT)
Received: from usnavsmail4.ndc.alcatel-lucent.com (usnavsmail4.ndc.alcatel-lucent.com [135.3.39.12]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r9EGfowj010388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 14 Oct 2013 11:41:50 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail4.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9EGfoRr019935 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 14 Oct 2013 11:41:50 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9EGfjbh005160; Mon, 14 Oct 2013 11:41:46 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.8.130913
Date: Mon, 14 Oct 2013 12:41:46 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>, Richard Alimi <rich@velvetsea.net>
Message-ID: <CE81935F.9DF72%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Adding explanation for E_SYNTAX error
In-Reply-To: <CANUuoLpK9r54Qy9O37GPNgBRfW9b0RTK1H=pDTKmHQi=cqVQsQ@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3464599310_3128663"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Adding explanation for E_SYNTAX error
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 16:42:03 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3464599310_3128663
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit

The JSON lib I'm currently using gives reasonably useful syntax error
messages, complete with line number and character offset in line. Of course,
as with any syntax error, that's approximate.

However, that position info is buried inside the library, and I'd have to do
a lot of surgery to the library to get line & offset as separate fields.
It's possible, of course -- it's just annoying.

So how about dropping the separate line & character fields, and simplifying
my original proposal to this:

"For an E_SYNTAX error, the ALTO server MAY provide the optional string
field "syntax-error" with a human-readable description of the syntax error.
If possible, this field should include position information such as line
number and offset within line. If nothing else, "syntax-error" could have
just the position. The format of "syntax-error" field is free-form. The
contents of that field should be given to the ALTO client developer, not the
end-user. If a syntax error occurs in a production environment, the ALTO
client should  log the "syntax-error" in an internal log file, tell the
end-user that there was an error communicating with the ALTO server, and
suggest the user forward that log file to the developers."

- Wendy Roome

From:  "Y. Richard Yang" <yry@cs.yale.edu>
Date:  Mon, October 14, 2013 00:54
To:  Richard Alimi <rich@velvetsea.net>
Cc:  "Y. Richard Yang" <yry@cs.yale.edu>, Wendy Roome
<w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject:  Re: [alto] Adding explanation for E_SYNTAX error

Interesting thought. It appears a json parser, from what I used, will more
likely give only the line number. For example, try
http://jsonlint.com/

It typically gives a line number, and then some message on what is expected.
Hence, line # might be more likely available?

Richard



--B_3464599310_3128663
Content-type: text/html;
	charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>The JSON lib I'm currently u=
sing gives reasonably useful syntax error messages, complete with line numbe=
r and character offset in line. Of course, as with any syntax error, that's =
approximate.</div><div><br></div><div>However, that position info is buried =
inside the library, and I'd have to do a lot of surgery to the library to ge=
t line &amp; offset as separate fields. It's possible, of course -- it's jus=
t annoying.</div><div><br></div><div>So how about dropping the separate line=
 &amp; character fields, and simplifying my original proposal to this:</div>=
<div><br></div><div>"For an E_SYNTAX error, the ALTO server MAY provide the =
optional string field "syntax-error" with a human-readable description of th=
e syntax error. If possible, this field should include position information =
such as line number and offset within line. If nothing else, "syntax-error" =
could have just the position.&nbsp;The format of "syntax-error" field is fre=
e-form. The contents of that field should be given to the ALTO client develo=
per, not the end-user. If a syntax error occurs in a production environment,=
 the ALTO client should &nbsp;log the "syntax-error" in an internal log file=
,&nbsp;tell the end-user that there was an error communicating with the ALTO=
 server,&nbsp;and suggest the user forward that log file to the developers."=
</div><div><br></div><div><span class=3D"Apple-tab-span" style=3D"white-space:pr=
e">	</span>- Wendy Roome</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"=
><div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:bla=
ck; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0i=
n; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BOR=
DER-RIGHT: medium none; PADDING-TOP: 3pt"><span style=3D"font-weight:bold">Fro=
m: </span> "Y. Richard Yang" &lt;<a href=3D"mailto:yry@cs.yale.edu">yry@cs.yal=
e.edu</a>&gt;<br><span style=3D"font-weight:bold">Date: </span> Mon, October 1=
4, 2013 00:54<br><span style=3D"font-weight:bold">To: </span> Richard Alimi &l=
t;<a href=3D"mailto:rich@velvetsea.net">rich@velvetsea.net</a>&gt;<br><span st=
yle=3D"font-weight:bold">Cc: </span> "Y. Richard Yang" &lt;<a href=3D"mailto:yry=
@cs.yale.edu">yry@cs.yale.edu</a>&gt;, Wendy Roome &lt;<a href=3D"mailto:w.roo=
me@alcatel-lucent.com">w.roome@alcatel-lucent.com</a>&gt;, IETF ALTO &lt;<a =
href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&gt;<br><span style=3D"font-weigh=
t:bold">Subject: </span> Re: [alto] Adding explanation for E_SYNTAX error<br=
></div><div><br></div><span class=3D"Apple-style-span" style=3D"border-collapse:=
 separate; color: rgb(0, 0, 0); font-family: Calibri; font-style: normal; fo=
nt-variant: normal; font-weight: normal; letter-spacing: normal; line-height=
: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-trans=
form: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-borde=
r-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-tex=
t-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-=
stroke-width: 0px; font-size: medium; ">Interesting thought. It appears a js=
on parser, from what I used, will more likely give only the line number. For=
 example, try&nbsp;<div><span style=3D"font-family: '.HelveticaNeueUI'; white-=
space: nowrap; "><a href=3D"http://jsonlint.com/">http://jsonlint.com/</a></sp=
an></div><div><font face=3D".HelveticaNeueUI"><span style=3D"white-space: nowrap=
; "><br></span></font></div><div><font face=3D".HelveticaNeueUI"><span style=3D"=
white-space: nowrap; ">It typically&nbsp;gives a line number, and then some =
message on what is expected. Hence, line # might be more likely available?</=
span></font></div><div><font face=3D".HelveticaNeueUI"><span style=3D"white-spac=
e: nowrap; "><br></span></font></div><div><font face=3D".HelveticaNeueUI"><spa=
n style=3D"white-space: nowrap; ">Richard<br></span></font></div></span></span=
></body></html>

--B_3464599310_3128663--



From yang.r.yang@gmail.com  Mon Oct 14 10:16:36 2013
Return-Path: <yang.r.yang@gmail.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 B5DC321E80DF for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 10:16:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.258
X-Spam-Level: 
X-Spam-Status: No, score=-1.258 tagged_above=-999 required=5 tests=[AWL=-0.165, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_FONT_FACE_BAD=0.884, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IdFR5E8FbdXT for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 10:16:35 -0700 (PDT)
Received: from mail-pb0-x22b.google.com (mail-pb0-x22b.google.com [IPv6:2607:f8b0:400e:c01::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 6F1EC21E8179 for <alto@ietf.org>; Mon, 14 Oct 2013 10:16:33 -0700 (PDT)
Received: by mail-pb0-f43.google.com with SMTP id md4so7601751pbc.16 for <alto@ietf.org>; Mon, 14 Oct 2013 10:16:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=jnL7VEAkSiuR4PEKkNqOmAx4qvP5QpSjVYCCm/JnJ4E=; b=cuxBDjnclwT/eEgV5TtTAW2/Bp9IJUQUfLOg5BaDMsfW33ZIEVE4F8/Ca/vd9MsC9q 13pNnH/cKAcvH8J++wGAoCPCIZmtl+i4zhXugFab4PuG6jDdNh+WabGAsgoK+ilA5S1D 7eRXV7s6b+aoNV/7bOVboRg7a0vYzxNuYBtvonFUBU6OO9Z/2eA7p7OoyuHhfgV1VdgA WP/2pZ6hXbpG+BdXs3nFvfaf8O1VILXg+E6fvGcLvwqJJegBB3qmaYCyazsfXKxi/RaZ xz6U3CgVi7yminUBz8O8GpYl2p7wJepofPdfHxOxoqbVfpHJ2oj39z3YZxIxdC3t3R4u eZVQ==
MIME-Version: 1.0
X-Received: by 10.66.136.167 with SMTP id qb7mr39310497pab.43.1381770992967; Mon, 14 Oct 2013 10:16:32 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Mon, 14 Oct 2013 10:16:32 -0700 (PDT)
In-Reply-To: <CE81935F.9DF72%w.roome@alcatel-lucent.com>
References: <CANUuoLpK9r54Qy9O37GPNgBRfW9b0RTK1H=pDTKmHQi=cqVQsQ@mail.gmail.com> <CE81935F.9DF72%w.roome@alcatel-lucent.com>
Date: Mon, 14 Oct 2013 13:16:32 -0400
X-Google-Sender-Auth: 2NB5Ilay8xpykWim3osGmuC8JBw
Message-ID: <CANUuoLokB5zTrKNKmZ38jYuzSS9P=upLoc4Uagd4gkFENTdDqw@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=001a11338b5c326d5704e8b6a163
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Adding explanation for E_SYNTAX error
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 17:16:36 -0000

--001a11338b5c326d5704e8b6a163
Content-Type: text/plain; charset=ISO-8859-1

Hi Wendy,

On Mon, Oct 14, 2013 at 12:41 PM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:

> The JSON lib I'm currently using gives reasonably useful syntax error
> messages, complete with line number and character offset in line. Of
> course, as with any syntax error, that's approximate.
>
> However, that position info is buried inside the library, and I'd have to
> do a lot of surgery to the library to get line & offset as separate fields.
> It's possible, of course -- it's just annoying.
>
>
I had similar experiences as well.


> So how about dropping the separate line & character fields, and
> simplifying my original proposal to this:
>
> "For an E_SYNTAX error, the ALTO server MAY provide the optional string
> field "syntax-error" with a human-readable description of the syntax error.
> If possible, this field should include position information such as line
> number and offset within line. If nothing else, "syntax-error" could have
> just the position. The format of "syntax-error" field is free-form. The
> contents of that field should be given to the ALTO client developer, not
> the end-user. If a syntax error occurs in a production environment, the
> ALTO client should  log the "syntax-error" in an internal log file, tell
> the end-user that there was an error communicating with the ALTO
> server, and suggest the user forward that log file to the developers."
>
> A free form string field may turn out to be very useful, but lose
information. For example, try
{
    "meta": {
        "vtag :

on jsonlint.com, and one gets the error message:

Parse error on line 2:
...  "meta": {        "vtag :
----------------------^
Expecting 'STRING', '}'


It will be hard to convey this formatting, but actually the text gives much
information to a developer. A problem is that this is essentially the
"reason" field as Richard A. mentioned, and then we have the
internationalization problem....

Richard

- Wendy Roome
>
> From: "Y. Richard Yang" <yry@cs.yale.edu>
> Date: Mon, October 14, 2013 00:54
> To: Richard Alimi <rich@velvetsea.net>
> Cc: "Y. Richard Yang" <yry@cs.yale.edu>, Wendy Roome <
> w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
>
> Subject: Re: [alto] Adding explanation for E_SYNTAX error
>
> Interesting thought. It appears a json parser, from what I used, will more
> likely give only the line number. For example, try
> http://jsonlint.com/
>
> It typically gives a line number, and then some message on what is
> expected. Hence, line # might be more likely available?
>
> Richard
>

--001a11338b5c326d5704e8b6a163
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Wendy,<div class=3D"gmail_extra"><br><div class=3D"gmai=
l_quote">On Mon, Oct 14, 2013 at 12:41 PM, Wendy Roome <span dir=3D"ltr">&l=
t;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@a=
lcatel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><div style=3D"font-size:14px;font-family:Calibri,sans-seri=
f;word-wrap:break-word">
<div>The JSON lib I&#39;m currently using gives reasonably useful syntax er=
ror messages, complete with line number and character offset in line. Of co=
urse, as with any syntax error, that&#39;s approximate.</div><div><br></div=
>
<div>However, that position info is buried inside the library, and I&#39;d =
have to do a lot of surgery to the library to get line &amp; offset as sepa=
rate fields. It&#39;s possible, of course -- it&#39;s just annoying.</div>
<div><br></div></div></blockquote><div><br></div><div>I had similar experie=
nces as well.</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,2=
04,204);border-left-style:solid;padding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div></div><div>So how about dropping the separate line &amp; charac=
ter fields, and simplifying my original proposal to this:</div><div><br></d=
iv>
<div>&quot;For an E_SYNTAX error, the ALTO server MAY provide the optional =
string field &quot;syntax-error&quot; with a human-readable description of =
the syntax error. If possible, this field should include position informati=
on such as line number and offset within line. If nothing else, &quot;synta=
x-error&quot; could have just the position.=A0The format of &quot;syntax-er=
ror&quot; field is free-form. The contents of that field should be given to=
 the ALTO client developer, not the end-user. If a syntax error occurs in a=
 production environment, the ALTO client should =A0log the &quot;syntax-err=
or&quot; in an internal log file,=A0tell the end-user that there was an err=
or communicating with the ALTO server,=A0and suggest the user forward that =
log file to the developers.&quot;</div>
<div><br></div></div></blockquote><div>A free form string field may turn ou=
t to be very useful, but lose information. For example, try<br><div>{</div>=
<div>=A0 =A0 &quot;meta&quot;: {</div><div>=A0 =A0 =A0 =A0 &quot;vtag :</di=
v></div>
<div><br></div><div>on <a href=3D"http://jsonlint.com">jsonlint.com</a>, an=
d one gets the error message:<br><pre id=3D"results" class=3D"" style=3D"bo=
rder:2px solid rgb(251,194,196);font-size:12px;font-family:&#39;andale mono=
&#39;,monotype,&#39;lucida console&#39;,monospace;vertical-align:baseline;m=
argin-top:1.5em;padding:0.8em;line-height:18px;background-color:rgb(251,227=
,228);color:rgb(209,47,25)">
Parse error on line 2:
...  &quot;meta&quot;: {        &quot;vtag :
----------------------^
Expecting &#39;STRING&#39;, &#39;}&#39;</pre></div><div>=A0</div><div>It wi=
ll be hard to convey this formatting, but actually the text gives much info=
rmation to a developer. A problem is that this is essentially the &quot;rea=
son&quot; field as Richard A. mentioned, and then we have the international=
ization problem....</div>
<div><br></div><div>Richard</div><div><br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-=
color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style=
=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div></div><div><span style=3D"white-space:pre-wrap">	</span>- Wendy Roome<=
/div><div><br></div><span><div style=3D"border-width:1pt medium medium;bord=
er-style:solid none none;padding:3pt 0in 0in;text-align:left;font-size:11pt=
;font-family:Calibri;border-top-color:rgb(181,196,223)">
<span style=3D"font-weight:bold">From: </span> &quot;Y. Richard Yang&quot; =
&lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a=
>&gt;<br><span style=3D"font-weight:bold">Date: </span> Mon, October 14, 20=
13 00:54<br>
<span style=3D"font-weight:bold">To: </span> Richard Alimi &lt;<a href=3D"m=
ailto:rich@velvetsea.net" target=3D"_blank">rich@velvetsea.net</a>&gt;<br><=
span style=3D"font-weight:bold">Cc: </span> &quot;Y. Richard Yang&quot; &lt=
;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&g=
t;, Wendy Roome &lt;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D=
"_blank">w.roome@alcatel-lucent.com</a>&gt;, IETF ALTO &lt;<a href=3D"mailt=
o:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;<div class=3D"im">
<br><span style=3D"font-weight:bold">Subject: </span> Re: [alto] Adding exp=
lanation for E_SYNTAX error<br></div></div><div class=3D"im"><div><br></div=
><span style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;t=
ext-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:nor=
mal;border-collapse:separate;text-transform:none;font-size:medium;white-spa=
ce:normal;font-family:Calibri;word-spacing:0px">Interesting thought. It app=
ears a json parser, from what I used, will more likely give only the line n=
umber. For example, try=A0<div>
<span style=3D"font-family:&#39;.HelveticaNeueUI&#39;;white-space:nowrap"><=
a href=3D"http://jsonlint.com/" target=3D"_blank">http://jsonlint.com/</a><=
/span></div><div><font face=3D".HelveticaNeueUI"><span style=3D"white-space=
:nowrap"><br>
</span></font></div><div><font face=3D".HelveticaNeueUI"><span style=3D"whi=
te-space:nowrap">It typically=A0gives a line number, and then some message =
on what is expected. Hence, line # might be more likely available?</span></=
font></div>
<div><font face=3D".HelveticaNeueUI"><span style=3D"white-space:nowrap"><br=
></span></font></div><div><font face=3D".HelveticaNeueUI"><span style=3D"wh=
ite-space:nowrap">Richard<br></span></font></div></span></div></span></div>
</blockquote></div><br></div></div>

--001a11338b5c326d5704e8b6a163--

From w.roome@alcatel-lucent.com  Mon Oct 14 11:09:06 2013
Return-Path: <w.roome@alcatel-lucent.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 80D6311E8196 for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 11:09:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.319
X-Spam-Level: 
X-Spam-Status: No, score=-9.319 tagged_above=-999 required=5 tests=[AWL=-0.117, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qoD1oxL9JZjB for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 11:09:00 -0700 (PDT)
Received: from ihemail2.lucent.com (ihemail2.lucent.com [135.245.0.35]) by ietfa.amsl.com (Postfix) with ESMTP id BE22211E8151 for <alto@ietf.org>; Mon, 14 Oct 2013 11:08:56 -0700 (PDT)
Received: from usnavsmail1.ndc.alcatel-lucent.com (usnavsmail1.ndc.alcatel-lucent.com [135.3.39.9]) by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id r9EI8r00026241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 14 Oct 2013 13:08:54 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail1.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9EI8rOQ016696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 14 Oct 2013 13:08:53 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9EI8nbM027608; Mon, 14 Oct 2013 13:08:51 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.8.130913
Date: Mon, 14 Oct 2013 14:08:50 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <CE819832.9E044%w.roome@alcatel-lucent.com>
Thread-Topic: Consistent with JSON Patch/Pointer was [alto] New error format in draft 20
In-Reply-To: <CANUuoLo3i4zKxm2_PBiTJS8SvF87_VQm+y32vWJx5S31FQzB-w@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3464604533_3422857"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35
Cc: IETF ALTO <alto@ietf.org>, pbryan@anode.ca
Subject: Re: [alto] Consistent with JSON Patch/Pointer was New error format in draft 20
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 18:09:06 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3464604533_3422857
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit

Programming languages use "." to separate components. Unix file systems and
URIs use "/". So is a JSON field name a fully qualified reference in a
programming language, or a full path name in a file system? Is light a
particle or a wave?

I prefer ".", but doesn't really matter to me. And I don't think it's likely
we'll use "." or "/" in field names, so escaping isn't an issue.

Sigh. I just implemented  that. Rather than defining a symbolic constant for
the separator,  I sleazed out and hard-coded ".", thinking that no one would
ever want to change that. Next time I'll learn!

- Wendy Roome


From:  "Y. Richard Yang" <yry@cs.yale.edu>
Date:  Mon, October 14, 2013 00:19
To:  Wendy Roome <w.roome@alcatel-lucent.com>
Cc:  IETF ALTO <alto@ietf.org>, <pbryan@anode.ca>
Subject:  Re: Consistent with JSON Patch/Pointer was [alto] New error format
in draft 20


On Fri, Oct 11, 2013 at 9:20 PM, Y. Richard Yang <yry@cs.yale.edu> wrote:
> Hi Wendy,
> 
> On Thu, Oct 10, 2013 at 10:35 AM, Wendy Roome <w.roome@alcatel-lucent.com>
> wrote:
>> Good point! I was relying on the fact that our field names are unique for
>> now, but there's no guarantee it will stay that way. So yes, set "field" to
>> the full path, and ban "." from field names.
>> 
>>  But the path should go all the way to the root dictionary.  Eg, for a bad
>> mode,
>> 
>>    "field": "meta.cost-type.cost-mode"
>>    "value": "foo"

Suppose we want to be consistent with RFC 6901 and RFC 6902, then we may
name "field" as "path" and use "/" instead of ".". Any comments?

Richard
 



--B_3464604533_3422857
Content-type: text/html;
	charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>Programming languages use ".=
" to separate components. Unix file systems and URIs use "/". So is a JSON f=
ield name a fully qualified reference in a programming language, or a full p=
ath name in a file system? Is light a particle or a wave?</div><div><br></di=
v><div>I prefer ".", but doesn't really matter to me. And I don't think it's=
 likely we'll use "." or "/" in field names, so escaping isn't an issue.</di=
v><div><br></div><div>Sigh. I just implemented &nbsp;that. Rather than defin=
ing a symbolic constant for the separator, &nbsp;I sleazed out and hard-code=
d ".", thinking that no one would ever want to change that. Next time I'll l=
earn!</div><div><br></div><div><span class=3D"Apple-tab-span" style=3D"white-spa=
ce:pre">	</span>- Wendy Roome</div><div><br></div><div><br></div><span id=3D"O=
LK_SRC_BODY_SECTION"><div style=3D"font-family:Calibri; font-size:11pt; text-a=
lign:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none=
; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b=
5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style=3D"f=
ont-weight:bold">From: </span> "Y. Richard Yang" &lt;<a href=3D"mailto:yry@cs.=
yale.edu">yry@cs.yale.edu</a>&gt;<br><span style=3D"font-weight:bold">Date: </=
span> Mon, October 14, 2013 00:19<br><span style=3D"font-weight:bold">To: </sp=
an> Wendy Roome &lt;<a href=3D"mailto:w.roome@alcatel-lucent.com">w.roome@alca=
tel-lucent.com</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> IETF AL=
TO &lt;<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&gt;, &lt;<a href=3D"ma=
ilto:pbryan@anode.ca">pbryan@anode.ca</a>&gt;<br><span style=3D"font-weight:bo=
ld">Subject: </span> Re: Consistent with JSON Patch/Pointer was [alto] New e=
rror format in draft 20<br></div><div><br></div><div dir=3D"ltr"><div class=3D"g=
mail_extra"><br><div class=3D"gmail_quote">On Fri, Oct 11, 2013 at 9:20 PM, Y.=
 Richard Yang <span dir=3D"ltr">&lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_=
blank">yry@cs.yale.edu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><d=
iv dir=3D"ltr">Hi Wendy,<br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te"><div class=3D"im">On Thu, Oct 10, 2013 at 10:35 AM, Wendy Roome <span dir=3D=
"ltr">&lt;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.room=
e@alcatel-lucent.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div=
 style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">=
<div>Good point! I was relying on the fact that our field names are unique f=
or now, but there's no guarantee it will stay that way. So yes, set "field" =
to the full path, and ban "." from field names.</div><div><br></div><div>&nb=
sp;But the path should go all the way to the root dictionary. &nbsp;Eg, for =
a bad mode,</div><div><br></div><div>&nbsp; &nbsp;"field": "meta.cost-type.c=
ost-mode"</div><div>&nbsp; &nbsp;"value": "foo"</div></div></blockquote></di=
v></div></div></div></blockquote><div><br></div><div>Suppose we want to be c=
onsistent with RFC 6901 and RFC 6902, then we may name "field" as "path" and=
 use "/" instead of ".". Any comments?</div><div><br></div><div>Richard</div=
><div>&nbsp;</div></div></div></div></span></body></html>

--B_3464604533_3422857--



From w.roome@alcatel-lucent.com  Mon Oct 14 11:51:24 2013
Return-Path: <w.roome@alcatel-lucent.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 9270611E819B for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 11:51:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.307
X-Spam-Level: 
X-Spam-Status: No, score=-9.307 tagged_above=-999 required=5 tests=[AWL=-0.105, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WzQHdcLj9mIT for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 11:51:16 -0700 (PDT)
Received: from ihemail1.lucent.com (ihemail1.lucent.com [135.245.0.33]) by ietfa.amsl.com (Postfix) with ESMTP id C85F011E8197 for <alto@ietf.org>; Mon, 14 Oct 2013 11:51:16 -0700 (PDT)
Received: from usnavsmail1.ndc.alcatel-lucent.com (usnavsmail1.ndc.alcatel-lucent.com [135.3.39.9]) by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id r9EIpAeB028518 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 14 Oct 2013 13:51:10 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail1.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9EIp9LC028313 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 14 Oct 2013 13:51:10 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9EIp6DW021844; Mon, 14 Oct 2013 13:51:08 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.8.130913
Date: Mon, 14 Oct 2013 14:51:06 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <CE81B203.9EB56%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Adding explanation for E_SYNTAX error
In-Reply-To: <CANUuoLokB5zTrKNKmZ38jYuzSS9P=upLoc4Uagd4gkFENTdDqw@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3464607070_3601375"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Adding explanation for E_SYNTAX error
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 18:51:24 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3464607070_3601375
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit

The ALTO java lib I downloaded a while back gives errors like:
      Parsing error: Expected a ':' after a key at 10 [character 1 line 3]
"10" is offset in file.

As for internationalization problems, my proposed "syntax-error" field is
very different from the "reason" field proposed a year or so ago.

The original "reason" field gave the explanation for all types of errors.
The problem is that the ALTO client would like to display that to the end
user to explain what went wrong. But if that were in a language the end user
didn't understand, it was useless.

However "syntax-error" has a very limited audience. The contents only need
to make sense to the ALTO client developer. Just tell the end user, "Oops,
internal error."

As for internationalization problems, why aren't the field names also a
problem? They're all in english.  And HTTP seems to survive even though it
has english header names and status codes. Ditto for HTML, SIP, etc, etc.

- Wendy Roome

From:  "Y. Richard Yang" <yry@cs.yale.edu>
Date:  Mon, October 14, 2013 13:16
To:  Wendy Roome <w.roome@alcatel-lucent.com>
Cc:  Richard Alimi <rich@velvetsea.net>, IETF ALTO <alto@ietf.org>
Subject:  Re: [alto] Adding explanation for E_SYNTAX error

A problem is that this is essentially the "reason" field as Richard A.
mentioned, and then we have the internationalization problem....


--B_3464607070_3601375
Content-type: text/html;
	charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>The ALTO java lib I download=
ed a while back gives errors like:</div><div><span class=3D"Apple-tab-span" st=
yle=3D"white-space:pre">	</span>&nbsp; &nbsp; &nbsp;&nbsp;<span class=3D"Apple-t=
ab-span" style=3D"white-space:pre">Parsing error: Expected a ':' after a key a=
t 10 [character 1 line 3]</span></div><div>"10" is offset in file.</div><div=
><br></div><div>As for internationalization problems, my proposed "syntax-er=
ror" field is very different from the "reason" field proposed a year or so a=
go.</div><div><br></div><div>The original "reason" field gave the explanatio=
n for all types of errors. &nbsp;The problem is that the ALTO client would l=
ike to display that to the end user to explain what went wrong. But if that =
were in a language the end user didn't understand, it was useless.</div><div=
><br></div><div>However "syntax-error" has a very limited audience. The cont=
ents only need to make sense to the ALTO client developer. Just tell the end=
 user, "Oops, internal error."</div><div><br></div><div>As for international=
ization problems, why aren't the field names also a problem? They're all in =
english. &nbsp;And HTTP seems to survive even though it has english header n=
ames and status codes. Ditto for HTML, SIP, etc, etc.</div><div><br></div><d=
iv><span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>- Wendy Room=
e</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-famil=
y:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medi=
um none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; P=
ADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none;=
 PADDING-TOP: 3pt"><span style=3D"font-weight:bold">From: </span> "Y. Richard =
Yang" &lt;<a href=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br><span =
style=3D"font-weight:bold">Date: </span> Mon, October 14, 2013 13:16<br><span =
style=3D"font-weight:bold">To: </span> Wendy Roome &lt;<a href=3D"mailto:w.roome=
@alcatel-lucent.com">w.roome@alcatel-lucent.com</a>&gt;<br><span style=3D"font=
-weight:bold">Cc: </span> Richard Alimi &lt;<a href=3D"mailto:rich@velvetsea.n=
et">rich@velvetsea.net</a>&gt;, IETF ALTO &lt;<a href=3D"mailto:alto@ietf.org"=
>alto@ietf.org</a>&gt;<br><span style=3D"font-weight:bold">Subject: </span> Re=
: [alto] Adding explanation for E_SYNTAX error<br></div><div><br></div><span=
 class=3D"Apple-style-span" style=3D"border-collapse: separate; color: rgb(0, 0,=
 0); font-family: Calibri; font-style: normal; font-variant: normal; font-we=
ight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-=
align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: no=
rmal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: no=
ne; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-siz=
e: medium; ">A problem is that this is essentially the "reason" field as Ric=
hard A. mentioned, and then we have the internationalization problem....</sp=
an></span></body></html>

--B_3464607070_3601375--



From yang.r.yang@gmail.com  Mon Oct 14 12:54:07 2013
Return-Path: <yang.r.yang@gmail.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 3186411E8195 for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 12:54:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.691
X-Spam-Level: 
X-Spam-Status: No, score=-1.691 tagged_above=-999 required=5 tests=[AWL=0.286,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s1ropdhJltdi for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 12:54:06 -0700 (PDT)
Received: from mail-pb0-x234.google.com (mail-pb0-x234.google.com [IPv6:2607:f8b0:400e:c01::234]) by ietfa.amsl.com (Postfix) with ESMTP id 0A2BF11E8198 for <alto@ietf.org>; Mon, 14 Oct 2013 12:54:06 -0700 (PDT)
Received: by mail-pb0-f52.google.com with SMTP id wz12so7746114pbc.11 for <alto@ietf.org>; Mon, 14 Oct 2013 12:54:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=VTKbxEwvlQ1T8tvZmiTrfRaZEixjRz7rwjXDMR1cNtY=; b=dnAQOipF2xIR34k0YDsb7ri6BgLfwlm1QkYn3lRPgBaf0GIiBfv4MEtkWZm1m8W5nW 7gAnAOxKnLriD+08B0CR1T5WpfSY+0dk34xw+RW180yXN04tR1K6dJjTlBXOEX/B1F0s yn12eB8l9BKkEgf/fzG4LgziQXKsO2KAgHLse+qvwoRS4e8ifSaoEUOz/3EmyNKvWMX6 Sqmb6Bprpw2dZccFbSFb0zqN+FwzBlaCfd4udK4p+Hyb5i1Wt2P19XlLwGNc8zCY3o3e op84KinaEV846qzhZAI8O1nEXFP6fjtcTr5J7a8Pf9VLBHkLrcSVpds6YJbepKbxt5zy OVnQ==
MIME-Version: 1.0
X-Received: by 10.68.209.133 with SMTP id mm5mr4465728pbc.157.1381780442314; Mon, 14 Oct 2013 12:54:02 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Mon, 14 Oct 2013 12:54:01 -0700 (PDT)
In-Reply-To: <CE819832.9E044%w.roome@alcatel-lucent.com>
References: <CANUuoLo3i4zKxm2_PBiTJS8SvF87_VQm+y32vWJx5S31FQzB-w@mail.gmail.com> <CE819832.9E044%w.roome@alcatel-lucent.com>
Date: Mon, 14 Oct 2013 15:54:01 -0400
X-Google-Sender-Auth: 7g_FhtB5MPN4h9F6Z9hB3K8opqo
Message-ID: <CANUuoLqNPGNOgNtmGYgyRNUrSUv-sO57WPyfZSq2p_NeS=xUEQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b10cf936c01d104e8b8d47b
Cc: IETF ALTO <alto@ietf.org>, Paul Bryan <pbryan@anode.ca>
Subject: Re: [alto] Consistent with JSON Patch/Pointer was New error format in draft 20
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 19:54:07 -0000

--047d7b10cf936c01d104e8b8d47b
Content-Type: text/plain; charset=ISO-8859-1

Hi Wendy,

On Mon, Oct 14, 2013 at 2:08 PM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:

> Programming languages use "." to separate components. Unix file systems
> and URIs use "/". So is a JSON field name a fully qualified reference in a
> programming language, or a full path name in a file system? Is light a
> particle or a wave?
>
> I prefer ".", but doesn't really matter to me. And I don't think it's
> likely we'll use "." or "/" in field names, so escaping isn't an issue.
>
> Sigh. I just implemented  that. Rather than defining a symbolic constant
> for the separator,  I sleazed out and hard-coded ".", thinking that no one
> would ever want to change that. Next time I'll learn!
>
>
Sorry for the slight change :-) Many of us learnt to not hard code but once
in a while I still do :-)

Thanks!

Richard



> - Wendy Roome
>
>
> From: "Y. Richard Yang" <yry@cs.yale.edu>
> Date: Mon, October 14, 2013 00:19
> To: Wendy Roome <w.roome@alcatel-lucent.com>
> Cc: IETF ALTO <alto@ietf.org>, <pbryan@anode.ca>
> Subject: Re: Consistent with JSON Patch/Pointer was [alto] New error
> format in draft 20
>
>
> On Fri, Oct 11, 2013 at 9:20 PM, Y. Richard Yang <yry@cs.yale.edu> wrote:
>
>> Hi Wendy,
>>
>> On Thu, Oct 10, 2013 at 10:35 AM, Wendy Roome <w.roome@alcatel-lucent.com
>> > wrote:
>>
>>> Good point! I was relying on the fact that our field names are unique
>>> for now, but there's no guarantee it will stay that way. So yes, set
>>> "field" to the full path, and ban "." from field names.
>>>
>>>  But the path should go all the way to the root dictionary.  Eg, for a
>>> bad mode,
>>>
>>>    "field": "meta.cost-type.cost-mode"
>>>    "value": "foo"
>>>
>>
> Suppose we want to be consistent with RFC 6901 and RFC 6902, then we may
> name "field" as "path" and use "/" instead of ".". Any comments?
>
> Richard
>
>

--047d7b10cf936c01d104e8b8d47b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Wendy,<div class=3D"gmail_extra"><br><div class=3D"gmai=
l_quote">On Mon, Oct 14, 2013 at 2:08 PM, Wendy Roome <span dir=3D"ltr">&lt=
;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@al=
catel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;font-family:Cal=
ibri,sans-serif;word-wrap:break-word"><div>Programming languages use &quot;=
.&quot; to separate components. Unix file systems and URIs use &quot;/&quot=
;. So is a JSON field name a fully qualified reference in a programming lan=
guage, or a full path name in a file system? Is light a particle or a wave?=
</div>
<div><br></div><div>I prefer &quot;.&quot;, but doesn&#39;t really matter t=
o me. And I don&#39;t think it&#39;s likely we&#39;ll use &quot;.&quot; or =
&quot;/&quot; in field names, so escaping isn&#39;t an issue.</div><div>
<br></div><div>Sigh. I just implemented =A0that. Rather than defining a sym=
bolic constant for the separator, =A0I sleazed out and hard-coded &quot;.&q=
uot;, thinking that no one would ever want to change that. Next time I&#39;=
ll learn!</div>
<div><br></div></div></blockquote><div><br></div><div>Sorry for the slight =
change :-) Many of us learnt to not hard code but once in a while I still d=
o :-)</div><div><br></div><div>Thanks!</div><div><br></div><div>Richard</di=
v>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style=3D"f=
ont-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div></d=
iv><div>
<span style=3D"white-space:pre-wrap">	</span>- Wendy Roome</div><div><br></=
div><div><br></div><span><div style=3D"border-right:medium none;padding-rig=
ht:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;bord=
er-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padd=
ing-bottom:0in;border-left:medium none">
<span style=3D"font-weight:bold">From: </span> &quot;Y. Richard Yang&quot; =
&lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a=
>&gt;<br><span style=3D"font-weight:bold">Date: </span> Mon, October 14, 20=
13 00:19<br>
<span style=3D"font-weight:bold">To: </span> Wendy Roome &lt;<a href=3D"mai=
lto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.co=
m</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> IETF ALTO &lt;<a =
href=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;, &lt;=
<a href=3D"mailto:pbryan@anode.ca" target=3D"_blank">pbryan@anode.ca</a>&gt=
;<br>
<span style=3D"font-weight:bold">Subject: </span> Re: Consistent with JSON =
Patch/Pointer was [alto] New error format in draft 20<br></div><div><div cl=
ass=3D"h5"><div><br></div><div dir=3D"ltr"><div class=3D"gmail_extra"><br><=
div class=3D"gmail_quote">
On Fri, Oct 11, 2013 at 9:20 PM, Y. Richard Yang <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&gt;</s=
pan> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">
<div dir=3D"ltr">Hi Wendy,<br><div class=3D"gmail_extra"><br><div class=3D"=
gmail_quote"><div>On Thu, Oct 10, 2013 at 10:35 AM, Wendy Roome <span dir=
=3D"ltr">&lt;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank=
">w.roome@alcatel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;font-family:Cal=
ibri,sans-serif;word-wrap:break-word"><div>Good point! I was relying on the=
 fact that our field names are unique for now, but there&#39;s no guarantee=
 it will stay that way. So yes, set &quot;field&quot; to the full path, and=
 ban &quot;.&quot; from field names.</div>
<div><br></div><div>=A0But the path should go all the way to the root dicti=
onary. =A0Eg, for a bad mode,</div><div><br></div><div>=A0 =A0&quot;field&q=
uot;: &quot;meta.cost-type.cost-mode&quot;</div><div>=A0 =A0&quot;value&quo=
t;: &quot;foo&quot;</div>
</div></blockquote></div></div></div></div></blockquote><div><br></div><div=
>Suppose we want to be consistent with RFC 6901 and RFC 6902, then we may n=
ame &quot;field&quot; as &quot;path&quot; and use &quot;/&quot; instead of =
&quot;.&quot;. Any comments?</div>
<div><br></div><div>Richard</div><div>=A0</div></div></div></div></div></di=
v></span></div>
</blockquote></div><br></div></div>

--047d7b10cf936c01d104e8b8d47b--

From yang.r.yang@gmail.com  Mon Oct 14 13:03:31 2013
Return-Path: <yang.r.yang@gmail.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 4477E21E8108 for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 13:03:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.705
X-Spam-Level: 
X-Spam-Status: No, score=-1.705 tagged_above=-999 required=5 tests=[AWL=0.272,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fhtpxKkPKyKu for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 13:03:07 -0700 (PDT)
Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com [IPv6:2607:f8b0:400e:c03::229]) by ietfa.amsl.com (Postfix) with ESMTP id C13EA21E80E2 for <alto@ietf.org>; Mon, 14 Oct 2013 13:02:48 -0700 (PDT)
Received: by mail-pa0-f41.google.com with SMTP id bj1so7976561pad.0 for <alto@ietf.org>; Mon, 14 Oct 2013 13:02:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=hO7jTvMBYaqzJdjyS6/AkJMtHk2+wAN6plirvNW3cVo=; b=tfUWTIzOdDsO1SVyrxkiwSazBUhqxFMYFzYMX1MkXwxYR5rvt1F7zzPg3yY1fTr0e3 aaDHwkNyp7euE1+mWQz/wcp6WPn+qx+CcnALLwrk5xSet39JGcVU0Vfg7jozepDTjEEq JbISPtMo6BMk2brHUfPLxpjw06ku2D6+0gcpg1L8asxQL1n3m6aYxpuw/45PHML3omXw ty15alcraEA4xywAhQefBoJGYB3+lc3eJ5I7osZMPiTJwVs74ufRzfC2kYt/zM4EWtRJ +kCaAj7mfLMF/p6HcPKdwx2nwvHmR+7Agt/muUW49wnVsDZM81OErYdUVa7ut8yieNBQ /Mhw==
MIME-Version: 1.0
X-Received: by 10.67.23.36 with SMTP id hx4mr39866650pad.54.1381780957964; Mon, 14 Oct 2013 13:02:37 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Mon, 14 Oct 2013 13:02:37 -0700 (PDT)
In-Reply-To: <CE81B203.9EB56%w.roome@alcatel-lucent.com>
References: <CANUuoLokB5zTrKNKmZ38jYuzSS9P=upLoc4Uagd4gkFENTdDqw@mail.gmail.com> <CE81B203.9EB56%w.roome@alcatel-lucent.com>
Date: Mon, 14 Oct 2013 16:02:37 -0400
X-Google-Sender-Auth: wvxU5VFxxDZ-TaVUVrXp6sHXzB8
Message-ID: <CANUuoLoKR2TTZcPGq5DKyPyqc4varX7jo_VEVJ2Y+ebxVqUj6Q@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b07245028351504e8b8f3b1
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Adding explanation for E_SYNTAX error
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 20:03:31 -0000

--047d7b07245028351504e8b8f3b1
Content-Type: text/plain; charset=ISO-8859-1

Hi Wendy,

On Mon, Oct 14, 2013 at 2:51 PM, Wendy Roome <w.roome@alcatel-lucent.com>wrote:

> The ALTO java lib I downloaded a while back gives errors like:
>       Parsing error: Expected a ':' after a key at 10 [character 1 line 3]
> "10" is offset in file.
>
> Now I see where your design comes from. We used some different parsers and
hence different design.



> As for internationalization problems, my proposed "syntax-error" field is
> very different from the "reason" field proposed a year or so ago.
>
> The original "reason" field gave the explanation for all types of errors.
>  The problem is that the ALTO client would like to display that to the end
> user to explain what went wrong. But if that were in a language the end
> user didn't understand, it was useless.
>
> However "syntax-error" has a very limited audience. The contents only need
> to make sense to the ALTO client developer. Just tell the end user, "Oops,
> internal error."
>
>
As for internationalization problems, why aren't the field names also a
> problem? They're all in english.  And HTTP seems to survive even though it
> has english header names and status codes. Ditto for HTML, SIP, etc, etc.
>
>
Distinguishing messages between those to developers and those to end users
is important. To avoid issues with the review (the problem with "reason" as
Richard A. mentioned), let's add a sentence to emphasize that the
syntax-error text is technical, for developer debugging purposes.

Thanks.

Richard



> - Wendy Roome
>
> From: "Y. Richard Yang" <yry@cs.yale.edu>
> Date: Mon, October 14, 2013 13:16
> To: Wendy Roome <w.roome@alcatel-lucent.com>
> Cc: Richard Alimi <rich@velvetsea.net>, IETF ALTO <alto@ietf.org>
>
> Subject: Re: [alto] Adding explanation for E_SYNTAX error
>
> A problem is that this is essentially the "reason" field as Richard A.
> mentioned, and then we have the internationalization problem....
>

--047d7b07245028351504e8b8f3b1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Wendy,<div class=3D"gmail_extra"><br><div class=3D"gmai=
l_quote">On Mon, Oct 14, 2013 at 2:51 PM, Wendy Roome <span dir=3D"ltr">&lt=
;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@al=
catel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><div style=3D"font-size:14px;font-family:Calibri,sans-seri=
f;word-wrap:break-word">
<div>The ALTO java lib I downloaded a while back gives errors like:</div><d=
iv><span style=3D"white-space:pre-wrap">	</span>=A0 =A0 =A0=A0<span style=
=3D"white-space:pre-wrap">Parsing error: Expected a &#39;:&#39; after a key=
 at 10 [character 1 line 3]</span></div>
<div>&quot;10&quot; is offset in file.</div><div><br></div></div></blockquo=
te><div>Now I see where your design comes from. We used some different pars=
ers and hence different design.</div><div><br></div><div>=A0</div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-widt=
h:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-le=
ft:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div></div><div>As for internationalization problems, my proposed &q=
uot;syntax-error&quot; field is very different from the &quot;reason&quot; =
field proposed a year or so ago.</div>
<div><br></div><div>The original &quot;reason&quot; field gave the explanat=
ion for all types of errors. =A0The problem is that the ALTO client would l=
ike to display that to the end user to explain what went wrong. But if that=
 were in a language the end user didn&#39;t understand, it was useless.</di=
v>
<div><br></div><div>However &quot;syntax-error&quot; has a very limited aud=
ience. The contents only need to make sense to the ALTO client developer. J=
ust tell the end user, &quot;Oops, internal error.&quot;</div><div><span st=
yle=3D"font-family:arial;font-size:small">=A0</span><br>
</div></div></blockquote><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);=
border-left-style:solid;padding-left:1ex"><div style=3D"font-size:14px;font=
-family:Calibri,sans-serif;word-wrap:break-word">
<div></div><div>As for internationalization problems, why aren&#39;t the fi=
eld names also a problem? They&#39;re all in english. =A0And HTTP seems to =
survive even though it has english header names and status codes. Ditto for=
 HTML, SIP, etc, etc.</div>
<div><br></div></div></blockquote><div><br></div><div>Distinguishing messag=
es between those to developers and those to end users is important. To avoi=
d issues with the review (the problem with &quot;reason&quot; as Richard A.=
 mentioned), let&#39;s add a sentence to emphasize that the syntax-error te=
xt is technical, for developer debugging purposes.=A0</div>
<div><br></div><div>Thanks.</div><div><br></div><div>Richard</div><div><br>=
</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);borde=
r-left-style:solid;padding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div></div><div><span style=3D"white-space:pre-wrap">	</span>- Wendy=
 Roome</div><div><br></div><span><div style=3D"border-width:1pt medium medi=
um;border-style:solid none none;padding:3pt 0in 0in;text-align:left;font-si=
ze:11pt;font-family:Calibri;border-top-color:rgb(181,196,223)">
<div class=3D"im"><span style=3D"font-weight:bold">From: </span> &quot;Y. R=
ichard Yang&quot; &lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">=
yry@cs.yale.edu</a>&gt;<br></div><span style=3D"font-weight:bold">Date: </s=
pan> Mon, October 14, 2013 13:16<br>
<span style=3D"font-weight:bold">To: </span> Wendy Roome &lt;<a href=3D"mai=
lto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.co=
m</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> Richard Alimi &lt=
;<a href=3D"mailto:rich@velvetsea.net" target=3D"_blank">rich@velvetsea.net=
</a>&gt;, IETF ALTO &lt;<a href=3D"mailto:alto@ietf.org" target=3D"_blank">=
alto@ietf.org</a>&gt;<div class=3D"im">
<br><span style=3D"font-weight:bold">Subject: </span> Re: [alto] Adding exp=
lanation for E_SYNTAX error<br></div></div><div class=3D"im"><div><br></div=
><span style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;t=
ext-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:nor=
mal;border-collapse:separate;text-transform:none;font-size:medium;white-spa=
ce:normal;font-family:Calibri;word-spacing:0px">A problem is that this is e=
ssentially the &quot;reason&quot; field as Richard A. mentioned, and then w=
e have the internationalization problem....</span></div>
</span></div>
</blockquote></div><br></div></div>

--047d7b07245028351504e8b8f3b1--

From w.roome@alcatel-lucent.com  Mon Oct 14 13:29:53 2013
Return-Path: <w.roome@alcatel-lucent.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 7B9C121F9B66 for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 13:29:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.298
X-Spam-Level: 
X-Spam-Status: No, score=-9.298 tagged_above=-999 required=5 tests=[AWL=-0.096, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lnY3C9hdFuJK for <alto@ietfa.amsl.com>; Mon, 14 Oct 2013 13:29:47 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id 7F15521F9AD8 for <alto@ietf.org>; Mon, 14 Oct 2013 13:29:45 -0700 (PDT)
Received: from usnavsmail1.ndc.alcatel-lucent.com (usnavsmail1.ndc.alcatel-lucent.com [135.3.39.9]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r9EKTgPS022181 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 14 Oct 2013 15:29:42 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail1.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9EKTf9K012500 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 14 Oct 2013 15:29:41 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9EKTcK1019323; Mon, 14 Oct 2013 15:29:39 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.8.130913
Date: Mon, 14 Oct 2013 16:29:39 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <CE81CBC8.A01B7%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Adding explanation for E_SYNTAX error
In-Reply-To: <CANUuoLoKR2TTZcPGq5DKyPyqc4varX7jo_VEVJ2Y+ebxVqUj6Q@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3464612982_3925300"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Adding explanation for E_SYNTAX error
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 14 Oct 2013 20:29:53 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3464612982_3925300
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit

Sounds perfect. And by all means, name the field "syntax-error". The name
"reason" would just be a red flag. I must have been out-to-lunch when I
suggested that name originally.

- Wendy


From:  "Y. Richard Yang" <yry@cs.yale.edu>
Date:  Mon, October 14, 2013 16:02
To:  Wendy Roome <w.roome@alcatel-lucent.com>
Cc:  Richard Alimi <rich@velvetsea.net>, IETF ALTO <alto@ietf.org>
Subject:  Re: [alto] Adding explanation for E_SYNTAX error


Distinguishing messages between those to developers and those to end users
is important. To avoid issues with the review (the problem with "reason" as
Richard A. mentioned), let's add a sentence to emphasize that the
syntax-error text is technical, for developer debugging purposes.

Thanks.

Richard



--B_3464612982_3925300
Content-type: text/html;
	charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>Sounds perfect. And by all m=
eans, name the field "syntax-error". The name "reason" would just be a red f=
lag. I must have been out-to-lunch when I suggested that name originally.</d=
iv><div><br></div><div><span class=3D"Apple-tab-span" style=3D"white-space:pre">=
	</span>- Wendy</div><div><br></div><div><br></div><span id=3D"OLK_SRC_BODY_SE=
CTION"><div style=3D"font-family:Calibri; font-size:11pt; text-align:left; col=
or:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTT=
OM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt soli=
d; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style=3D"font-weight:bol=
d">From: </span> "Y. Richard Yang" &lt;<a href=3D"mailto:yry@cs.yale.edu">yry@=
cs.yale.edu</a>&gt;<br><span style=3D"font-weight:bold">Date: </span> Mon, Oct=
ober 14, 2013 16:02<br><span style=3D"font-weight:bold">To: </span> Wendy Room=
e &lt;<a href=3D"mailto:w.roome@alcatel-lucent.com">w.roome@alcatel-lucent.com=
</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> Richard Alimi &lt;<a =
href=3D"mailto:rich@velvetsea.net">rich@velvetsea.net</a>&gt;, IETF ALTO &lt;<=
a href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&gt;<br><span style=3D"font-wei=
ght:bold">Subject: </span> Re: [alto] Adding explanation for E_SYNTAX error<=
br></div><div><br></div><span class=3D"Apple-style-span" style=3D"border-collaps=
e: separate; color: rgb(0, 0, 0); font-family: Calibri; font-style: normal; =
font-variant: normal; font-weight: normal; letter-spacing: normal; line-heig=
ht: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-tra=
nsform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-bor=
der-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-t=
ext-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-tex=
t-stroke-width: 0px; font-size: medium; "><div><br class=3D"Apple-interchange-=
newline">Distinguishing messages between those to developers and those to en=
d users is important. To avoid issues with the review (the problem with "rea=
son" as Richard A. mentioned), let's add a sentence to emphasize that the sy=
ntax-error text is technical, for developer debugging purposes.&nbsp;</div><=
div><br></div><div>Thanks.</div><div><br></div><div>Richard</div></span></sp=
an></body></html>

--B_3464612982_3925300--



From enrico.marocco@telecomitalia.it  Tue Oct 15 00:45:15 2013
Return-Path: <enrico.marocco@telecomitalia.it>
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 5B2D221E81AB for <alto@ietfa.amsl.com>; Tue, 15 Oct 2013 00:45:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.789
X-Spam-Level: 
X-Spam-Status: No, score=-100.789 tagged_above=-999 required=5 tests=[AWL=-0.929, BAYES_20=-0.74, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245,  RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id COGgQo0BubNU for <alto@ietfa.amsl.com>; Tue, 15 Oct 2013 00:45:09 -0700 (PDT)
Received: from GRFEDG702RM001.telecomitalia.it (grfedg702rm001.telecomitalia.it [217.169.121.21]) by ietfa.amsl.com (Postfix) with ESMTP id 4EC0321F9E6D for <alto@ietf.org>; Tue, 15 Oct 2013 00:44:59 -0700 (PDT)
Received: from grfhub701rm001.griffon.local (10.19.3.8) by GRFEDG702RM001.telecomitalia.it (10.173.88.21) with Microsoft SMTP Server (TLS) id 8.3.297.1; Tue, 15 Oct 2013 09:44:54 +0200
Received: from MacLab.local (163.162.173.12) by smtp.telecomitalia.it (10.19.9.234) with Microsoft SMTP Server (TLS) id 8.3.297.1; Tue, 15 Oct 2013 09:44:54 +0200
Message-ID: <525CF276.1030501@telecomitalia.it>
Date: Tue, 15 Oct 2013 09:44:54 +0200
From: Enrico Marocco <enrico.marocco@telecomitalia.it>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: "alto@ietf.org" <alto@ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms080003080703070408060409"
X-TI-Disclaimer: Disclaimer1
Subject: [alto] WG adoption of *-3pdisc and *-ip-based-srv-disc drafts
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 15 Oct 2013 07:45:15 -0000

--------------ms080003080703070408060409
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Dear WG participants:

we would like to check consensus on the adoption of the following drafts
that will complement the server discovery deliverable in the current
ALTO WG charter:

  + draft-kiesel-alto-ip-based-srv-disc
  + draft-kist-alto-3pdisc

The drafts were discussed on this list and presented in a few meetings.
In Orlando (IETF-86) the WG indicated consensus, but we agreed to
postpone the adoption in order to focus energies on the base protocol.
Now that the core specs are undergoing WGLC, it seems a good time to
resume the work.

If you have any opinion on whether such document should or should not
become working group items, please state it by Wednesday, October 30.

Enrico



--------------ms080003080703070408060409
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMojCC
BjQwggQcoAMCAQICAR4wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDE1NVoXDTE3MTAyNDIxMDE1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcJg8zOLdgasSmkLhOr
lr6KMoOMpohBllVHrdRvEg/q6r8jR+EK75xCGhR8ToREoqe7zM9/UnC6TS2y9UKTpT1v7RSM
zR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC+y7P3/1/X7U8ocb8VpH/Clt+4iq7nirMcNh6
qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxDz2UbFqE2+6vIZoL+jb9x4Pa5gNf1TwSD
kOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr/+N2JLKutIxMYqQOJebr/f/h5t95
m4JgrM3Y/w7YX9d7YAL9jvN4SydHsU6n65cCAwEAAaOCAa0wggGpMA8GA1UdEwEB/wQFMAMB
Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRTcu2SnODaywFcfH6WNU7y1LhRgjAfBgNV
HSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRaMFgwJwYIKwYBBQUH
MAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYhaHR0cDovL3d3
dy5zdGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6Ly93d3cu
c3RhcnRzc2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20v
c2ZzY2EuY3JsMIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0
dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93
d3cuc3RhcnRzc2wuY29tL2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQEFBQADggIBAAqD
CH14qywGXLhjjF6uHLkjd02hcdh9hrw+VUsv+q1eeQWB21jWj3kJ96AUlPCoEGZ/ynJNScWy
6QMVQjbbMXltUfO4n4bGGdKo3awPWp61tjAFgraLJgDk+DsSvUD6EowjMTNx25GQgyYJ5RPI
zKKR9tQW8gGK+2+RHxkUCTbYFnL6kl8Ch507rUdPPipJ9CgJFws3kDS3gOS5WFMxcjO5DwKf
KSETEPrHh7p5shuuNktvsv6hxHTLhiMKX893gxdT3XLS9OKmCv87vkINQcNEcIIoFWbP9HOR
z9v3vQwR4e3ksLc2JZOAFK+ssS5XMEoznzpihEP0PLc4dCBYjbvSD7kxgDwZ+Aj8Q9PkbvE9
sIPP7ON0fz095HdThKjiVJe6vofq+n6b1NBc8XdrQvBmunwxD5nvtTW4vtN6VY7mUCmxsCie
uoBJ9OlqmsVWQvifIYf40dJPZkk9YgGTzWLpXDSfLSplbY2LL9C9U0ptvjcDjefLTvqSFc7t
w1sEhF0n/qpA2r0GpvkLRDmcSwVyPvmjFBGqUp/pNy8ZuPGQmHwFi2/14+xeSUDG2bwnsYJQ
G2EdJCB6luQ57GEnTA/yKZSTKI8dDQa8Sd3zfXb19mOgSF0bBdXbuKhEpuP9wirslFe6fQ1t
5j5R0xi72MZ8ikMu1RQZKCyDbMwazlHiMIIGZjCCBU6gAwIBAgIDByD0MA0GCSqGSIb3DQEB
BQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20g
Q2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwHhcNMTMwNzI0MTg1NjUz
WhcNMTQwNzI1MTExMzEwWjB1MRkwFwYDVQQNExBJcWRVZVdCRExxaEZ2N1hrMSgwJgYDVQQD
DB9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MS4wLAYJKoZIhvcNAQkBFh9lbnJp
Y28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEA078rvuWkIkHhL41Zi2MjXjy5TU71hLgnrstLepYUATbwALhWSs0Kk6l8FhKrOyCl
MPT8NMR5OPG91nEIloDY/AJL7GahjQXomtyqCPXWoRQL95sh+QhlCktlmGhVXm98YAcFWm8E
WoanJmv7UxKhJ6bdXLADn/dtxZGNiACG2U+fBaSyUT0Sa12SQ+u59yOZNWoaLRi2tos0hbZx
eKKVk7a+vxaIS5IIsvUUgJ3tGwFTsz+o3AFWLI/8U1u2LitbpKF/G91ReDA9bb10k5ay43r+
o1TigZEdHd683i7j4DIdjkY3FybFibDtzx+O054BPx5v4C4Nk8vHOHtif2czMwIDAQABo4IC
5TCCAuEwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsG
AQUFBwMEMB0GA1UdDgQWBBSjX2uvKQFc1dKQOjONZZ1hVH42cTAfBgNVHSMEGDAWgBRTcu2S
nODaywFcfH6WNU7y1LhRgjAqBgNVHREEIzAhgR9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRh
bGlhLml0MIIBTAYDVR0gBIIBQzCCAT8wggE7BgsrBgEEAYG1NwECAzCCASowLgYIKwYBBQUH
AgEWImh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwgfcGCCsGAQUFBwICMIHq
MCcWIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MAMCAQEagb5UaGlzIGNlcnRp
ZmljYXRlIHdhcyBpc3N1ZWQgYWNjb3JkaW5nIHRvIHRoZSBDbGFzcyAxIFZhbGlkYXRpb24g
cmVxdWlyZW1lbnRzIG9mIHRoZSBTdGFydENvbSBDQSBwb2xpY3ksIHJlbGlhbmNlIG9ubHkg
Zm9yIHRoZSBpbnRlbmRlZCBwdXJwb3NlIGluIGNvbXBsaWFuY2Ugb2YgdGhlIHJlbHlpbmcg
cGFydHkgb2JsaWdhdGlvbnMuMDYGA1UdHwQvMC0wK6ApoCeGJWh0dHA6Ly9jcmwuc3RhcnRz
c2wuY29tL2NydHUxLWNybC5jcmwwgY4GCCsGAQUFBwEBBIGBMH8wOQYIKwYBBQUHMAGGLWh0
dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9zdWIvY2xhc3MxL2NsaWVudC9jYTBCBggrBgEFBQcw
AoY2aHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc3ViLmNsYXNzMS5jbGllbnQuY2Eu
Y3J0MCMGA1UdEgQcMBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzANBgkqhkiG9w0BAQUF
AAOCAQEAQ9Ff1giJV3UOk090vsVroHHsBy4J4eITcDLGg+wJ+M+4kULtKS7i+kJjfd5VZb1e
ZsnezvgmhmAaJRy+xl/j7l3UKbSVXfUcnKQ1IVnPVedA+4g6L8nA2cBTGj+vFScEC03HSFqy
Q2Shh3AkCo1L6HLoohHxTvSi7+A4P4uayaHSC0OSdVOXWyDOrjnkSWKQiPX4jc0nJofA7b+H
TppvjgzM5t+c9EQ0v8ldDfP4Pl6HhJ/xwMAETn3VG3hVuT321Gx/BXCS1TDMyUnXVf5BB+S8
vGlgwoPfX2o2ti0/ZXSt/VRUOmBF5kiePNIJ7MLOa15cbxI/2bF0xXKHEjBcETGCA90wggPZ
AgEBMIGUMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UE
CxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRD
b20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAwcg9DAJBgUrDgMC
GgUAoIICHTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzEw
MTUwNzQ0NTRaMCMGCSqGSIb3DQEJBDEWBBToC5T9US84iyOa3ajhJ2kKLIcW/zBsBgkqhkiG
9w0BCQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcNAwcwDgYIKoZI
hvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGlBgkr
BgEEAYI3EAQxgZcwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQu
MSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQD
Ey9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDByD0
MIGnBgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcx
ODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50
IENBAgMHIPQwDQYJKoZIhvcNAQEBBQAEggEAZm+hXUj5/L1C0QXHVqItBd6GD/gXl7OpZVK3
IClOEd7uTVV814nKQ93QE+sSM1tveDYx7Xstq6Z1NzVEolg+HWDXWRFsyDlubHCyCRDkDlZD
ci2AftIp57dx5vhqnmfMx12LiNbPFDWO4MefnAobuiljNJxhxRTq/Sgr3jJx9crfy22EVZVW
xkHuLXA2ypecPN4hpSj1hx4kK3DtlbNU0fe6h75RntFHaweHSQimPazzISXq98VVk3slsr9j
r/V2baRt1az52RG2L0T12m3ypuudvEWDVHOuBszMSNcNsmN9x09XMUgDwVnqwz3t8WmZC+N/
42U5NQ/KrvZkPb6iGAAAAAAAAA==
--------------ms080003080703070408060409--

From bill.wu@huawei.com  Tue Oct 15 02:51:45 2013
Return-Path: <bill.wu@huawei.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 2D43121E80AE for <alto@ietfa.amsl.com>; Tue, 15 Oct 2013 02:51:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.34
X-Spam-Level: 
X-Spam-Status: No, score=-6.34 tagged_above=-999 required=5 tests=[AWL=0.258,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hYXOHBKQvfVB for <alto@ietfa.amsl.com>; Tue, 15 Oct 2013 02:51:40 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id 5A49B21E80F3 for <alto@ietf.org>; Tue, 15 Oct 2013 02:51:38 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AWU97722; Tue, 15 Oct 2013 09:51:36 +0000 (GMT)
Received: from LHREML406-HUB.china.huawei.com (10.201.5.243) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.146.0; Tue, 15 Oct 2013 10:49:41 +0100
Received: from NKGEML401-HUB.china.huawei.com (10.98.56.32) by lhreml406-hub.china.huawei.com (10.201.5.243) with Microsoft SMTP Server (TLS) id 14.3.146.0; Tue, 15 Oct 2013 10:50:19 +0100
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.141]) by nkgeml401-hub.china.huawei.com ([10.98.56.32]) with mapi id 14.03.0146.000; Tue, 15 Oct 2013 17:50:08 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>, IETF ALTO <alto@ietf.org>
Thread-Topic: ALTO Extension: A document defining multi-metrics filtering?
Thread-Index: AQHOyHALHY93+IaOIEi7gBrq1LoWBJn1fd/A
Date: Tue, 15 Oct 2013 09:50:08 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA43C0B4D0@nkgeml501-mbs.china.huawei.com>
References: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com>
In-Reply-To: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.138.41.149]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA43C0B4D0nkgeml501mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: Wendy Roome <W.Roome@alcatel-lucent.com>, "choits@etri.re.kr" <choits@etri.re.kr>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 15 Oct 2013 09:51:45 -0000

--_000_B8F9A780D330094D99AF023C5877DABA43C0B4D0nkgeml501mbschi_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

>In particular, suppose the filtering is based on metrics M1 and M2, and th=
e output is M3, for a set src to a set dsts. The Client can use the followi=
ng three queries:

>- Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains <srcs1,=
 dsts1> in return;
>- Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains <srcs=
2, dsts2> in return;
>- Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final res=
ult.

>Although this is not too bad, it is inconvenient. Note that preceding is f=
irst discussed by Sabine, Wendy, Nico in:
>http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07

>I saw that this is also the issue discussed in
>- http://tools.ietf.org/html/draft-wu-alto-json-te-01
>- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02

>Hence, I propose that the WG extends the base protocol with this capabilit=
y, as I see that it is quite useful. One issue is that I see three designs,=
 and I am wondering if the authors are
>preparing on discussing their designs at the coming IETF, and if there is =
a possibility for a single, unified document, focusing on this issue.

By comparing the designs in three drafts, here is my rough analysis.
the difference between these drafts are:

a.       draft-randriamasy-alto-multi-cost-07 seems to assume filtering con=
dition and output are based on the same Cost metrics or a set of same metri=
cs.
               Both draft-lee-alto-app-net-info-exchange-02 and draft-wu-al=
to-json-te-01 allows filtering condition and output based on different cost=
 metrics
              and therefore it require filtering constraint   relaxing In t=
he ALTO base protocol.


b.      draft-randriamasy-alto-multi-cost-07 specifies one new cost metrics=
 (i.e.,pathoccupationcost) while draft-lee-alto-app-net-info-exchange-02

defines a new object called DstCostsConstraints which contains a list of co=
st metrics that are not stable over a constant period(i.e., they are

 dynamic parameters). draft-wu-alto-json-te-01 gives a complete list of tho=
se cost metrics based on IETF standardization work

(see draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp<http=
://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt>,draft-ietf-ospf-te-metr=
ic-extensions-04, draft-ietf-isis-te-metric-extensions-00)

and define them as a list of independent cost metrics.


c.       draft-randriamasy-alto-multi-cost-07 requires cost value encoded a=
s JSON Array rather than JSON while  draft-lee-alto-app-net-info-exchange-0=
2

also encode cost value as JSON Array. In addition, draft-lee-alto-app-net-i=
nfo-exchange-02 defines linkentry object and support representing a

end to end path with a list of links traversed in the path. draft-wu-alto-j=
son-te-01 also defines link related metrics and uses linkname to identify e=
ach link.



Thanks a lot!

Richard

--_000_B8F9A780D330094D99AF023C5877DABA43C0B4D0nkgeml501mbschi_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.HTMLChar
	{mso-style-name:"HTML \9884\8BBE\683C\5F0F Char";
	mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F";
	font-family:"Courier New";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:701053465;
	mso-list-type:hybrid;
	mso-list-template-ids:-1023089656 67698713 67698713 67698715 67698703 6769=
8713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<div>
<div>
<p class=3D"MsoNormal">&gt;In particular, suppose the filtering is based on=
 metrics M1 and M2, and the output is M3, for a set src to a set dsts. The =
Client can use the following three queries:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&gt;- Q1: Use single metric &lt;M1, filter on M1, sr=
cs, dsts&gt; and obtains &lt;srcs1, dsts1&gt; in return;<o:p></o:p></p>
<p class=3D"MsoNormal">&gt;- Q2: Use single metric &lt;M2, filter on M2, sr=
cs1, dsts1&gt; and obtains &lt;srcs2, dsts2&gt; in return;<o:p></o:p></p>
<p class=3D"MsoNormal">&gt;- Q3: Use single metric &lt;M3, no filter, srcs2=
, dsts2&gt; to get the final result.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>Although th=
is is not too bad, it is inconvenient. Note that preceding is first discuss=
ed by Sabine, Wendy, Nico in:<br>
<span style=3D"color:#1F497D">&gt;</span><a href=3D"http://tools.ietf.org/h=
tml/draft-randriamasy-alto-multi-cost-07">http://tools.ietf.org/html/draft-=
randriamasy-alto-multi-cost-07</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>I saw that =
this is also the issue discussed in &nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>-&nbsp;<a h=
ref=3D"http://tools.ietf.org/html/draft-wu-alto-json-te-01">http://tools.ie=
tf.org/html/draft-wu-alto-json-te-01</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>-&nbsp;<a h=
ref=3D"http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02" =
target=3D"_blank"><span style=3D"font-size:9.5pt;font-family:&quot;Arial&qu=
ot;,&quot;sans-serif&quot;">http://tools.ietf.org/html/draft-lee-alto-app-n=
et-info-exchange-02</span></a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>Hence, I pr=
opose that the WG extends the base protocol with this capability, as I see =
that it is quite useful. One issue is that I see three designs, and I am wo=
ndering if the authors are
<span style=3D"color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&gt;</span>preparing o=
n discussing their designs at the coming IETF, and if there is a possibilit=
y for a single, unified document, focusing on this issue.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">By comparing the designs =
in three drafts, here is my rough analysis.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">the difference between th=
ese drafts are:<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l0 leve=
l1 lfo1"><![if !supportLists]><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"mso=
-list:Ignore">a.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">draft-randriamasy=
-alto-multi-cost-07 seems to assume filtering condition and output are base=
d on the same Cost metrics or a set of same metrics.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Both draft-lee-=
alto-app-net-info-exchange-02 and draft-wu-alto-json-te-01 allows filtering=
 condition and output based on different cost metrics
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and therefore it=
 require filtering constraint &nbsp;&nbsp;relaxing In the ALTO base protoco=
l.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l0 leve=
l1 lfo1"><![if !supportLists]><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"mso=
-list:Ignore">b.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">draft-randriamasy=
-alto-multi-cost-07 specifies one new cost metrics (i.e.,pathoccupationcost=
) while draft-lee-alto-app-net-info-exchange-02
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph"><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">defines a new obje=
ct called DstCostsConstraints which contains a list of cost metrics that ar=
e not stable over a constant period(i.e., they are
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph"><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;dynamic para=
meters). draft-wu-alto-json-te-01 gives a complete list of those cost metri=
cs based on IETF standardization work<o:p></o:p></span></p>
<p class=3D"MsoListParagraph"><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">(see draft-ietf-id=
r-ls-distribution-03,RFC5305,
<a href=3D"http://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt" target=
=3D"_blank">
<span style=3D"color:#1F497D;text-decoration:none">draft-wu-idr-te-pm-bgp</=
span></a>,draft-ietf-ospf-te-metric-extensions-04, draft-ietf-isis-te-metri=
c-extensions-00)
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph"><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">and define them as=
 a list of independent cost metrics.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l0 leve=
l1 lfo1"><![if !supportLists]><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"mso=
-list:Ignore">c.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">draft-randriamasy=
-alto-multi-cost-07 requires cost value encoded as JSON Array rather than J=
SON while &nbsp;draft-lee-alto-app-net-info-exchange-02
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph"><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">also encode cost v=
alue as JSON Array. In addition, draft-lee-alto-app-net-info-exchange-02 de=
fines linkentry object and support representing a
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph"><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">end to end path wi=
th a list of links traversed in the path. draft-wu-alto-json-te-01 also def=
ines link related metrics and uses linkname to identify
 each link.<o:p></o:p></span></p>
<pre><span style=3D"font-size:12.0pt"><o:p>&nbsp;</o:p></span></pre>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
</div>
<div>
<p class=3D"MsoNormal">Thanks a lot!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Richard<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_B8F9A780D330094D99AF023C5877DABA43C0B4D0nkgeml501mbschi_--

From sabine.randriamasy@alcatel-lucent.com  Tue Oct 15 10:16:25 2013
Return-Path: <sabine.randriamasy@alcatel-lucent.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 7A7E011E813D for <alto@ietfa.amsl.com>; Tue, 15 Oct 2013 10:16:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4dLm1beqF6z3 for <alto@ietfa.amsl.com>; Tue, 15 Oct 2013 10:16:19 -0700 (PDT)
Received: from ihemail1.lucent.com (ihemail1.lucent.com [135.245.0.33]) by ietfa.amsl.com (Postfix) with ESMTP id DEBB211E8136 for <alto@ietf.org>; Tue, 15 Oct 2013 10:16:17 -0700 (PDT)
Received: from fr711usmtp1.zeu.alcatel-lucent.com (h135-239-2-122.lucent.com [135.239.2.122]) by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id r9FHFplT023806 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 15 Oct 2013 12:15:53 -0500 (CDT)
Received: from FR712WXCHHUB03.zeu.alcatel-lucent.com (fr712wxchhub03.zeu.alcatel-lucent.com [135.239.2.74]) by fr711usmtp1.zeu.alcatel-lucent.com (GMO) with ESMTP id r9FHFoJO019905 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 15 Oct 2013 19:15:50 +0200
Received: from FR711WXCHMBA01.zeu.alcatel-lucent.com ([169.254.1.168]) by FR712WXCHHUB03.zeu.alcatel-lucent.com ([135.239.2.74]) with mapi id 14.02.0247.003; Tue, 15 Oct 2013 19:15:50 +0200
From: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
To: Qin Wu <bill.wu@huawei.com>, "Y. Richard Yang" <yry@cs.yale.edu>, "IETF ALTO" <alto@ietf.org>
Thread-Topic: ALTO Extension: A document defining multi-metrics filtering?
Thread-Index: AQHOyHANS2ZXCjq9Yk+trIthkm0rq5n1ZXUAgACGDDA=
Date: Tue, 15 Oct 2013 17:15:49 +0000
Message-ID: <A7A5844EB93EB94AB22C2068B10AD65A29441D5E@FR711WXCHMBA01.zeu.alcatel-lucent.com>
References: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0B4D0@nkgeml501-mbs.china.huawei.com>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA43C0B4D0@nkgeml501-mbs.china.huawei.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.239.27.38]
Content-Type: multipart/alternative; boundary="_000_A7A5844EB93EB94AB22C2068B10AD65A29441D5EFR711WXCHMBA01z_"
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33
Cc: "ROOME, Wendy D \(Wendy\)" <w.roome@alcatel-lucent.com>, "choits@etri.re.kr" <choits@etri.re.kr>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 15 Oct 2013 17:16:25 -0000

--_000_A7A5844EB93EB94AB22C2068B10AD65A29441D5EFR711WXCHMBA01z_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Qin and all,

Thank to Richard and Qin for this discussion. Please see, my answers inline=
 to Qin on the design positioning for filtering constraints.
Thanks for your feedback,
Sabine


De : Qin Wu [mailto:bill.wu@huawei.com]
Envoy=E9 : mardi 15 octobre 2013 11:50
=C0 : Y. Richard Yang; IETF ALTO
Cc : RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); ietf@nico-schwan=
.de; Leeyoung; Greg Bernstein; choits@etri.re.kr; Dhruv Dhody
Objet : RE: ALTO Extension: A document defining multi-metrics filtering?

>In particular, suppose the filtering is based on metrics M1 and M2, and th=
e output is M3, for a set src to a set dsts. The Client can use the followi=
ng three queries:

>- Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains <srcs1,=
 dsts1> in return;
>- Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains <srcs=
2, dsts2> in return;
>- Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final res=
ult.

>Although this is not too bad, it is inconvenient. Note that preceding is f=
irst discussed by Sabine, Wendy, Nico in:
>http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07

>I saw that this is also the issue discussed in
>- http://tools.ietf.org/html/draft-wu-alto-json-te-01
>- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02

>Hence, I propose that the WG extends the base protocol with this capabilit=
y, as I see that it is quite useful. One issue is that I see three designs,=
 and I am wondering if the authors are
>preparing on discussing their designs at the coming IETF, and if there is =
a possibility for a single, unified document, focusing on this issue.

By comparing the designs in three drafts, here is my rough analysis.
the difference between these drafts are:

a.       draft-randriamasy-alto-multi-cost-07 seems to assume filtering con=
dition and output are based on the same Cost metrics or a set of same metri=
cs.
[     ] Correct. The initial thought was to smoothly extend the format of b=
asic ALTO transactions (requ and responses) and handle only indexes of the =
multiple metrics listed in the Cost Type array.
               Both draft-lee-alto-app-net-info-exchange-02 and draft-wu-al=
to-json-te-01 allows filtering condition and output based on different cost=
 metrics
              and therefore it require filtering constraint   relaxing In t=
he ALTO base protocol.
[     ] We need to extend the base protocol filtering constraint as soon as=
 there is more than one metric in the set of constraints, which is the case=
 for all the 3 designs. It is a good idea to allow constraint involving met=
rics that do not belong to the set of requested cost metrics. One simple an=
d light way to implement this is to allow an indexing of the cost types in =
the IRD and simply use these indexes in the expressions of constraints.

Note that draft-randriamasy-alto-multi-cost-07 in addition proposes to rela=
te constraints by both logical AND and logical OR with the idea of supporti=
ng compromises such as  "either (solutions with moderate 'hopcount' AND  hi=
gh 'routingcost') OR (solutions with higher 'hopcount' AND moderate 'routin=
gcost')", see section 4.6.2 of the draft.

Last, as the intention is to filter the response on the ALTO metric values,=
 the ALTO Server is required only to provide values meeting the constraints=
 expressed in the request, but is not requested to provide values on the me=
trics involved in the constraints. Note that an ALTO Server operator may wi=
sh to use metrics only for filtering without unveiling the values, but this=
 would require to extend the base protocol with a status such as "hidden" o=
r "filter-only", which may be discussed when extending the ALTO Costs.


b.      draft-randriamasy-alto-multi-cost-07 specifies one new cost metrics=
 (i.e.,pathoccupationcost)
[     ] the draft actually proposes, see 3.1.4: Endpoint Nominal Memory, En=
dpoint Nominal Bandwidth (ie CPU capacity), endpoint Occupied Memory, Endpo=
int Occupied Bandwidth, Path Occupation Cost. The naming is just a proposal=
. Some of these metrics may have values that change and are updated in diff=
erent frequencies, but in no case are they real time measurements.
, while draft-lee-alto-app-net-info-exchange-02

defines a new object called DstCostsConstraints which contains a list of co=
st metrics that are not stable over a constant period(i.e., they are

 dynamic parameters). draft-wu-alto-json-te-01 gives a complete list of tho=
se cost metrics based on IETF standardization work

(see draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp<http=
://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt>,draft-ietf-ospf-te-metr=
ic-extensions-04, draft-ietf-isis-te-metric-extensions-00)

and define them as a list of independent cost metrics.

[     ] very interesting sets and proposals. I agree that it would be usefu=
l to list proposals on metrics and their definition as suggested by Richard=
 in another thread.


c.       draft-randriamasy-alto-multi-cost-07 requires cost value encoded a=
s JSON Array rather than JSON while  draft-lee-alto-app-net-info-exchange-0=
2

also encode cost value as JSON Array.

[     ] please correct me if I missed something, in the example of draft-le=
e-alto-app-net-info-exchange-02, I see JSONArrays used to provide the value=
 on each of the metrics expressed in the constraints for the admissible (S,=
D) pairs. No value is provided for the requested cost metric. I'm not sure =
I understand why and I think we may find a way to harmonize views on expres=
sing constraints.

In addition, draft-lee-alto-app-net-info-exchange-02 defines linkentry obje=
ct and support representing a

end to end path with a list of links traversed in the path. draft-wu-alto-j=
son-te-01 also defines link related metrics and uses linkname to identify e=
ach link.

[     ] this looks very useful in cases where path costs and network maps a=
re detailed below the end 2 end level. I see an easy integration of this id=
ea with the topology extension proposed by Richard that assumes "multi-swit=
ched" paths (or their abstraction). Though I don't see a light and easy way=
 to integrate constraints on path sections in the base protocol.



Thanks a lot!

Richard

--_000_A7A5844EB93EB94AB22C2068B10AD65A29441D5EFR711WXCHMBA01z_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.PrformatHTMLCar
	{mso-style-name:"Pr=E9format=E9 HTML Car";
	mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML";
	font-family:Consolas;}
span.EmailStyle20
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
p.HTML, li.HTML, div.HTML
	{mso-style-name:"HTML \9884\8BBE\683C\5F0F";
	mso-style-link:"HTML \9884\8BBE\683C\5F0F Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.HTMLChar
	{mso-style-name:"HTML \9884\8BBE\683C\5F0F Char";
	mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F";
	font-family:"Courier New";}
span.EmailStyle23
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:701053465;
	mso-list-type:hybrid;
	mso-list-template-ids:-1023089656 67698713 67698713 67698715 67698703 6769=
8713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level2
	{mso-level-tab-stop:72.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level3
	{mso-level-tab-stop:108.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level4
	{mso-level-tab-stop:144.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level5
	{mso-level-tab-stop:180.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level6
	{mso-level-tab-stop:216.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level7
	{mso-level-tab-stop:252.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level8
	{mso-level-tab-stop:288.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level9
	{mso-level-tab-stop:324.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Qin and all,<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thank to Richard and Qin =
for this discussion. Please see, my answers inline to Qin on the design pos=
itioning for filtering constraints.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks for your feedback,
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sabine<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Qin Wu [mailto:bill.wu@hua=
wei.com]
<br>
<b>Envoy=E9&nbsp;:</b> mardi 15 octobre 2013 11:50<br>
<b>=C0&nbsp;:</b> Y. Richard Yang; IETF ALTO<br>
<b>Cc&nbsp;:</b> RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); ietf=
@nico-schwan.de; Leeyoung; Greg Bernstein; choits@etri.re.kr; Dhruv Dhody<b=
r>
<b>Objet&nbsp;:</b> RE: ALTO Extension: A document defining multi-metrics f=
iltering?<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&gt;In particular, supp=
ose the filtering is based on metrics M1 and M2, and the output is M3, for =
a set src to a set dsts. The Client can use the following three queries:<o:=
p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&gt;- Q1: Use single me=
tric &lt;M1, filter on M1, srcs, dsts&gt; and obtains &lt;srcs1, dsts1&gt; =
in return;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&gt;- Q2: Use single me=
tric &lt;M2, filter on M2, srcs1, dsts1&gt; and obtains &lt;srcs2, dsts2&gt=
; in return;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&gt;- Q3: Use single me=
tric &lt;M3, no filter, srcs2, dsts2&gt; to get the final result.<o:p></o:p=
></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D">&gt;</span>Although this is not too bad, it is inconvenient. Note th=
at preceding is first discussed by Sabine, Wendy, Nico in:<br>
<span style=3D"color:#1F497D">&gt;</span><a href=3D"http://tools.ietf.org/h=
tml/draft-randriamasy-alto-multi-cost-07">http://tools.ietf.org/html/draft-=
randriamasy-alto-multi-cost-07</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D">&gt;</span>I saw that this is also the issue discussed in &nbsp;<o:p=
></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D">&gt;</span>-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-wu-alt=
o-json-te-01">http://tools.ietf.org/html/draft-wu-alto-json-te-01</a><o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D">&gt;</span>-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-lee-al=
to-app-net-info-exchange-02" target=3D"_blank"><span style=3D"font-size:9.5=
pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">http://tools.ietf.=
org/html/draft-lee-alto-app-net-info-exchange-02</span></a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D">&gt;</span>Hence, I propose that the WG extends the base protocol wi=
th this capability, as I see that it is quite useful. One issue is that I s=
ee three designs, and I am wondering if the
 authors are <span style=3D"color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D">&gt;</span>preparing on discussing their designs at the coming IETF,=
 and if there is a possibility for a single, unified document, focusing on =
this issue.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">By comparing the designs in three drafts, here is my rough analysis.<o:=
p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">the difference between these drafts are:<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt;text-indent:-18.0=
pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"mso-list:Ign=
ore">a.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">draft-randriamasy=
-alto-multi-cost-07 seems to assume filtering condition and output are base=
d on the same Cost metrics or a set of same metrics.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] Correct. The initial thought was to smoothly extend the format of =
basic ALTO transactions (requ and responses) and handle only indexes of the
 multiple metrics listed in the Cost Type array. </span></i></b><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; Both draft-lee-alto-app-net-info-exchange-02 and draft-wu-alt=
o-json-te-01 allows filtering condition and output based
 on different cost metrics <o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;and therefore it require filtering constraint &nbsp;&nbsp;rela=
xing In the ALTO base protocol.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] We need to extend the base protocol filtering constraint as soon a=
s there is more than one metric in the set of constraints, which is the cas=
e
 for all the 3 designs. It is a good idea to allow constraint involving met=
rics that do not belong to the set of requested cost metrics. One simple an=
d light way to implement this is to allow an indexing of the cost types in =
the IRD and simply use these indexes
 in the expressions of constraints.<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></=
span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Note that
</span></i></b><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:#1F497D">draft-randriamasy-alto-mult=
i-cost-07 in addition proposes to relate constraints by both logical AND an=
d logical OR with the idea of supporting compromises such
 as &nbsp;&#8220;either (solutions with moderate 'hopcount' AND &nbsp;high =
'routingcost') OR (solutions with higher 'hopcount' AND moderate 'routingco=
st')&#8221;, see section 4.6.2 of the draft.
<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></=
span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Last, as the intent=
ion is to filter the response on the ALTO metric values, the ALTO Server is=
 required only to provide values meeting the constraints
 expressed in the request, but is not requested to provide values on the me=
trics involved in the constraints. Note that an ALTO Server operator may wi=
sh to use metrics only for filtering without unveiling the values, but this=
 would require to extend the base
 protocol with a status such as &#8220;hidden&#8221; or &#8220;filter-only&=
#8221;, which may be discussed when extending the ALTO Costs. &nbsp;<o:p></=
o:p></span></i></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt;text-indent:-18.0=
pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"mso-list:Ign=
ore">b.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">draft-randriamasy=
-alto-multi-cost-07 specifies one new cost metrics (i.e.,pathoccupationcost=
)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] the draft actually proposes, see 3.1.4: Endpoint Nominal Memory, E=
ndpoint Nominal Bandwidth (ie CPU capacity), endpoint Occupied Memory, Endp=
oint
 Occupied Bandwidth, Path Occupation Cost. The naming is just a proposal. S=
ome of these metrics may have values that change and are updated in differe=
nt frequencies, but in no case are they real time measurements.
<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">,</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;=
,&quot;sans-serif&quot;;color:#1F497D"> while draft-lee-alto-app-net-info-e=
xchange-02
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">defines a new object called DstCostsConstraints which contains a=
 list of cost metrics that are not stable over a constant
 period(i.e., they are <o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">&nbsp;dynamic parameters). draft-wu-alto-json-te-01 gives a comp=
lete list of those cost metrics based on IETF standardization work<o:p></o:=
p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">(see draft-ietf-idr-ls-distribution-03,RFC5305,
<a href=3D"http://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt" target=
=3D"_blank">
<span style=3D"color:#1F497D;text-decoration:none">draft-wu-idr-te-pm-bgp</=
span></a>,draft-ietf-ospf-te-metric-extensions-04, draft-ietf-isis-te-metri=
c-extensions-00)
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">and define them as a list of independent cost metrics.<o:p></o:p=
></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:0cm"><b><i><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] very interesting sets and propo=
sals. I agree that it would be useful to list proposals on metrics and thei=
r definition
 as suggested by Richard in another thread. &nbsp;</span></i></b><span styl=
e=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot=
;;color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt;text-indent:-18.0=
pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"mso-list:Ign=
ore">c.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">draft-randriamasy=
-alto-multi-cost-07 requires cost value encoded as JSON Array rather than J=
SON while &nbsp;draft-lee-alto-app-net-info-exchange-02
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">also encode cost value as JSON Array.
</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:0cm"><b><i><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] please correct me if I missed s=
omething, in the example of
</span></i></b><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:#1F497D">draft-lee-alto-app-net-info=
-exchange-02, I see JSONArrays used to provide the value on each of the met=
rics expressed in the constraints for the admissible (S,D)
 pairs. No value is provided for the requested cost metric. I&#8217;m not s=
ure I understand why and I think we may find a way to harmonize views on ex=
pressing constraints.
</span></i></b><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></i></b><=
/p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">In addition, draft-lee-alto-app-net-info-exchange-02 defines lin=
kentry object and support representing a
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">end to end path with a list of links traversed in the path. draf=
t-wu-alto-json-te-01 also defines link related metrics and
 uses linkname to identify each link.<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:0cm"><b><i><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] this looks very useful in cases=
 where path costs and network maps are detailed below the end 2 end level. =
I see
 an easy integration of this idea with the topology extension proposed by R=
ichard that assumes &#8220;multi-switched&#8221; paths (or their abstractio=
n). Though I don&#8217;t see a light and easy way to integrate constraints =
on path sections in the base protocol.
</span></i></b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-size:12.0pt"><o:p>&nb=
sp;</o:p></span></pre>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Thanks a lot!<o:p></o:p=
></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Richard<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_A7A5844EB93EB94AB22C2068B10AD65A29441D5EFR711WXCHMBA01z_--

From bill.wu@huawei.com  Wed Oct 16 02:01:52 2013
Return-Path: <bill.wu@huawei.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 1A69C11E82AB for <alto@ietfa.amsl.com>; Wed, 16 Oct 2013 02:01:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.36
X-Spam-Level: 
X-Spam-Status: No, score=-6.36 tagged_above=-999 required=5 tests=[AWL=0.238,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N-qmhUDfUBcX for <alto@ietfa.amsl.com>; Wed, 16 Oct 2013 02:01:47 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id C747511E8158 for <alto@ietf.org>; Wed, 16 Oct 2013 02:01:45 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml204-edg.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AZD12344; Wed, 16 Oct 2013 09:01:44 +0000 (GMT)
Received: from LHREML403-HUB.china.huawei.com (10.201.5.217) by lhreml204-edg.china.huawei.com (172.18.7.223) with Microsoft SMTP Server (TLS) id 14.3.146.0; Wed, 16 Oct 2013 10:01:01 +0100
Received: from nkgeml407-hub.china.huawei.com (10.98.56.38) by lhreml403-hub.china.huawei.com (10.201.5.217) with Microsoft SMTP Server (TLS) id 14.3.146.0; Wed, 16 Oct 2013 10:01:43 +0100
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.141]) by nkgeml407-hub.china.huawei.com ([10.98.56.38]) with mapi id 14.03.0146.000; Wed, 16 Oct 2013 17:01:30 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>, "Y. Richard Yang" <yry@cs.yale.edu>, IETF ALTO <alto@ietf.org>
Thread-Topic: ALTO Extension: A document defining multi-metrics filtering?
Thread-Index: AQHOyHALHY93+IaOIEi7gBrq1LoWBJn1fd/A////h4CAAYjv4A==
Date: Wed, 16 Oct 2013 09:01:29 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA43C0BCBF@nkgeml501-mbs.china.huawei.com>
References: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0B4D0@nkgeml501-mbs.china.huawei.com> <A7A5844EB93EB94AB22C2068B10AD65A29441D5E@FR711WXCHMBA01.zeu.alcatel-lucent.com>
In-Reply-To: <A7A5844EB93EB94AB22C2068B10AD65A29441D5E@FR711WXCHMBA01.zeu.alcatel-lucent.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.138.41.149]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA43C0BCBFnkgeml501mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: "ROOME, Wendy D \(Wendy\)" <w.roome@alcatel-lucent.com>, "choits@etri.re.kr" <choits@etri.re.kr>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 16 Oct 2013 09:01:52 -0000

--_000_B8F9A780D330094D99AF023C5877DABA43C0BCBFnkgeml501mbschi_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

From: RANDRIAMASY, SABINE (SABINE) [mailto:sabine.randriamasy@alcatel-lucen=
t.com]
Sent: Wednesday, October 16, 2013 1:16 AM
To: Qin Wu; Y. Richard Yang; IETF ALTO
Cc: ROOME, Wendy D (Wendy); ietf@nico-schwan.de; Leeyoung; Greg Bernstein; =
choits@etri.re.kr; Dhruv Dhody
Subject: RE: ALTO Extension: A document defining multi-metrics filtering?

Hi Qin and all,

Thank to Richard and Qin for this discussion. Please see, my answers inline=
 to Qin on the design positioning for filtering constraints.
Thanks for your feedback,
Sabine


De : Qin Wu [mailto:bill.wu@huawei.com]
Envoy=E9 : mardi 15 octobre 2013 11:50
=C0 : Y. Richard Yang; IETF ALTO
Cc : RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); ietf@nico-schwan=
.de; Leeyoung; Greg Bernstein; choits@etri.re.kr; Dhruv Dhody
Objet : RE: ALTO Extension: A document defining multi-metrics filtering?

>In particular, suppose the filtering is based on metrics M1 and M2, and th=
e output is M3, for a set src to a set dsts. The Client can use the followi=
ng three queries:

>- Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains <srcs1,=
 dsts1> in return;
>- Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains <srcs=
2, dsts2> in return;
>- Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final res=
ult.

>Although this is not too bad, it is inconvenient. Note that preceding is f=
irst discussed by Sabine, Wendy, Nico in:
>http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07

>I saw that this is also the issue discussed in
>- http://tools.ietf.org/html/draft-wu-alto-json-te-01
>- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02

>Hence, I propose that the WG extends the base protocol with this capabilit=
y, as I see that it is quite useful. One issue is that I see three designs,=
 and I am wondering if the authors are
>preparing on discussing their designs at the coming IETF, and if there is =
a possibility for a single, unified document, focusing on this issue.

By comparing the designs in three drafts, here is my rough analysis.
the difference between these drafts are:

a.       draft-randriamasy-alto-multi-cost-07 seems to assume filtering con=
dition and output are based on the same Cost metrics or a set of same metri=
cs.
[     ] Correct. The initial thought was to smoothly extend the format of b=
asic ALTO transactions (requ and responses) and handle only indexes of the =
multiple metrics listed in the Cost Type array.
               Both draft-lee-alto-app-net-info-exchange-02 and draft-wu-al=
to-json-te-01 allows filtering condition and output based on different cost=
 metrics
              and therefore it require filtering constraint   relaxing In t=
he ALTO base protocol.
[     ] We need to extend the base protocol filtering constraint as soon as=
 there is more than one metric in the set of constraints, which is the case=
 for all the 3 designs. It is a good idea to allow constraint involving met=
rics that do not belong to the set of requested cost metrics. One simple an=
d light way to implement this is to allow an indexing of the cost types in =
the IRD and simply use these indexes in the expressions of constraints.

Note that draft-randriamasy-alto-multi-cost-07 in addition proposes to rela=
te constraints by both logical AND and logical OR with the idea of supporti=
ng compromises such as  "either (solutions with moderate 'hopcount' AND  hi=
gh 'routingcost') OR (solutions with higher 'hopcount' AND moderate 'routin=
gcost')", see section 4.6.2 of the draft.

[Qin]:Good idea, this may require filtering constraint to be extended to su=
pport multiple cost representations as a joint constraint. I believe your d=
raft has already specified this.

Last, as the intention is to filter the response on the ALTO metric values,=
 the ALTO Server is required only to provide values meeting the constraints=
 expressed in the request, but is not requested to provide values on the me=
trics involved in the constraints. Note that an ALTO Server operator may wi=
sh to use metrics only for filtering without unveiling the values, but this=
 would require to extend the base protocol with a status such as "hidden" o=
r "filter-only", which may be discussed when extending the ALTO Costs.

[Qin]: I believe this is related to how to distinguish the case where filte=
ring condition and output are based on the same metric and the case where f=
iltering condition and output are based on different cost metric.


b.      draft-randriamasy-alto-multi-cost-07 specifies one new cost metrics=
 (i.e.,pathoccupationcost)
[     ] the draft actually proposes, see 3.1.4: Endpoint Nominal Memory, En=
dpoint Nominal Bandwidth (ie CPU capacity), endpoint Occupied Memory, Endpo=
int Occupied Bandwidth, Path Occupation Cost. The naming is just a proposal=
. Some of these metrics may have values that change and are updated in diff=
erent frequencies, but in no case are they real time measurements.
, while draft-lee-alto-app-net-info-exchange-02

defines a new object called DstCostsConstraints which contains a list of co=
st metrics that are not stable over a constant period(i.e., they are

 dynamic parameters). draft-wu-alto-json-te-01 gives a complete list of tho=
se cost metrics based on IETF standardization work

(see draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp<http=
://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt>,draft-ietf-ospf-te-metr=
ic-extensions-04, draft-ietf-isis-te-metric-extensions-00)

and define them as a list of independent cost metrics.

[     ] very interesting sets and proposals. I agree that it would be usefu=
l to list proposals on metrics and their definition as suggested by Richard=
 in another thread.


c.       draft-randriamasy-alto-multi-cost-07 requires cost value encoded a=
s JSON Array rather than JSON while  draft-lee-alto-app-net-info-exchange-0=
2

also encode cost value as JSON Array.

[     ] please correct me if I missed something, in the example of draft-le=
e-alto-app-net-info-exchange-02, I see JSONArrays used to provide the value=
 on each of the metrics expressed in the constraints for the admissible (S,=
D) pairs. No value is provided for the requested cost metric. I'm not sure =
I understand why and I think we may find a way to harmonize views on expres=
sing constraints.



[Qin]: It seems you have already answered this by proposing "hidden" or "fi=
lter-only" to indicate the metrics only used for filtering.

In my understanding, in path computation to the network, usually we use con=
straints only for compute the path, e.g., end to end latency in the path is=
 less than 100 milliseconds, what is returned is not computed cost metric b=
ut a list of links in the path or a list of endpoints in the path that sati=
sfy the constraint. However in some cases,

They do allow return computed cost metric to the client, e.g., we use end t=
o end latency in the path less than 100 milliseconds as constraint, then we=
 compute a path that satisfy this constraint,

Then the server can return the computed end to end latency (e.g.,50miliseco=
nds) associated with this path to the client.





In addition, draft-lee-alto-app-net-info-exchange-02 defines linkentry obje=
ct and support representing a

end to end path with a list of links traversed in the path. draft-wu-alto-j=
son-te-01 also defines link related metrics and uses linkname to identify e=
ach link.

[     ] this looks very useful in cases where path costs and network maps a=
re detailed below the end 2 end level. I see an easy integration of this id=
ea with the topology extension proposed by Richard that assumes "multi-swit=
ched" paths (or their abstraction). Though I don't see a light and easy way=
 to integrate constraints on path sections in the base protocol.



[Qin]:Your observation is correct.

Thanks a lot!

Richard

--_000_B8F9A780D330094D99AF023C5877DABA43C0BCBFnkgeml501mbschi_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.HTMLChar
	{mso-style-name:"HTML \9884\8BBE\683C\5F0F Char";
	mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F";
	font-family:"Courier New";}
p.PrformatHTML, li.PrformatHTML, div.PrformatHTML
	{mso-style-name:"Pr\00E9format\00E9 HTML";
	mso-style-link:"Pr\00E9format\00E9 HTML Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.PrformatHTMLCar
	{mso-style-name:"Pr\00E9format\00E9 HTML Car";
	mso-style-priority:99;
	mso-style-link:"Pr\00E9format\00E9 HTML";
	font-family:Consolas;}
span.EmailStyle22
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:701053465;
	mso-list-type:hybrid;
	mso-list-template-ids:-1023089656 67698713 67698713 67698715 67698703 6769=
8713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level2
	{mso-level-tab-stop:72.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level3
	{mso-level-tab-stop:108.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level4
	{mso-level-tab-stop:144.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level5
	{mso-level-tab-stop:180.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level6
	{mso-level-tab-stop:216.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level7
	{mso-level-tab-stop:252.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level8
	{mso-level-tab-stop:288.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level9
	{mso-level-tab-stop:324.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> RANDRIAM=
ASY, SABINE (SABINE) [mailto:sabine.randriamasy@alcatel-lucent.com]
<br>
<b>Sent:</b> Wednesday, October 16, 2013 1:16 AM<br>
<b>To:</b> Qin Wu; Y. Richard Yang; IETF ALTO<br>
<b>Cc:</b> ROOME, Wendy D (Wendy); ietf@nico-schwan.de; Leeyoung; Greg Bern=
stein; choits@etri.re.kr; Dhruv Dhody<br>
<b>Subject:</b> RE: ALTO Extension: A document defining multi-metrics filte=
ring?<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Qin and all,<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thank to Richard and Qin =
for this discussion. Please see, my answers inline to Qin on the design pos=
itioning for filtering constraints.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks for your feedback,
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sabine<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Qin Wu [mailto:bill.wu@hua=
wei.com]
<br>
<b>Envoy=E9&nbsp;:</b> mardi 15 octobre 2013 11:50<br>
<b>=C0&nbsp;:</b> Y. Richard Yang; IETF ALTO<br>
<b>Cc&nbsp;:</b> RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); ietf=
@nico-schwan.de; Leeyoung; Greg Bernstein; choits@etri.re.kr; Dhruv Dhody<b=
r>
<b>Objet&nbsp;:</b> RE: ALTO Extension: A document defining multi-metrics f=
iltering?<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&gt;In particular, supp=
ose the filtering is based on metrics M1 and M2, and the output is M3, for =
a set src to a set dsts. The Client can use the following three queries:<o:=
p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&gt;- Q1: Use single me=
tric &lt;M1, filter on M1, srcs, dsts&gt; and obtains &lt;srcs1, dsts1&gt; =
in return;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&gt;- Q2: Use single me=
tric &lt;M2, filter on M2, srcs1, dsts1&gt; and obtains &lt;srcs2, dsts2&gt=
; in return;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&gt;- Q3: Use single me=
tric &lt;M3, no filter, srcs2, dsts2&gt; to get the final result.<o:p></o:p=
></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D">&gt;</span>Although this is not too bad, it is inconvenient. Note th=
at preceding is first discussed by Sabine, Wendy, Nico in:<br>
<span style=3D"color:#1F497D">&gt;</span><a href=3D"http://tools.ietf.org/h=
tml/draft-randriamasy-alto-multi-cost-07">http://tools.ietf.org/html/draft-=
randriamasy-alto-multi-cost-07</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D">&gt;</span>I saw that this is also the issue discussed in &nbsp;<o:p=
></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D">&gt;</span>-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-wu-alt=
o-json-te-01">http://tools.ietf.org/html/draft-wu-alto-json-te-01</a><o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D">&gt;</span>-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-lee-al=
to-app-net-info-exchange-02" target=3D"_blank"><span style=3D"font-size:9.5=
pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">http://tools.ietf.=
org/html/draft-lee-alto-app-net-info-exchange-02</span></a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D">&gt;</span>Hence, I propose that the WG extends the base protocol wi=
th this capability, as I see that it is quite useful. One issue is that I s=
ee three designs, and I am wondering if the
 authors are <span style=3D"color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D">&gt;</span>preparing on discussing their designs at the coming IETF,=
 and if there is a possibility for a single, unified document, focusing on =
this issue.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
F497D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">By comparing the designs in three drafts, here is my rough analysis.<o:=
p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">the difference between these drafts are:<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt;text-indent:-18.0=
pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"mso-list:Ign=
ore">a.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">draft-randriamasy=
-alto-multi-cost-07 seems to assume filtering condition and output are base=
d on the same Cost metrics or a set of same metrics.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] Correct. The initial thought was to smoothly extend the format of =
basic ALTO transactions (requ and responses) and handle only indexes of the
 multiple metrics listed in the Cost Type array. </span></i></b><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; Both draft-lee-alto-app-net-info-exchange-02 and draft-wu-alt=
o-json-te-01 allows filtering condition and output based
 on different cost metrics <o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;and therefore it require filtering constraint &nbsp;&nbsp;rela=
xing In the ALTO base protocol.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] We need to extend the base protocol filtering constraint as soon a=
s there is more than one metric in the set of constraints, which is the cas=
e
 for all the 3 designs. It is a good idea to allow constraint involving met=
rics that do not belong to the set of requested cost metrics. One simple an=
d light way to implement this is to allow an indexing of the cost types in =
the IRD and simply use these indexes
 in the expressions of constraints.<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></=
span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Note that draft-ran=
driamasy-alto-multi-cost-07 in addition proposes to relate constraints by b=
oth logical AND and logical OR with the idea of supporting
 compromises such as &nbsp;&#8220;either (solutions with moderate 'hopcount=
' AND &nbsp;high 'routingcost') OR (solutions with higher 'hopcount' AND mo=
derate 'routingcost')&#8221;, see section 4.6.2 of the draft.
<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></=
span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#C00000">[Qin]:Good idea, th=
is may require filtering constraint to be extended to support multiple cost=
 representations as a joint constraint. I believe your draft
 has already specified this.<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></=
span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Last, as the intent=
ion is to filter the response on the ALTO metric values, the ALTO Server is=
 required only to provide values meeting the constraints
 expressed in the request, but is not requested to provide values on the me=
trics involved in the constraints. Note that an ALTO Server operator may wi=
sh to use metrics only for filtering without unveiling the values, but this=
 would require to extend the base
 protocol with a status such as &#8220;hidden&#8221; or &#8220;filter-only&=
#8221;, which may be discussed when extending the ALTO Costs. &nbsp;<o:p></=
o:p></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#C00000"><o:p>&nbsp;</o:p></=
span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#C00000">[Qin]: I believe th=
is is related to how to distinguish the case where filtering condition and =
output are based on the same metric and the case where filtering
 condition and output are based on different cost metric.<o:p></o:p></span>=
</i></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt;text-indent:-18.0=
pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"mso-list:Ign=
ore">b.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">draft-randriamasy=
-alto-multi-cost-07 specifies one new cost metrics (i.e.,pathoccupationcost=
)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] the draft actually proposes, see 3.1.4: Endpoint Nominal Memory, E=
ndpoint Nominal Bandwidth (ie CPU capacity), endpoint Occupied Memory, Endp=
oint
 Occupied Bandwidth, Path Occupation Cost. The naming is just a proposal. S=
ome of these metrics may have values that change and are updated in differe=
nt frequencies, but in no case are they real time measurements.
<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">, while draft-lee-alto-app-net-info-exchange-02
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">defines a new object called DstCostsConstraints which contains a=
 list of cost metrics that are not stable over a constant
 period(i.e., they are <o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">&nbsp;dynamic parameters). draft-wu-alto-json-te-01 gives a comp=
lete list of those cost metrics based on IETF standardization work<o:p></o:=
p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">(see draft-ietf-idr-ls-distribution-03,RFC5305,
<a href=3D"http://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt" target=
=3D"_blank">
<span style=3D"color:#1F497D;text-decoration:none">draft-wu-idr-te-pm-bgp</=
span></a>,draft-ietf-ospf-te-metric-extensions-04, draft-ietf-isis-te-metri=
c-extensions-00)
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">and define them as a list of independent cost metrics.<o:p></o:p=
></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:0cm"><b><i><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] very interesting sets and propo=
sals. I agree that it would be useful to list proposals on metrics and thei=
r definition
 as suggested by Richard in another thread. &nbsp;</span></i></b><span styl=
e=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot=
;;color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt;text-indent:-18.0=
pt;mso-list:l0 level1 lfo2">
<![if !supportLists]><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"mso-list:Ign=
ore">c.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">draft-randriamasy=
-alto-multi-cost-07 requires cost value encoded as JSON Array rather than J=
SON while &nbsp;draft-lee-alto-app-net-info-exchange-02
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">also encode cost value as JSON Array.
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:0cm"><b><i><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] please correct me if I missed s=
omething, in the example of draft-lee-alto-app-net-info-exchange-02, I see =
JSONArrays
 used to provide the value on each of the metrics expressed in the constrai=
nts for the admissible (S,D) pairs. No value is provided for the requested =
cost metric. I&#8217;m not sure I understand why and I think we may find a =
way to harmonize views on expressing constraints.
<o:p></o:p></span></i></b></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:0cm"><b><i><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D"><o:p>&nbsp;</o:p></span></i></b></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:0cm"><b><i><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#C00000">[Qin]: It seems you have already answered this by proposing=
 &#8220;hidden&#8221; or &#8220;filter-only&#8221; to indicate the metrics =
only used
 for filtering.<o:p></o:p></span></i></b></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:0cm"><b><i><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#C00000">In my understanding, in path computation to the network, us=
ually we use constraints only for compute the path, e.g., end
 to end latency in the path is less than 100 milliseconds, what is returned=
 is not computed cost metric but a list of links in the path or a list of e=
ndpoints in the path that satisfy the constraint. However in some cases,<o:=
p></o:p></span></i></b></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:0cm"><b><i><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#C00000">They do allow return computed cost metric to the client, e.=
g., we use end to end latency in the path less than 100 milliseconds
 as constraint, then we compute a path that satisfy this constraint, <o:p><=
/o:p></span></i></b></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:0cm"><b><i><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#C00000">Then the server can return the computed end to end latency =
(e.g.,50miliseconds) associated with this path to the client.<o:p></o:p></s=
pan></i></b></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:0cm"><b><i><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D"><o:p>&nbsp;</o:p></span></i></b></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:0cm"><b><i><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D"><o:p>&nbsp;</o:p></span></i></b></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">In addition, draft-lee-alto-app-net-info-exchange-02 defines lin=
kentry object and support representing a
<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:72.0pt"><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1F497D">end to end path with a list of links traversed in the path. draf=
t-wu-alto-json-te-01 also defines link related metrics and
 uses linkname to identify each link.<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:0cm"><b><i><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] this looks very useful in cases=
 where path costs and network maps are detailed below the end 2 end level. =
I see
 an easy integration of this idea with the topology extension proposed by R=
ichard that assumes &#8220;multi-switched&#8221; paths (or their abstractio=
n). Though I don&#8217;t see a light and easy way to integrate constraints =
on path sections in the base protocol.
</span></i></b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-family:&quot;Courier =
New&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></pre>
<pre><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,=
&quot;sans-serif&quot;;color:#C00000">[Qin]:Your observation is correct.<o:=
p></o:p></span></i></b></pre>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Thanks a lot!<o:p></o:p=
></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Richard<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_B8F9A780D330094D99AF023C5877DABA43C0BCBFnkgeml501mbschi_--

From yang.r.yang@gmail.com  Wed Oct 16 10:43:33 2013
Return-Path: <yang.r.yang@gmail.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 F264D11E81F5 for <alto@ietfa.amsl.com>; Wed, 16 Oct 2013 10:43:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.718
X-Spam-Level: 
X-Spam-Status: No, score=-1.718 tagged_above=-999 required=5 tests=[AWL=0.259,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sE3C5aOUxwAt for <alto@ietfa.amsl.com>; Wed, 16 Oct 2013 10:43:31 -0700 (PDT)
Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 96F4B21F9A5F for <alto@ietf.org>; Wed, 16 Oct 2013 10:43:30 -0700 (PDT)
Received: by mail-wi0-f174.google.com with SMTP id cb5so7109897wib.1 for <alto@ietf.org>; Wed, 16 Oct 2013 10:43:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=+15b/w8go//R5mSknLRopfCchwBlOSgyOPEMQUT/AC8=; b=yGsrg3ngb1VtM56rCMMl6lPCNpqd8N9SuX3IXlDRex/tvymCvctjyZOf0tmRQ1mWII 3riNr++wQKMVItf6MpZgxISRziBExDbNoBNmpkV942dXhsCfRjLrMgojxdosXKu0863Z A17lBC7A2SfLul/a0bJFabq16fqJ76Bfihd4hcCdYkLefT1HVmdrLzkl+h/K/KM/PuL0 +APNLTwwOZKUPFpOSnNiLhdr4OYq1+UFsyfqAGGclMH2MxHuno3wGepFcWc95lj0ZCx6 ooWRQXndCSgYOGo4xYT36cH/ZPPEz97hKJTIcrp1AEQfqUFfHcS/fL5q28kAcP7/w0rl 1hfw==
MIME-Version: 1.0
X-Received: by 10.180.185.97 with SMTP id fb1mr3305169wic.61.1381945409447; Wed, 16 Oct 2013 10:43:29 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.216.208.195 with HTTP; Wed, 16 Oct 2013 10:43:29 -0700 (PDT)
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA43C0BCBF@nkgeml501-mbs.china.huawei.com>
References: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0B4D0@nkgeml501-mbs.china.huawei.com> <A7A5844EB93EB94AB22C2068B10AD65A29441D5E@FR711WXCHMBA01.zeu.alcatel-lucent.com> <B8F9A780D330094D99AF023C5877DABA43C0BCBF@nkgeml501-mbs.china.huawei.com>
Date: Wed, 16 Oct 2013 13:43:29 -0400
X-Google-Sender-Auth: v5xV3Q9ec9TNyEeTbFjTrpgG6-A
Message-ID: <CANUuoLr71We_nu11o_3UaCPFPhLF4cz_pumaF8bOWDX9q9iKtQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Qin Wu <bill.wu@huawei.com>
Content-Type: multipart/alternative; boundary=001a11c23e683aaed004e8df3db0
Cc: "ROOME, Wendy D \(Wendy\)" <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>, "choits@etri.re.kr" <choits@etri.re.kr>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 16 Oct 2013 17:43:33 -0000

--001a11c23e683aaed004e8df3db0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Dear Qin, Sabine,

Great discussions!

Here are two quick questions:

1. I found the idea of distinguishing between "filtering-only" and
"revealing" quite interesting. Here is an "attack". Suppose latency is a
"filtering-only" metric: by specifying "latency <=3D 10 ms AND latency >=3D=
 5
ms" then will in a sense reveal the metric of latency. Even if we do not
allow AND, a client can make two queries and observe the difference. How
may this be addressed: specify that this is a controlled or semi-control
environment, or impose other constraints on multiple queries?

2. I actually see quite a lot synergy in the three docs. Personal, I would
like to propose that we add a WG item on a general filtering service. What
is the likelihood that there is some convergence on the design before IETF?
Is there a need for an informal design meeting before the ALTO meeting?

Thanks a lot!

Richard


On Wed, Oct 16, 2013 at 5:01 AM, Qin Wu <bill.wu@huawei.com> wrote:

>   *From:* RANDRIAMASY, SABINE (SABINE) [mailto:
> sabine.randriamasy@alcatel-lucent.com]
> *Sent:* Wednesday, October 16, 2013 1:16 AM
> *To:* Qin Wu; Y. Richard Yang; IETF ALTO
> *Cc:* ROOME, Wendy D (Wendy); ietf@nico-schwan.de; Leeyoung; Greg
> Bernstein; choits@etri.re.kr; Dhruv Dhody
> *Subject:* RE: ALTO Extension: A document defining multi-metrics
> filtering?****
>
> ** **
>
> Hi Qin and all,****
>
> ** **
>
> Thank to Richard and Qin for this discussion. Please see, my answers
> inline to Qin on the design positioning for filtering constraints.****
>
> Thanks for your feedback, ****
>
> Sabine****
>
> ** **
>
> ** **
>
> *De :* Qin Wu [mailto:bill.wu@huawei.com]
> *Envoy=E9 :* mardi 15 octobre 2013 11:50
> *=C0 :* Y. Richard Yang; IETF ALTO
> *Cc :* RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy);
> ietf@nico-schwan.de; Leeyoung; Greg Bernstein; choits@etri.re.kr; Dhruv
> Dhody
> *Objet :* RE: ALTO Extension: A document defining multi-metrics filtering=
?
> ****
>
> ** **
>
> >In particular, suppose the filtering is based on metrics M1 and M2, and
> the output is M3, for a set src to a set dsts. The Client can use the
> following three queries:****
>
> ** **
>
> >- Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains
> <srcs1, dsts1> in return;****
>
> >- Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains
> <srcs2, dsts2> in return;****
>
> >- Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final
> result.****
>
> ** **
>
> >Although this is not too bad, it is inconvenient. Note that preceding is
> first discussed by Sabine, Wendy, Nico in:
> >http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07****
>
> ** **
>
> >I saw that this is also the issue discussed in  ****
>
> >- http://tools.ietf.org/html/draft-wu-alto-json-te-01****
>
> >- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02****
>
> ** **
>
> >Hence, I propose that the WG extends the base protocol with this
> capability, as I see that it is quite useful. One issue is that I see thr=
ee
> designs, and I am wondering if the authors are ****
>
> >preparing on discussing their designs at the coming IETF, and if there
> is a possibility for a single, unified document, focusing on this issue.*=
*
> **
>
> ** **
>
> By comparing the designs in three drafts, here is my rough analysis.****
>
> the difference between these drafts are:****
>
> **a.       **draft-randriamasy-alto-multi-cost-07 seems to assume
> filtering condition and output are based on the same Cost metrics or a se=
t
> of same metrics.****
>
> *[     ] Correct. The initial thought was to smoothly extend the format
> of basic ALTO transactions (requ and responses) and handle only indexes o=
f
> the multiple metrics listed in the Cost Type array. *****
>
>                Both draft-lee-alto-app-net-info-exchange-02 and
> draft-wu-alto-json-te-01 allows filtering condition and output based on
> different cost metrics ****
>
>               and therefore it require filtering constraint   relaxing In
> the ALTO base protocol.****
>
> *[     ] We need to extend the base protocol filtering constraint as soon
> as there is more than one metric in the set of constraints, which is the
> case for all the 3 designs. It is a good idea to allow constraint involvi=
ng
> metrics that do not belong to the set of requested cost metrics. One simp=
le
> and light way to implement this is to allow an indexing of the cost types
> in the IRD and simply use these indexes in the expressions of constraints=
.
> *
>
> * *
>
> *Note that draft-randriamasy-alto-multi-cost-07 in addition proposes to
> relate constraints by both logical AND and logical OR with the idea of
> supporting compromises such as  =93either (solutions with moderate 'hopco=
unt'
> AND  high 'routingcost') OR (solutions with higher 'hopcount' AND moderat=
e
> 'routingcost')=94, see section 4.6.2 of the draft. *
>
> * *
>
> *[Qin]:Good idea, this may require filtering constraint to be extended to
> support multiple cost representations as a joint constraint. I believe yo=
ur
> draft has already specified this.*
>
> * *
>
> *Last, as the intention is to filter the response on the ALTO metric
> values, the ALTO Server is required only to provide values meeting the
> constraints expressed in the request, but is not requested to provide
> values on the metrics involved in the constraints. Note that an ALTO Serv=
er
> operator may wish to use metrics only for filtering without unveiling the
> values, but this would require to extend the base protocol with a status
> such as =93hidden=94 or =93filter-only=94, which may be discussed when ex=
tending
> the ALTO Costs.  *
>
> * *
>
> *[Qin]: I believe this is related to how to distinguish the case where
> filtering condition and output are based on the same metric and the case
> where filtering condition and output are based on different cost metric.*
>
> ** **
>
> **b.      **draft-randriamasy-alto-multi-cost-07 specifies one new cost
> metrics (i.e.,pathoccupationcost)****
>
> *[     ] the draft actually proposes, see 3.1.4: Endpoint Nominal Memory,
> Endpoint Nominal Bandwidth (ie CPU capacity), endpoint Occupied Memory,
> Endpoint Occupied Bandwidth, Path Occupation Cost. The naming is just a
> proposal. Some of these metrics may have values that change and are updat=
ed
> in different frequencies, but in no case are they real time measurements.
> *
>
> , while draft-lee-alto-app-net-info-exchange-02 ****
>
> defines a new object called DstCostsConstraints which contains a list of
> cost metrics that are not stable over a constant period(i.e., they are **=
*
> *
>
>  dynamic parameters). draft-wu-alto-json-te-01 gives a complete list of
> those cost metrics based on IETF standardization work****
>
> (see draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp<ht=
tp://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt>,draft-ietf-ospf-te-me=
tric-extensions-04,
> draft-ietf-isis-te-metric-extensions-00) ****
>
> and define them as a list of independent cost metrics.****
>
> *[     ] very interesting sets and proposals. I agree that it would be
> useful to list proposals on metrics and their definition as suggested by
> Richard in another thread.  *****
>
> ** **
>
> **c.       **draft-randriamasy-alto-multi-cost-07 requires cost value
> encoded as JSON Array rather than JSON while
>  draft-lee-alto-app-net-info-exchange-02 ****
>
> also encode cost value as JSON Array. ****
>
> *[     ] please correct me if I missed something, in the example of
> draft-lee-alto-app-net-info-exchange-02, I see JSONArrays used to provide
> the value on each of the metrics expressed in the constraints for the
> admissible (S,D) pairs. No value is provided for the requested cost metri=
c.
> I=92m not sure I understand why and I think we may find a way to harmoniz=
e
> views on expressing constraints. *
>
> * *
>
> *[Qin]: It seems you have already answered this by proposing =93hidden=94=
 or
> =93filter-only=94 to indicate the metrics only used for filtering.*
>
> *In my understanding, in path computation to the network, usually we use
> constraints only for compute the path, e.g., end to end latency in the pa=
th
> is less than 100 milliseconds, what is returned is not computed cost metr=
ic
> but a list of links in the path or a list of endpoints in the path that
> satisfy the constraint. However in some cases,*
>
> *They do allow return computed cost metric to the client, e.g., we use
> end to end latency in the path less than 100 milliseconds as constraint,
> then we compute a path that satisfy this constraint, *
>
> *Then the server can return the computed end to end latency
> (e.g.,50miliseconds) associated with this path to the client.*
>
> * *
>
> * *
>
> In addition, draft-lee-alto-app-net-info-exchange-02 defines linkentry
> object and support representing a ****
>
> end to end path with a list of links traversed in the path.
> draft-wu-alto-json-te-01 also defines link related metrics and uses
> linkname to identify each link.****
>
> *[     ] this looks very useful in cases where path costs and network
> maps are detailed below the end 2 end level. I see an easy integration of
> this idea with the topology extension proposed by Richard that assumes
> =93multi-switched=94 paths (or their abstraction). Though I don=92t see a=
 light
> and easy way to integrate constraints on path sections in the base
> protocol. *****
>
> ** **
>
> *[Qin]:Your observation is correct.*
>
> ** **
>
> Thanks a lot!****
>
> ** **
>
> Richard****
>

--001a11c23e683aaed004e8df3db0
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear Qin, Sabine,<div><br></div><div>Great discussions!</d=
iv><div><br></div><div>Here are two quick questions:</div><div><br></div><d=
iv>1. I found the idea of distinguishing between &quot;filtering-only&quot;=
 and &quot;revealing&quot; quite interesting. Here is an &quot;attack&quot;=
. Suppose latency is a &quot;filtering-only&quot; metric: by specifying &qu=
ot;latency &lt;=3D 10 ms AND latency &gt;=3D 5 ms&quot; then will in a sens=
e reveal the metric of latency. Even if we do not allow AND, a client can m=
ake two queries and observe the difference. How may this be addressed: spec=
ify that this is a controlled or semi-control environment, or impose other =
constraints on multiple queries?</div>
<div><br></div><div>2. I actually see quite a lot synergy in the three docs=
. Personal, I would like to propose that we add a WG item on a general filt=
ering service. What is the likelihood that there is some convergence on the=
 design before IETF? Is there a need for an informal design meeting before =
the ALTO meeting?</div>
<div><br></div><div>Thanks a lot!</div><div><br></div><div>Richard</div><di=
v class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Wed, Oct 16, =
2013 at 5:01 AM, Qin Wu <span dir=3D"ltr">&lt;<a href=3D"mailto:bill.wu@hua=
wei.com" target=3D"_blank">bill.wu@huawei.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<div>
<div style=3D"border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> RANDRIAM=
ASY, SABINE (SABINE) [mailto:<a href=3D"mailto:sabine.randriamasy@alcatel-l=
ucent.com" target=3D"_blank">sabine.randriamasy@alcatel-lucent.com</a>]
<br>
<b>Sent:</b> Wednesday, October 16, 2013 1:16 AM<br>
<b>To:</b> Qin Wu; Y. Richard Yang; IETF ALTO<br>
<b>Cc:</b> ROOME, Wendy D (Wendy); <a href=3D"mailto:ietf@nico-schwan.de" t=
arget=3D"_blank">ietf@nico-schwan.de</a>; Leeyoung; Greg Bernstein; <a href=
=3D"mailto:choits@etri.re.kr" target=3D"_blank">choits@etri.re.kr</a>; Dhru=
v Dhody<br>

<b>Subject:</b> RE: ALTO Extension: A document defining multi-metrics filte=
ring?<u></u><u></u></span></p>
</div>
</div><div><div class=3D"h5">
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi Qin and all,<u></u><u>=
</u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thank to Richard and Qin =
for this discussion. Please see, my answers inline to Qin on the design pos=
itioning for filtering constraints.<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks for your feedback,
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Sabine<u></u><u></u></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De=A0:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-famil=
y:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Qin Wu [mailto:<a href=3D"mai=
lto:bill.wu@huawei.com" target=3D"_blank">bill.wu@huawei.com</a>]
<br>
<b>Envoy=E9=A0:</b> mardi 15 octobre 2013 11:50<br>
<b>=C0=A0:</b> Y. Richard Yang; IETF ALTO<br>
<b>Cc=A0:</b> RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); <a href=
=3D"mailto:ietf@nico-schwan.de" target=3D"_blank">ietf@nico-schwan.de</a>; =
Leeyoung; Greg Bernstein; <a href=3D"mailto:choits@etri.re.kr" target=3D"_b=
lank">choits@etri.re.kr</a>; Dhruv Dhody<br>

<b>Objet=A0:</b> RE: ALTO Extension: A document defining multi-metrics filt=
ering?<u></u><u></u></span></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><u></u>=A0<u></u></p>
</div></div><div><div><div class=3D"h5">
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&gt;In particular, supp=
ose the filtering is based on metrics M1 and M2, and the output is M3, for =
a set src to a set dsts. The Client can use the following three queries:<u>=
</u><u></u></p>

<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&gt;- Q1: Use single me=
tric &lt;M1, filter on M1, srcs, dsts&gt; and obtains &lt;srcs1, dsts1&gt; =
in return;<u></u><u></u></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&gt;- Q2: Use single me=
tric &lt;M2, filter on M2, srcs1, dsts1&gt; and obtains &lt;srcs2, dsts2&gt=
; in return;<u></u><u></u></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&gt;- Q3: Use single me=
tric &lt;M3, no filter, srcs2, dsts2&gt; to get the final result.<u></u><u>=
</u></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
f497d"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
f497d">&gt;</span>Although this is not too bad, it is inconvenient. Note th=
at preceding is first discussed by Sabine, Wendy, Nico in:<br>
<span style=3D"color:#1f497d">&gt;</span><a href=3D"http://tools.ietf.org/h=
tml/draft-randriamasy-alto-multi-cost-07" target=3D"_blank">http://tools.ie=
tf.org/html/draft-randriamasy-alto-multi-cost-07</a><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
f497d">&gt;</span>I saw that this is also the issue discussed in =A0<u></u>=
<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
f497d">&gt;</span>-=A0<a href=3D"http://tools.ietf.org/html/draft-wu-alto-j=
son-te-01" target=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-json-=
te-01</a><u></u><u></u></p>

</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
f497d">&gt;</span>-=A0<a href=3D"http://tools.ietf.org/html/draft-lee-alto-=
app-net-info-exchange-02" target=3D"_blank"><span style=3D"font-size:9.5pt;=
font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">http://tools.ietf.org=
/html/draft-lee-alto-app-net-info-exchange-02</span></a><u></u><u></u></p>

</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
f497d">&gt;</span>Hence, I propose that the WG extends the base protocol wi=
th this capability, as I see that it is quite useful. One issue is that I s=
ee three designs, and I am wondering if the
 authors are <span style=3D"color:#1f497d"><u></u><u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
f497d">&gt;</span>preparing on discussing their designs at the coming IETF,=
 and if there is a possibility for a single, unified document, focusing on =
this issue.<u></u><u></u></p>

</div>
</div></div><div><div><div class=3D"h5">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#1=
f497d"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f49=
7d">By comparing the designs in three drafts, here is my rough analysis.<u>=
</u><u></u></span></p>

<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f49=
7d">the difference between these drafts are:<u></u><u></u></span></p>
<p style=3D"margin-left:72.0pt">
<u></u><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1f497d"><span>a.<span style=3D"font:7.0pt &quot;T=
imes New Roman&quot;">=A0=A0=A0=A0=A0=A0
</span></span></span><u></u><span style=3D"font-size:11.0pt;font-family:&qu=
ot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">draft-randriamasy-al=
to-multi-cost-07 seems to assume filtering condition and output are based o=
n the same Cost metrics or a set of same metrics.<u></u><u></u></span></p>

<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">[=A0=A0=A0=A0 ] Cor=
rect. The initial thought was to smoothly extend the format of basic ALTO t=
ransactions (requ and responses) and handle only indexes of the
 multiple metrics listed in the Cost Type array. </span></i></b><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1f497d"><u></u><u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f49=
7d">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Both draft-lee-alto-app-net-=
info-exchange-02 and draft-wu-alto-json-te-01 allows filtering condition an=
d output based
 on different cost metrics <u></u><u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f49=
7d">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0and therefore it require filt=
ering constraint =A0=A0relaxing In the ALTO base protocol.<u></u><u></u></s=
pan></p>

<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">[=A0=A0=A0=A0 ] We =
need to extend the base protocol filtering constraint as soon as there is m=
ore than one metric in the set of constraints, which is the case
 for all the 3 designs. It is a good idea to allow constraint involving met=
rics that do not belong to the set of requested cost metrics. One simple an=
d light way to implement this is to allow an indexing of the cost types in =
the IRD and simply use these indexes
 in the expressions of constraints.<u></u><u></u></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></=
span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Note that draft-ran=
driamasy-alto-multi-cost-07 in addition proposes to relate constraints by b=
oth logical AND and logical OR with the idea of supporting
 compromises such as =A0=93either (solutions with moderate &#39;hopcount&#3=
9; AND =A0high &#39;routingcost&#39;) OR (solutions with higher &#39;hopcou=
nt&#39; AND moderate &#39;routingcost&#39;)=94, see section 4.6.2 of the dr=
aft.
<u></u><u></u></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></=
span></i></b></p>
</div></div><p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;fo=
nt-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#c00000">[Qin]:G=
ood idea, this may require filtering constraint to be extended to support m=
ultiple cost representations as a joint constraint. I believe your draft
 has already specified this.<u></u><u></u></span></i></b></p><div class=3D"=
im">
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></=
span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Last, as the intent=
ion is to filter the response on the ALTO metric values, the ALTO Server is=
 required only to provide values meeting the constraints
 expressed in the request, but is not requested to provide values on the me=
trics involved in the constraints. Note that an ALTO Server operator may wi=
sh to use metrics only for filtering without unveiling the values, but this=
 would require to extend the base
 protocol with a status such as =93hidden=94 or =93filter-only=94, which ma=
y be discussed when extending the ALTO Costs. =A0<u></u><u></u></span></i><=
/b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#c00000"><u></u>=A0<u></u></=
span></i></b></p>
</div><p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#c00000">[Qin]: I beli=
eve this is related to how to distinguish the case where filtering conditio=
n and output are based on the same metric and the case where filtering
 condition and output are based on different cost metric.<u></u><u></u></sp=
an></i></b></p><div class=3D"im">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f49=
7d"><u></u>=A0<u></u></span></p>
<p style=3D"margin-left:72.0pt">
<u></u><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1f497d"><span>b.<span style=3D"font:7.0pt &quot;T=
imes New Roman&quot;">=A0=A0=A0=A0=A0
</span></span></span><u></u><span style=3D"font-size:11.0pt;font-family:&qu=
ot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">draft-randriamasy-al=
to-multi-cost-07 specifies one new cost metrics (i.e.,pathoccupationcost)<u=
></u><u></u></span></p>

<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">[=A0=A0=A0=A0 ] the=
 draft actually proposes, see 3.1.4: Endpoint Nominal Memory, Endpoint Nomi=
nal Bandwidth (ie CPU capacity), endpoint Occupied Memory, Endpoint
 Occupied Bandwidth, Path Occupation Cost. The naming is just a proposal. S=
ome of these metrics may have values that change and are updated in differe=
nt frequencies, but in no case are they real time measurements.
<u></u><u></u></span></i></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f49=
7d">, while draft-lee-alto-app-net-info-exchange-02
<u></u><u></u></span></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">defines a new ob=
ject called DstCostsConstraints which contains a list of cost metrics that =
are not stable over a constant
 period(i.e., they are <u></u><u></u></span></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">=A0dynamic param=
eters). draft-wu-alto-json-te-01 gives a complete list of those cost metric=
s based on IETF standardization work<u></u><u></u></span></p>

<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">(see draft-ietf-=
idr-ls-distribution-03,RFC5305,
<a href=3D"http://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt" target=
=3D"_blank">
<span style=3D"color:#1f497d;text-decoration:none">draft-wu-idr-te-pm-bgp</=
span></a>,draft-ietf-ospf-te-metric-extensions-04, draft-ietf-isis-te-metri=
c-extensions-00)
<u></u><u></u></span></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">and define them =
as a list of independent cost metrics.<u></u><u></u></span></p>
<p style=3D"margin-left:0cm"><b><i><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">[=A0=A0=A0=A0=
 ] very interesting sets and proposals. I agree that it would be useful to =
list proposals on metrics and their definition
 as suggested by Richard in another thread. =A0</span></i></b><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1f497d"><u></u><u></u></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f49=
7d"><u></u>=A0<u></u></span></p>
<p style=3D"margin-left:72.0pt">
<u></u><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1f497d"><span>c.<span style=3D"font:7.0pt &quot;T=
imes New Roman&quot;">=A0=A0=A0=A0=A0=A0
</span></span></span><u></u><span style=3D"font-size:11.0pt;font-family:&qu=
ot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">draft-randriamasy-al=
to-multi-cost-07 requires cost value encoded as JSON Array rather than JSON=
 while =A0draft-lee-alto-app-net-info-exchange-02
<u></u><u></u></span></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">also encode cost=
 value as JSON Array.
<u></u><u></u></span></p>
<p style=3D"margin-left:0cm"><b><i><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">[=A0=A0=A0=A0=
 ] please correct me if I missed something, in the example of draft-lee-alt=
o-app-net-info-exchange-02, I see JSONArrays
 used to provide the value on each of the metrics expressed in the constrai=
nts for the admissible (S,D) pairs. No value is provided for the requested =
cost metric. I=92m not sure I understand why and I think we may find a way =
to harmonize views on expressing constraints.
<u></u><u></u></span></i></b></p>
<p style=3D"margin-left:0cm"><b><i><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u>=
</u></span></i></b></p>
</div><p style=3D"margin-left:0cm"><b><i><span style=3D"font-size:11.0pt;fo=
nt-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#c00000">[Qin]: =
It seems you have already answered this by proposing =93hidden=94 or =93fil=
ter-only=94 to indicate the metrics only used
 for filtering.<u></u><u></u></span></i></b></p>
<p style=3D"margin-left:0cm"><b><i><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#c00000">In my underst=
anding, in path computation to the network, usually we use constraints only=
 for compute the path, e.g., end
 to end latency in the path is less than 100 milliseconds, what is returned=
 is not computed cost metric but a list of links in the path or a list of e=
ndpoints in the path that satisfy the constraint. However in some cases,<u>=
</u><u></u></span></i></b></p>

<p style=3D"margin-left:0cm"><b><i><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#c00000">They do allow=
 return computed cost metric to the client, e.g., we use end to end latency=
 in the path less than 100 milliseconds
 as constraint, then we compute a path that satisfy this constraint, <u></u=
><u></u></span></i></b></p>
<p style=3D"margin-left:0cm"><b><i><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#c00000">Then the serv=
er can return the computed end to end latency (e.g.,50miliseconds) associat=
ed with this path to the client.<u></u><u></u></span></i></b></p>
<div class=3D"im">
<p style=3D"margin-left:0cm"><b><i><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u>=
</u></span></i></b></p>
<p style=3D"margin-left:0cm"><b><i><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u>=
</u></span></i></b></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">In addition, dra=
ft-lee-alto-app-net-info-exchange-02 defines linkentry object and support r=
epresenting a
<u></u><u></u></span></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">end to end path =
with a list of links traversed in the path. draft-wu-alto-json-te-01 also d=
efines link related metrics and
 uses linkname to identify each link.<u></u><u></u></span></p>
<p style=3D"margin-left:0cm"><b><i><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">[=A0=A0=A0=A0=
 ] this looks very useful in cases where path costs and network maps are de=
tailed below the end 2 end level. I see
 an easy integration of this idea with the topology extension proposed by R=
ichard that assumes =93multi-switched=94 paths (or their abstraction). Thou=
gh I don=92t see a light and easy way to integrate constraints on path sect=
ions in the base protocol.
</span></i></b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>
<pre style=3D"margin-left:36.0pt"><span style=3D"font-family:&quot;Courier =
New&quot;;color:#1f497d"><u></u>=A0<u></u></span></pre>
</div><pre><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&=
quot;,&quot;sans-serif&quot;;color:#c00000">[Qin]:Your observation is corre=
ct.<u></u><u></u></span></i></b></pre>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f49=
7d"><u></u>=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Thanks a lot!<u></u><u>=
</u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Richard<u></u><u></u></=
p>
</div>
</div>
</div>
</div>

</blockquote></div><br></div></div>

--001a11c23e683aaed004e8df3db0--

From yang.r.yang@gmail.com  Wed Oct 16 13:32:27 2013
Return-Path: <yang.r.yang@gmail.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 263E511E8160 for <alto@ietfa.amsl.com>; Wed, 16 Oct 2013 13:32:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.73
X-Spam-Level: 
X-Spam-Status: No, score=-1.73 tagged_above=-999 required=5 tests=[AWL=0.247,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5GjLgzQ9ZlLa for <alto@ietfa.amsl.com>; Wed, 16 Oct 2013 13:32:26 -0700 (PDT)
Received: from mail-pb0-x230.google.com (mail-pb0-x230.google.com [IPv6:2607:f8b0:400e:c01::230]) by ietfa.amsl.com (Postfix) with ESMTP id 7ACD821F9926 for <alto@ietf.org>; Wed, 16 Oct 2013 13:32:26 -0700 (PDT)
Received: by mail-pb0-f48.google.com with SMTP id ma3so1299224pbc.7 for <alto@ietf.org>; Wed, 16 Oct 2013 13:32:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/nvKXYHpq99UxKDOgwq8cC+EMSwxSQOYAiMQpg3Gquw=; b=zJOVmTnfgbjR8Len0fm2bnGi/RhF9ZQerfX2Xx2n/YzGnYmvLqq9GI5lzEeYioWrpp n/Pb5T59ZlXmq7kRTExOzupk/uWunzc2UR0o/vRRle/lB5czEF4STZbJ49yAPHknuy+4 sxxJkoyMpVAjS/+Z5Y664Oa5tAq2ZlAh+PCy0Pm6ETGvZEcWqyE4iLVTS8gbe3rO2KkB /S2ni2McfG/+WmQtDwm12N7ajCasBIf/1mIVIHo2p+jdDThoFJZIFzEjaJMgHjM16fob J4Jhh6OtbQx+FAJA1xQLHaVzahXoNjOO/soszj0LsHf9YlshiYlGo9Qkk7BjVM9ReLLz TDWg==
MIME-Version: 1.0
X-Received: by 10.68.137.9 with SMTP id qe9mr4717275pbb.133.1381955544940; Wed, 16 Oct 2013 13:32:24 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Wed, 16 Oct 2013 13:32:24 -0700 (PDT)
In-Reply-To: <525CF276.1030501@telecomitalia.it>
References: <525CF276.1030501@telecomitalia.it>
Date: Wed, 16 Oct 2013 16:32:24 -0400
X-Google-Sender-Auth: NpyqskhC2Uj7Xa2IumEp3MRXKyk
Message-ID: <CANUuoLpqTqyZOkiggj2m6xpY4Jv7W=RLPaT_H6dOnrXJhqSgCQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Enrico Marocco <enrico.marocco@telecomitalia.it>
Content-Type: multipart/alternative; boundary=047d7b2e431c5a078604e8e199e3
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] WG adoption of *-3pdisc and *-ip-based-srv-disc drafts
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 16 Oct 2013 20:32:27 -0000

--047d7b2e431c5a078604e8e199e3
Content-Type: text/plain; charset=ISO-8859-1

In short, I support adopting the two documents as WG working items.

Below are some detailed comments, in case anyone cares to read more details.

- http://tools.ietf.org/html/draft-kiesel-alto-ip-based-srv-disc-02

  As already discussed, this document has potential to become a
general-purpose mechanism (e.g., instead of http://192.0.0.X/alto, a
general one might be http://192.0.0.X/<service>).

 After becoming a WG item, it may keep this general-purpose mechanism in
mind. Here is one example of potential impact: the current version
specifies HTTP redirect (Sec. 2.3, first para of Sec. 2.4). A
general-purpose service may not use HTTP, and hence, it might need to
include other mechanisms (e.g., redirect info contained in the returned
page of the* WkAsdURI).*

 Some details need to be added, and some are already marked TBD. There are
can be additional items. For example, it specifies that a change of IP
address of an interface invalidates the result. This is in a sense a
sufficient condition. There can be corner cases such as the IP address does
not change but the MAC address of 192.0.0.X changes (change of redirection
server). A soft state based approach based on refresh may help to detect
such changes in a more uniform way. As another example, I still need to be
convinced on some requirements such as the 3rd paragraph of Sec. 2.4 (IRD
not reside on WkAsdIPa). Finishing the security section will be helpful too.

 Despite the preceding comments, the document is an excellent starting
point on an important service, and I support adopting this document.

- http://tools.ietf.org/html/draft-kist-alto-3pdisc-04

  This is also an important use case: 3rd party, and the WG should resolve
this item completely.

Richard



On Tue, Oct 15, 2013 at 3:44 AM, Enrico Marocco <
enrico.marocco@telecomitalia.it> wrote:

> Dear WG participants:
>
> we would like to check consensus on the adoption of the following drafts
> that will complement the server discovery deliverable in the current
> ALTO WG charter:
>
>   + draft-kiesel-alto-ip-based-srv-disc
>   + draft-kist-alto-3pdisc
>
> The drafts were discussed on this list and presented in a few meetings.
> In Orlando (IETF-86) the WG indicated consensus, but we agreed to
> postpone the adoption in order to focus energies on the base protocol.
> Now that the core specs are undergoing WGLC, it seems a good time to
> resume the work.
>
> If you have any opinion on whether such document should or should not
> become working group items, please state it by Wednesday, October 30.
>
> Enrico
>
>
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>
>

--047d7b2e431c5a078604e8e199e3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">In short, I support adopting the two documents as WG worki=
ng items.=A0<div><br></div><div>Below are some detailed comments, in case a=
nyone cares to read more details.<div><br></div><div>-=A0<a href=3D"http://=
tools.ietf.org/html/draft-kiesel-alto-ip-based-srv-disc-02">http://tools.ie=
tf.org/html/draft-kiesel-alto-ip-based-srv-disc-02</a></div>
<div><br></div><div>=A0 As already discussed, this document has potential t=
o become a general-purpose mechanism (e.g., instead of <a href=3D"http://19=
2.0.0.X/alto">http://192.0.0.X/alto</a>, a general one might be <a href=3D"=
http://192.0.0.X/">http://192.0.0.X/</a>&lt;service&gt;).</div>
<div><br></div><div>=A0After becoming a WG item, it may keep this general-p=
urpose mechanism in mind. Here is one example of potential impact: the curr=
ent version specifies HTTP redirect (Sec. 2.3, first para of Sec. 2.4). A g=
eneral-purpose service may not use HTTP, and hence, it might need to includ=
e other mechanisms (e.g., redirect info contained in the returned page of t=
he<font color=3D"#000000"><span style=3D"line-height:0px"><b>=A0WkAsdURI).<=
/b></span></font></div>
<div><br></div><div>=A0Some details need to be added, and some are already =
marked TBD. There are can be additional items. For example, it specifies th=
at a change of IP address of an interface invalidates the result. This is i=
n a sense a sufficient condition. There can be corner cases such as the IP =
address does not change but the MAC address of 192.0.0.X changes (change of=
 redirection server). A soft state based approach based on refresh may help=
 to detect such changes in a more uniform way. As another example, I still =
need to be convinced on some requirements such as the 3rd paragraph of Sec.=
 2.4 (IRD not reside on WkAsdIPa). Finishing the security section will be h=
elpful too.<br>
</div><div>=A0=A0</div><div>=A0Despite the preceding comments, the document=
 is an excellent starting point on an important service, and I support adop=
ting this document.</div><div><br></div><div>-=A0<a href=3D"http://tools.ie=
tf.org/html/draft-kist-alto-3pdisc-04">http://tools.ietf.org/html/draft-kis=
t-alto-3pdisc-04</a></div>
<div><br></div><div>=A0 This is also an important use case: 3rd party, and =
the WG should resolve this item completely.</div><div><br></div><div>Richar=
d</div><div><br></div><div class=3D"gmail_extra"><br><br><div class=3D"gmai=
l_quote">
On Tue, Oct 15, 2013 at 3:44 AM, Enrico Marocco <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:enrico.marocco@telecomitalia.it" target=3D"_blank">enrico.maro=
cco@telecomitalia.it</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-co=
lor:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Dear WG participants:<br>
<br>
we would like to check consensus on the adoption of the following drafts<br=
>
that will complement the server discovery deliverable in the current<br>
ALTO WG charter:<br>
<br>
=A0 + draft-kiesel-alto-ip-based-srv-disc<br>
=A0 + draft-kist-alto-3pdisc<br>
<br>
The drafts were discussed on this list and presented in a few meetings.<br>
In Orlando (IETF-86) the WG indicated consensus, but we agreed to<br>
postpone the adoption in order to focus energies on the base protocol.<br>
Now that the core specs are undergoing WGLC, it seems a good time to<br>
resume the work.<br>
<br>
If you have any opinion on whether such document should or should not<br>
become working group items, please state it by Wednesday, October 30.<br>
<span class=3D""><font color=3D"#888888"><br>
Enrico<br>
<br>
<br>
</font></span><br>_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
<br></blockquote></div><br></div></div></div>

--047d7b2e431c5a078604e8e199e3--

From sabine.randriamasy@alcatel-lucent.com  Wed Oct 16 15:44:43 2013
Return-Path: <sabine.randriamasy@alcatel-lucent.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 35A9721F9B8A for <alto@ietfa.amsl.com>; Wed, 16 Oct 2013 15:44:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K67oC-1GZgGu for <alto@ietfa.amsl.com>; Wed, 16 Oct 2013 15:44:36 -0700 (PDT)
Received: from ihemail2.lucent.com (ihemail2.lucent.com [135.245.0.35]) by ietfa.amsl.com (Postfix) with ESMTP id 9538111E821C for <alto@ietf.org>; Wed, 16 Oct 2013 15:44:30 -0700 (PDT)
Received: from fr711usmtp1.zeu.alcatel-lucent.com (h135-239-2-122.lucent.com [135.239.2.122]) by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id r9GMiFsI012552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 16 Oct 2013 17:44:17 -0500 (CDT)
Received: from FR712WXCHHUB03.zeu.alcatel-lucent.com (fr712wxchhub03.zeu.alcatel-lucent.com [135.239.2.74]) by fr711usmtp1.zeu.alcatel-lucent.com (GMO) with ESMTP id r9GMiEdD031065 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 17 Oct 2013 00:44:14 +0200
Received: from FR711WXCHMBA01.zeu.alcatel-lucent.com ([169.254.1.168]) by FR712WXCHHUB03.zeu.alcatel-lucent.com ([135.239.2.74]) with mapi id 14.02.0247.003; Thu, 17 Oct 2013 00:44:14 +0200
From: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>, Qin Wu <bill.wu@huawei.com>
Thread-Topic: ALTO Extension: A document defining multi-metrics filtering?
Thread-Index: AQHOyHANS2ZXCjq9Yk+trIthkm0rq5n1ZXUAgACGDDCAAP6ygIAAkdiAgABjtpA=
Date: Wed, 16 Oct 2013 22:44:14 +0000
Message-ID: <A7A5844EB93EB94AB22C2068B10AD65A29442033@FR711WXCHMBA01.zeu.alcatel-lucent.com>
References: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0B4D0@nkgeml501-mbs.china.huawei.com> <A7A5844EB93EB94AB22C2068B10AD65A29441D5E@FR711WXCHMBA01.zeu.alcatel-lucent.com> <B8F9A780D330094D99AF023C5877DABA43C0BCBF@nkgeml501-mbs.china.huawei.com> <CANUuoLr71We_nu11o_3UaCPFPhLF4cz_pumaF8bOWDX9q9iKtQ@mail.gmail.com>
In-Reply-To: <CANUuoLr71We_nu11o_3UaCPFPhLF4cz_pumaF8bOWDX9q9iKtQ@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.239.27.40]
Content-Type: multipart/alternative; boundary="_000_A7A5844EB93EB94AB22C2068B10AD65A29442033FR711WXCHMBA01z_"
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35
Cc: "ROOME, Wendy D \(Wendy\)" <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>, "choits@etri.re.kr" <choits@etri.re.kr>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 16 Oct 2013 22:44:43 -0000

--_000_A7A5844EB93EB94AB22C2068B10AD65A29442033FR711WXCHMBA01z_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear Richard,
Thanks for your comments, see my answers inline,
Best regards
Sabine

De : yang.r.yang@gmail.com [mailto:yang.r.yang@gmail.com] De la part de Y. =
Richard Yang
Envoy=E9 : mercredi 16 octobre 2013 19:43
=C0 : Qin Wu
Cc : RANDRIAMASY, SABINE (SABINE); IETF ALTO; ROOME, Wendy D (Wendy); ietf@=
nico-schwan.de; Leeyoung; Greg Bernstein; choits@etri.re.kr; Dhruv Dhody
Objet : Re: ALTO Extension: A document defining multi-metrics filtering?

Dear Qin, Sabine,

Great discussions!

Here are two quick questions:

1. I found the idea of distinguishing between "filtering-only" and "reveali=
ng" quite interesting. Here is an "attack". Suppose latency is a "filtering=
-only" metric: by specifying "latency <=3D 10 ms AND latency >=3D 5 ms" the=
n will in a sense reveal the metric of latency. Even if we do not allow AND=
, a client can make two queries and observe the difference.
[     ] Indeed, allowing a fine granularity in the constraint metric values=
 may end up accepting to reveal real values. In such a case, using metrics =
for "filtering-only" would then just allow to gain time.
How may this be addressed: specify that this is a controlled or semi-contro=
l environment, or impose other constraints on multiple queries?
[     ] It is an interesting option to impose constraints such as a minimal=
 value range for "AND" constraints or coarse value granularity, say multipl=
e of K.

2. I actually see quite a lot synergy in the three docs. Personal, I would =
like to propose that we add a WG item on a general filtering service. What =
is the likelihood that there is some convergence on the design before IETF?
[     ] We may start sorting out the different possible filtering services =
that could be integrated in the base protocol, with associated conditions (=
controlled or not) and related constraints & rules.
 Is there a need for an informal design meeting before the ALTO meeting?
[     ] A meeting would be for sure interesting.

Thanks a lot!

Richard

On Wed, Oct 16, 2013 at 5:01 AM, Qin Wu <bill.wu@huawei.com<mailto:bill.wu@=
huawei.com>> wrote:
From: RANDRIAMASY, SABINE (SABINE) [mailto:sabine.randriamasy@alcatel-lucen=
t.com<mailto:sabine.randriamasy@alcatel-lucent.com>]
Sent: Wednesday, October 16, 2013 1:16 AM
To: Qin Wu; Y. Richard Yang; IETF ALTO
Cc: ROOME, Wendy D (Wendy); ietf@nico-schwan.de<mailto:ietf@nico-schwan.de>=
; Leeyoung; Greg Bernstein; choits@etri.re.kr<mailto:choits@etri.re.kr>; Dh=
ruv Dhody
Subject: RE: ALTO Extension: A document defining multi-metrics filtering?

Hi Qin and all,

Thank to Richard and Qin for this discussion. Please see, my answers inline=
 to Qin on the design positioning for filtering constraints.
Thanks for your feedback,
Sabine


De : Qin Wu [mailto:bill.wu@huawei.com<mailto:bill.wu@huawei.com>]
Envoy=E9 : mardi 15 octobre 2013 11:50
=C0 : Y. Richard Yang; IETF ALTO
Cc : RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); ietf@nico-schwan=
.de<mailto:ietf@nico-schwan.de>; Leeyoung; Greg Bernstein; choits@etri.re.k=
r<mailto:choits@etri.re.kr>; Dhruv Dhody
Objet : RE: ALTO Extension: A document defining multi-metrics filtering?

>In particular, suppose the filtering is based on metrics M1 and M2, and th=
e output is M3, for a set src to a set dsts. The Client can use the followi=
ng three queries:

>- Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains <srcs1,=
 dsts1> in return;
>- Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains <srcs=
2, dsts2> in return;
>- Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final res=
ult.

>Although this is not too bad, it is inconvenient. Note that preceding is f=
irst discussed by Sabine, Wendy, Nico in:
>http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07

>I saw that this is also the issue discussed in
>- http://tools.ietf.org/html/draft-wu-alto-json-te-01
>- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02

>Hence, I propose that the WG extends the base protocol with this capabilit=
y, as I see that it is quite useful. One issue is that I see three designs,=
 and I am wondering if the authors are
>preparing on discussing their designs at the coming IETF, and if there is =
a possibility for a single, unified document, focusing on this issue.

By comparing the designs in three drafts, here is my rough analysis.
the difference between these drafts are:

a.       draft-randriamasy-alto-multi-cost-07 seems to assume filtering con=
dition and output are based on the same Cost metrics or a set of same metri=
cs.
[     ] Correct. The initial thought was to smoothly extend the format of b=
asic ALTO transactions (requ and responses) and handle only indexes of the =
multiple metrics listed in the Cost Type array.
               Both draft-lee-alto-app-net-info-exchange-02 and draft-wu-al=
to-json-te-01 allows filtering condition and output based on different cost=
 metrics
              and therefore it require filtering constraint   relaxing In t=
he ALTO base protocol.
[     ] We need to extend the base protocol filtering constraint as soon as=
 there is more than one metric in the set of constraints, which is the case=
 for all the 3 designs. It is a good idea to allow constraint involving met=
rics that do not belong to the set of requested cost metrics. One simple an=
d light way to implement this is to allow an indexing of the cost types in =
the IRD and simply use these indexes in the expressions of constraints.

Note that draft-randriamasy-alto-multi-cost-07 in addition proposes to rela=
te constraints by both logical AND and logical OR with the idea of supporti=
ng compromises such as  "either (solutions with moderate 'hopcount' AND  hi=
gh 'routingcost') OR (solutions with higher 'hopcount' AND moderate 'routin=
gcost')", see section 4.6.2 of the draft.

[Qin]:Good idea, this may require filtering constraint to be extended to su=
pport multiple cost representations as a joint constraint. I believe your d=
raft has already specified this.

Last, as the intention is to filter the response on the ALTO metric values,=
 the ALTO Server is required only to provide values meeting the constraints=
 expressed in the request, but is not requested to provide values on the me=
trics involved in the constraints. Note that an ALTO Server operator may wi=
sh to use metrics only for filtering without unveiling the values, but this=
 would require to extend the base protocol with a status such as "hidden" o=
r "filter-only", which may be discussed when extending the ALTO Costs.

[Qin]: I believe this is related to how to distinguish the case where filte=
ring condition and output are based on the same metric and the case where f=
iltering condition and output are based on different cost metric.


b.      draft-randriamasy-alto-multi-cost-07 specifies one new cost metrics=
 (i.e.,pathoccupationcost)
[     ] the draft actually proposes, see 3.1.4: Endpoint Nominal Memory, En=
dpoint Nominal Bandwidth (ie CPU capacity), endpoint Occupied Memory, Endpo=
int Occupied Bandwidth, Path Occupation Cost. The naming is just a proposal=
. Some of these metrics may have values that change and are updated in diff=
erent frequencies, but in no case are they real time measurements.
, while draft-lee-alto-app-net-info-exchange-02

defines a new object called DstCostsConstraints which contains a list of co=
st metrics that are not stable over a constant period(i.e., they are

 dynamic parameters). draft-wu-alto-json-te-01 gives a complete list of tho=
se cost metrics based on IETF standardization work

(see draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp<http=
://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt>,draft-ietf-ospf-te-metr=
ic-extensions-04, draft-ietf-isis-te-metric-extensions-00)

and define them as a list of independent cost metrics.

[     ] very interesting sets and proposals. I agree that it would be usefu=
l to list proposals on metrics and their definition as suggested by Richard=
 in another thread.


c.       draft-randriamasy-alto-multi-cost-07 requires cost value encoded a=
s JSON Array rather than JSON while  draft-lee-alto-app-net-info-exchange-0=
2

also encode cost value as JSON Array.

[     ] please correct me if I missed something, in the example of draft-le=
e-alto-app-net-info-exchange-02, I see JSONArrays used to provide the value=
 on each of the metrics expressed in the constraints for the admissible (S,=
D) pairs. No value is provided for the requested cost metric. I'm not sure =
I understand why and I think we may find a way to harmonize views on expres=
sing constraints.



[Qin]: It seems you have already answered this by proposing "hidden" or "fi=
lter-only" to indicate the metrics only used for filtering.

In my understanding, in path computation to the network, usually we use con=
straints only for compute the path, e.g., end to end latency in the path is=
 less than 100 milliseconds, what is returned is not computed cost metric b=
ut a list of links in the path or a list of endpoints in the path that sati=
sfy the constraint. However in some cases,

They do allow return computed cost metric to the client, e.g., we use end t=
o end latency in the path less than 100 milliseconds as constraint, then we=
 compute a path that satisfy this constraint,

Then the server can return the computed end to end latency (e.g.,50miliseco=
nds) associated with this path to the client.





In addition, draft-lee-alto-app-net-info-exchange-02 defines linkentry obje=
ct and support representing a

end to end path with a list of links traversed in the path. draft-wu-alto-j=
son-te-01 also defines link related metrics and uses linkname to identify e=
ach link.

[     ] this looks very useful in cases where path costs and network maps a=
re detailed below the end 2 end level. I see an easy integration of this id=
ea with the topology extension proposed by Richard that assumes "multi-swit=
ched" paths (or their abstraction). Though I don't see a light and easy way=
 to integrate constraints on path sections in the base protocol.



[Qin]:Your observation is correct.

Thanks a lot!

Richard


--_000_A7A5844EB93EB94AB22C2068B10AD65A29442033FR711WXCHMBA01z_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
pre
	{mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Texte de bulles Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.PrformatHTMLCar
	{mso-style-name:"Pr=E9format=E9 HTML Car";
	mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML";
	font-family:Consolas;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.TextedebullesCar
	{mso-style-name:"Texte de bulles Car";
	mso-style-priority:99;
	mso-style-link:"Texte de bulles";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Dear Richard,<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks for your comments,=
 see my answers inline,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Best regards<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sabine<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> yang.r.yang@gmail.com [mai=
lto:yang.r.yang@gmail.com]
<b>De la part de</b> Y. Richard Yang<br>
<b>Envoy=E9&nbsp;:</b> mercredi 16 octobre 2013 19:43<br>
<b>=C0&nbsp;:</b> Qin Wu<br>
<b>Cc&nbsp;:</b> RANDRIAMASY, SABINE (SABINE); IETF ALTO; ROOME, Wendy D (W=
endy); ietf@nico-schwan.de; Leeyoung; Greg Bernstein; choits@etri.re.kr; Dh=
ruv Dhody<br>
<b>Objet&nbsp;:</b> Re: ALTO Extension: A document defining multi-metrics f=
iltering?<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Dear Qin, Sabine,<o:p><=
/o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Great discussions!<o:p>=
</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Here are two quick ques=
tions:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">1. I found the idea of =
distinguishing between &quot;filtering-only&quot; and &quot;revealing&quot;=
 quite interesting. Here is an &quot;attack&quot;. Suppose latency is a &qu=
ot;filtering-only&quot; metric: by specifying &quot;latency &lt;=3D 10 ms A=
ND latency
 &gt;=3D 5 ms&quot; then will in a sense reveal the metric of latency. Even=
 if we do not allow AND, a client can make two queries and observe the diff=
erence.<span style=3D"color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] Indeed, allowing a fine granularity in the constraint metric value=
s may end up accepting to reveal real values. In such a case, using metrics
 for &#8220;filtering-only&#8221; would then just allow to gain time.<o:p><=
/o:p></span></i></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">How may this be address=
ed: specify that this is a controlled or semi-control environment, or impos=
e other constraints on multiple queries?<span style=3D"color:#1F497D"><o:p>=
</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] It is an interesting option to impose constraints such as a minima=
l value range for &#8220;AND&#8221; constraints or coarse value granularity=
, say multiple
 of K. &nbsp;<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">2. I actually see quite=
 a lot synergy in the three docs. Personal, I would like to propose that we=
 add a WG item on a general filtering service. What is the likelihood that =
there is some convergence on the design
 before IETF?<span style=3D"color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] We may start sorting out the different possible filtering services=
 that could be integrated in the base protocol, with associated conditions =
(controlled
 or not) and related constraints &amp; rules. &nbsp;<o:p></o:p></span></i><=
/b></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;Is there a need f=
or an informal design meeting before the ALTO meeting?<o:p></o:p></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] A meeting would be for sure interesting.</span></i></b><span style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Thanks a lot!<o:p></o:p=
></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Richard<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:0cm;margin-right:0cm;mar=
gin-bottom:12.0pt;margin-left:36.0pt">
<o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">On Wed, Oct 16, 2013 at=
 5:01 AM, Qin Wu &lt;<a href=3D"mailto:bill.wu@huawei.com" target=3D"_blank=
">bill.wu@huawei.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;san=
s-serif&quot;">From:</span></b><span style=3D"font-size:10.0pt;font-family:=
&quot;Tahoma&quot;,&quot;sans-serif&quot;"> RANDRIAMASY, SABINE (SABINE) [m=
ailto:<a href=3D"mailto:sabine.randriamasy@alcatel-lucent.com" target=3D"_b=
lank">sabine.randriamasy@alcatel-lucent.com</a>]
<br>
<b>Sent:</b> Wednesday, October 16, 2013 1:16 AM<br>
<b>To:</b> Qin Wu; Y. Richard Yang; IETF ALTO<br>
<b>Cc:</b> ROOME, Wendy D (Wendy); <a href=3D"mailto:ietf@nico-schwan.de" t=
arget=3D"_blank">
ietf@nico-schwan.de</a>; Leeyoung; Greg Bernstein; <a href=3D"mailto:choits=
@etri.re.kr" target=3D"_blank">
choits@etri.re.kr</a>; Dhruv Dhody<br>
<b>Subject:</b> RE: ALTO Extension: A document defining multi-metrics filte=
ring?</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Hi Qin and all,</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Thank to Richard and Qin for this discussion. Pl=
ease see, my answers inline to Qin on the design positioning for filtering =
constraints.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Thanks for your feedback,
</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Sabine</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><span lang=3D"FR" style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quo=
t;,&quot;sans-serif&quot;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"f=
ont-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Qin=
 Wu [mailto:<a href=3D"mailto:bill.wu@huawei.com" target=3D"_blank">bill.wu=
@huawei.com</a>]
<br>
<b>Envoy=E9&nbsp;:</b> mardi 15 octobre 2013 11:50<br>
<b>=C0&nbsp;:</b> Y. Richard Yang; IETF ALTO<br>
<b>Cc&nbsp;:</b> RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); <a h=
ref=3D"mailto:ietf@nico-schwan.de" target=3D"_blank">
ietf@nico-schwan.de</a>; Leeyoung; Greg Bernstein; <a href=3D"mailto:choits=
@etri.re.kr" target=3D"_blank">
choits@etri.re.kr</a>; Dhruv Dhody<br>
<b>Objet&nbsp;:</b> RE: ALTO Extension: A document defining multi-metrics f=
iltering?</span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&gt;In particular, suppose the filtering is based on metrics M1 and M2, and=
 the output is M3, for a set src to a set dsts. The Client can use the foll=
owing three queries:<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&gt;- Q1: Use single metric &lt;M1, filter on M1, srcs, dsts&gt; and obtain=
s &lt;srcs1, dsts1&gt; in return;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&gt;- Q2: Use single metric &lt;M2, filter on M2, srcs1, dsts1&gt; and obta=
ins &lt;srcs2, dsts2&gt; in return;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&gt;- Q3: Use single metric &lt;M3, no filter, srcs2, dsts2&gt; to get the =
final result.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"color:#1F497D">&gt;</span>Although this is not too bad, it i=
s inconvenient. Note that preceding is first discussed by Sabine, Wendy, Ni=
co in:<br>
<span style=3D"color:#1F497D">&gt;</span><a href=3D"http://tools.ietf.org/h=
tml/draft-randriamasy-alto-multi-cost-07" target=3D"_blank">http://tools.ie=
tf.org/html/draft-randriamasy-alto-multi-cost-07</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"color:#1F497D">&gt;</span>I saw that this is also the issue =
discussed in &nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"color:#1F497D">&gt;</span>-&nbsp;<a href=3D"http://tools.iet=
f.org/html/draft-wu-alto-json-te-01" target=3D"_blank">http://tools.ietf.or=
g/html/draft-wu-alto-json-te-01</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"color:#1F497D">&gt;</span>-&nbsp;<a href=3D"http://tools.iet=
f.org/html/draft-lee-alto-app-net-info-exchange-02" target=3D"_blank"><span=
 style=3D"font-size:9.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&qu=
ot;">http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02</sp=
an></a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"color:#1F497D">&gt;</span>Hence, I propose that the WG exten=
ds the base protocol with this capability, as I see that it is quite useful=
. One issue is that I see three designs, and I am wondering if the authors =
are
<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"color:#1F497D">&gt;</span>preparing on discussing their desi=
gns at the coming IETF, and if there is a possibility for a single, unified=
 document, focusing on this issue.<o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">By comparing the designs in three drafts, here i=
s my rough analysis.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">the difference between these drafts are:</span><=
o:p></o:p></p>
<p style=3D"margin-left:108.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">a.</span><span =
style=3D"font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;
</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1F497D">draft-randriamasy-alto-multi-cost-07 seem=
s to assume filtering condition and output are based on the same Cost metri=
cs or a set of same metrics.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] Correct. The i=
nitial thought was to smoothly extend the format of basic ALTO transactions=
 (requ and responses) and handle only indexes of the multiple metrics liste=
d
 in the Cost Type array. </span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Both draft-lee-alto-app-net-info-excha=
nge-02 and draft-wu-alto-json-te-01 allows filtering condition and output b=
ased on different cost metrics
</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and therefore it require filtering cons=
traint &nbsp;&nbsp;relaxing In the ALTO base protocol.</span><o:p></o:p></p=
>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] We need to ext=
end the base protocol filtering constraint as soon as there is more than on=
e metric in the set of constraints, which is the case for all the 3 designs=
.
 It is a good idea to allow constraint involving metrics that do not belong=
 to the set of requested cost metrics. One simple and light way to implemen=
t this is to allow an indexing of the cost types in the IRD and simply use =
these indexes in the expressions
 of constraints.</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">&nbsp;</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">Note that draft-randriamasy-alto-multi-cos=
t-07 in addition proposes to relate constraints by both logical AND and log=
ical OR with the idea of supporting compromises such as
 &nbsp;&#8220;either (solutions with moderate 'hopcount' AND &nbsp;high 'ro=
utingcost') OR (solutions with higher 'hopcount' AND moderate 'routingcost'=
)&#8221;, see section 4.6.2 of the draft.
</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">&nbsp;</span></i></b><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#C00000">[Qin]:Good idea, this may require filterin=
g constraint to be extended to support multiple cost representations as a j=
oint constraint. I believe your draft has already specified
 this.</span></i></b><o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">&nbsp;</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">Last, as the intention is to filter the re=
sponse on the ALTO metric values, the ALTO Server is required only to provi=
de values meeting the constraints expressed in the request,
 but is not requested to provide values on the metrics involved in the cons=
traints. Note that an ALTO Server operator may wish to use metrics only for=
 filtering without unveiling the values, but this would require to extend t=
he base protocol with a status such
 as &#8220;hidden&#8221; or &#8220;filter-only&#8221;, which may be discuss=
ed when extending the ALTO Costs. &nbsp;</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#C00000">&nbsp;</span></i></b><o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#C00000">[Qin]: I believe this is related to how to=
 distinguish the case where filtering condition and output are based on the=
 same metric and the case where filtering condition and
 output are based on different cost metric.</span></i></b><o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p style=3D"margin-left:108.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">b.</span><span =
style=3D"font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1F497D">draft-randriamasy-alto-multi-cost-07 spec=
ifies one new cost metrics (i.e.,pathoccupationcost)</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] the draft actu=
ally proposes, see 3.1.4: Endpoint Nominal Memory, Endpoint Nominal Bandwid=
th (ie CPU capacity), endpoint Occupied Memory, Endpoint Occupied Bandwidth=
,
 Path Occupation Cost. The naming is just a proposal. Some of these metrics=
 may have values that change and are updated in different frequencies, but =
in no case are they real time measurements.
</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">, while draft-lee-alto-app-net-info-exchange-02
</span><o:p></o:p></p>
<p style=3D"margin-left:108.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">defines a new o=
bject called DstCostsConstraints which contains a list of cost metrics that=
 are not stable over a constant period(i.e., they are
</span><o:p></o:p></p>
<p style=3D"margin-left:108.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;dynamic p=
arameters). draft-wu-alto-json-te-01 gives a complete list of those cost me=
trics based on IETF standardization work</span><o:p></o:p></p>
<p style=3D"margin-left:108.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">(see draft-ietf=
-idr-ls-distribution-03,RFC5305,
<a href=3D"http://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt" target=
=3D"_blank">
<span style=3D"color:#1F497D;text-decoration:none">draft-wu-idr-te-pm-bgp</=
span></a>,draft-ietf-ospf-te-metric-extensions-04, draft-ietf-isis-te-metri=
c-extensions-00)
</span><o:p></o:p></p>
<p style=3D"margin-left:108.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">and define them=
 as a list of independent cost metrics.</span><o:p></o:p></p>
<p style=3D"margin-left:36.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nb=
sp;&nbsp;&nbsp; ] very interesting sets and proposals. I agree that it woul=
d be useful to list proposals on metrics and their definition as suggested =
by
 Richard in another thread. &nbsp;</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p style=3D"margin-left:108.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">c.</span><span =
style=3D"font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;
</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1F497D">draft-randriamasy-alto-multi-cost-07 requ=
ires cost value encoded as JSON Array rather than JSON while &nbsp;draft-le=
e-alto-app-net-info-exchange-02
</span><o:p></o:p></p>
<p style=3D"margin-left:108.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">also encode cos=
t value as JSON Array.
</span><o:p></o:p></p>
<p style=3D"margin-left:36.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nb=
sp;&nbsp;&nbsp; ] please correct me if I missed something, in the example o=
f draft-lee-alto-app-net-info-exchange-02, I see JSONArrays used to provide
 the value on each of the metrics expressed in the constraints for the admi=
ssible (S,D) pairs. No value is provided for the requested cost metric. I&#=
8217;m not sure I understand why and I think we may find a way to harmonize=
 views on expressing constraints.
</span></i></b><o:p></o:p></p>
<p style=3D"margin-left:36.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</sp=
an></i></b><o:p></o:p></p>
</div>
<p style=3D"margin-left:36.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#C00000">[Qin]: It =
seems you have already answered this by proposing &#8220;hidden&#8221; or &=
#8220;filter-only&#8221; to indicate the metrics only used for filtering.</=
span></i></b><o:p></o:p></p>
<p style=3D"margin-left:36.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#C00000">In my unde=
rstanding, in path computation to the network, usually we use constraints o=
nly for compute the path, e.g., end to end latency in the
 path is less than 100 milliseconds, what is returned is not computed cost =
metric but a list of links in the path or a list of endpoints in the path t=
hat satisfy the constraint. However in some cases,</span></i></b><o:p></o:p=
></p>
<p style=3D"margin-left:36.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#C00000">They do al=
low return computed cost metric to the client, e.g., we use end to end late=
ncy in the path less than 100 milliseconds as constraint,
 then we compute a path that satisfy this constraint, </span></i></b><o:p><=
/o:p></p>
<p style=3D"margin-left:36.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#C00000">Then the s=
erver can return the computed end to end latency (e.g.,50miliseconds) assoc=
iated with this path to the client.</span></i></b><o:p></o:p></p>
<div>
<p style=3D"margin-left:36.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</sp=
an></i></b><o:p></o:p></p>
<p style=3D"margin-left:36.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</sp=
an></i></b><o:p></o:p></p>
<p style=3D"margin-left:108.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">In addition, dr=
aft-lee-alto-app-net-info-exchange-02 defines linkentry object and support =
representing a
</span><o:p></o:p></p>
<p style=3D"margin-left:108.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">end to end path=
 with a list of links traversed in the path. draft-wu-alto-json-te-01 also =
defines link related metrics and uses linkname to identify
 each link.</span><o:p></o:p></p>
<p style=3D"margin-left:36.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nb=
sp;&nbsp;&nbsp; ] this looks very useful in cases where path costs and netw=
ork maps are detailed below the end 2 end level. I see an easy integration =
of
 this idea with the topology extension proposed by Richard that assumes &#8=
220;multi-switched&#8221; paths (or their abstraction). Though I don&#8217;=
t see a light and easy way to integrate constraints on path sections in the=
 base protocol.
</span></i></b><o:p></o:p></p>
<pre style=3D"margin-left:72.0pt"><span style=3D"color:#1F497D">&nbsp;</spa=
n><o:p></o:p></pre>
</div>
<pre style=3D"margin-left:36.0pt"><b><i><span style=3D"font-size:11.0pt;fon=
t-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#C00000">[Qin]:Yo=
ur observation is correct.</span></i></b><o:p></o:p></pre>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Thanks a lot!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Richard<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_A7A5844EB93EB94AB22C2068B10AD65A29442033FR711WXCHMBA01z_--

From bill.wu@huawei.com  Wed Oct 16 20:59:04 2013
Return-Path: <bill.wu@huawei.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 0D3DC11E8159 for <alto@ietfa.amsl.com>; Wed, 16 Oct 2013 20:59:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.377
X-Spam-Level: 
X-Spam-Status: No, score=-6.377 tagged_above=-999 required=5 tests=[AWL=0.221,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R7eEoLa+pjBG for <alto@ietfa.amsl.com>; Wed, 16 Oct 2013 20:58:55 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id 848AF11E822A for <alto@ietf.org>; Wed, 16 Oct 2013 20:58:50 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AZD78225; Thu, 17 Oct 2013 03:58:49 +0000 (GMT)
Received: from LHREML403-HUB.china.huawei.com (10.201.5.217) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.146.0; Thu, 17 Oct 2013 04:57:53 +0100
Received: from NKGEML402-HUB.china.huawei.com (10.98.56.33) by lhreml403-hub.china.huawei.com (10.201.5.217) with Microsoft SMTP Server (TLS) id 14.3.146.0; Thu, 17 Oct 2013 04:58:47 +0100
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.141]) by nkgeml402-hub.china.huawei.com ([10.98.56.33]) with mapi id 14.03.0146.000; Thu, 17 Oct 2013 11:58:35 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: ALTO Extension: A document defining multi-metrics filtering?
Thread-Index: AQHOyHALHY93+IaOIEi7gBrq1LoWBJn1fd/A////h4CAAYjv4IAAESGAgAEugoA=
Date: Thu, 17 Oct 2013 03:58:34 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA43C0C12D@nkgeml501-mbs.china.huawei.com>
References: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0B4D0@nkgeml501-mbs.china.huawei.com> <A7A5844EB93EB94AB22C2068B10AD65A29441D5E@FR711WXCHMBA01.zeu.alcatel-lucent.com> <B8F9A780D330094D99AF023C5877DABA43C0BCBF@nkgeml501-mbs.china.huawei.com> <CANUuoLr71We_nu11o_3UaCPFPhLF4cz_pumaF8bOWDX9q9iKtQ@mail.gmail.com>
In-Reply-To: <CANUuoLr71We_nu11o_3UaCPFPhLF4cz_pumaF8bOWDX9q9iKtQ@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.138.41.149]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA43C0C12Dnkgeml501mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: "ROOME, Wendy D \(Wendy\)" <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>, "choits@etri.re.kr" <choits@etri.re.kr>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 17 Oct 2013 03:59:04 -0000

--_000_B8F9A780D330094D99AF023C5877DABA43C0C12Dnkgeml501mbschi_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

From: yang.r.yang@gmail.com [mailto:yang.r.yang@gmail.com] On Behalf Of Y. =
Richard Yang
Sent: Thursday, October 17, 2013 1:43 AM
To: Qin Wu
Cc: RANDRIAMASY, SABINE (SABINE); IETF ALTO; ROOME, Wendy D (Wendy); ietf@n=
ico-schwan.de; Leeyoung; Greg Bernstein; choits@etri.re.kr; Dhruv Dhody
Subject: Re: ALTO Extension: A document defining multi-metrics filtering?

Dear Qin, Sabine,

Great discussions!

Here are two quick questions:


1.      I found the idea of distinguishing between "filtering-only" and "re=
vealing" quite interesting. Here is an "attack". Suppose latency is a "filt=
ering-only" metric: by specifying "latency <=3D 10 ms AND latency >=3D 5 ms=
" then will in a sense reveal the metric of latency. Even if we do not allo=
w AND, a client can make two queries and observe the difference. How may th=
is be addressed: specify that this is a controlled or semi-control environm=
ent, or impose other constraints on multiple queries?
[Qin]: Cost metric used as constraint is different from cost metric used as=
 output. The value of cost metric used as constraint is the requested value=
 or range of a cost metric, the value of cost metric used as output is comp=
uted value.

Take PCEP as example, a Metric Object is defined in RFC5440. In this Metric=
 Object, a flag bit 'C'(i.e.,comuted) is defined to indicate whether Path C=
omputation Client(PCC) asks Path Computation Element(PCE) to return compute=
d metric value. When the metric object is included in the PCE request messa=
ge sent from PCC to PCE, this metric object could be used as constraint, wh=
en it is included in PCE response sent from PCE to PCC, it can be used to r=
eturn the computed metric value.

Regarding controlled or semi-control, I think we need a parameter or a prop=
erty to indicate which one is computed value, which one is metric value for=
 a constraint.


2.      I actually see quite a lot synergy in the three docs. Personal, I w=
ould like to propose that we add a WG item on a general filtering service. =
What is the likelihood that there is some convergence on the design before =
IETF? Is there a need for an informal design meeting before the ALTO meetin=
g?


[Qin]: Agree and support.

Thanks a lot!

Richard

On Wed, Oct 16, 2013 at 5:01 AM, Qin Wu <bill.wu@huawei.com<mailto:bill.wu@=
huawei.com>> wrote:
From: RANDRIAMASY, SABINE (SABINE) [mailto:sabine.randriamasy@alcatel-lucen=
t.com<mailto:sabine.randriamasy@alcatel-lucent.com>]
Sent: Wednesday, October 16, 2013 1:16 AM
To: Qin Wu; Y. Richard Yang; IETF ALTO
Cc: ROOME, Wendy D (Wendy); ietf@nico-schwan.de<mailto:ietf@nico-schwan.de>=
; Leeyoung; Greg Bernstein; choits@etri.re.kr<mailto:choits@etri.re.kr>; Dh=
ruv Dhody
Subject: RE: ALTO Extension: A document defining multi-metrics filtering?

Hi Qin and all,

Thank to Richard and Qin for this discussion. Please see, my answers inline=
 to Qin on the design positioning for filtering constraints.
Thanks for your feedback,
Sabine


De : Qin Wu [mailto:bill.wu@huawei.com<mailto:bill.wu@huawei.com>]
Envoy=E9 : mardi 15 octobre 2013 11:50
=C0 : Y. Richard Yang; IETF ALTO
Cc : RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); ietf@nico-schwan=
.de<mailto:ietf@nico-schwan.de>; Leeyoung; Greg Bernstein; choits@etri.re.k=
r<mailto:choits@etri.re.kr>; Dhruv Dhody
Objet : RE: ALTO Extension: A document defining multi-metrics filtering?

>In particular, suppose the filtering is based on metrics M1 and M2, and th=
e output is M3, for a set src to a set dsts. The Client can use the followi=
ng three queries:

>- Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains <srcs1,=
 dsts1> in return;
>- Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains <srcs=
2, dsts2> in return;
>- Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final res=
ult.

>Although this is not too bad, it is inconvenient. Note that preceding is f=
irst discussed by Sabine, Wendy, Nico in:
>http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07

>I saw that this is also the issue discussed in
>- http://tools.ietf.org/html/draft-wu-alto-json-te-01
>- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02

>Hence, I propose that the WG extends the base protocol with this capabilit=
y, as I see that it is quite useful. One issue is that I see three designs,=
 and I am wondering if the authors are
>preparing on discussing their designs at the coming IETF, and if there is =
a possibility for a single, unified document, focusing on this issue.

By comparing the designs in three drafts, here is my rough analysis.
the difference between these drafts are:

a.       draft-randriamasy-alto-multi-cost-07 seems to assume filtering con=
dition and output are based on the same Cost metrics or a set of same metri=
cs.
[     ] Correct. The initial thought was to smoothly extend the format of b=
asic ALTO transactions (requ and responses) and handle only indexes of the =
multiple metrics listed in the Cost Type array.
               Both draft-lee-alto-app-net-info-exchange-02 and draft-wu-al=
to-json-te-01 allows filtering condition and output based on different cost=
 metrics
              and therefore it require filtering constraint   relaxing In t=
he ALTO base protocol.
[     ] We need to extend the base protocol filtering constraint as soon as=
 there is more than one metric in the set of constraints, which is the case=
 for all the 3 designs. It is a good idea to allow constraint involving met=
rics that do not belong to the set of requested cost metrics. One simple an=
d light way to implement this is to allow an indexing of the cost types in =
the IRD and simply use these indexes in the expressions of constraints.

Note that draft-randriamasy-alto-multi-cost-07 in addition proposes to rela=
te constraints by both logical AND and logical OR with the idea of supporti=
ng compromises such as  "either (solutions with moderate 'hopcount' AND  hi=
gh 'routingcost') OR (solutions with higher 'hopcount' AND moderate 'routin=
gcost')", see section 4.6.2 of the draft.

[Qin]:Good idea, this may require filtering constraint to be extended to su=
pport multiple cost representations as a joint constraint. I believe your d=
raft has already specified this.

Last, as the intention is to filter the response on the ALTO metric values,=
 the ALTO Server is required only to provide values meeting the constraints=
 expressed in the request, but is not requested to provide values on the me=
trics involved in the constraints. Note that an ALTO Server operator may wi=
sh to use metrics only for filtering without unveiling the values, but this=
 would require to extend the base protocol with a status such as "hidden" o=
r "filter-only", which may be discussed when extending the ALTO Costs.

[Qin]: I believe this is related to how to distinguish the case where filte=
ring condition and output are based on the same metric and the case where f=
iltering condition and output are based on different cost metric.


b.      draft-randriamasy-alto-multi-cost-07 specifies one new cost metrics=
 (i.e.,pathoccupationcost)
[     ] the draft actually proposes, see 3.1.4: Endpoint Nominal Memory, En=
dpoint Nominal Bandwidth (ie CPU capacity), endpoint Occupied Memory, Endpo=
int Occupied Bandwidth, Path Occupation Cost. The naming is just a proposal=
. Some of these metrics may have values that change and are updated in diff=
erent frequencies, but in no case are they real time measurements.
, while draft-lee-alto-app-net-info-exchange-02

defines a new object called DstCostsConstraints which contains a list of co=
st metrics that are not stable over a constant period(i.e., they are

 dynamic parameters). draft-wu-alto-json-te-01 gives a complete list of tho=
se cost metrics based on IETF standardization work

(see draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp<http=
://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt>,draft-ietf-ospf-te-metr=
ic-extensions-04, draft-ietf-isis-te-metric-extensions-00)

and define them as a list of independent cost metrics.

[     ] very interesting sets and proposals. I agree that it would be usefu=
l to list proposals on metrics and their definition as suggested by Richard=
 in another thread.


c.       draft-randriamasy-alto-multi-cost-07 requires cost value encoded a=
s JSON Array rather than JSON while  draft-lee-alto-app-net-info-exchange-0=
2

also encode cost value as JSON Array.

[     ] please correct me if I missed something, in the example of draft-le=
e-alto-app-net-info-exchange-02, I see JSONArrays used to provide the value=
 on each of the metrics expressed in the constraints for the admissible (S,=
D) pairs. No value is provided for the requested cost metric. I'm not sure =
I understand why and I think we may find a way to harmonize views on expres=
sing constraints.



[Qin]: It seems you have already answered this by proposing "hidden" or "fi=
lter-only" to indicate the metrics only used for filtering.

In my understanding, in path computation to the network, usually we use con=
straints only for compute the path, e.g., end to end latency in the path is=
 less than 100 milliseconds, what is returned is not computed cost metric b=
ut a list of links in the path or a list of endpoints in the path that sati=
sfy the constraint. However in some cases,

They do allow return computed cost metric to the client, e.g., we use end t=
o end latency in the path less than 100 milliseconds as constraint, then we=
 compute a path that satisfy this constraint,

Then the server can return the computed end to end latency (e.g.,50miliseco=
nds) associated with this path to the client.





In addition, draft-lee-alto-app-net-info-exchange-02 defines linkentry obje=
ct and support representing a

end to end path with a list of links traversed in the path. draft-wu-alto-j=
son-te-01 also defines link related metrics and uses linkname to identify e=
ach link.

[     ] this looks very useful in cases where path costs and network maps a=
re detailed below the end 2 end level. I see an easy integration of this id=
ea with the topology extension proposed by Richard that assumes "multi-swit=
ched" paths (or their abstraction). Though I don't see a light and easy way=
 to integrate constraints on path sections in the base protocol.



[Qin]:Your observation is correct.

Thanks a lot!

Richard


--_000_B8F9A780D330094D99AF023C5877DABA43C0C12Dnkgeml501mbschi_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.HTMLChar
	{mso-style-name:"HTML \9884\8BBE\683C\5F0F Char";
	mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F";
	font-family:Consolas;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:807092614;
	mso-list-type:hybrid;
	mso-list-template-ids:-1899178774 67698703 67698713 67698715 67698703 6769=
8713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> yang.r.y=
ang@gmail.com [mailto:yang.r.yang@gmail.com]
<b>On Behalf Of </b>Y. Richard Yang<br>
<b>Sent:</b> Thursday, October 17, 2013 1:43 AM<br>
<b>To:</b> Qin Wu<br>
<b>Cc:</b> RANDRIAMASY, SABINE (SABINE); IETF ALTO; ROOME, Wendy D (Wendy);=
 ietf@nico-schwan.de; Leeyoung; Greg Bernstein; choits@etri.re.kr; Dhruv Dh=
ody<br>
<b>Subject:</b> Re: ALTO Extension: A document defining multi-metrics filte=
ring?<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">Dear Qin, Sabine,<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Great discussions!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Here are two quick questions:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l0 leve=
l1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">1.<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>I found the idea of distinguishing between &quot;fi=
ltering-only&quot; and &quot;revealing&quot; quite interesting. Here is an =
&quot;attack&quot;. Suppose latency is a &quot;filtering-only&quot; metric:=
 by specifying &quot;latency &lt;=3D 10 ms AND latency &gt;=3D 5 ms&quot; t=
hen will in a sense
 reveal the metric of latency. Even if we do not allow AND, a client can ma=
ke two queries and observe the difference. How may this be addressed: speci=
fy that this is a controlled or semi-control environment, or impose other c=
onstraints on multiple queries?<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">[Qin]: Cost metric use=
d as constraint is different from cost metric used as output. The value of =
cost metric used as constraint is the requested value or range of a cost me=
tric, the value of cost metric used
 as output is computed value.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Take PCEP as example, =
a Metric Object is defined in RFC5440. In this Metric Object, a flag bit &#=
8216;C&#8217;(i.e.,comuted) is defined to indicate whether Path Computation=
 Client(PCC) asks Path Computation Element(PCE)
 to return computed metric value. When the metric object is included in the=
 PCE request message sent from PCC to PCE, this metric object could be used=
 as constraint, when it is included in PCE response sent from PCE to PCC, i=
t can be used to return the computed
 metric value.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Regarding controlled o=
r semi-control, I think we need a parameter or a property to indicate which=
 one is computed value, which one is metric value for a constraint.<o:p></o=
:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l0 leve=
l1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">2.<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>I actually see quite a lot synergy in the three doc=
s. Personal, I would like to propose that we add a WG item on a general fil=
tering service. What is the likelihood that there is some convergence on th=
e design before IETF? Is there a
 need for an informal design meeting before the ALTO meeting?<o:p></o:p></p=
>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">[Qin]: Agree and suppo=
rt.<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Thanks a lot!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Richard<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">On Wed, Oct 16, 2013 at 5:01 AM, Qin Wu &lt;<a href=
=3D"mailto:bill.wu@huawei.com" target=3D"_blank">bill.wu@huawei.com</a>&gt;=
 wrote:<o:p></o:p></p>
<div>
<div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,=
&quot;sans-serif&quot;">From:</span></b><span style=3D"font-size:10.0pt;fon=
t-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> RANDRIAMASY, SABINE (S=
ABINE)
 [mailto:<a href=3D"mailto:sabine.randriamasy@alcatel-lucent.com" target=3D=
"_blank">sabine.randriamasy@alcatel-lucent.com</a>]
<br>
<b>Sent:</b> Wednesday, October 16, 2013 1:16 AM<br>
<b>To:</b> Qin Wu; Y. Richard Yang; IETF ALTO<br>
<b>Cc:</b> ROOME, Wendy D (Wendy); <a href=3D"mailto:ietf@nico-schwan.de" t=
arget=3D"_blank">
ietf@nico-schwan.de</a>; Leeyoung; Greg Bernstein; <a href=3D"mailto:choits=
@etri.re.kr" target=3D"_blank">
choits@etri.re.kr</a>; Dhruv Dhody<br>
<b>Subject:</b> RE: ALTO Extension: A document defining multi-metrics filte=
ring?</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">Hi Qin and all,</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">Thank to Richard and Qin for this discu=
ssion. Please see, my answers inline to Qin on the design
 positioning for filtering constraints.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">Thanks for your feedback,
</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">Sabine</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><span lang=3D"FR" style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quo=
t;,&quot;sans-serif&quot;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"f=
ont-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Qin=
 Wu [mailto:<a href=3D"mailto:bill.wu@huawei.com" target=3D"_blank">bill.wu=
@huawei.com</a>]
<br>
<b>Envoy=E9&nbsp;:</b> mardi 15 octobre 2013 11:50<br>
<b>=C0&nbsp;:</b> Y. Richard Yang; IETF ALTO<br>
<b>Cc&nbsp;:</b> RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); <a h=
ref=3D"mailto:ietf@nico-schwan.de" target=3D"_blank">
ietf@nico-schwan.de</a>; Leeyoung; Greg Bernstein; <a href=3D"mailto:choits=
@etri.re.kr" target=3D"_blank">
choits@etri.re.kr</a>; Dhruv Dhody<br>
<b>Objet&nbsp;:</b> RE: ALTO Extension: A document defining multi-metrics f=
iltering?</span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
&gt;In particular, suppose the filtering is based on metrics M1 and M2, and=
 the output is M3, for a set src to a set dsts. The Client can use the foll=
owing three queries:<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
&gt;- Q1: Use single metric &lt;M1, filter on M1, srcs, dsts&gt; and obtain=
s &lt;srcs1, dsts1&gt; in return;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
&gt;- Q2: Use single metric &lt;M2, filter on M2, srcs1, dsts1&gt; and obta=
ins &lt;srcs2, dsts2&gt; in return;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
&gt;- Q3: Use single metric &lt;M3, no filter, srcs2, dsts2&gt; to get the =
final result.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"color:#1F497D">&gt;</span>Although this is not too bad, it i=
s inconvenient. Note that preceding is first discussed by Sabine, Wendy, Ni=
co in:<br>
<span style=3D"color:#1F497D">&gt;</span><a href=3D"http://tools.ietf.org/h=
tml/draft-randriamasy-alto-multi-cost-07" target=3D"_blank">http://tools.ie=
tf.org/html/draft-randriamasy-alto-multi-cost-07</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"color:#1F497D">&gt;</span>I saw that this is also the issue =
discussed in &nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"color:#1F497D">&gt;</span>-&nbsp;<a href=3D"http://tools.iet=
f.org/html/draft-wu-alto-json-te-01" target=3D"_blank">http://tools.ietf.or=
g/html/draft-wu-alto-json-te-01</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"color:#1F497D">&gt;</span>-&nbsp;<a href=3D"http://tools.iet=
f.org/html/draft-lee-alto-app-net-info-exchange-02" target=3D"_blank"><span=
 style=3D"font-size:9.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&qu=
ot;">http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02</sp=
an></a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"color:#1F497D">&gt;</span>Hence, I propose that the WG exten=
ds the base protocol with this capability, as I see that it is quite useful=
. One issue is that I see three designs, and I am wondering if the authors =
are
<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"color:#1F497D">&gt;</span>preparing on discussing their desi=
gns at the coming IETF, and if there is a possibility for a single, unified=
 document, focusing on this issue.<o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">By comparing the designs in three drafts, here i=
s my rough analysis.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">the difference between these drafts are:</span><=
o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">a.</span><span s=
tyle=3D"font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1F497D">draft-randriamasy-alto-multi-cost-07 seem=
s to assume filtering condition and output are based on the same Cost metri=
cs or a set of same metrics.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] Corre=
ct. The initial thought was to smoothly extend the format of basic ALTO tra=
nsactions
 (requ and responses) and handle only indexes of the multiple metrics liste=
d in the Cost Type array.
</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Both draft-lee-alto-app-net-info-excha=
nge-02 and draft-wu-alto-json-te-01 allows filtering condition and output b=
ased on different cost metrics
</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and therefore it require filtering cons=
traint &nbsp;&nbsp;relaxing In the ALTO base protocol.</span><o:p></o:p></p=
>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] We ne=
ed to extend the base protocol filtering constraint as soon as there is mor=
e than
 one metric in the set of constraints, which is the case for all the 3 desi=
gns. It is a good idea to allow constraint involving metrics that do not be=
long to the set of requested cost metrics. One simple and light way to impl=
ement this is to allow an indexing
 of the cost types in the IRD and simply use these indexes in the expressio=
ns of constraints.</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span></i></b><o:p></o:p><=
/p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D">Note that draft-randriamasy-alto-=
multi-cost-07 in addition proposes to relate constraints by
 both logical AND and logical OR with the idea of supporting compromises su=
ch as &nbsp;&#8220;either (solutions with moderate 'hopcount' AND &nbsp;hig=
h 'routingcost') OR (solutions with higher 'hopcount' AND moderate 'routing=
cost')&#8221;, see section 4.6.2 of the draft.
</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span></i></b><o:p></o:p><=
/p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#C00000">[Qin]:Good idea, this may require=
 filtering constraint to be extended to support multiple cost
 representations as a joint constraint. I believe your draft has already sp=
ecified this.</span></i></b><o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span></i></b><o:p></o:p><=
/p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D">Last, as the intention is to filt=
er the response on the ALTO metric values, the ALTO Server
 is required only to provide values meeting the constraints expressed in th=
e request, but is not requested to provide values on the metrics involved i=
n the constraints. Note that an ALTO Server operator may wish to use metric=
s only for filtering without unveiling
 the values, but this would require to extend the base protocol with a stat=
us such as &#8220;hidden&#8221; or &#8220;filter-only&#8221;, which may be =
discussed when extending the ALTO Costs. &nbsp;</span></i></b><o:p></o:p></=
p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#C00000">&nbsp;</span></i></b><o:p></o:p><=
/p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#C00000">[Qin]: I believe this is related =
to how to distinguish the case where filtering condition and
 output are based on the same metric and the case where filtering condition=
 and output are based on different cost metric.</span></i></b><o:p></o:p></=
p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">b.</span><span s=
tyle=3D"font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1F497D">draft-randriamasy-alto-multi-cost-07 spec=
ifies one new cost metrics (i.e.,pathoccupationcost)</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] the d=
raft actually proposes, see 3.1.4: Endpoint Nominal Memory, Endpoint Nomina=
l Bandwidth
 (ie CPU capacity), endpoint Occupied Memory, Endpoint Occupied Bandwidth, =
Path Occupation Cost. The naming is just a proposal. Some of these metrics =
may have values that change and are updated in different frequencies, but i=
n no case are they real time measurements.
</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">, while draft-lee-alto-app-net-info-exchange-02
</span><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">defines a new ob=
ject called DstCostsConstraints which contains a list of cost metrics that =
are not stable over a constant period(i.e., they are
</span><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;dynamic pa=
rameters). draft-wu-alto-json-te-01 gives a complete list of those cost met=
rics based on IETF standardization work</span><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">(see draft-ietf-=
idr-ls-distribution-03,RFC5305,
<a href=3D"http://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt" target=
=3D"_blank">
<span style=3D"color:#1F497D;text-decoration:none">draft-wu-idr-te-pm-bgp</=
span></a>,draft-ietf-ospf-te-metric-extensions-04, draft-ietf-isis-te-metri=
c-extensions-00)
</span><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">and define them =
as a list of independent cost metrics.</span><o:p></o:p></p>
<p><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] very intere=
sting sets and proposals. I agree that it would be useful to list proposals=
 on metrics and their definition as suggested by Richard in another thread.
 &nbsp;</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">c.</span><span s=
tyle=3D"font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1F497D">draft-randriamasy-alto-multi-cost-07 requ=
ires cost value encoded as JSON Array rather than JSON while &nbsp;draft-le=
e-alto-app-net-info-exchange-02
</span><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">also encode cost=
 value as JSON Array.
</span><o:p></o:p></p>
<p><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] please corr=
ect me if I missed something, in the example of draft-lee-alto-app-net-info=
-exchange-02, I see JSONArrays used to provide the value on each of the met=
rics
 expressed in the constraints for the admissible (S,D) pairs. No value is p=
rovided for the requested cost metric. I&#8217;m not sure I understand why =
and I think we may find a way to harmonize views on expressing constraints.
</span></i></b><o:p></o:p></p>
<p><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span></i></b><o:p></o:p></p>
</div>
<p><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#C00000">[Qin]: It seems you have already answer=
ed this by proposing &#8220;hidden&#8221; or &#8220;filter-only&#8221; to i=
ndicate the metrics only used for filtering.</span></i></b><o:p></o:p></p>
<p><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#C00000">In my understanding, in path computatio=
n to the network, usually we use constraints only for compute the path, e.g=
., end to end latency in the path is less than 100 milliseconds,
 what is returned is not computed cost metric but a list of links in the pa=
th or a list of endpoints in the path that satisfy the constraint. However =
in some cases,</span></i></b><o:p></o:p></p>
<p><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#C00000">They do allow return computed cost metr=
ic to the client, e.g., we use end to end latency in the path less than 100=
 milliseconds as constraint, then we compute a path that
 satisfy this constraint, </span></i></b><o:p></o:p></p>
<p><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#C00000">Then the server can return the computed=
 end to end latency (e.g.,50miliseconds) associated with this path to the c=
lient.</span></i></b><o:p></o:p></p>
<div>
<p><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span></i></b><o:p></o:p></p>
<p><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span></i></b><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">In addition, dra=
ft-lee-alto-app-net-info-exchange-02 defines linkentry object and support r=
epresenting a
</span><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><span style=3D"font-size:11.0pt;font-family=
:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">end to end path =
with a list of links traversed in the path. draft-wu-alto-json-te-01 also d=
efines link related metrics and uses linkname to identify
 each link.</span><o:p></o:p></p>
<p><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] this looks =
very useful in cases where path costs and network maps are detailed below t=
he end 2 end level. I see an easy integration of this idea with the topolog=
y
 extension proposed by Richard that assumes &#8220;multi-switched&#8221; pa=
ths (or their abstraction). Though I don&#8217;t see a light and easy way t=
o integrate constraints on path sections in the base protocol.
</span></i></b><o:p></o:p></p>
<pre style=3D"margin-left:36.0pt"><span style=3D"color:#1F497D">&nbsp;</spa=
n><o:p></o:p></pre>
</div>
<pre><b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,=
&quot;sans-serif&quot;;color:#C00000">[Qin]:Your observation is correct.</s=
pan></i></b><o:p></o:p></pre>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
Thanks a lot!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
Richard<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_B8F9A780D330094D99AF023C5877DABA43C0C12Dnkgeml501mbschi_--

From michael.scharf@alcatel-lucent.com  Thu Oct 17 00:19:42 2013
Return-Path: <michael.scharf@alcatel-lucent.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 AE86821F9EB0 for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 00:19:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_13=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GA+k6anbG1mF for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 00:19:36 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id C61B321F9E9F for <alto@ietf.org>; Thu, 17 Oct 2013 00:19:36 -0700 (PDT)
Received: from fr712usmtp2.zeu.alcatel-lucent.com (h135-239-2-42.lucent.com [135.239.2.42]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r9H7JW6i023308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Thu, 17 Oct 2013 02:19:33 -0500 (CDT)
Received: from FR712WXCHHUB03.zeu.alcatel-lucent.com (fr712wxchhub03.zeu.alcatel-lucent.com [135.239.2.74]) by fr712usmtp2.zeu.alcatel-lucent.com (GMO) with ESMTP id r9H7JV6j004880 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for <alto@ietf.org>; Thu, 17 Oct 2013 09:19:32 +0200
Received: from FR712WXCHMBA15.zeu.alcatel-lucent.com ([169.254.7.203]) by FR712WXCHHUB03.zeu.alcatel-lucent.com ([135.239.2.74]) with mapi id 14.02.0247.003; Thu, 17 Oct 2013 09:19:31 +0200
From: "Scharf, Michael (Michael)" <michael.scharf@alcatel-lucent.com>
To: "alto@ietf.org" <alto@ietf.org>
Thread-Topic: "Running code" for draft-scharf-alto-vpn-service
Thread-Index: Ac7LCThQWILu7H32TPaZQR15efG0Dg==
Date: Thu, 17 Oct 2013 07:19:30 +0000
Message-ID: <655C07320163294895BBADA28372AF5D0E3655@FR712WXCHMBA15.zeu.alcatel-lucent.com>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.239.27.41]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
Subject: [alto] "Running code" for draft-scharf-alto-vpn-service
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 17 Oct 2013 07:19:42 -0000

Hi all,

This links refers to an EWSDN workshop presentation showing a prototype of =
draft-scharf-alto-vpn-service: http://www.ewsdn.eu/presentations/Presentati=
ons_2013/2013-10-10_ewsdn_Scharf.pdf

The corresponding paper will hopefully appear soon in IEEExplore.=20

The prototype uses Wendy's ALTO server and currently only handles L3VPN. As=
 discussed in the draft, other VPN types would need ALTO extensions.

Thanks

Michael


From sebi@gw01.ehlo.wurstkaes.de  Thu Oct 17 05:04:41 2013
Return-Path: <sebi@gw01.ehlo.wurstkaes.de>
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 0A7B321F9E7C for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 05:04:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.913
X-Spam-Level: 
X-Spam-Status: No, score=-1.913 tagged_above=-999 required=5 tests=[AWL=0.687,  BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GQE77bDf6ixo for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 05:04:40 -0700 (PDT)
Received: from gw01.ehlo.wurstkaes.de (gw01.ehlo.wurstkaes.de [IPv6:2a02:a00:e000:116::41]) by ietfa.amsl.com (Postfix) with ESMTP id 657F821F9E1D for <alto@ietf.org>; Thu, 17 Oct 2013 05:04:39 -0700 (PDT)
Received: from sebi by gw01.ehlo.wurstkaes.de with local (Exim 4.80) (envelope-from <sebi@gw01.ehlo.wurstkaes.de>) id 1VWmJb-0002v4-E1; Thu, 17 Oct 2013 14:04:31 +0200
Date: Thu, 17 Oct 2013 14:04:31 +0200
From: Sebastian Kiesel <ietf-alto@skiesel.de>
To: Enrico Marocco <enrico.marocco@telecomitalia.it>
Message-ID: <20131017120431.GP9262@gw01.ehlo.wurstkaes.de>
References: <525CF276.1030501@telecomitalia.it>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <525CF276.1030501@telecomitalia.it>
Accept-Languages: en, de
Organization: my personal mail account
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] WG adoption of *-3pdisc and *-ip-based-srv-disc drafts
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 17 Oct 2013 12:04:41 -0000

Dear all,

On Tue, Oct 15, 2013 at 09:44:54AM +0200, Enrico Marocco wrote:
> Dear WG participants:
> 
> we would like to check consensus on the adoption of the following drafts
> that will complement the server discovery deliverable in the current
> ALTO WG charter:
> 
>   + draft-kiesel-alto-ip-based-srv-disc
>   + draft-kist-alto-3pdisc

[writing as a co-author of these two drafts]

Of course I think both drafts are useful and should be adopted, but
I leave the decision up to our valued chairmen whether to consider/count
this statement. :)



[writing as a co-author of RFC 6708 (ALTO requirements)]

I'd like to bring to your attention that AR-33 (third-party discovery)
is the only requirement we have documented, for which no WG item
specification exists so far.  
draft-kist-alto-3pdisc provides a solution for this requirement.
However, if someone knows another (better?) solution, please share it
with us now.

AR-32 (resource consumer initiated ALTO server discovery) is supported
by draft-ietf-alto-server-discovery-10, which is now in the RFC editor
queue.  While this draft is definitely uselful in several important
deployment scenarios, it is not 100% optimal in the light of AR-37.
This is where draft-kiesel-alto-ip-based-srv-disc fits in.

Thanks
Sebastian

From sabine.randriamasy@alcatel-lucent.com  Thu Oct 17 10:41:00 2013
Return-Path: <sabine.randriamasy@alcatel-lucent.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 E4DBA21F9CAD for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 10:40:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.298
X-Spam-Level: 
X-Spam-Status: No, score=-10.298 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3iHk4dDD67Bx for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 10:40:49 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id 72F0F21F9A78 for <alto@ietf.org>; Thu, 17 Oct 2013 10:40:47 -0700 (PDT)
Received: from fr711usmtp1.zeu.alcatel-lucent.com (h135-239-2-122.lucent.com [135.239.2.122]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r9HHeRdE025793 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 17 Oct 2013 12:40:28 -0500 (CDT)
Received: from FR711WXCHHUB02.zeu.alcatel-lucent.com (fr711wxchhub02.zeu.alcatel-lucent.com [135.239.2.112]) by fr711usmtp1.zeu.alcatel-lucent.com (GMO) with ESMTP id r9HHeQkJ028484 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 17 Oct 2013 19:40:27 +0200
Received: from FR711WXCHMBA01.zeu.alcatel-lucent.com ([169.254.1.168]) by FR711WXCHHUB02.zeu.alcatel-lucent.com ([135.239.2.112]) with mapi id 14.02.0247.003; Thu, 17 Oct 2013 19:40:26 +0200
From: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>, IETF ALTO <alto@ietf.org>
Thread-Topic: ALTO Extension: A document defining multi-metrics filtering?
Thread-Index: AQHOyIb/S2ZXCjq9Yk+trIthkm0rq5n5D4fA
Date: Thu, 17 Oct 2013 17:40:26 +0000
Message-ID: <A7A5844EB93EB94AB22C2068B10AD65A294423FE@FR711WXCHMBA01.zeu.alcatel-lucent.com>
References: <CANUuoLrYSOykB6YyvNSj2Zvrw-ZQiJoFFBoMCXLzkpgW37T1HA@mail.gmail.com>
In-Reply-To: <CANUuoLrYSOykB6YyvNSj2Zvrw-ZQiJoFFBoMCXLzkpgW37T1HA@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.239.27.39]
Content-Type: multipart/alternative; boundary="_000_A7A5844EB93EB94AB22C2068B10AD65A294423FEFR711WXCHMBA01z_"
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
Cc: "ROOME, Wendy D \(Wendy\)" <w.roome@alcatel-lucent.com>, "choits@etri.re.kr" <choits@etri.re.kr>, Qin Wu <bill.wu@huawei.com>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 17 Oct 2013 17:41:02 -0000

--_000_A7A5844EB93EB94AB22C2068B10AD65A294423FEFR711WXCHMBA01z_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

A few questions and comments inline to make sure I understood. If we are to=
 document proposed filtering services, should we put separate sections, one=
 on filtering services for the basic protocol and the other one, more prosp=
ective for protocol extensions on topologies?
Thanks
Sabine


De : yang.r.yang@gmail.com [mailto:yang.r.yang@gmail.com] De la part de Y. =
Richard Yang
Envoy=E9 : lundi 14 octobre 2013 04:42
=C0 : IETF ALTO
Cc : RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); ietf@nico-schwan=
.de; Qin Wu; Young Lee; Greg Bernstein; choits@etri.re.kr; dhruv.dhody
Objet : Re: ALTO Extension: A document defining multi-metrics filtering?

Let me add on: although a filtering service can be a very useful service, i=
t can also be quite involved, and hence the WG may need to think through th=
e issues when designing this service. For example, there are two types of u=
se cases:

- end-to-end: given src set {s1, s2, s3, ..., sn} and dst set {d1, d2, d3, =
..., dm}, return all pairs (si, dj), where si in {s1, ..., sn} and dj in {d=
1, ..., dm} such that (si, dj) satisfies the constraints;
[     ] This use case corresponds to the base protocol. The requested servi=
ce is the ALTO Cost Map Filtering Service w.r.t metric values. It seems eas=
y to extend this service by extending the set of constraints with additiona=
l constraints metrics and additional logical operators.

- relay: given src s, dst d, and a relay candidate set {r1, r2, ..., rk}, r=
eturn all of the ri such that s -> ri -> d satisfies the constraints.
[     ] This use case relates to a proposed ALTO extension on topologies pr=
oviding cost maps where there may be several paths between an (S,D) pair. I=
s the ALTO Service here the ALTO Cost Map Filtering Service w.r.t metric va=
lues adapted to a multi-path topology?  The cost map here would need to inc=
lude some index on the cost value w.r.t. the relay ID and the service would=
 only return cost values on the indexed (S,D, idx) triples satisfying the c=
onstraints. If this is correct, then such a use case would well fit into fi=
ltering services for topology based ALTO  extensions.

Note that with relay, we will then need to worry about the "composition" se=
mantics of metrics. For example, delay might be additive, loss rate (unless=
 small and independent) may not be.
[     ] I think the composition and optimization operators should be docume=
nted in any case (I think in the "use and application" field of the RFC6390=
 template). Indeed, the OPTIMUM-COMPOSITION attributes may be MIN-SUM, MAX-=
MIN, MIN-PROD etc...

In the base protocol an e2e cost value provided by the server is already co=
mposed and abstracted. But if we have a protocol extension that details pat=
hs per sections,  then indeed e2e path cost composition may have to be done=
 at  the ALTO Client side.

The relay could be even fancier (e.g., one-hop server detour such as Akamai=
 one-hop detour and hence may involved two relay servers), but it may or ma=
y not be a good idea to go too complex, depending on if the WG can define a=
 clean API (e.g., SQL select/where grammar comes to mind quickly).

Thanks!

Richard
On Sun, Oct 13, 2013 at 7:57 PM, Y. Richard Yang <yry@cs.yale.edu<mailto:yr=
y@cs.yale.edu>> wrote:
Dear all,

The base ALTO protocol (http://www.ietf.org/id/draft-ietf-alto-protocol-20.=
txt) is mostly a single-cost-metric centric:

- The Cost Map filtering service uses only one cost-type (Sec. 11.3.2.3):

     object {
     CostType   cost-type;
     [JSONString constraints<0..*>;]
     [PIDFilter  pids;]
   } ReqFilteredCostMap;

   object {
     PIDName srcs<0..*>;
     PIDName dsts<0..*>;
   } PIDFilter;

...
 constraints  Defines a list of additional constraints on which
      elements of the Cost Map are returned.  This parameter MUST NOT be
      specified if this resource's capabilities (Section 11.3.2.4)
      indicate that constraint support is not available.  A constraint
      contains two entities separated by whitespace: (1) an operator,
      'gt' for greater than, 'lt' for less than, 'ge' for greater than
      or equal to, 'le' for less than or equal to, or 'eq' for equal to;
      (2) a target cost value.

- The Endpoint Cost service allows filtering (Sec. 11.5.1.3) as well, and i=
s similar to Cost Map Filtering:

   object {
     CostType          cost-type;
     [JSONString       constraints<0..*>;]
     EndpointFilter    endpoints;
   } ReqEndpointCostMap;

   object {
     [TypedEndpointAddr srcs<0..*>;]
     [TypedEndpointAddr dsts<0..*>;]
   } EndpointFilter;

   constraints  Defined equivalently to the "constraints" input
      parameter of a Filtered Cost Map (see Section 11.3.2).

In other words, in the base protocol, the filtering condition and the outpu=
t are based on the same Cost Metric. It is natural that the filtering and t=
he output are based on different Cost metrics. For example, a Client asks f=
or routingcost for only pairs whose latency is below a threshold (see use c=
ases in http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07).

One may argue that the filter-metric-no-equal-to-output-metric function can=
 be implemented on top of the filter-and-output-using-one-metric function:

In particular, suppose the filtering is based on metrics M1 and M2, and the=
 output is M3, for a set src to a set dsts. The Client can use the followin=
g three queries:

- Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains <srcs1, =
dsts1> in return;
- Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains <srcs2=
, dsts2> in return;
- Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final resu=
lt.

Although this is not too bad, it is inconvenient. Note that preceding is fi=
rst discussed by Sabine, Wendy, Nico in:
http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07

I saw that this is also the issue discussed in
- http://tools.ietf.org/html/draft-wu-alto-json-te-01
- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02

Hence, I propose that the WG extends the base protocol with this capability=
, as I see that it is quite useful. One issue is that I see three designs, =
and I am wondering if the authors are preparing on discussing their designs=
 at the coming IETF, and if there is a possibility for a single, unified do=
cument, focusing on this issue.

Thanks a lot!

Richard


--_000_A7A5844EB93EB94AB22C2068B10AD65A294423FEFR711WXCHMBA01z_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.hoenzb
	{mso-style-name:hoenzb;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">A few questions and comme=
nts inline to make sure I understood. If we are to document proposed filter=
ing services, should we put separate sections, one on filtering
 services for the basic protocol and the other one, more prospective for pr=
otocol extensions on topologies?
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sabine<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> yang.r.yang@gmail.com [mai=
lto:yang.r.yang@gmail.com]
<b>De la part de</b> Y. Richard Yang<br>
<b>Envoy=E9&nbsp;:</b> lundi 14 octobre 2013 04:42<br>
<b>=C0&nbsp;:</b> IETF ALTO<br>
<b>Cc&nbsp;:</b> RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); ietf=
@nico-schwan.de; Qin Wu; Young Lee; Greg Bernstein; choits@etri.re.kr; dhru=
v.dhody<br>
<b>Objet&nbsp;:</b> Re: ALTO Extension: A document defining multi-metrics f=
iltering?<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Let me add on: although=
 a filtering service can be a very useful service, it can also be quite inv=
olved, and hence the WG may need to think through the issues when designing=
 this service. For example, there are
 two types of use cases:<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- end-to-end: given src=
 set {s1, s2, s3, ..., sn} and dst set {d1, d2, d3, ..., dm}, return all pa=
irs (si, dj), where si in {s1, ..., sn} and dj in {d1, ..., dm} such that (=
si, dj) satisfies the constraints;<o:p></o:p></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] This use case corresponds to the base protocol. The requested serv=
ice is the ALTO Cost Map Filtering Service w.r.t metric values. It seems ea=
sy
 to extend this service by extending the set of constraints with additional=
 constraints metrics and additional logical operators.
</span></i></b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- relay: given src s, d=
st d, and a relay candidate set {r1, r2, ..., rk}, return all of the ri suc=
h that s -&gt; ri -&gt; d satisfies the constraints.&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] This use case relates to a proposed ALTO extension on topologies p=
roviding cost maps where there may be several paths between an (S,D) pair. =
Is
 the ALTO Service here the ALTO Cost Map Filtering Service w.r.t metric val=
ues adapted to a multi-path topology? &nbsp;The cost map here would need to=
 include some index on the cost value w.r.t. the relay ID and the service w=
ould only return cost values on the indexed
 (S,D, idx) triples satisfying the constraints. If this is correct, then su=
ch a use case would well fit into filtering services for topology based ALT=
O &nbsp;extensions.
</span></i></b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Note that with relay, w=
e will then need to worry about the &quot;composition&quot; semantics of me=
trics. For example, delay might be additive, loss rate (unless small and in=
dependent) may not be.<o:p></o:p></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] I think the composition and optimization operators should be docum=
ented in any case (I think in the &#8220;use and application&#8221; field o=
f the RFC6390
 template). Indeed, the OPTIMUM-COMPOSITION attributes may be MIN-SUM, MAX-=
MIN, MIN-PROD etc&#8230;
<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></=
span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">In the base protoco=
l an e2e cost value provided by the server is already composed and abstract=
ed. But if we have a protocol extension that details paths
 per sections, &nbsp;then indeed e2e path cost composition may have to be d=
one at &nbsp;the ALTO Client side.
<o:p></o:p></span></i></b></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">The relay could be even=
 fancier (e.g., one-hop server detour such as Akamai one-hop detour and hen=
ce may involved two relay servers), but it may or may not be a good idea to=
 go too complex, depending on if the
 WG can define a clean API (e.g., SQL select/where grammar comes to mind qu=
ickly).<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Thanks!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:0cm;margin-right:0cm;mar=
gin-bottom:12.0pt;margin-left:36.0pt">
Richard<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">On Sun, Oct 13, 2013 at=
 7:57 PM, Y. Richard Yang &lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"=
_blank">yry@cs.yale.edu</a>&gt; wrote:<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Dear all,<o:p></o:p></p=
>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">The base ALTO protocol =
(<a href=3D"http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt" target=
=3D"_blank">http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt</a>) is =
mostly a single-cost-metric centric:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- The Cost Map filterin=
g service uses only one cost-type (Sec. 11.3.2.3):<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp;obj=
ect {<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp;Cos=
tType &nbsp; cost-type;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp;[JS=
ONString constraints&lt;0..*&gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp;[PI=
DFilter &nbsp;pids;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;} ReqFilte=
redCostMap;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;object {<o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp;PID=
Name srcs&lt;0..*&gt;;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp;PID=
Name dsts&lt;0..*&gt;;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;} PIDFilte=
r;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">...<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;constraints &nbsp=
;Defines a list of additional constraints on which<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp; el=
ements of the Cost Map are returned. &nbsp;This parameter MUST NOT be<o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp; sp=
ecified if this resource's capabilities (Section 11.3.2.4)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp; in=
dicate that constraint support is not available. &nbsp;A constraint<o:p></o=
:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp; co=
ntains two entities separated by whitespace: (1) an operator,<o:p></o:p></p=
>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp; 'g=
t' for greater than, 'lt' for less than, 'ge' for greater than<o:p></o:p></=
p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp; or=
 equal to, 'le' for less than or equal to, or 'eq' for equal to;<o:p></o:p>=
</p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp; (2=
) a target cost value.&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- The Endpoint Cost ser=
vice allows filtering (Sec. 11.5.1.3) as well, and is similar to Cost Map F=
iltering:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;object {<o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp;Cos=
tType &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cost-type;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp;[JS=
ONString &nbsp; &nbsp; &nbsp; constraints&lt;0..*&gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp;End=
pointFilter &nbsp; &nbsp;endpoints;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;} ReqEndpo=
intCostMap;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;object {<o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp;[Ty=
pedEndpointAddr srcs&lt;0..*&gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp;[Ty=
pedEndpointAddr dsts&lt;0..*&gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;} Endpoint=
Filter;<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;constraint=
s &nbsp;Defined equivalently to the &quot;constraints&quot; input<o:p></o:p=
></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp; &nbsp; pa=
rameter of a Filtered Cost Map (see Section 11.3.2).<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">In other words, in the =
base protocol, the filtering condition and the output are based on the same=
 Cost Metric. It is natural that the filtering and the output are based on =
different Cost metrics. For example,
 a Client asks for routingcost for only pairs whose latency is below a thre=
shold (see use cases in
<a href=3D"http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07"=
 target=3D"_blank">
http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07</a>).&nbsp;=
<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">One may argue that the =
filter-metric-no-equal-to-output-metric function can be implemented on top =
of the filter-and-output-using-one-metric function:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">In particular, suppose =
the filtering is based on metrics M1 and M2, and the output is M3, for a se=
t src to a set dsts. The Client can use the following three queries:<o:p></=
o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- Q1: Use single metric=
 &lt;M1, filter on M1, srcs, dsts&gt; and obtains &lt;srcs1, dsts1&gt; in r=
eturn;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- Q2: Use single metric=
 &lt;M2, filter on M2, srcs1, dsts1&gt; and obtains &lt;srcs2, dsts2&gt; in=
 return;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- Q3: Use single metric=
 &lt;M3, no filter, srcs2, dsts2&gt; to get the final result.<o:p></o:p></p=
>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Although this is not to=
o bad, it is inconvenient. Note that preceding is first discussed by Sabine=
, Wendy, Nico in:<br>
<a href=3D"http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07"=
 target=3D"_blank">http://tools.ietf.org/html/draft-randriamasy-alto-multi-=
cost-07</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">I saw that this is also=
 the issue discussed in &nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">-&nbsp;<a href=3D"http:=
//tools.ietf.org/html/draft-wu-alto-json-te-01" target=3D"_blank">http://to=
ols.ietf.org/html/draft-wu-alto-json-te-01</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">-&nbsp;<a href=3D"http:=
//tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02" target=3D"_b=
lank"><span style=3D"font-size:9.5pt;font-family:&quot;Arial&quot;,&quot;sa=
ns-serif&quot;">http://tools.ietf.org/html/draft-lee-alto-app-net-info-exch=
ange-02</span></a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Hence, I propose that t=
he WG extends the base protocol with this capability, as I see that it is q=
uite useful. One issue is that I see three designs, and I am wondering if t=
he authors are preparing on discussing
 their designs at the coming IETF, and if there is a possibility for a sing=
le, unified document, focusing on this issue.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Thanks a lot!<o:p></o:p=
></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#8=
88888"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#8=
88888">Richard<o:p></o:p></span></p>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_A7A5844EB93EB94AB22C2068B10AD65A294423FEFR711WXCHMBA01z_--

From sabine.randriamasy@alcatel-lucent.com  Thu Oct 17 11:17:25 2013
Return-Path: <sabine.randriamasy@alcatel-lucent.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 DE6E111E8146 for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 11:17:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.523
X-Spam-Level: 
X-Spam-Status: No, score=-10.523 tagged_above=-999 required=5 tests=[AWL=0.075, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nz4u2HiNzt5J for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 11:17:20 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id F08D111E8116 for <alto@ietf.org>; Thu, 17 Oct 2013 11:17:16 -0700 (PDT)
Received: from fr712usmtp2.zeu.alcatel-lucent.com (h135-239-2-42.lucent.com [135.239.2.42]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r9HIH4L7006198 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 17 Oct 2013 13:17:05 -0500 (CDT)
Received: from FR711WXCHHUB02.zeu.alcatel-lucent.com (fr711wxchhub02.zeu.alcatel-lucent.com [135.239.2.112]) by fr712usmtp2.zeu.alcatel-lucent.com (GMO) with ESMTP id r9HIH3dK031595 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 17 Oct 2013 20:17:03 +0200
Received: from FR711WXCHMBA01.zeu.alcatel-lucent.com ([169.254.1.168]) by FR711WXCHHUB02.zeu.alcatel-lucent.com ([135.239.2.112]) with mapi id 14.02.0247.003; Thu, 17 Oct 2013 20:17:03 +0200
From: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>, IETF ALTO <alto@ietf.org>
Thread-Topic: ALTO Extension: Defining a Cost Metrics document?
Thread-Index: AQHOyGq+4uXNZ1CeREy4alNEanaEcpn5MLNg
Date: Thu, 17 Oct 2013 18:17:02 +0000
Message-ID: <A7A5844EB93EB94AB22C2068B10AD65A29442420@FR711WXCHMBA01.zeu.alcatel-lucent.com>
References: <CANUuoLpy5Budcx+tJCeExeYC_yTcQ9J2gC7HsXcjCvhOi7p_Vg@mail.gmail.com>
In-Reply-To: <CANUuoLpy5Budcx+tJCeExeYC_yTcQ9J2gC7HsXcjCvhOi7p_Vg@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.239.27.39]
Content-Type: multipart/alternative; boundary="_000_A7A5844EB93EB94AB22C2068B10AD65A29442420FR711WXCHMBA01z_"
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
Cc: "choits@etri.re.kr" <choits@etri.re.kr>, Qin Wu <bill.wu@huawei.com>
Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 17 Oct 2013 18:17:26 -0000

--_000_A7A5844EB93EB94AB22C2068B10AD65A29442420FR711WXCHMBA01z_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

This is definitely a good idea and it will be interesting to merge the metr=
ic definitions of the current drafts. I started the exercise, using the RFC=
 6390 definition template and found that there are other definition attribu=
tes that highlight the attractiveness of the ALTO Service that may be used =
at several layers of the network, with several levels of control and by sev=
eral parties.

There has been a number of metrics proposed besides 'routingcost' and 'hopc=
ount'.  One aspect that should be documented is the usage of such metrics i=
n different environments. For instance, some drafts assume a controlled env=
ironment where metric values are closer or equal to real values where as ot=
her drafts assume a less or no access control and propose abstracted metric=
 values to reflect preferences w.r.t. these metrics.

So it could be useful to include attributes in the metric definition reflec=
ting their degree (may be yes/no) of abstraction, or whether their values a=
re explicitly provided or are just used in a hidden way to filter or tie-br=
eak other metric values.

Besides, most currently documented ALTO metrics relate to the transport top=
ology where as the protocol architecture and initial extension discussions =
mentioned metrics relating to capabilities, of endpoints such as storage or=
 CPU capacity. So I could be useful to document the potential providers of =
the different metrics and the potential users.

What is your opinion?

Thanks
Sabine




De : yang.r.yang@gmail.com [mailto:yang.r.yang@gmail.com] De la part de Y. =
Richard Yang
Envoy=E9 : lundi 14 octobre 2013 01:20
=C0 : IETF ALTO
Cc : choits@etri.re.kr; RANDRIAMASY, SABINE (SABINE); dhruv.dhody@huawei.co=
m; Greg Bernstein; Qin Wu; Young Lee
Objet : ALTO Extension: Defining a Cost Metrics document?

Dear all,

I am reading up on the documents that define cost metrics.

The motivation is that the base ALTO protocol (http://www.ietf.org/id/draft=
-ietf-alto-protocol-20.txt) has defined only one Cost Metric: 'routingcost'=
:

- Defined the semantics at Sec. 6.1.1.1 of , and then listed it at Table 3.

- Used "hopcount" in examples of Sec. 9.2.3 and 9.2.4, but the semantics of=
 not formally defined.

Given the aforementioned state of the base protocol, I see good value in th=
at the WG produces a WG document that defines a relatively complete set of =
Cost Metrics.

I particular, I read the following:

- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02
  (Sec. 3.4 introduced three metrics: hopcount, latency, pktcost, and cost)

- http://tools.ietf.org/html/draft-wu-alto-json-te-01
  Defined a set of metrics: in Sec. 4. This work, as stated in the document=
, is motivated by

- http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt

During the review of ALTO base protocol, we are suggested to document perfo=
rmance metrics (cost metrics) per the guideline of
- RFC 6390 Guidelines for Considering New Performance Metric Development. A=
. Clark, B. Claise. October 2011. (Format: TXT=3D49930 bytes) (Also BCP0170=
) (Status: BEST CURRENT PRACTICE)

Here a first question, I have, is whether the authors will produce a "simpl=
e" document, at the upcoming IETF, whose only purpose is to:

  define a set of cost metrics, including the nameing, the semantics, ... f=
ollowing the guideline per RFC 6390, that can benefit the base protocol.

I feel that such a document is focused, and has good value by itself.

The implications of the introducing multiple cost metrics can be explored i=
n another document, which I will send in another email shortly.

Thanks.

Richard


--_000_A7A5844EB93EB94AB22C2068B10AD65A29442420FR711WXCHMBA01z_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hello,<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">This is definitely a good=
 idea and it will be interesting to merge the metric definitions of the cur=
rent drafts. I started the exercise, using the RFC 6390
 definition template and found that there are other definition attributes t=
hat highlight the attractiveness of the ALTO Service that may be used at se=
veral layers of the network, with several levels of control and by several =
parties.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">There has been a number o=
f metrics proposed besides &#8216;routingcost&#8217; and &#8216;hopcount&#8=
217;. &nbsp;One aspect that should be documented is the usage of such metri=
cs in different
 environments. For instance, some drafts assume a controlled environment wh=
ere metric values are closer or equal to real values where as other drafts =
assume a less or no access control and propose abstracted metric values to =
reflect preferences w.r.t. these
 metrics. <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">So it could be useful to =
include attributes in the metric definition reflecting their degree (may be=
 yes/no) of abstraction, or whether their values are explicitly
 provided or are just used in a hidden way to filter or tie-break other met=
ric values. &nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Besides, most currently d=
ocumented ALTO metrics relate to the transport topology where as the protoc=
ol architecture and initial extension discussions mentioned
 metrics relating to capabilities, of endpoints such as storage or CPU capa=
city. So I could be useful to document the potential providers of the diffe=
rent metrics and the potential users. &nbsp;&nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">What is your opinion?<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sabine<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> yang.r.yang@gmail.com [mai=
lto:yang.r.yang@gmail.com]
<b>De la part de</b> Y. Richard Yang<br>
<b>Envoy=E9&nbsp;:</b> lundi 14 octobre 2013 01:20<br>
<b>=C0&nbsp;:</b> IETF ALTO<br>
<b>Cc&nbsp;:</b> choits@etri.re.kr; RANDRIAMASY, SABINE (SABINE); dhruv.dho=
dy@huawei.com; Greg Bernstein; Qin Wu; Young Lee<br>
<b>Objet&nbsp;:</b> ALTO Extension: Defining a Cost Metrics document?<o:p><=
/o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Dear all,<o:p></o:p></p=
>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">I am reading up on the =
documents that define cost metrics.&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">The motivation is that =
the base ALTO protocol (<a href=3D"http://www.ietf.org/id/draft-ietf-alto-p=
rotocol-20.txt">http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt</a>)=
 has defined only one Cost Metric: 'routingcost':<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- Defined the semantics=
 at Sec. 6.1.1.1 of , and then listed it at Table 3.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- Used &quot;hopcount&q=
uot; in examples of Sec. 9.2.3 and 9.2.4, but the semantics of not formally=
 defined.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Given the aforementione=
d state of the base protocol, I see good value in that the WG produces a WG=
 document that defines a relatively complete set of Cost Metrics.<o:p></o:p=
></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">I particular, I read th=
e following:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">-&nbsp;<a href=3D"http:=
//tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02">http://tools=
.ietf.org/html/draft-lee-alto-app-net-info-exchange-02</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; (Sec. 3.4 introd=
uced three metrics: hopcount, latency, pktcost, and cost)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">-&nbsp;<a href=3D"http:=
//tools.ietf.org/html/draft-wu-alto-json-te-01">http://tools.ietf.org/html/=
draft-wu-alto-json-te-01</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; Defined a set of=
 metrics: in Sec. 4. This work, as stated in the document, is motivated by&=
nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">-&nbsp;<a href=3D"http:=
//www.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt">http://www.i=
etf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:0cm;margin-right:0cm;mar=
gin-bottom:12.0pt;margin-left:36.0pt">
During the review of ALTO base protocol, we are suggested to document perfo=
rmance metrics (cost metrics) per the guideline of&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:9.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">- RFC&nbsp;</=
span>6390 Guidelines for Considering New Performance Metric Development. A.=
 Clark, B. Claise. October 2011. (Format: TXT=3D49930 bytes) (Also
 BCP0170) (Status: BEST CURRENT PRACTICE)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Here a first question, =
I have, is whether the authors will produce a &quot;simple&quot; document, =
at the upcoming IETF, whose only purpose is to:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; define a set of =
cost metrics, including the nameing, the semantics, ... following the guide=
line per RFC 6390, that can benefit the base protocol.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">I feel that such a docu=
ment is focused, and has good value by itself.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">The implications of the=
 introducing multiple cost metrics can be explored in another document, whi=
ch I will send in another email shortly.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Thanks.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Richard<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;&nbsp;<o:p></o:p>=
</p>
</div>
</div>
</div>
</body>
</html>

--_000_A7A5844EB93EB94AB22C2068B10AD65A29442420FR711WXCHMBA01z_--

From yang.r.yang@gmail.com  Thu Oct 17 14:06:02 2013
Return-Path: <yang.r.yang@gmail.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 80A0521F942D for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 14:06:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.741
X-Spam-Level: 
X-Spam-Status: No, score=-1.741 tagged_above=-999 required=5 tests=[AWL=0.236,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6GhiIat-0+KB for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 14:05:59 -0700 (PDT)
Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) by ietfa.amsl.com (Postfix) with ESMTP id 6BAC221F9978 for <alto@ietf.org>; Thu, 17 Oct 2013 14:05:59 -0700 (PDT)
Received: by mail-pa0-f47.google.com with SMTP id lf10so956285pab.6 for <alto@ietf.org>; Thu, 17 Oct 2013 14:05:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=P1k0QdZmwta4fxIfwZSGYHVK3BZ2pCu8f5CO0rrzfOo=; b=E43nIxQwHQsz/vVjUQlNeBBV1WEpHqFg6WJcwGSUJcZHW1TWopjOa6968pTVzA0rHh tE7gQEPpqbWbPNMG3VqWhGP0xMjmHjhhUL66a3FH5djCJpXzNRuxaZtUmsIc4erDOm3D 4LYe+VOBtZS9hw2V3uyq5L2ulIdJYQ17f4dy80JaKg77m+kHAvXs21hNwc04kJRu7crj eA42Ii/BSCColcZNdufjv6ETySFpUGNK4TcHDVupXnpneIAjKiGKqY94s+QGfn6oxm9/ oD9nMJAfMK8iybBbrpXrk/v4VK01QtFFEoRqRRKZ56SHIG5QgKlV32R5Ouf1Z4ATHdmA Z/kg==
MIME-Version: 1.0
X-Received: by 10.68.143.196 with SMTP id sg4mr10486435pbb.155.1382043956289;  Thu, 17 Oct 2013 14:05:56 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Thu, 17 Oct 2013 14:05:56 -0700 (PDT)
In-Reply-To: <A7A5844EB93EB94AB22C2068B10AD65A29442420@FR711WXCHMBA01.zeu.alcatel-lucent.com>
References: <CANUuoLpy5Budcx+tJCeExeYC_yTcQ9J2gC7HsXcjCvhOi7p_Vg@mail.gmail.com> <A7A5844EB93EB94AB22C2068B10AD65A29442420@FR711WXCHMBA01.zeu.alcatel-lucent.com>
Date: Thu, 17 Oct 2013 17:05:56 -0400
X-Google-Sender-Auth: 9iis7_YyBvkfUnYZBVuQ4WaD7XA
Message-ID: <CANUuoLqz_+qAqYKt6pnCm-sg3mK+113MfKErZgcQAu82AndZNg@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b2e452614274b04e8f62f7c
Cc: IETF ALTO <alto@ietf.org>, "choits@etri.re.kr" <choits@etri.re.kr>, Qin Wu <bill.wu@huawei.com>
Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 17 Oct 2013 21:06:02 -0000

--047d7b2e452614274b04e8f62f7c
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Dear Sabine, Qin,



On Thu, Oct 17, 2013 at 2:17 PM, RANDRIAMASY, SABINE (SABINE) <
sabine.randriamasy@alcatel-lucent.com> wrote:

>  Hello,****
>
> ** **
>
> This is definitely a good idea and it will be interesting to merge the
> metric definitions of the current drafts.
>

Thanks a lot for the work on systematically defining a set of metrics.
Please see below. I agree that it is a good idea to merge the definitions.


> I started the exercise, using the RFC 6390 definition template
>

This is a good starting point indeed. We should also define "routingcost"
in this metrics document.


> and found that there are other definition attributes that highlight the
> attractiveness of the ALTO Service that may be used at several layers of
> the network, with several levels of control and by several parties.
>

This multi-level/layer concept is quite interesting. Can you please
elaborate a bit?

>
>


> **
>
> There has been a number of metrics proposed besides =91routingcost=92 and
> =91hopcount=92.  One aspect that should be documented is the usage of suc=
h
> metrics in different environments. For instance, some drafts assume a
> controlled environment where metric values are closer or equal to real
> values where as other drafts assume a less or no access control and propo=
se
> abstracted metric values to reflect preferences w.r.t. these metrics. ***=
*
>
> ** **
>
> So it could be useful to include attributes in the metric definition
> reflecting their degree (may be yes/no) of abstraction,
>

Let me try to understand. The hopcount metric might say 5 hops, and then a
"hopcount-detail" will give the exact 5 hops; an AScount metric might say 5
ASes, and ASPath then lists the 5 AS's, and then routePath lists the
spwcifi routes, for example? Or this is too detailed?


> or whether their values are explicitly provided or are just used in a
> hidden way to filter or tie-break other metric values.
>

Filtering-only metrics can be tricky, but of course interesting.


> **
>
> Besides, most currently documented ALTO metrics relate to the transport
> topology where as the protocol architecture and initial extension
> discussions mentioned metrics relating to capabilities, of endpoints such
> as storage or CPU capacity. So I could be useful to document the potentia=
l
> providers of the different metrics and the potential users.
>

I am not sure we may want to combine transport and storage/CPU metrics in a
single documents. My first reaction is that separate documents may be a
more modular design, and I can think more.

Thanks!

Richard



>  ****
>
> ** **
>
> What is your opinion?****
>
> ** **
>
> Thanks****
>
> Sabine****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *De :* yang.r.yang@gmail.com [mailto:yang.r.yang@gmail.com] *De la part d=
e
> * Y. Richard Yang
> *Envoy=E9 :* lundi 14 octobre 2013 01:20
> *=C0 :* IETF ALTO
> *Cc :* choits@etri.re.kr; RANDRIAMASY, SABINE (SABINE);
> dhruv.dhody@huawei.com; Greg Bernstein; Qin Wu; Young Lee
> *Objet :* ALTO Extension: Defining a Cost Metrics document?****
>
> ** **
>
> Dear all,****
>
> ** **
>
> I am reading up on the documents that define cost metrics. ****
>
> ** **
>
> The motivation is that the base ALTO protocol (
> http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt) has defined only
> one Cost Metric: 'routingcost':****
>
> ** **
>
> - Defined the semantics at Sec. 6.1.1.1 of , and then listed it at Table =
3.
> ****
>
> ** **
>
> - Used "hopcount" in examples of Sec. 9.2.3 and 9.2.4, but the semantics
> of not formally defined.****
>
> ** **
>
> Given the aforementioned state of the base protocol, I see good value in
> that the WG produces a WG document that defines a relatively complete set
> of Cost Metrics.****
>
> ** **
>
> I particular, I read the following:****
>
> ** **
>
> - http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02****
>
>   (Sec. 3.4 introduced three metrics: hopcount, latency, pktcost, and cos=
t)
> ****
>
> ** **
>
> - http://tools.ietf.org/html/draft-wu-alto-json-te-01****
>
>   Defined a set of metrics: in Sec. 4. This work, as stated in the
> document, is motivated by ****
>
> ** **
>
> - http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt****
>
> ** **
>
> During the review of ALTO base protocol, we are suggested to document
> performance metrics (cost metrics) per the guideline of ****
>
> - RFC 6390 Guidelines for Considering New Performance Metric Development.
> A. Clark, B. Claise. October 2011. (Format: TXT=3D49930 bytes) (Also BCP0=
170)
> (Status: BEST CURRENT PRACTICE)****
>
> ** **
>
> Here a first question, I have, is whether the authors will produce a
> "simple" document, at the upcoming IETF, whose only purpose is to:****
>
> ** **
>
>   define a set of cost metrics, including the nameing, the semantics, ...
> following the guideline per RFC 6390, that can benefit the base protocol.=
*
> ***
>
> ** **
>
> I feel that such a document is focused, and has good value by itself.****
>
> ** **
>
> The implications of the introducing multiple cost metrics can be explored
> in another document, which I will send in another email shortly.****
>
> ** **
>
> Thanks.****
>
> ** **
>
> Richard****
>
>   ****
>

--047d7b2e452614274b04e8f62f7c
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear Sabine, Qin,<div><br></div><div><br></div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Oct 17, 2013 at 2:1=
7 PM, RANDRIAMASY, SABINE (SABINE) <span dir=3D"ltr">&lt;<a href=3D"mailto:=
sabine.randriamasy@alcatel-lucent.com" target=3D"_blank">sabine.randriamasy=
@alcatel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">Hello,<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">This is definitely a good idea and it will b=
e interesting to merge the metric definitions of the current drafts. </span=
></p>
</div></div></blockquote><div><br></div><div>Thanks a lot for the work on s=
ystematically defining a set of metrics. Please see below. I agree that it =
is a good idea to merge the definitions.</div><div>=A0</div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;=
border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex=
">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p class=3D"MsoNorm=
al"><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(=
31,73,125)">I started the exercise, using the RFC 6390
 definition template </span></p></div></div></blockquote><div><br></div><di=
v>This is a good starting point indeed. We should also define &quot;routing=
cost&quot; in this metrics document.</div><div>=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;bo=
rder-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><p class=3D"MsoNormal"><=
span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73=
,125)">and found that there are other definition attributes that highlight =
the attractiveness of the ALTO Service that may be used at several layers o=
f the network, with several levels of control and by several parties.</span=
></p>
</div></blockquote><div><br></div><div>This multi-level/layer concept is qu=
ite interesting. Can you please elaborate a bit?=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;bo=
rder-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><p class=3D"MsoNormal"><=
span style=3D"color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size=
:11pt">=A0</span></p></div></blockquote><div>=A0</div><blockquote class=3D"=
gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border=
-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><p class=3D"MsoNormal"><=
span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73=
,125)"><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">There has been a number of metrics proposed =
besides =91routingcost=92 and =91hopcount=92. =A0One aspect that should be =
documented is the usage of such metrics in different
 environments. For instance, some drafts assume a controlled environment wh=
ere metric values are closer or equal to real values where as other drafts =
assume a less or no access control and propose abstracted metric values to =
reflect preferences w.r.t. these
 metrics. <u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">So it could be useful to include attributes =
in the metric definition reflecting their degree (may be yes/no) of abstrac=
tion, </span></p>
</div></blockquote><div><br></div><div>Let me try to understand. The hopcou=
nt metric might say 5 hops, and then a &quot;hopcount-detail&quot; will giv=
e the exact 5 hops; an AScount metric might say 5 ASes, and ASPath then lis=
ts the 5 AS&#39;s, and then routePath lists the spwcifi routes, for example=
? Or this is too detailed? =A0</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><div lang=3D"EN-US" link=3D"blue" vlink=3D"p=
urple"><p class=3D"MsoNormal">
<span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,7=
3,125)">or whether their values are explicitly
 provided or are just used in a hidden way to filter or tie-break other met=
ric values. =A0</span></p></div></blockquote><div><br></div><div>Filtering-=
only metrics can be tricky, but of course interesting.=A0</div><div>=A0</di=
v>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p=
 class=3D"MsoNormal">
<span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,7=
3,125)"><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">Besides, most currently documented ALTO metr=
ics relate to the transport topology where as the protocol architecture and=
 initial extension discussions mentioned
 metrics relating to capabilities, of endpoints such as storage or CPU capa=
city. So I could be useful to document the potential providers of the diffe=
rent metrics and the potential users. =A0</span></p></div></div></blockquot=
e>
<div><br></div><div>I am not sure we may want to combine transport and stor=
age/CPU metrics in a single documents. My first reaction is that separate d=
ocuments may be a more modular design, and I can think more.</div><div>
<br></div><div>Thanks!<br><br></div><div>Richard</div><div><br></div><div>=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-styl=
e:solid;padding-left:1ex">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p class=3D"MsoNorm=
al"><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(=
31,73,125)">=A0<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">What is your opinion?<u></u><u></u></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">Thanks<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">Sabine<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<div style=3D"border-style:solid none none;border-top-color:rgb(181,196,223=
);border-top-width:1pt;padding:3pt 0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><b><span lang=3D"FR" styl=
e=3D"font-size:10pt;font-family:Tahoma,sans-serif">De=A0:</span></b><span l=
ang=3D"FR" style=3D"font-size:10pt;font-family:Tahoma,sans-serif"> <a href=
=3D"mailto:yang.r.yang@gmail.com" target=3D"_blank">yang.r.yang@gmail.com</=
a> [mailto:<a href=3D"mailto:yang.r.yang@gmail.com" target=3D"_blank">yang.=
r.yang@gmail.com</a>]
<b>De la part de</b> Y. Richard Yang<br>
<b>Envoy=E9=A0:</b> lundi 14 octobre 2013 01:20<br>
<b>=C0=A0:</b> IETF ALTO<br>
<b>Cc=A0:</b> <a href=3D"mailto:choits@etri.re.kr" target=3D"_blank">choits=
@etri.re.kr</a>; RANDRIAMASY, SABINE (SABINE); <a href=3D"mailto:dhruv.dhod=
y@huawei.com" target=3D"_blank">dhruv.dhody@huawei.com</a>; Greg Bernstein;=
 Qin Wu; Young Lee<br>

<b>Objet=A0:</b> ALTO Extension: Defining a Cost Metrics document?<u></u><u=
></u></span></p>
</div><div><div class=3D"h5">
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">Dear all,<u></u><u></u></=
p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">I am reading up on the do=
cuments that define cost metrics.=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">The motivation is that th=
e base ALTO protocol (<a href=3D"http://www.ietf.org/id/draft-ietf-alto-pro=
tocol-20.txt" target=3D"_blank">http://www.ietf.org/id/draft-ietf-alto-prot=
ocol-20.txt</a>) has defined only one Cost Metric: &#39;routingcost&#39;:<u=
></u><u></u></p>

</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">- Defined the semantics a=
t Sec. 6.1.1.1 of , and then listed it at Table 3.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">- Used &quot;hopcount&quo=
t; in examples of Sec. 9.2.3 and 9.2.4, but the semantics of not formally d=
efined.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">Given the aforementioned =
state of the base protocol, I see good value in that the WG produces a WG d=
ocument that defines a relatively complete set of Cost Metrics.<u></u><u></=
u></p>

</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">I particular, I read the =
following:<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">-=A0<a href=3D"http://too=
ls.ietf.org/html/draft-lee-alto-app-net-info-exchange-02" target=3D"_blank"=
>http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02</a><u><=
/u><u></u></p>

</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 (Sec. 3.4 introduced =
three metrics: hopcount, latency, pktcost, and cost)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">-=A0<a href=3D"http://too=
ls.ietf.org/html/draft-wu-alto-json-te-01" target=3D"_blank">http://tools.i=
etf.org/html/draft-wu-alto-json-te-01</a><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 Defined a set of metr=
ics: in Sec. 4. This work, as stated in the document, is motivated by=A0<u>=
</u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">-=A0<a href=3D"http://www=
.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt" target=3D"_blank"=
>http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt</a><u><=
/u><u></u></p>

</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-right:0cm;margin-bottom:12pt;margin-=
left:36pt">
During the review of ALTO base protocol, we are suggested to document perfo=
rmance metrics (cost metrics) per the guideline of=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><span style=3D"font-size:=
9.5pt;font-family:Arial,sans-serif">- RFC=A0</span>6390 Guidelines for Cons=
idering New Performance Metric Development. A. Clark, B. Claise. October 20=
11. (Format: TXT=3D49930 bytes) (Also
 BCP0170) (Status: BEST CURRENT PRACTICE)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">Here a first question, I =
have, is whether the authors will produce a &quot;simple&quot; document, at=
 the upcoming IETF, whose only purpose is to:<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 define a set of cost =
metrics, including the nameing, the semantics, ... following the guideline =
per RFC 6390, that can benefit the base protocol.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">I feel that such a docume=
nt is focused, and has good value by itself.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">The implications of the i=
ntroducing multiple cost metrics can be explored in another document, which=
 I will send in another email shortly.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">Thanks.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">Richard<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0=A0<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br></div></div>

--047d7b2e452614274b04e8f62f7c--

From 3chengwang@gmail.com  Thu Oct 17 21:41:35 2013
Return-Path: <3chengwang@gmail.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 3828821F9C0E for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 21:41:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s5oJ1C5tR6ZA for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 21:41:34 -0700 (PDT)
Received: from mail-ie0-x234.google.com (mail-ie0-x234.google.com [IPv6:2607:f8b0:4001:c03::234]) by ietfa.amsl.com (Postfix) with ESMTP id 7ADD121F9C0D for <alto@ietf.org>; Thu, 17 Oct 2013 21:41:34 -0700 (PDT)
Received: by mail-ie0-f180.google.com with SMTP id e14so5420951iej.25 for <alto@ietf.org>; Thu, 17 Oct 2013 21:41:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=OATrfo/GkA+LKQJFK61MXqsRJV5pKi6HM3vrR1RByAQ=; b=PaafNU7TPdBezQfr7PC68BO1aPRMVWXbEIbeLzKFq4CtaHYF0CS1MaLN0ZPTV/icNl rGFBJF6ZhP1gQRUvaafwUmUDRGvK/mV7iK0P+7U9ULueNVgO/T9X9PgsyJj437sytomL pn4Fk4q3M+KfFRjJHeYjDmVxkyrO5WwdzlrvTla56oQZPEBHIBFnceiGwf4Gk0hWYZh0 IjTAx/oYis+/jeFN0dhd1+YzZJkwrIMBpZchkW9REmPN63SZsEQpRH9i4Vd2+BjClDkM 9lXU2hQ4lLXjNiRCfwZgGOtPrmrz0nopv8PhO7UIcKu3P7cxBINJAUfnG2Xn5bhkLLIq vn2Q==
MIME-Version: 1.0
X-Received: by 10.50.23.46 with SMTP id j14mr1135352igf.41.1382071294006; Thu, 17 Oct 2013 21:41:34 -0700 (PDT)
Received: by 10.64.207.198 with HTTP; Thu, 17 Oct 2013 21:41:33 -0700 (PDT)
In-Reply-To: <CANUuoLr_M5pX08YpmCNGp02fjMUMNx71N2onsgYr+MTm6ttksg@mail.gmail.com>
References: <655C07320163294895BBADA28372AF5D0E3655@FR712WXCHMBA15.zeu.alcatel-lucent.com> <CANUuoLr_M5pX08YpmCNGp02fjMUMNx71N2onsgYr+MTm6ttksg@mail.gmail.com>
Date: Fri, 18 Oct 2013 00:41:33 -0400
Message-ID: <CA+jJtU=YTC8td=6FLVZnYE4QLvdjRg8wKifQnQSV4yMPP2+6Uw@mail.gmail.com>
From: Cheng Wang <3chengwang@gmail.com>
To: alto@ietf.org, Richard Yang <yry@cs.yale.edu>
Content-Type: multipart/alternative; boundary=089e0158b304889cb204e8fc8c97
Subject: Re: [alto] "Running code" for draft-scharf-alto-vpn-service
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 18 Oct 2013 04:46:55 -0000

--089e0158b304889cb204e8fc8c97
Content-Type: text/plain; charset=ISO-8859-1

Very informative slides. Thanks!

Cheng

--089e0158b304889cb204e8fc8c97
Content-Type: text/html; charset=ISO-8859-1

<div dir="ltr">Very informative slides. Thanks!<div><br></div><div>Cheng</div></div>

--089e0158b304889cb204e8fc8c97--

From yang.r.yang@gmail.com  Thu Oct 17 23:14:24 2013
Return-Path: <yang.r.yang@gmail.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 EE01421F9F51 for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 23:14:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.451
X-Spam-Level: 
X-Spam-Status: No, score=-1.451 tagged_above=-999 required=5 tests=[AWL=-0.074, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_55=0.6, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V9xtOY0mqj6c for <alto@ietfa.amsl.com>; Thu, 17 Oct 2013 23:14:23 -0700 (PDT)
Received: from mail-pb0-x232.google.com (mail-pb0-x232.google.com [IPv6:2607:f8b0:400e:c01::232]) by ietfa.amsl.com (Postfix) with ESMTP id C191221F9F2D for <alto@ietf.org>; Thu, 17 Oct 2013 23:14:21 -0700 (PDT)
Received: by mail-pb0-f50.google.com with SMTP id uo15so1978579pbc.9 for <alto@ietf.org>; Thu, 17 Oct 2013 23:14:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=kf+hYoHU+thoW2+BUAjPEzFepyEAKGQtGKMWIkenW7A=; b=cr/rNZoAvj1P23fL8YUIgvs/mz6zJvDw0AVktudiS9tYMqTkZ6f+ouy/XUYspqAzhR Sb3oReZB1I71NTq3jnZ6y8k490Oo2iDhiob8XZR2AmZULFuZQXq2snp9vLe04DurO11m YYAu1cIznF0n1TCIc0APjWtbVsP0KNJouAzt1QbkoIy/pyRidkolZ/ozEK447wYPTZz1 K1PcyhJWzPSbdRX6HlcZYfHiUNX0wPRzho1xv/T+mAWAxXwc7IDOZVHmD92O5pcf2RPM QOf0TTPuiulPhxQKXASW+R1svzypaIaNIMpud0wfWx0pdBsiRPPk2auNaMbtuc/1mZ6l dPsg==
MIME-Version: 1.0
X-Received: by 10.68.252.68 with SMTP id zq4mr1402205pbc.154.1382076861373; Thu, 17 Oct 2013 23:14:21 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Thu, 17 Oct 2013 23:14:21 -0700 (PDT)
In-Reply-To: <A7A5844EB93EB94AB22C2068B10AD65A294423FE@FR711WXCHMBA01.zeu.alcatel-lucent.com>
References: <CANUuoLrYSOykB6YyvNSj2Zvrw-ZQiJoFFBoMCXLzkpgW37T1HA@mail.gmail.com> <A7A5844EB93EB94AB22C2068B10AD65A294423FE@FR711WXCHMBA01.zeu.alcatel-lucent.com>
Date: Fri, 18 Oct 2013 02:14:21 -0400
X-Google-Sender-Auth: 7xixJt2e4AxZHlujOm0UGjXFCyM
Message-ID: <CANUuoLpApXcMUdeVOhdqNCUeNCEoU-2SeuKyj6Ayb4FSvQ8ytw@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b2e11d75fe30c04e8fdd8bb
Cc: "ROOME, Wendy D \(Wendy\)" <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>, "choits@etri.re.kr" <choits@etri.re.kr>, Qin Wu <bill.wu@huawei.com>
Subject: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 18 Oct 2013 06:14:25 -0000

--047d7b2e11d75fe30c04e8fdd8bb
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi Sabine,

Good comments. Please see below.

On Thu, Oct 17, 2013 at 1:40 PM, RANDRIAMASY, SABINE (SABINE) <
sabine.randriamasy@alcatel-lucent.com <javascript:_e({}, 'cvml',
'sabine.randriamasy@alcatel-lucent.com');>> wrote:

>  A few questions and comments inline to make sure I understood. If we are
> to document proposed filtering services, should we put separate sections,
> one on filtering services for the basic protocol and the other one, more
> prospective for protocol extensions on topologies?
>
Following the guideline of modular design, how about using different
documents whenever possible?

Here is some thinking on organization. A main design feature of the
ALTO base protocol is its single-switch abstraction. Hence, how about we
first focus on filtering on this base abstraction, and not beyond?

Specifically, in this base abstraction model, a network map and a cost map
based on the network map defines an abstract, single switch. Each PID in
the network map defines a PoP (i.e., the set of endhosts, which can be
either servers or clients in an application context, attached to this PoP),
and the cost map of each cost metric defines the pair-wise values of the
given cost metric. Let V be the set of n PIDs (nodes), and E the set of n^2
edges. Filtering is to help an application to narrow down its choices when
building an application overlay based on this single-switch model. Hence,
we need to define the following components:

- how to filter the set of nodes?
- how to filter the set of candidate overlay paths (one hop or multiple
hops in extreme e.g., origin -> edge server -> consumer)?

Richard


>  ****
>
> Thanks****
>
> Sabine****
>
> ** **
>
> ** **
>
> *De :* yang.r.yang@gmail.com <javascript:_e({}, 'cvml',
> 'yang.r.yang@gmail.com');> [mailto:yang.r.yang@gmail.com<javascript:_e({}=
, 'cvml', 'yang.r.yang@gmail.com');>]
> *De la part de* Y. Richard Yang
> *Envoy=E9 :* lundi 14 octobre 2013 04:42
> *=C0 :* IETF ALTO
> *Cc :* RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy);
> ietf@nico-schwan.de <javascript:_e({}, 'cvml', 'ietf@nico-schwan.de');>;
> Qin Wu; Young Lee; Greg Bernstein; choits@etri.re.kr <javascript:_e({},
> 'cvml', 'choits@etri.re.kr');>; dhruv.dhody
> *Objet :* Re: ALTO Extension: A document defining multi-metrics filtering=
?
> ****
>
> ** **
>
> Let me add on: although a filtering service can be a very useful service,
> it can also be quite involved, and hence the WG may need to think through
> the issues when designing this service. For example, there are two types =
of
> use cases:****
>
> ** **
>
> - end-to-end: given src set {s1, s2, s3, ..., sn} and dst set {d1, d2, d3=
,
> ..., dm}, return all pairs (si, dj), where si in {s1, ..., sn} and dj in
> {d1, ..., dm} such that (si, dj) satisfies the constraints;****
>
> *[     ] This use case corresponds to the base protocol. The requested
> service is the ALTO Cost Map Filtering Service w.r.t metric values. It
> seems easy to extend this service by extending the set of constraints wit=
h
> additional constraints metrics and additional logical operators. *****
>
> ** **
>
> - relay: given src s, dst d, and a relay candidate set {r1, r2, ..., rk},
> return all of the ri such that s -> ri -> d satisfies the constraints. **=
*
> *
>
> *[     ] This use case relates to a proposed ALTO extension on topologies
> providing cost maps where there may be several paths between an (S,D) pai=
r.
> Is the ALTO Service here the ALTO Cost Map Filtering Service w.r.t metric
> values adapted to a multi-path topology?  The cost map here would need to
> include some index on the cost value w.r.t. the relay ID and the service
> would only return cost values on the indexed (S,D, idx) triples satisfyin=
g
> the constraints. If this is correct, then such a use case would well fit
> into filtering services for topology based ALTO  extensions. *****
>
> ** **
>
> Note that with relay, we will then need to worry about the "composition"
> semantics of metrics. For example, delay might be additive, loss rate
> (unless small and independent) may not be.****
>
> *[     ] I think the composition and optimization operators should be
> documented in any case (I think in the =93use and application=94 field of=
 the
> RFC6390 template). Indeed, the OPTIMUM-COMPOSITION attributes may be
> MIN-SUM, MAX-MIN, MIN-PROD etc=85 *
>
> * *
>
> *In the base protocol an e2e cost value provided by the server is already
> composed and abstracted. But if we have a protocol extension that details
> paths per sections,  then indeed e2e path cost composition may have to be
> done at  the ALTO Client side. *
>
> ** **
>
> The relay could be even fancier (e.g., one-hop server detour such as
> Akamai one-hop detour and hence may involved two relay servers), but it m=
ay
> or may not be a good idea to go too complex, depending on if the WG can
> define a clean API (e.g., SQL select/where grammar comes to mind quickly)=
.
> ****
>
> ** **
>
> Thanks!****
>
> ** **
>
> Richard****
>
> On Sun, Oct 13, 2013 at 7:57 PM, Y. Richard Yang <yry@cs.yale.edu<javascr=
ipt:_e({}, 'cvml', 'yry@cs.yale.edu');>>
> wrote:****
>
> Dear all,****
>
> ** **
>
> The base ALTO protocol (
> http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt) is mostly a
> single-cost-metric centric:****
>
> ** **
>
> - The Cost Map filtering service uses only one cost-type (Sec. 11.3.2.3):=
*
> ***
>
> ** **
>
>      object {****
>
>      CostType   cost-type;****
>
>      [JSONString constraints<0..*>;]****
>
>      [PIDFilter  pids;]****
>
>    } ReqFilteredCostMap;****
>
> ** **
>
>    object {****
>
>      PIDName srcs<0..*>;****
>
>      PIDName dsts<0..*>;****
>
>    } PIDFilter;****
>
> ** **
>
> ...****
>
>  constraints  Defines a list of additional constraints on which****
>
>       elements of the Cost Map are returned.  This parameter MUST NOT be*=
*
> **
>
>       specified if this resource's capabilities (Section 11.3.2.4)****
>
>       indicate that constraint support is not available.  A constraint***=
*
>
>       contains two entities separated by whitespace: (1) an operator,****
>
>       'gt' for greater than, 'lt' for less than, 'ge' for greater than***=
*
>
>       or equal to, 'le' for less than or equal to, or 'eq' for equal to;*=
*
> **
>
>       (2) a target cost value. ****
>
> ** **
>
> - The Endpoint Cost service allows filtering (Sec. 11.5.1.3) as well, and
> is similar to Cost Map Filtering:****
>
> ** **
>
>    object {****
>
>      CostType          cost-type;****
>
>      [JSONString       constraints<0..*>;]****
>
>      EndpointFilter    endpoints;****
>
>    } ReqEndpointCostMap;****
>
> ** **
>
>    object {****
>
>      [TypedEndpointAddr srcs<0..*>;]****
>
>      [TypedEndpointAddr dsts<0..*>;]****
>
>    } EndpointFilter;****
>
> ** **
>
>    constraints  Defined equivalently to the "constraints" input****
>
>       parameter of a Filtered Cost Map (see Section 11.3.2).****
>
> ** **
>
> In other words, in the base protocol, the filtering condition and the
> output are based on the same Cost Metric. It is natural that the filterin=
g
> and the output are based on different Cost metrics. For example, a Client
> asks for routingcost for only pairs whose latency is below a threshold (s=
ee
> use cases in
> http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07). ****
>
> ** **
>
> One may argue that the filter-metric-no-equal-to-output-metric function
> can be implemented on top of the filter-and-output-using-one-metric
> function:****
>
> ** **
>
> In particular, suppose the filtering is based on metrics M1 and M2, and
> the output is M3, for a set src to a set dsts. The Client can use the
> following three queries:****
>
> ** **
>
> - Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains <srcs1=
,
> dsts1> in return;****
>
> - Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains
> <srcs2, dsts2> in return;****
>
> - Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final
> result.****
>
> ** **
>
> Although this is not too bad, it is inconvenient. Note that preceding is
> first discussed by Sabine, Wendy, Nico in:
> http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07****
>
> ** **
>
> I saw that this is also the issue discussed in  ****
>
> - http://tools.ietf.org/html/draft-wu-alto-json-te-01****
>
> - http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02****
>
> ** **
>
> Hence, I propose that the WG extends the base protocol with this
> capability, as I see that it is quite useful. One issue is that I see thr=
ee
> designs, and I am wondering if the authors are preparing on discussing
> their designs at the coming IETF, and if there is a possibility for a
> single, unified document, focusing on this issue.****
>
> ** **
>
> Thanks a lot!****
>
> ** **
>
> Richard****
>
> ** **
>

--047d7b2e11d75fe30c04e8fdd8bb
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Sabine,<div><br></div><div>Good comments. Please see be=
low.</div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu,=
 Oct 17, 2013 at 1:40 PM, RANDRIAMASY, SABINE (SABINE) <span dir=3D"ltr">&l=
t;<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;sabine.randriamasy@alca=
tel-lucent.com&#39;);" target=3D"_blank">sabine.randriamasy@alcatel-lucent.=
com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">A few questions and comments inline to make =
sure I understood. If we are to document proposed filtering services, shoul=
d we put separate sections, one on filtering
 services for the basic protocol and the other one, more prospective for pr=
otocol extensions on topologies?</span></p></div></div></blockquote>Followi=
ng the guideline=A0of modular design, how about using different documents w=
henever possible?<br>

<div><br></div>Here is some thinking on organization.=A0A main design featu=
re of the ALTO=A0base protocol is its single-switch abstraction. Hence, how=
 about we first focus on filtering on this base abstraction, and not beyond=
?</div>
<div class=3D"gmail_quote"></div><div><br></div><div class=3D"gmail_quote">=
Specifically, in this base abstraction model, a=A0network map and a cost ma=
p based on the network map=A0defines an abstract, single switch. Each PID i=
n the network map=A0defines a PoP (i.e., the set of endhosts, which can be =
either servers or clients in an application context,=A0attached to this PoP=
), and the cost map of each cost metric=A0defines the pair-wise values of t=
he given cost metric. Let V be the set of n=A0PIDs (nodes), and E the set o=
f n^2 edges. Filtering is to help an application to narrow down its choices=
 when building an=A0application overlay based on this single-switch model. =
Hence, we need to define the following components:</div>
<div><br></div><div>- how to filter the=A0set of nodes?</div><div>- how to =
filter the=A0set of candidate overlay paths (one hop or multiple hops in ex=
treme=A0e.g., origin=A0-&gt; edge server -&gt; consumer)?</div><div class=
=3D"gmail_quote">
<div><br></div><div>Richard</div><div>=A0</div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-c=
olor:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p class=3D"MsoNorm=
al"><span style=3D"font-size:11pt;font-family:Calibri,sans-serif;color:rgb(=
31,73,125)">
<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">Thanks<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)">Sabine<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11pt;font-family:Calibri,sa=
ns-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></p>
<div style=3D"border-style:solid none none;border-top-color:rgb(181,196,223=
);border-top-width:1pt;padding:3pt 0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><b><span lang=3D"FR" styl=
e=3D"font-size:10pt;font-family:Tahoma,sans-serif">De=A0:</span></b><span l=
ang=3D"FR" style=3D"font-size:10pt;font-family:Tahoma,sans-serif"> <a href=
=3D"javascript:_e({}, &#39;cvml&#39;, &#39;yang.r.yang@gmail.com&#39;);" ta=
rget=3D"_blank">yang.r.yang@gmail.com</a> [mailto:<a href=3D"javascript:_e(=
{}, &#39;cvml&#39;, &#39;yang.r.yang@gmail.com&#39;);" target=3D"_blank">ya=
ng.r.yang@gmail.com</a>]
<b>De la part de</b> Y. Richard Yang<br>
<b>Envoy=E9=A0:</b> lundi 14 octobre 2013 04:42<br>
<b>=C0=A0:</b> IETF ALTO<br>
<b>Cc=A0:</b> RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); <a href=
=3D"javascript:_e({}, &#39;cvml&#39;, &#39;ietf@nico-schwan.de&#39;);" targ=
et=3D"_blank">ietf@nico-schwan.de</a>; Qin Wu; Young Lee; Greg Bernstein; <=
a href=3D"javascript:_e({}, &#39;cvml&#39;, &#39;choits@etri.re.kr&#39;);" =
target=3D"_blank">choits@etri.re.kr</a>; dhruv.dhody<br>


<b>Objet=A0:</b> Re: ALTO Extension: A document defining multi-metrics filt=
ering?<u></u><u></u></span></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
<div><div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">Let me add on: although a=
 filtering service can be a very useful service, it can also be quite invol=
ved, and hence the WG may need to think through the issues when designing t=
his service. For example, there are
 two types of use cases:<u></u><u></u></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
</div><div><div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">- end-to-end: given src s=
et {s1, s2, s3, ..., sn} and dst set {d1, d2, d3, ..., dm}, return all pair=
s (si, dj), where si in {s1, ..., sn} and dj in {d1, ..., dm} such that (si=
, dj) satisfies the constraints;<u></u><u></u></p>


</div><p class=3D"MsoNormal"><b><i><span style=3D"font-size:11pt;font-famil=
y:Calibri,sans-serif;color:rgb(31,73,125)">[=A0=A0=A0=A0 ] This use case co=
rresponds to the base protocol. The requested service is the ALTO Cost Map =
Filtering Service w.r.t metric values. It seems easy
 to extend this service by extending the set of constraints with additional=
 constraints metrics and additional logical operators.
</span></i></b><span style=3D"font-size:11pt;font-family:Calibri,sans-serif=
;color:rgb(31,73,125)"><u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
<div><div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">- relay: given src s, dst=
 d, and a relay candidate set {r1, r2, ..., rk}, return all of the ri such =
that s -&gt; ri -&gt; d satisfies the constraints.=A0<u></u><u></u></p>
</div><p class=3D"MsoNormal"><b><i><span style=3D"font-size:11pt;font-famil=
y:Calibri,sans-serif;color:rgb(31,73,125)">[=A0=A0=A0=A0 ] This use case re=
lates to a proposed ALTO extension on topologies providing cost maps where =
there may be several paths between an (S,D) pair. Is
 the ALTO Service here the ALTO Cost Map Filtering Service w.r.t metric val=
ues adapted to a multi-path topology? =A0The cost map here would need to in=
clude some index on the cost value w.r.t. the relay ID and the service woul=
d only return cost values on the indexed
 (S,D, idx) triples satisfying the constraints. If this is correct, then su=
ch a use case would well fit into filtering services for topology based ALT=
O =A0extensions.
</span></i></b><span style=3D"font-size:11pt;font-family:Calibri,sans-serif=
;color:rgb(31,73,125)"><u></u><u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div><div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">Note that with relay, we =
will then need to worry about the &quot;composition&quot; semantics of metr=
ics. For example, delay might be additive, loss rate (unless small and inde=
pendent) may not be.<u></u><u></u></p>


</div><p class=3D"MsoNormal"><b><i><span style=3D"font-size:11pt;font-famil=
y:Calibri,sans-serif;color:rgb(31,73,125)">[=A0=A0=A0=A0 ] I think the comp=
osition and optimization operators should be documented in any case (I thin=
k in the =93use and application=94 field of the RFC6390
 template). Indeed, the OPTIMUM-COMPOSITION attributes may be MIN-SUM, MAX-=
MIN, MIN-PROD etc=85
<u></u><u></u></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11pt;font-family:Cali=
bri,sans-serif;color:rgb(31,73,125)"><u></u>=A0<u></u></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11pt;font-family:Cali=
bri,sans-serif;color:rgb(31,73,125)">In the base protocol an e2e cost value=
 provided by the server is already composed and abstracted. But if we have =
a protocol extension that details paths
 per sections, =A0then indeed e2e path cost composition may have to be done=
 at =A0the ALTO Client side.
<u></u><u></u></span></i></b></p>
</div><div><div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">The relay could be even f=
ancier (e.g., one-hop server detour such as Akamai one-hop detour and hence=
 may involved two relay servers), but it may or may not be a good idea to g=
o too complex, depending on if the
 WG can define a clean API (e.g., SQL select/where grammar comes to mind qu=
ickly).<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">Thanks!<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-right:0cm;margin-bottom:12pt;margin-=
left:36pt">
Richard<u></u><u></u></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">On Sun, Oct 13, 2013 at 7=
:57 PM, Y. Richard Yang &lt;<a href=3D"javascript:_e({}, &#39;cvml&#39;, &#=
39;yry@cs.yale.edu&#39;);" target=3D"_blank">yry@cs.yale.edu</a>&gt; wrote:=
<u></u><u></u></p>

<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">Dear all,<u></u><u></u></=
p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">The base ALTO protocol (<=
a href=3D"http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt" target=3D=
"_blank">http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt</a>) is mos=
tly a single-cost-metric centric:<u></u><u></u></p>


</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">- The Cost Map filtering =
service uses only one cost-type (Sec. 11.3.2.3):<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0object {<u></u=
><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0CostType =A0 c=
ost-type;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0[JSONString co=
nstraints&lt;0..*&gt;;]<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0[PIDFilter =A0=
pids;]<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0} ReqFilteredCostM=
ap;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0object {<u></u><u>=
</u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0PIDName srcs&l=
t;0..*&gt;;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0PIDName dsts&l=
t;0..*&gt;;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0} PIDFilter;<u></u=
><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">...<u></u><u></u></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0constraints =A0Defines=
 a list of additional constraints on which<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0 elements of t=
he Cost Map are returned. =A0This parameter MUST NOT be<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0 specified if =
this resource&#39;s capabilities (Section 11.3.2.4)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0 indicate that=
 constraint support is not available. =A0A constraint<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0 contains two =
entities separated by whitespace: (1) an operator,<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0 &#39;gt&#39; =
for greater than, &#39;lt&#39; for less than, &#39;ge&#39; for greater than=
<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0 or equal to, =
&#39;le&#39; for less than or equal to, or &#39;eq&#39; for equal to;<u></u=
><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0 (2) a target =
cost value.=A0<u></u><u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">- The Endpoint Cost servi=
ce allows filtering (Sec. 11.5.1.3) as well, and is similar to Cost Map Fil=
tering:<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0object {<u></u><u>=
</u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0CostType =A0 =
=A0 =A0 =A0 =A0cost-type;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0[JSONString =
=A0 =A0 =A0 constraints&lt;0..*&gt;;]<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0EndpointFilter=
 =A0 =A0endpoints;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0} ReqEndpointCostM=
ap;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0object {<u></u><u>=
</u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0[TypedEndpoint=
Addr srcs&lt;0..*&gt;;]<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0[TypedEndpoint=
Addr dsts&lt;0..*&gt;;]<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0} EndpointFilter;<=
u></u><u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0constraints =A0Def=
ined equivalently to the &quot;constraints&quot; input<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">=A0 =A0 =A0 parameter of =
a Filtered Cost Map (see Section 11.3.2).<u></u><u></u></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">In other words, in the ba=
se protocol, the filtering condition and the output are based on the same C=
ost Metric. It is natural that the filtering and the output are based on di=
fferent Cost metrics. For example,
 a Client asks for routingcost for only pairs whose latency is below a thre=
shold (see use cases in
<a href=3D"http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07"=
 target=3D"_blank">
http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07</a>).=A0<u>=
</u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">One may argue that the fi=
lter-metric-no-equal-to-output-metric function can be implemented on top of=
 the filter-and-output-using-one-metric function:<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">In particular, suppose th=
e filtering is based on metrics M1 and M2, and the output is M3, for a set =
src to a set dsts. The Client can use the following three queries:<u></u><u=
></u></p>


</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">- Q1: Use single metric &=
lt;M1, filter on M1, srcs, dsts&gt; and obtains &lt;srcs1, dsts1&gt; in ret=
urn;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">- Q2: Use single metric &=
lt;M2, filter on M2, srcs1, dsts1&gt; and obtains &lt;srcs2, dsts2&gt; in r=
eturn;<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">- Q3: Use single metric &=
lt;M3, no filter, srcs2, dsts2&gt; to get the final result.<u></u><u></u></=
p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">Although this is not too =
bad, it is inconvenient. Note that preceding is first discussed by Sabine, =
Wendy, Nico in:<br>
<a href=3D"http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07"=
 target=3D"_blank">http://tools.ietf.org/html/draft-randriamasy-alto-multi-=
cost-07</a><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">I saw that this is also t=
he issue discussed in =A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">-=A0<a href=3D"http://too=
ls.ietf.org/html/draft-wu-alto-json-te-01" target=3D"_blank">http://tools.i=
etf.org/html/draft-wu-alto-json-te-01</a><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">-=A0<a href=3D"http://too=
ls.ietf.org/html/draft-lee-alto-app-net-info-exchange-02" target=3D"_blank"=
><span style=3D"font-size:9.5pt;font-family:Arial,sans-serif">http://tools.=
ietf.org/html/draft-lee-alto-app-net-info-exchange-02</span></a><u></u><u><=
/u></p>


</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">Hence, I propose that the=
 WG extends the base protocol with this capability, as I see that it is qui=
te useful. One issue is that I see three designs, and I am wondering if the=
 authors are preparing on discussing
 their designs at the coming IETF, and if there is a possibility for a sing=
le, unified document, focusing on this issue.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt">Thanks a lot!<u></u><u></=
u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><span style=3D"color:rgb(=
136,136,136)"><u></u>=A0<u></u></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><span style=3D"color:rgb(=
136,136,136)">Richard<u></u><u></u></span></p>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36pt"><u></u>=A0<u></u></p>
</div>
</div></div></div>
</div>
</div>
</div>

</blockquote></div><br></div></div>

--047d7b2e11d75fe30c04e8fdd8bb--

From sabine.randriamasy@alcatel-lucent.com  Fri Oct 18 10:50:49 2013
Return-Path: <sabine.randriamasy@alcatel-lucent.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 8049C11E80F9 for <alto@ietfa.amsl.com>; Fri, 18 Oct 2013 10:50:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.238
X-Spam-Level: 
X-Spam-Status: No, score=-10.238 tagged_above=-999 required=5 tests=[AWL=-0.240, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T9aax18goBrE for <alto@ietfa.amsl.com>; Fri, 18 Oct 2013 10:50:43 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id D6A8F11E81F3 for <alto@ietf.org>; Fri, 18 Oct 2013 10:50:41 -0700 (PDT)
Received: from fr712usmtp2.zeu.alcatel-lucent.com (h135-239-2-42.lucent.com [135.239.2.42]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r9IHoNoi013825 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 18 Oct 2013 12:50:24 -0500 (CDT)
Received: from FR712WXCHHUB03.zeu.alcatel-lucent.com (fr712wxchhub03.zeu.alcatel-lucent.com [135.239.2.74]) by fr712usmtp2.zeu.alcatel-lucent.com (GMO) with ESMTP id r9IHoLus018272 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 18 Oct 2013 19:50:22 +0200
Received: from FR711WXCHMBA01.zeu.alcatel-lucent.com ([169.254.1.168]) by FR712WXCHHUB03.zeu.alcatel-lucent.com ([135.239.2.74]) with mapi id 14.02.0247.003; Fri, 18 Oct 2013 19:50:21 +0200
From: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: ALTO Extension: A document defining multi-metrics filtering?
Thread-Index: AQHOyIb/S2ZXCjq9Yk+trIthkm0rq5n5D4fAgADQdYCAANsCgA==
Date: Fri, 18 Oct 2013 17:50:20 +0000
Message-ID: <A7A5844EB93EB94AB22C2068B10AD65A2944288F@FR711WXCHMBA01.zeu.alcatel-lucent.com>
References: <CANUuoLrYSOykB6YyvNSj2Zvrw-ZQiJoFFBoMCXLzkpgW37T1HA@mail.gmail.com> <A7A5844EB93EB94AB22C2068B10AD65A294423FE@FR711WXCHMBA01.zeu.alcatel-lucent.com> <CANUuoLpApXcMUdeVOhdqNCUeNCEoU-2SeuKyj6Ayb4FSvQ8ytw@mail.gmail.com>
In-Reply-To: <CANUuoLpApXcMUdeVOhdqNCUeNCEoU-2SeuKyj6Ayb4FSvQ8ytw@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.239.27.40]
Content-Type: multipart/alternative; boundary="_000_A7A5844EB93EB94AB22C2068B10AD65A2944288FFR711WXCHMBA01z_"
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
Cc: "ROOME, Wendy D \(Wendy\)" <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>, "choits@etri.re.kr" <choits@etri.re.kr>, Qin Wu <bill.wu@huawei.com>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 18 Oct 2013 17:50:49 -0000

--_000_A7A5844EB93EB94AB22C2068B10AD65A2944288FFR711WXCHMBA01z_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Richard,

Please see inline
Sabine

De : yang.r.yang@gmail.com [mailto:yang.r.yang@gmail.com] De la part de Y. =
Richard Yang
Envoy=E9 : vendredi 18 octobre 2013 08:14
=C0 : RANDRIAMASY, SABINE (SABINE)
Cc : IETF ALTO; ROOME, Wendy D (Wendy); ietf@nico-schwan.de; Qin Wu; Young =
Lee; Greg Bernstein; choits@etri.re.kr; dhruv.dhody
Objet : ALTO Extension: A document defining multi-metrics filtering?

Hi Sabine,

Good comments. Please see below.

On Thu, Oct 17, 2013 at 1:40 PM, RANDRIAMASY, SABINE (SABINE) <sabine.randr=
iamasy@alcatel-lucent.com<javascript:_e(%7b%7d,%20'cvml',%20'sabine.randria=
masy@alcatel-lucent.com');>> wrote:
A few questions and comments inline to make sure I understood. If we are to=
 document proposed filtering services, should we put separate sections, one=
 on filtering services for the basic protocol and the other one, more prosp=
ective for protocol extensions on topologies?
Following the guideline of modular design, how about using different docume=
nts whenever possible?
[     ] agree

Here is some thinking on organization. A main design feature of the ALTO ba=
se protocol is its single-switch abstraction. Hence, how about we first foc=
us on filtering on this base abstraction, and not beyond?
[     ] Ok then I will start on my side and document the set of filtering s=
ervices for the base protocol, based on the Multi-Cost 07 proposal, the pro=
posals of Young et al. and Qin et al.  ,  list what I see as possible harmo=
nization items to have a discussion basis.

Specifically, in this base abstraction model, a network map and a cost map =
based on the network map defines an abstract, single switch. Each PID in th=
e network map defines a PoP (i.e., the set of endhosts, which can be either=
 servers or clients in an application context, attached to this PoP), and t=
he cost map of each cost metric defines the pair-wise values of the given c=
ost metric. Let V be the set of n PIDs (nodes), and E the set of n^2 edges.=
 Filtering is to help an application to narrow down its choices when buildi=
ng an application overlay based on this single-switch model. Hence, we need=
 to define the following components:

- how to filter the set of nodes?
- how to filter the set of candidate overlay paths (one hop or multiple hop=
s in extreme e.g., origin -> edge server -> consumer)?
[     ] Ok

Richard

Thanks
Sabine


De : yang.r.yang@gmail.com<javascript:_e(%7b%7d,%20'cvml',%20'yang.r.yang@g=
mail.com');> [mailto:yang.r.yang@gmail.com<javascript:_e(%7b%7d,%20'cvml',%=
20'yang.r.yang@gmail.com');>] De la part de Y. Richard Yang
Envoy=E9 : lundi 14 octobre 2013 04:42
=C0 : IETF ALTO
Cc : RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); ietf@nico-schwan=
.de<javascript:_e(%7b%7d,%20'cvml',%20'ietf@nico-schwan.de');>; Qin Wu; You=
ng Lee; Greg Bernstein; choits@etri.re.kr<javascript:_e(%7b%7d,%20'cvml',%2=
0'choits@etri.re.kr');>; dhruv.dhody
Objet : Re: ALTO Extension: A document defining multi-metrics filtering?

Let me add on: although a filtering service can be a very useful service, i=
t can also be quite involved, and hence the WG may need to think through th=
e issues when designing this service. For example, there are two types of u=
se cases:

- end-to-end: given src set {s1, s2, s3, ..., sn} and dst set {d1, d2, d3, =
..., dm}, return all pairs (si, dj), where si in {s1, ..., sn} and dj in {d=
1, ..., dm} such that (si, dj) satisfies the constraints;
[     ] This use case corresponds to the base protocol. The requested servi=
ce is the ALTO Cost Map Filtering Service w.r.t metric values. It seems eas=
y to extend this service by extending the set of constraints with additiona=
l constraints metrics and additional logical operators.

- relay: given src s, dst d, and a relay candidate set {r1, r2, ..., rk}, r=
eturn all of the ri such that s -> ri -> d satisfies the constraints.
[     ] This use case relates to a proposed ALTO extension on topologies pr=
oviding cost maps where there may be several paths between an (S,D) pair. I=
s the ALTO Service here the ALTO Cost Map Filtering Service w.r.t metric va=
lues adapted to a multi-path topology?  The cost map here would need to inc=
lude some index on the cost value w.r.t. the relay ID and the service would=
 only return cost values on the indexed (S,D, idx) triples satisfying the c=
onstraints. If this is correct, then such a use case would well fit into fi=
ltering services for topology based ALTO  extensions.

Note that with relay, we will then need to worry about the "composition" se=
mantics of metrics. For example, delay might be additive, loss rate (unless=
 small and independent) may not be.
[     ] I think the composition and optimization operators should be docume=
nted in any case (I think in the "use and application" field of the RFC6390=
 template). Indeed, the OPTIMUM-COMPOSITION attributes may be MIN-SUM, MAX-=
MIN, MIN-PROD etc...

In the base protocol an e2e cost value provided by the server is already co=
mposed and abstracted. But if we have a protocol extension that details pat=
hs per sections,  then indeed e2e path cost composition may have to be done=
 at  the ALTO Client side.

The relay could be even fancier (e.g., one-hop server detour such as Akamai=
 one-hop detour and hence may involved two relay servers), but it may or ma=
y not be a good idea to go too complex, depending on if the WG can define a=
 clean API (e.g., SQL select/where grammar comes to mind quickly).

Thanks!

Richard
On Sun, Oct 13, 2013 at 7:57 PM, Y. Richard Yang <yry@cs.yale.edu<javascrip=
t:_e(%7b%7d,%20'cvml',%20'yry@cs.yale.edu');>> wrote:
Dear all,

The base ALTO protocol (http://www.ietf.org/id/draft-ietf-alto-protocol-20.=
txt) is mostly a single-cost-metric centric:

- The Cost Map filtering service uses only one cost-type (Sec. 11.3.2.3):

     object {
     CostType   cost-type;
     [JSONString constraints<0..*>;]
     [PIDFilter  pids;]
   } ReqFilteredCostMap;

   object {
     PIDName srcs<0..*>;
     PIDName dsts<0..*>;
   } PIDFilter;

...
 constraints  Defines a list of additional constraints on which
      elements of the Cost Map are returned.  This parameter MUST NOT be
      specified if this resource's capabilities (Section 11.3.2.4)
      indicate that constraint support is not available.  A constraint
      contains two entities separated by whitespace: (1) an operator,
      'gt' for greater than, 'lt' for less than, 'ge' for greater than
      or equal to, 'le' for less than or equal to, or 'eq' for equal to;
      (2) a target cost value.

- The Endpoint Cost service allows filtering (Sec. 11.5.1.3) as well, and i=
s similar to Cost Map Filtering:

   object {
     CostType          cost-type;
     [JSONString       constraints<0..*>;]
     EndpointFilter    endpoints;
   } ReqEndpointCostMap;

   object {
     [TypedEndpointAddr srcs<0..*>;]
     [TypedEndpointAddr dsts<0..*>;]
   } EndpointFilter;

   constraints  Defined equivalently to the "constraints" input
      parameter of a Filtered Cost Map (see Section 11.3.2).

In other words, in the base protocol, the filtering condition and the outpu=
t are based on the same Cost Metric. It is natural that the filtering and t=
he output are based on different Cost metrics. For example, a Client asks f=
or routingcost for only pairs whose latency is below a threshold (see use c=
ases in http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07).

One may argue that the filter-metric-no-equal-to-output-metric function can=
 be implemented on top of the filter-and-output-using-one-metric function:

In particular, suppose the filtering is based on metrics M1 and M2, and the=
 output is M3, for a set src to a set dsts. The Client can use the followin=
g three queries:

- Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains <srcs1, =
dsts1> in return;
- Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains <srcs2=
, dsts2> in return;
- Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final resu=
lt.

Although this is not too bad, it is inconvenient. Note that preceding is fi=
rst discussed by Sabine, Wendy, Nico in:
http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07

I saw that this is also the issue discussed in
- http://tools.ietf.org/html/draft-wu-alto-json-te-01
- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02

Hence, I propose that the WG extends the base protocol with this capability=
, as I see that it is quite useful. One issue is that I see three designs, =
and I am wondering if the authors are preparing on discussing their designs=
 at the coming IETF, and if there is a possibility for a single, unified do=
cument, focusing on this issue.

Thanks a lot!

Richard



--_000_A7A5844EB93EB94AB22C2068B10AD65A2944288FFR711WXCHMBA01z_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Texte de bulles Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.TextedebullesCar
	{mso-style-name:"Texte de bulles Car";
	mso-style-priority:99;
	mso-style-link:"Texte de bulles";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Richard,
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Please see inline<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sabine<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> yang.r.yang@gmail.com [mai=
lto:yang.r.yang@gmail.com]
<b>De la part de</b> Y. Richard Yang<br>
<b>Envoy=E9&nbsp;:</b> vendredi 18 octobre 2013 08:14<br>
<b>=C0&nbsp;:</b> RANDRIAMASY, SABINE (SABINE)<br>
<b>Cc&nbsp;:</b> IETF ALTO; ROOME, Wendy D (Wendy); ietf@nico-schwan.de; Qi=
n Wu; Young Lee; Greg Bernstein; choits@etri.re.kr; dhruv.dhody<br>
<b>Objet&nbsp;:</b> ALTO Extension: A document defining multi-metrics filte=
ring?<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Hi Sabine,<o:p></o:p></=
p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Good comments. Please s=
ee below.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">On Thu, Oct 17, 2013 at=
 1:40 PM, RANDRIAMASY, SABINE (SABINE) &lt;<a href=3D"javascript:_e(%7b%7d,=
%20'cvml',%20'sabine.randriamasy@alcatel-lucent.com');" target=3D"_blank">s=
abine.randriamasy@alcatel-lucent.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">A few questions and comments inline to make sure=
 I understood. If we are to document proposed filtering services, should we=
 put separate sections, one on filtering services for
 the basic protocol and the other one, more prospective for protocol extens=
ions on topologies?</span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Following the guideline=
&nbsp;of modular design, how about using different documents whenever possi=
ble?<span style=3D"color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] agree<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><i><span style=3D"fo=
nt-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color=
:#1F497D"><o:p>&nbsp;</o:p></span></i></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Here is some thinking o=
n organization.&nbsp;A main design feature of the ALTO&nbsp;base protocol i=
s its single-switch abstraction. Hence, how about we first focus on filteri=
ng on this base abstraction, and not beyond?<o:p></o:p></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] Ok then I will start on my side and document the set of filtering =
services for the base protocol, based on the Multi-Cost 07</span></i></b>
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">proposal, the proposals of Young et al. an=
d Qin et al. &nbsp;, &nbsp;list what I see as possible harmonization items =
to have a discussion basis. &nbsp;&nbsp;</span></i></b><span style=3D"font-=
size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1=
F497D"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Specifically, in this b=
ase abstraction model, a&nbsp;network map and a cost map based on the netwo=
rk map&nbsp;defines an abstract, single switch. Each PID in the network map=
&nbsp;defines a PoP (i.e., the set of endhosts, which
 can be either servers or clients in an application context,&nbsp;attached =
to this PoP), and the cost map of each cost metric&nbsp;defines the pair-wi=
se values of the given cost metric. Let V be the set of n&nbsp;PIDs (nodes)=
, and E the set of n^2 edges. Filtering is to help
 an application to narrow down its choices when building an&nbsp;applicatio=
n overlay based on this single-switch model. Hence, we need to define the f=
ollowing components:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- how to filter the&nbs=
p;set of nodes?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- how to filter the&nbs=
p;set of candidate overlay paths (one hop or multiple hops in extreme&nbsp;=
e.g., origin&nbsp;-&gt; edge server -&gt; consumer)?<o:p></o:p></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] Ok</span></i></b><span style=3D"font-size:11.0pt;font-family:&quot=
;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Richard<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Thanks</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Sabine</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><span lang=3D"FR" style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quo=
t;,&quot;sans-serif&quot;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"f=
ont-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href=3D"javascript:_e(%7b%7d,%20'cvml',%20'yang.r.yang@gmail.com');" tar=
get=3D"_blank">
yang.r.yang@gmail.com</a> [mailto:<a href=3D"javascript:_e(%7b%7d,%20'cvml'=
,%20'yang.r.yang@gmail.com');" target=3D"_blank">yang.r.yang@gmail.com</a>]
<b>De la part de</b> Y. Richard Yang<br>
<b>Envoy=E9&nbsp;:</b> lundi 14 octobre 2013 04:42<br>
<b>=C0&nbsp;:</b> IETF ALTO<br>
<b>Cc&nbsp;:</b> RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); <a h=
ref=3D"javascript:_e(%7b%7d,%20'cvml',%20'ietf@nico-schwan.de');" target=3D=
"_blank">
ietf@nico-schwan.de</a>; Qin Wu; Young Lee; Greg Bernstein; <a href=3D"java=
script:_e(%7b%7d,%20'cvml',%20'choits@etri.re.kr');" target=3D"_blank">
choits@etri.re.kr</a>; dhruv.dhody<br>
<b>Objet&nbsp;:</b> Re: ALTO Extension: A document defining multi-metrics f=
iltering?</span><o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Let me add on: although a filtering service can be a very useful service, i=
t can also be quite involved, and hence the WG may need to think through th=
e issues when designing this service. For example, there are two types of u=
se cases:<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
- end-to-end: given src set {s1, s2, s3, ..., sn} and dst set {d1, d2, d3, =
..., dm}, return all pairs (si, dj), where si in {s1, ..., sn} and dj in {d=
1, ..., dm} such that (si, dj) satisfies the constraints;<o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] This use case =
corresponds to the base protocol. The requested service is the ALTO Cost Ma=
p Filtering Service w.r.t metric values. It seems easy to extend this servi=
ce
 by extending the set of constraints with additional constraints metrics an=
d additional logical operators.
</span></i></b><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
- relay: given src s, dst d, and a relay candidate set {r1, r2, ..., rk}, r=
eturn all of the ri such that s -&gt; ri -&gt; d satisfies the constraints.=
&nbsp;<o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] This use case =
relates to a proposed ALTO extension on topologies providing cost maps wher=
e there may be several paths between an (S,D) pair. Is the ALTO Service her=
e
 the ALTO Cost Map Filtering Service w.r.t metric values adapted to a multi=
-path topology? &nbsp;The cost map here would need to include some index on=
 the cost value w.r.t. the relay ID and the service would only return cost =
values on the indexed (S,D, idx) triples
 satisfying the constraints. If this is correct, then such a use case would=
 well fit into filtering services for topology based ALTO &nbsp;extensions.
</span></i></b><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Note that with relay, we will then need to worry about the &quot;compositio=
n&quot; semantics of metrics. For example, delay might be additive, loss ra=
te (unless small and independent) may not be.<o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] I think the co=
mposition and optimization operators should be documented in any case (I th=
ink in the &#8220;use and application&#8221; field of the RFC6390 template)=
. Indeed, the
 OPTIMUM-COMPOSITION attributes may be MIN-SUM, MAX-MIN, MIN-PROD etc&#8230=
; </span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">&nbsp;</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">In the base protocol an e2e cost value pro=
vided by the server is already composed and abstracted. But if we have a pr=
otocol extension that details paths per sections, &nbsp;then
 indeed e2e path cost composition may have to be done at &nbsp;the ALTO Cli=
ent side. </span>
</i></b><o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
The relay could be even fancier (e.g., one-hop server detour such as Akamai=
 one-hop detour and hence may involved two relay servers), but it may or ma=
y not be a good idea to go too complex, depending on if the WG can define a=
 clean API (e.g., SQL select/where
 grammar comes to mind quickly).<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Thanks!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t;margin-left:72.0pt">
Richard<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
On Sun, Oct 13, 2013 at 7:57 PM, Y. Richard Yang &lt;<a href=3D"javascript:=
_e(%7b%7d,%20'cvml',%20'yry@cs.yale.edu');" target=3D"_blank">yry@cs.yale.e=
du</a>&gt; wrote:<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Dear all,<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
The base ALTO protocol (<a href=3D"http://www.ietf.org/id/draft-ietf-alto-p=
rotocol-20.txt" target=3D"_blank">http://www.ietf.org/id/draft-ietf-alto-pr=
otocol-20.txt</a>) is mostly a single-cost-metric centric:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
- The Cost Map filtering service uses only one cost-type (Sec. 11.3.2.3):<o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp;object {<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp;CostType &nbsp; cost-type;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp;[JSONString constraints&lt;0..*&gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp;[PIDFilter &nbsp;pids;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp;} ReqFilteredCostMap;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp;object {<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp;PIDName srcs&lt;0..*&gt;;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp;PIDName dsts&lt;0..*&gt;;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp;} PIDFilter;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
...<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;constraints &nbsp;Defines a list of additional constraints on which<o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp; elements of the Cost Map are returned. &nbsp;This para=
meter MUST NOT be<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp; specified if this resource's capabilities (Section 11.=
3.2.4)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp; indicate that constraint support is not available. &nb=
sp;A constraint<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp; contains two entities separated by whitespace: (1) an =
operator,<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp; 'gt' for greater than, 'lt' for less than, 'ge' for gr=
eater than<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp; or equal to, 'le' for less than or equal to, or 'eq' f=
or equal to;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp; (2) a target cost value.&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
- The Endpoint Cost service allows filtering (Sec. 11.5.1.3) as well, and i=
s similar to Cost Map Filtering:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp;object {<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp;CostType &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cost-type;<o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp;[JSONString &nbsp; &nbsp; &nbsp; constraints&lt;0..*&gt=
;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp;EndpointFilter &nbsp; &nbsp;endpoints;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp;} ReqEndpointCostMap;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp;object {<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp;[TypedEndpointAddr srcs&lt;0..*&gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp;[TypedEndpointAddr dsts&lt;0..*&gt;;]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp;} EndpointFilter;<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp;constraints &nbsp;Defined equivalently to the &quot;constraint=
s&quot; input<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; &nbsp; &nbsp; parameter of a Filtered Cost Map (see Section 11.3.2).=
<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
In other words, in the base protocol, the filtering condition and the outpu=
t are based on the same Cost Metric. It is natural that the filtering and t=
he output are based on different Cost metrics. For example, a Client asks f=
or routingcost for only pairs whose
 latency is below a threshold (see use cases in <a href=3D"http://tools.iet=
f.org/html/draft-randriamasy-alto-multi-cost-07" target=3D"_blank">
http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07</a>).&nbsp;=
<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
One may argue that the filter-metric-no-equal-to-output-metric function can=
 be implemented on top of the filter-and-output-using-one-metric function:<=
o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
In particular, suppose the filtering is based on metrics M1 and M2, and the=
 output is M3, for a set src to a set dsts. The Client can use the followin=
g three queries:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
- Q1: Use single metric &lt;M1, filter on M1, srcs, dsts&gt; and obtains &l=
t;srcs1, dsts1&gt; in return;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
- Q2: Use single metric &lt;M2, filter on M2, srcs1, dsts1&gt; and obtains =
&lt;srcs2, dsts2&gt; in return;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
- Q3: Use single metric &lt;M3, no filter, srcs2, dsts2&gt; to get the fina=
l result.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Although this is not too bad, it is inconvenient. Note that preceding is fi=
rst discussed by Sabine, Wendy, Nico in:<br>
<a href=3D"http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07"=
 target=3D"_blank">http://tools.ietf.org/html/draft-randriamasy-alto-multi-=
cost-07</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
I saw that this is also the issue discussed in &nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-wu-alto-json-te-01" targ=
et=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-json-te-01</a><o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-lee-alto-app-net-info-ex=
change-02" target=3D"_blank"><span style=3D"font-size:9.5pt;font-family:&qu=
ot;Arial&quot;,&quot;sans-serif&quot;">http://tools.ietf.org/html/draft-lee=
-alto-app-net-info-exchange-02</span></a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Hence, I propose that the WG extends the base protocol with this capability=
, as I see that it is quite useful. One issue is that I see three designs, =
and I am wondering if the authors are preparing on discussing their designs=
 at the coming IETF, and if there
 is a possibility for a single, unified document, focusing on this issue.<o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Thanks a lot!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"color:#888888">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"color:#888888">Richard</span><o:p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_A7A5844EB93EB94AB22C2068B10AD65A2944288FFR711WXCHMBA01z_--

From sabine.randriamasy@alcatel-lucent.com  Fri Oct 18 11:53:14 2013
Return-Path: <sabine.randriamasy@alcatel-lucent.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 8A5B211E8146 for <alto@ietfa.amsl.com>; Fri, 18 Oct 2013 11:53:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.198
X-Spam-Level: 
X-Spam-Status: No, score=-10.198 tagged_above=-999 required=5 tests=[AWL=-0.200, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_62=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XEU08rB+Vsfy for <alto@ietfa.amsl.com>; Fri, 18 Oct 2013 11:53:09 -0700 (PDT)
Received: from ihemail1.lucent.com (ihemail1.lucent.com [135.245.0.33]) by ietfa.amsl.com (Postfix) with ESMTP id ACC1D11E8116 for <alto@ietf.org>; Fri, 18 Oct 2013 11:53:05 -0700 (PDT)
Received: from fr711usmtp1.zeu.alcatel-lucent.com (h135-239-2-122.lucent.com [135.239.2.122]) by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id r9IIqgoB004609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 18 Oct 2013 13:52:43 -0500 (CDT)
Received: from FR712WXCHHUB03.zeu.alcatel-lucent.com (fr712wxchhub03.zeu.alcatel-lucent.com [135.239.2.74]) by fr711usmtp1.zeu.alcatel-lucent.com (GMO) with ESMTP id r9IIqf5j016726 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 18 Oct 2013 20:52:41 +0200
Received: from FR711WXCHMBA01.zeu.alcatel-lucent.com ([169.254.1.168]) by FR712WXCHHUB03.zeu.alcatel-lucent.com ([135.239.2.74]) with mapi id 14.02.0247.003; Fri, 18 Oct 2013 20:52:41 +0200
From: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: ALTO Extension: Defining a Cost Metrics document?
Thread-Index: AQHOyGq+4uXNZ1CeREy4alNEanaEcpn5MLNggAAWSACAAX0hwA==
Date: Fri, 18 Oct 2013 18:52:41 +0000
Message-ID: <A7A5844EB93EB94AB22C2068B10AD65A294428D7@FR711WXCHMBA01.zeu.alcatel-lucent.com>
References: <CANUuoLpy5Budcx+tJCeExeYC_yTcQ9J2gC7HsXcjCvhOi7p_Vg@mail.gmail.com> <A7A5844EB93EB94AB22C2068B10AD65A29442420@FR711WXCHMBA01.zeu.alcatel-lucent.com> <CANUuoLqz_+qAqYKt6pnCm-sg3mK+113MfKErZgcQAu82AndZNg@mail.gmail.com>
In-Reply-To: <CANUuoLqz_+qAqYKt6pnCm-sg3mK+113MfKErZgcQAu82AndZNg@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.239.27.40]
Content-Type: multipart/alternative; boundary="_000_A7A5844EB93EB94AB22C2068B10AD65A294428D7FR711WXCHMBA01z_"
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33
Cc: IETF ALTO <alto@ietf.org>, "choits@etri.re.kr" <choits@etri.re.kr>, Qin Wu <bill.wu@huawei.com>
Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 18 Oct 2013 18:53:14 -0000

--_000_A7A5844EB93EB94AB22C2068B10AD65A294428D7FR711WXCHMBA01z_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,

De : yang.r.yang@gmail.com [mailto:yang.r.yang@gmail.com] De la part de Y. =
Richard Yang
Envoy=E9 : jeudi 17 octobre 2013 23:06
=C0 : RANDRIAMASY, SABINE (SABINE)
Cc : IETF ALTO; choits@etri.re.kr; dhruv.dhody@huawei.com; Greg Bernstein; =
Qin Wu; Young Lee
Objet : Re: ALTO Extension: Defining a Cost Metrics document?

Dear Sabine, Qin,



On Thu, Oct 17, 2013 at 2:17 PM, RANDRIAMASY, SABINE (SABINE) <sabine.randr=
iamasy@alcatel-lucent.com<mailto:sabine.randriamasy@alcatel-lucent.com>> wr=
ote:
Hello,

This is definitely a good idea and it will be interesting to merge the metr=
ic definitions of the current drafts.

Thanks a lot for the work on systematically defining a set of metrics. Plea=
se see below. I agree that it is a good idea to merge the definitions.

I started the exercise, using the RFC 6390 definition template

This is a good starting point indeed. We should also define "routingcost" i=
n this metrics document.

and found that there are other definition attributes that highlight the att=
ractiveness of the ALTO Service that may be used at several layers of the n=
etwork, with several levels of control and by several parties.

This multi-level/layer concept is quite interesting. Can you please elabora=
te a bit?
[     ] I was referring  to the large bandwidth use case where  the ALTO Se=
rvice exposes a topology and paths abstractions with a granularity below th=
e e2e level.


There has been a number of metrics proposed besides 'routingcost' and 'hopc=
ount'.  One aspect that should be documented is the usage of such metrics i=
n different environments. For instance, some drafts assume a controlled env=
ironment where metric values are closer or equal to real values where as ot=
her drafts assume a less or no access control and propose abstracted metric=
 values to reflect preferences w.r.t. these metrics.

So it could be useful to include attributes in the metric definition reflec=
ting their degree (may be yes/no) of abstraction,

Let me try to understand. The hopcount metric might say 5 hops, and then a =
"hopcount-detail" will give the exact 5 hops; an AScount metric might say 5=
 ASes, and ASPath then lists the 5 AS's, and then routePath lists the spwci=
fi routes, for example? Or this is too detailed?
[     ] Yes, That is a possibility and up to the server to define the level=
 of detail in terms of units that may be for instance IP hops, AS hops, som=
e other unit or no unit that is the value of hopcount reflects the preferen=
ce of the Server operator, with the optimum being MIN and the composition o=
perator is SUM.
In such a case, should'nt we introduce different metric names, such as "ASh=
opcount", "IPhopcount", "hopcount" ? What is the opinion in the ALTO WG?

I was also thinking on the "available path bandwidth" example:  In a contro=
lled environment an ALTO Server may be ready to expose  the real value or a=
 statistic, possibly say over which time period, so the metric values would=
 look like N Gbs. In that case, the metric description may indicate that th=
e ALTO value reflects or estimates reality.  In a less controlled environme=
nt or for whatever reason, the ALTO Server just wants to express a preferen=
ce w.r.t.  available bandwidth and express this as a "bandwidth score", for=
 example between 0 and N=3D20 or 100, indicating that the higher the value,=
 the more available bw there is. A score will keep the real value confident=
ial but reflects at least proportionality. In that case, the description sh=
ould indicate that the value is an abstraction. Note that in both cases the=
 description would indicate that the optimum is MAX and the composition ope=
rator is MIN.

or whether their values are explicitly provided or are just used in a hidde=
n way to filter or tie-break other metric values.

Filtering-only metrics can be tricky, but of course interesting.
[     ] Agree. We may leave this for the moment.

Besides, most currently documented ALTO metrics relate to the transport top=
ology where as the protocol architecture and initial extension discussions =
mentioned metrics relating to capabilities, of endpoints such as storage or=
 CPU capacity. So I could be useful to document the potential providers of =
the different metrics and the potential users.

I am not sure we may want to combine transport and storage/CPU metrics in a=
 single documents. My first reaction is that separate documents may be a mo=
re modular design, and I can think more.
[     ] These metrics refer to the CDN and Virtualized applications in Data=
 Centers use cases mentioned in draft tools.ietf.org/html/draft-marocco-alt=
o-next-00#page-5 submitted for IETF83 in Paris to prepare the i2aex meeting=
. Such metrics can be supported using the base protocol and the Basic ALTO =
 architecture figure 1 mentions third parties and content providers, beside=
s routing protocols etc. as possible entities to provision ALTO information=
.
But  I agree, we may first focus on metrics reporting on e2e network paths =
and may start defining them in a separate document.

Thanks!
Richard




What is your opinion?

Thanks
Sabine




De : yang.r.yang@gmail.com<mailto:yang.r.yang@gmail.com> [mailto:yang.r.yan=
g@gmail.com<mailto:yang.r.yang@gmail.com>] De la part de Y. Richard Yang
Envoy=E9 : lundi 14 octobre 2013 01:20
=C0 : IETF ALTO
Cc : choits@etri.re.kr<mailto:choits@etri.re.kr>; RANDRIAMASY, SABINE (SABI=
NE); dhruv.dhody@huawei.com<mailto:dhruv.dhody@huawei.com>; Greg Bernstein;=
 Qin Wu; Young Lee
Objet : ALTO Extension: Defining a Cost Metrics document?

Dear all,

I am reading up on the documents that define cost metrics.

The motivation is that the base ALTO protocol (http://www.ietf.org/id/draft=
-ietf-alto-protocol-20.txt) has defined only one Cost Metric: 'routingcost'=
:

- Defined the semantics at Sec. 6.1.1.1 of , and then listed it at Table 3.

- Used "hopcount" in examples of Sec. 9.2.3 and 9.2.4, but the semantics of=
 not formally defined.

Given the aforementioned state of the base protocol, I see good value in th=
at the WG produces a WG document that defines a relatively complete set of =
Cost Metrics.

I particular, I read the following:

- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02
  (Sec. 3.4 introduced three metrics: hopcount, latency, pktcost, and cost)

- http://tools.ietf.org/html/draft-wu-alto-json-te-01
  Defined a set of metrics: in Sec. 4. This work, as stated in the document=
, is motivated by

- http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt

During the review of ALTO base protocol, we are suggested to document perfo=
rmance metrics (cost metrics) per the guideline of
- RFC 6390 Guidelines for Considering New Performance Metric Development. A=
. Clark, B. Claise. October 2011. (Format: TXT=3D49930 bytes) (Also BCP0170=
) (Status: BEST CURRENT PRACTICE)

Here a first question, I have, is whether the authors will produce a "simpl=
e" document, at the upcoming IETF, whose only purpose is to:

  define a set of cost metrics, including the nameing, the semantics, ... f=
ollowing the guideline per RFC 6390, that can benefit the base protocol.

I feel that such a document is focused, and has good value by itself.

The implications of the introducing multiple cost metrics can be explored i=
n another document, which I will send in another email shortly.

Thanks.

Richard



--_000_A7A5844EB93EB94AB22C2068B10AD65A294428D7FR711WXCHMBA01z_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Texte de bulles Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.TextedebullesCar
	{mso-style-name:"Texte de bulles Car";
	mso-style-priority:99;
	mso-style-link:"Texte de bulles";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi all,<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> yang.r.yang@gmail.com [mai=
lto:yang.r.yang@gmail.com]
<b>De la part de</b> Y. Richard Yang<br>
<b>Envoy=E9&nbsp;:</b> jeudi 17 octobre 2013 23:06<br>
<b>=C0&nbsp;:</b> RANDRIAMASY, SABINE (SABINE)<br>
<b>Cc&nbsp;:</b> IETF ALTO; choits@etri.re.kr; dhruv.dhody@huawei.com; Greg=
 Bernstein; Qin Wu; Young Lee<br>
<b>Objet&nbsp;:</b> Re: ALTO Extension: Defining a Cost Metrics document?<o=
:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Dear Sabine, Qin,<o:p><=
/o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">On Thu, Oct 17, 2013 at=
 2:17 PM, RANDRIAMASY, SABINE (SABINE) &lt;<a href=3D"mailto:sabine.randria=
masy@alcatel-lucent.com" target=3D"_blank">sabine.randriamasy@alcatel-lucen=
t.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Hello,</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">This is definitely a good idea and it will be in=
teresting to merge the metric definitions of the current drafts.
</span><o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Thanks a lot for the wo=
rk on systematically defining a set of metrics. Please see below. I agree t=
hat it is a good idea to merge the definitions.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">I started the exercise, using the RFC 6390 defin=
ition template
</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">This is a good starting=
 point indeed. We should also define &quot;routingcost&quot; in this metric=
s document.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">and found that there are other definition attrib=
utes that highlight the attractiveness of the ALTO Service that may be used=
 at several layers of the network, with several levels
 of control and by several parties.</span><o:p></o:p></p>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">This multi-level/layer =
concept is quite interesting. Can you please elaborate a bit?&nbsp;<o:p></o=
:p></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] I was referring &nbsp;to the large bandwidth use case where &nbsp;=
the ALTO Service exposes a topology and paths abstractions with a granulari=
ty below the
 e2e level. </span></i></b><span style=3D"font-size:11.0pt;font-family:&quo=
t;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p=
>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">There has been a number of metrics proposed besi=
des &#8216;routingcost&#8217; and &#8216;hopcount&#8217;. &nbsp;One aspect =
that should be documented is the usage of such metrics in different environ=
ments. For
 instance, some drafts assume a controlled environment where metric values =
are closer or equal to real values where as other drafts assume a less or n=
o access control and propose abstracted metric values to reflect preference=
s w.r.t. these metrics.
</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">So it could be useful to include attributes in t=
he metric definition reflecting their degree (may be yes/no) of abstraction=
,
</span><o:p></o:p></p>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Let me try to understan=
d. The hopcount metric might say 5 hops, and then a &quot;hopcount-detail&q=
uot; will give the exact 5 hops; an AScount metric might say 5 ASes, and AS=
Path then lists the 5 AS's, and then routePath
 lists the spwcifi routes, for example? Or this is too detailed? &nbsp;<o:p=
></o:p></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] Yes, That is a possibility and up to the server to define the leve=
l of detail in terms of units that may be for instance IP hops, AS hops, so=
me
 other unit or no unit that is the value of hopcount reflects the preferenc=
e of the Server operator, with the optimum being MIN and the composition op=
erator is SUM.
<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">In such a case, sho=
uld&#8217;nt we introduce different metric names, such as &#8220;AShopcount=
&#8221;, &#8220;IPhopcount&#8221;, &#8220;hopcount&#8221; ? What is the opi=
nion in the ALTO WG?
<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></=
span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I was also thinking=
 on the &#8220;available path bandwidth&#8221; example: &nbsp;In a controll=
ed environment an ALTO Server may be ready to expose &nbsp;the real value o=
r a
 statistic, possibly say over which time period, so the metric values would=
 look like N Gbs. In that case, the metric description may indicate that th=
e ALTO value reflects or estimates reality. &nbsp;In a less controlled envi=
ronment or for whatever reason, the ALTO
 Server just wants to express a preference w.r.t. &nbsp;available bandwidth=
 and express this as a &#8220;bandwidth score&#8221;, for example between 0=
 and N=3D20 or 100, indicating that the higher the value, the more availabl=
e bw there is. A score will keep the real value confidential
 but reflects at least proportionality. In that case, the description shoul=
d indicate that the value is an abstraction. Note that in both cases the de=
scription would indicate that the optimum is MAX and the composition operat=
or is MIN.
</span></i></b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">or whether their values are explicitly provided =
or are just used in a hidden way to filter or tie-break other metric values=
. &nbsp;</span><o:p></o:p></p>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Filtering-only metrics =
can be tricky, but of course interesting.&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] Agree. We may leave this for the moment.
</span></i></b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Besides, most currently documented ALTO metrics =
relate to the transport topology where as the protocol architecture and ini=
tial extension discussions mentioned metrics relating
 to capabilities, of endpoints such as storage or CPU capacity. So I could =
be useful to document the potential providers of the different metrics and =
the potential users. &nbsp;</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">I am not sure we may wa=
nt to combine transport and storage/CPU metrics in a single documents. My f=
irst reaction is that separate documents may be a more modular design, and =
I can think more.<o:p></o:p></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] These metrics refer to the CDN and Virtualized applications in Dat=
a Centers use cases mentioned in draft tools.ietf.org/html/draft-marocco-al=
to-next-00#page-5
 submitted for IETF83 in Paris to prepare the i2aex meeting. Such metrics c=
an be supported using the base protocol and the Basic ALTO &nbsp;architectu=
re figure 1 mentions third parties and content providers, besides routing p=
rotocols etc. as possible entities to
 provision ALTO information. <o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">But &nbsp;I agree, =
we may first focus on metrics reporting on e2e network paths and may start =
defining them in a separate document.
</span></i></b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:0cm;margin-right:0cm;mar=
gin-bottom:12.0pt;margin-left:36.0pt">
Thanks!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Richard<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0c=
m 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">What is your opinion?</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Thanks</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Sabine</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:36.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><span lang=3D"FR" style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quo=
t;,&quot;sans-serif&quot;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"f=
ont-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href=3D"mailto:yang.r.yang@gmail.com" target=3D"_blank">yang.r.yang@gmai=
l.com</a> [mailto:<a href=3D"mailto:yang.r.yang@gmail.com" target=3D"_blank=
">yang.r.yang@gmail.com</a>]
<b>De la part de</b> Y. Richard Yang<br>
<b>Envoy=E9&nbsp;:</b> lundi 14 octobre 2013 01:20<br>
<b>=C0&nbsp;:</b> IETF ALTO<br>
<b>Cc&nbsp;:</b> <a href=3D"mailto:choits@etri.re.kr" target=3D"_blank">cho=
its@etri.re.kr</a>; RANDRIAMASY, SABINE (SABINE);
<a href=3D"mailto:dhruv.dhody@huawei.com" target=3D"_blank">dhruv.dhody@hua=
wei.com</a>; Greg Bernstein; Qin Wu; Young Lee<br>
<b>Objet&nbsp;:</b> ALTO Extension: Defining a Cost Metrics document?</span=
><o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Dear all,<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
I am reading up on the documents that define cost metrics.&nbsp;<o:p></o:p>=
</p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
The motivation is that the base ALTO protocol (<a href=3D"http://www.ietf.o=
rg/id/draft-ietf-alto-protocol-20.txt" target=3D"_blank">http://www.ietf.or=
g/id/draft-ietf-alto-protocol-20.txt</a>) has defined only one Cost Metric:=
 'routingcost':<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
- Defined the semantics at Sec. 6.1.1.1 of , and then listed it at Table 3.=
<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
- Used &quot;hopcount&quot; in examples of Sec. 9.2.3 and 9.2.4, but the se=
mantics of not formally defined.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Given the aforementioned state of the base protocol, I see good value in th=
at the WG produces a WG document that defines a relatively complete set of =
Cost Metrics.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
I particular, I read the following:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-lee-alto-app-net-info-ex=
change-02" target=3D"_blank">http://tools.ietf.org/html/draft-lee-alto-app-=
net-info-exchange-02</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; (Sec. 3.4 introduced three metrics: hopcount, latency, pktcost, and =
cost)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-wu-alto-json-te-01" targ=
et=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-json-te-01</a><o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; Defined a set of metrics: in Sec. 4. This work, as stated in the doc=
ument, is motivated by&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
-&nbsp;<a href=3D"http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensio=
ns-04.txt" target=3D"_blank">http://www.ietf.org/id/draft-ietf-ospf-te-metr=
ic-extensions-04.txt</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t;margin-left:72.0pt">
During the review of ALTO base protocol, we are suggested to document perfo=
rmance metrics (cost metrics) per the guideline of&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:9.5pt;font-family:&quot;Arial&quot;,&quot;sans-ser=
if&quot;">- RFC&nbsp;</span>6390 Guidelines for Considering New Performance=
 Metric Development. A. Clark, B. Claise. October 2011. (Format: TXT=3D4993=
0 bytes) (Also BCP0170) (Status: BEST CURRENT PRACTICE)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Here a first question, I have, is whether the authors will produce a &quot;=
simple&quot; document, at the upcoming IETF, whose only purpose is to:<o:p>=
</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp; define a set of cost metrics, including the nameing, the semantics, =
... following the guideline per RFC 6390, that can benefit the base protoco=
l.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
I feel that such a document is focused, and has good value by itself.<o:p><=
/o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
The implications of the introducing multiple cost metrics can be explored i=
n another document, which I will send in another email shortly.<o:p></o:p><=
/p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Thanks.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
Richard<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_A7A5844EB93EB94AB22C2068B10AD65A294428D7FR711WXCHMBA01z_--

From enrico.marocco@telecomitalia.it  Sat Oct 19 00:57:57 2013
Return-Path: <enrico.marocco@telecomitalia.it>
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 E4E2911E8191 for <alto@ietfa.amsl.com>; Sat, 19 Oct 2013 00:57:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.409
X-Spam-Level: 
X-Spam-Status: No, score=-101.409 tagged_above=-999 required=5 tests=[AWL=0.310, BAYES_00=-2.599, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245,  RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7VKA1UfgDrGq for <alto@ietfa.amsl.com>; Sat, 19 Oct 2013 00:57:51 -0700 (PDT)
Received: from GRFEDG702RM001.telecomitalia.it (grfedg702rm001.telecomitalia.it [217.169.121.21]) by ietfa.amsl.com (Postfix) with ESMTP id C47FC11E8181 for <alto@ietf.org>; Sat, 19 Oct 2013 00:57:50 -0700 (PDT)
Received: from grfhub702rm001.griffon.local (10.19.3.9) by GRFEDG702RM001.telecomitalia.it (10.173.88.21) with Microsoft SMTP Server (TLS) id 8.3.297.1; Sat, 19 Oct 2013 09:57:49 +0200
Received: from MacLab.local (163.162.180.246) by smtp.telecomitalia.it (10.19.9.235) with Microsoft SMTP Server (TLS) id 8.3.297.1; Sat, 19 Oct 2013 09:57:48 +0200
Message-ID: <52623B79.30702@telecomitalia.it>
Date: Sat, 19 Oct 2013 09:57:45 +0200
From: Enrico Marocco <enrico.marocco@telecomitalia.it>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
MIME-Version: 1.0
To: "alto@ietf.org" <alto@ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms010602070108010106060709"
X-TI-Disclaimer: Disclaimer1
Subject: [alto] Agenda requests
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sat, 19 Oct 2013 07:57:57 -0000

--------------ms010602070108010106060709
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Folks,

just a reminder that agenda requests for IETF 88 must be sent by Wed,
Oct 22.

Details here:
http://www.ietf.org/mail-archive/web/alto/current/msg02156.html

--=20
Ciao,
Enrico


--------------ms010602070108010106060709
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMojCC
BjQwggQcoAMCAQICAR4wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDE1NVoXDTE3MTAyNDIxMDE1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcJg8zOLdgasSmkLhOr
lr6KMoOMpohBllVHrdRvEg/q6r8jR+EK75xCGhR8ToREoqe7zM9/UnC6TS2y9UKTpT1v7RSM
zR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC+y7P3/1/X7U8ocb8VpH/Clt+4iq7nirMcNh6
qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxDz2UbFqE2+6vIZoL+jb9x4Pa5gNf1TwSD
kOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr/+N2JLKutIxMYqQOJebr/f/h5t95
m4JgrM3Y/w7YX9d7YAL9jvN4SydHsU6n65cCAwEAAaOCAa0wggGpMA8GA1UdEwEB/wQFMAMB
Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRTcu2SnODaywFcfH6WNU7y1LhRgjAfBgNV
HSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRaMFgwJwYIKwYBBQUH
MAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYhaHR0cDovL3d3
dy5zdGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6Ly93d3cu
c3RhcnRzc2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20v
c2ZzY2EuY3JsMIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0
dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93
d3cuc3RhcnRzc2wuY29tL2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQEFBQADggIBAAqD
CH14qywGXLhjjF6uHLkjd02hcdh9hrw+VUsv+q1eeQWB21jWj3kJ96AUlPCoEGZ/ynJNScWy
6QMVQjbbMXltUfO4n4bGGdKo3awPWp61tjAFgraLJgDk+DsSvUD6EowjMTNx25GQgyYJ5RPI
zKKR9tQW8gGK+2+RHxkUCTbYFnL6kl8Ch507rUdPPipJ9CgJFws3kDS3gOS5WFMxcjO5DwKf
KSETEPrHh7p5shuuNktvsv6hxHTLhiMKX893gxdT3XLS9OKmCv87vkINQcNEcIIoFWbP9HOR
z9v3vQwR4e3ksLc2JZOAFK+ssS5XMEoznzpihEP0PLc4dCBYjbvSD7kxgDwZ+Aj8Q9PkbvE9
sIPP7ON0fz095HdThKjiVJe6vofq+n6b1NBc8XdrQvBmunwxD5nvtTW4vtN6VY7mUCmxsCie
uoBJ9OlqmsVWQvifIYf40dJPZkk9YgGTzWLpXDSfLSplbY2LL9C9U0ptvjcDjefLTvqSFc7t
w1sEhF0n/qpA2r0GpvkLRDmcSwVyPvmjFBGqUp/pNy8ZuPGQmHwFi2/14+xeSUDG2bwnsYJQ
G2EdJCB6luQ57GEnTA/yKZSTKI8dDQa8Sd3zfXb19mOgSF0bBdXbuKhEpuP9wirslFe6fQ1t
5j5R0xi72MZ8ikMu1RQZKCyDbMwazlHiMIIGZjCCBU6gAwIBAgIDByD0MA0GCSqGSIb3DQEB
BQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20g
Q2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwHhcNMTMwNzI0MTg1NjUz
WhcNMTQwNzI1MTExMzEwWjB1MRkwFwYDVQQNExBJcWRVZVdCRExxaEZ2N1hrMSgwJgYDVQQD
DB9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MS4wLAYJKoZIhvcNAQkBFh9lbnJp
Y28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEA078rvuWkIkHhL41Zi2MjXjy5TU71hLgnrstLepYUATbwALhWSs0Kk6l8FhKrOyCl
MPT8NMR5OPG91nEIloDY/AJL7GahjQXomtyqCPXWoRQL95sh+QhlCktlmGhVXm98YAcFWm8E
WoanJmv7UxKhJ6bdXLADn/dtxZGNiACG2U+fBaSyUT0Sa12SQ+u59yOZNWoaLRi2tos0hbZx
eKKVk7a+vxaIS5IIsvUUgJ3tGwFTsz+o3AFWLI/8U1u2LitbpKF/G91ReDA9bb10k5ay43r+
o1TigZEdHd683i7j4DIdjkY3FybFibDtzx+O054BPx5v4C4Nk8vHOHtif2czMwIDAQABo4IC
5TCCAuEwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsG
AQUFBwMEMB0GA1UdDgQWBBSjX2uvKQFc1dKQOjONZZ1hVH42cTAfBgNVHSMEGDAWgBRTcu2S
nODaywFcfH6WNU7y1LhRgjAqBgNVHREEIzAhgR9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRh
bGlhLml0MIIBTAYDVR0gBIIBQzCCAT8wggE7BgsrBgEEAYG1NwECAzCCASowLgYIKwYBBQUH
AgEWImh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwgfcGCCsGAQUFBwICMIHq
MCcWIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MAMCAQEagb5UaGlzIGNlcnRp
ZmljYXRlIHdhcyBpc3N1ZWQgYWNjb3JkaW5nIHRvIHRoZSBDbGFzcyAxIFZhbGlkYXRpb24g
cmVxdWlyZW1lbnRzIG9mIHRoZSBTdGFydENvbSBDQSBwb2xpY3ksIHJlbGlhbmNlIG9ubHkg
Zm9yIHRoZSBpbnRlbmRlZCBwdXJwb3NlIGluIGNvbXBsaWFuY2Ugb2YgdGhlIHJlbHlpbmcg
cGFydHkgb2JsaWdhdGlvbnMuMDYGA1UdHwQvMC0wK6ApoCeGJWh0dHA6Ly9jcmwuc3RhcnRz
c2wuY29tL2NydHUxLWNybC5jcmwwgY4GCCsGAQUFBwEBBIGBMH8wOQYIKwYBBQUHMAGGLWh0
dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9zdWIvY2xhc3MxL2NsaWVudC9jYTBCBggrBgEFBQcw
AoY2aHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc3ViLmNsYXNzMS5jbGllbnQuY2Eu
Y3J0MCMGA1UdEgQcMBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzANBgkqhkiG9w0BAQUF
AAOCAQEAQ9Ff1giJV3UOk090vsVroHHsBy4J4eITcDLGg+wJ+M+4kULtKS7i+kJjfd5VZb1e
ZsnezvgmhmAaJRy+xl/j7l3UKbSVXfUcnKQ1IVnPVedA+4g6L8nA2cBTGj+vFScEC03HSFqy
Q2Shh3AkCo1L6HLoohHxTvSi7+A4P4uayaHSC0OSdVOXWyDOrjnkSWKQiPX4jc0nJofA7b+H
TppvjgzM5t+c9EQ0v8ldDfP4Pl6HhJ/xwMAETn3VG3hVuT321Gx/BXCS1TDMyUnXVf5BB+S8
vGlgwoPfX2o2ti0/ZXSt/VRUOmBF5kiePNIJ7MLOa15cbxI/2bF0xXKHEjBcETGCA90wggPZ
AgEBMIGUMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UE
CxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRD
b20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAwcg9DAJBgUrDgMC
GgUAoIICHTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzEw
MTkwNzU3NDVaMCMGCSqGSIb3DQEJBDEWBBS8OvxKCaz9hNspDe0t0AkBlQPPtjBsBgkqhkiG
9w0BCQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcNAwcwDgYIKoZI
hvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGlBgkr
BgEEAYI3EAQxgZcwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQu
MSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQD
Ey9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDByD0
MIGnBgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcx
ODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50
IENBAgMHIPQwDQYJKoZIhvcNAQEBBQAEggEAAO0eRk3Zt5wZvV4gg8HuQ/1derGNe99MK+HB
ySHo+Qi56uCHPdnQunoYC4NNiHCYX+cRjijrl+wKtZeAuo4FI3DJ3bnPD/0eipgRgklFA/ZG
L1uO0TldWsgJLZXZKf1bmUoBl+MRz3MOvF3M59fYjHcjyhAq431z4v5j2lIBBmSTzDLCy+fX
aSY0y/7aJbL4R1MXFeo6FKwzx/mgddeKEgkKeXxcydSi8lAZUcsDB23qJ25tUuNJme6jBRD/
YTpCf+NaeN0aU/TaCYHq+fJpngC2l3xwXbbRhz+906P21BhPKPDwckTGtGYDLxcmWkUda3sS
DMZveghAVpSx2j2oJgAAAAAAAA==
--------------ms010602070108010106060709--

From yang.r.yang@gmail.com  Sun Oct 20 18:25:30 2013
Return-Path: <yang.r.yang@gmail.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 E3D7B11E830E for <alto@ietfa.amsl.com>; Sun, 20 Oct 2013 18:25:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.748
X-Spam-Level: 
X-Spam-Status: No, score=-1.748 tagged_above=-999 required=5 tests=[AWL=0.229,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hJOqZ6zbi1qv for <alto@ietfa.amsl.com>; Sun, 20 Oct 2013 18:25:28 -0700 (PDT)
Received: from mail-pd0-x22e.google.com (mail-pd0-x22e.google.com [IPv6:2607:f8b0:400e:c02::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 73AC111E80D9 for <alto@ietf.org>; Sun, 20 Oct 2013 18:25:27 -0700 (PDT)
Received: by mail-pd0-f174.google.com with SMTP id y13so7500507pdi.5 for <alto@ietf.org>; Sun, 20 Oct 2013 18:25:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=73iqcEVlr3j9lSRZ4WajDcgMKN/3xRBaQX+iAUHXVhk=; b=PUuRAvquxyzwp6tRbYWPWEk6mP4R5MAWML0aB0RsTaASKr78gpK6I24noA5qP/scGf oVIhiiKnu7FKyEVH8mlEi3jVG/HnQLgLA21MCWWghijtO77ner5T2E1j6WVV/P7EzG7t ksciQh/DL/gvnhRMHfRCIOKZPdbM5u5SQlkl0jCi7vaNEj0skLT3kuV39FV8Dow1swkX mgKu081BSQ7rnVOzmh2wnV4XGQ+fJOLjG8A4R+Y74vHbUFbavVWq961ZiqLfwFrVS2a5 HwxY/LJAr/URkvIUJGbPWP8Re86b7I2/N/mtSxG/HEBVeaMbZB1Ib+ntO3mlr3fSEHw/ 0aTg==
MIME-Version: 1.0
X-Received: by 10.66.118.71 with SMTP id kk7mr15739203pab.14.1382318727127; Sun, 20 Oct 2013 18:25:27 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Sun, 20 Oct 2013 18:25:27 -0700 (PDT)
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA43C0ACE7@nkgeml501-mbs.china.huawei.com>
References: <CANUuoLpy5Budcx+tJCeExeYC_yTcQ9J2gC7HsXcjCvhOi7p_Vg@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0ACE7@nkgeml501-mbs.china.huawei.com>
Date: Sun, 20 Oct 2013 21:25:27 -0400
X-Google-Sender-Auth: Q9Qj21ZfrQ79WkqkGFfVY2oFu6w
Message-ID: <CANUuoLoj3r_94VVMaTkeDFXzTjwC4qxqy57CQ81aHuH49yz_wQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Qin Wu <bill.wu@huawei.com>
Content-Type: multipart/alternative; boundary=e89a8ffbad05b2694c04e9362888
Cc: "choits@etri.re.kr" <choits@etri.re.kr>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 21 Oct 2013 01:25:30 -0000

--e89a8ffbad05b2694c04e9362888
Content-Type: text/plain; charset=ISO-8859-1

Hi all,

Just a thought, some networks already provide public performance metrics,
and ALTO should be able to provide such info in a standard way and cover
these metrics, if we agree:

-AT&T
 - http://ipnetwork.bgtmo.ip.att.net/pws/averages.html
 - http://ipnetwork.bgtmo.ip.att.net/pws/network_delay.html
   shows latency, loss, jitter, reliability, modem success rate

 - In particular, the link provides a methodology page (
http://ipnetwork.bgtmo.ip.att.net/pws/glossary.html), which points to a
major challenge in defining the metrics: metrics have parameters (e.g., the
AT&T link specifies 15-min interval for latency), and I assume that ALTO
cannot work with a single interval, but then how do we handle parameters?

- CenturyLink (formerly Qwest):
  - https://kai04.centurylink.com/PtapRpts/Public/BackboneReport.aspx
    shows jitter, latency, pkt delivery rate, availability

...

And we could think that ALTO could be extended to be used as a standard way
to check on the service outage of an endpoint (
http://customer.comcast.com/help-and-support/cable-tv/outages-in-your-area/),
which may imply performance metrics as well...

Thanks.

Richard


On Mon, Oct 14, 2013 at 2:30 AM, Qin Wu <bill.wu@huawei.com> wrote:

>   *From:* alto-bounces@ietf.org [mailto:alto-bounces@ietf.org] *On Behalf
> Of *Y. Richard Yang
> *Sent:* Monday, October 14, 2013 7:20 AM
> *To:* IETF ALTO
> *Cc:* choits@etri.re.kr; Qin Wu
> *Subject:* [alto] ALTO Extension: Defining a Cost Metrics document?****
>
> ** **
>
> Dear all,****
>
> ** **
>
> I am reading up on the documents that define cost metrics. ****
>
> ** **
>
> The motivation is that the base ALTO protocol (
> http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt) has defined only
> one Cost Metric: 'routingcost':****
>
> ** **
>
> - Defined the semantics at Sec. 6.1.1.1 of , and then listed it at Table 3.
> ****
>
> ** **
>
> - Used "hopcount" in examples of Sec. 9.2.3 and 9.2.4, but the semantics
> of not formally defined.****
>
> ** **
>
> Given the aforementioned state of the base protocol, I see good value in
> that the WG produces a WG document that defines a relatively complete set
> of Cost Metrics.****
>
> ** **
>
> I particular, I read the following:****
>
> ** **
>
> - http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02****
>
>   (Sec. 3.4 introduced three metrics: hopcount, latency, pktcost, and cost)
> ****
>
> ** **
>
> - http://tools.ietf.org/html/draft-wu-alto-json-te-01****
>
>   Defined a set of metrics: in Sec. 4. This work, as stated in the
> document, is motivated by ****
>
> ** **
>
> - http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt****
>
> ** **
>
> During the review of ALTO base protocol, we are suggested to document
> performance metrics (cost metrics) per the guideline of ****
>
> - RFC 6390 Guidelines for Considering New Performance Metric Development.
> A. Clark, B. Claise. October 2011. (Format: TXT=49930 bytes) (Also BCP0170)
> (Status: BEST CURRENT PRACTICE)****
>
> ** **
>
> Here a first question, I have, is whether the authors will produce a
> "simple" document, at the upcoming IETF, whose only purpose is to:****
>
> ** **
>
>   define a set of cost metrics, including the nameing, the semantics, ...
> following the guideline per RFC 6390, that can benefit the base protocol.*
> ***
>
> ** **
>
> [Qin] This is exactly what I we are doing in draft-wu-alto-json-te. We
> are checking if we can give a complete list of cost metrics that are built
> based on****
>
> draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp <http://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt>,draft-ietf-ospf-te-metric-extensions-04, draft-ietf-isis-te-metric-extensions-01.****
>
> We will further generalize them to firstly have some base metrics that can applied either to the whole path or any link in the path and then have****
>
> Derived metrics that are link specific.****
>
> ** **
>
> The update (v-02) will come in a few days. ****
>
> ** **
>
> ** **
>
> I feel that such a document is focused, and has good value by itself.****
>
> ** **
>
> The implications of the introducing multiple cost metrics can be explored
> in another document, which I will send in another email shortly.****
>
> ** **
>
> Thanks.****
>
> ** **
>
> Richard****
>
>   ****
>

--e89a8ffbad05b2694c04e9362888
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi all,<div><br></div><div>Just a thought, some networks a=
lready provide public performance metrics, and ALTO should be able to provi=
de such info in a standard way and cover these metrics, if we agree:</div>
<div><br></div><div>-AT&amp;T=A0</div><div>=A0- <a href=3D"http://ipnetwork=
.bgtmo.ip.att.net/pws/averages.html">http://ipnetwork.bgtmo.ip.att.net/pws/=
averages.html</a></div><div>=A0-=A0<a href=3D"http://ipnetwork.bgtmo.ip.att=
.net/pws/network_delay.html">http://ipnetwork.bgtmo.ip.att.net/pws/network_=
delay.html</a></div>
<div>=A0 =A0shows latency, loss, jitter, reliability, modem success rate</d=
iv><div><br></div><div>=A0- In particular, the link provides a methodology =
page (<a href=3D"http://ipnetwork.bgtmo.ip.att.net/pws/glossary.html">http:=
//ipnetwork.bgtmo.ip.att.net/pws/glossary.html</a>), which points to a majo=
r challenge in defining the metrics: metrics have parameters (e.g., the AT&=
amp;T link specifies 15-min interval for latency), and I assume that ALTO c=
annot work with a single interval, but then how do we handle parameters?</d=
iv>
<div><br></div><div>- CenturyLink (formerly Qwest):</div><div>=A0 -=A0<a hr=
ef=3D"https://kai04.centurylink.com/PtapRpts/Public/BackboneReport.aspx">ht=
tps://kai04.centurylink.com/PtapRpts/Public/BackboneReport.aspx</a></div><d=
iv>
=A0 =A0 shows jitter, latency, pkt delivery rate, availability</div><div><b=
r></div><div>...</div><div><br></div><div>And we could think that ALTO coul=
d be extended to be used as a standard way to check on the service outage o=
f an endpoint (<a href=3D"http://customer.comcast.com/help-and-support/cabl=
e-tv/outages-in-your-area/">http://customer.comcast.com/help-and-support/ca=
ble-tv/outages-in-your-area/</a>), which may imply performance metrics as w=
ell...</div>
<div><br></div><div>Thanks.</div><div><br></div><div>Richard</div></div><di=
v class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Mon, Oct 14, =
2013 at 2:30 AM, Qin Wu <span dir=3D"ltr">&lt;<a href=3D"mailto:bill.wu@hua=
wei.com" target=3D"_blank">bill.wu@huawei.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<div style=3D"border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href=
=3D"mailto:alto-bounces@ietf.org" target=3D"_blank">alto-bounces@ietf.org</=
a> [mailto:<a href=3D"mailto:alto-bounces@ietf.org" target=3D"_blank">alto-=
bounces@ietf.org</a>]
<b>On Behalf Of </b>Y. Richard Yang<br>
<b>Sent:</b> Monday, October 14, 2013 7:20 AM<br>
<b>To:</b> IETF ALTO<br>
<b>Cc:</b> <a href=3D"mailto:choits@etri.re.kr" target=3D"_blank">choits@et=
ri.re.kr</a>; Qin Wu<br>
<b>Subject:</b> [alto] ALTO Extension: Defining a Cost Metrics document?<u>=
</u><u></u></span></p>
</div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<div><div class=3D"im">
<p class=3D"MsoNormal">Dear all,<u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I am reading up on the documents that define cost me=
trics.=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">The motivation is that the base ALTO protocol (<a hr=
ef=3D"http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt" target=3D"_bl=
ank">http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt</a>) has define=
d only one Cost Metric: &#39;routingcost&#39;:<u></u><u></u></p>

</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">- Defined the semantics at Sec. 6.1.1.1 of , and the=
n listed it at Table 3.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">- Used &quot;hopcount&quot; in examples of Sec. 9.2.=
3 and 9.2.4, but the semantics of not formally defined.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Given the aforementioned state of the base protocol,=
 I see good value in that the WG produces a WG document that defines a rela=
tively complete set of Cost Metrics.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I particular, I read the following:<u></u><u></u></p=
>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">-=A0<a href=3D"http://tools.ietf.org/html/draft-lee-=
alto-app-net-info-exchange-02" target=3D"_blank">http://tools.ietf.org/html=
/draft-lee-alto-app-net-info-exchange-02</a><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=A0 (Sec. 3.4 introduced three metrics: hopcount, la=
tency, pktcost, and cost)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">-=A0<a href=3D"http://tools.ietf.org/html/draft-wu-a=
lto-json-te-01" target=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-=
json-te-01</a><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=A0 Defined a set of metrics: in Sec. 4. This work, =
as stated in the document, is motivated by=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">-=A0<a href=3D"http://www.ietf.org/id/draft-ietf-osp=
f-te-metric-extensions-04.txt" target=3D"_blank">http://www.ietf.org/id/dra=
ft-ietf-ospf-te-metric-extensions-04.txt</a><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">During the review of =
ALTO base protocol, we are suggested to document performance metrics (cost =
metrics) per the guideline of=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:9.5pt;font-family:&quot;Ari=
al&quot;,&quot;sans-serif&quot;">- RFC=A0</span>6390 Guidelines for Conside=
ring New Performance Metric Development. A. Clark, B. Claise. October 2011.=
 (Format: TXT=3D49930 bytes) (Also BCP0170) (Status: BEST CURRENT
 PRACTICE)<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Here a first question, I have, is whether the author=
s will produce a &quot;simple&quot; document, at the upcoming IETF, whose o=
nly purpose is to:<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
</div><div><div class=3D"im">
<p class=3D"MsoNormal">=A0 define a set of cost metrics, including the name=
ing, the semantics, ... following the guideline per RFC 6390, that can bene=
fit the base protocol.<u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
</div><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">[Qin]</span>
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1f497d">This is exactly what I we are doing in draft-wu-=
alto-json-te. We are checking if we can give a complete list of cost metric=
s that are built based on<u></u><u></u></span></p>

<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1f497d">draft-ietf-idr-ls-distribution-03,RFC5305, =
<a href=3D"http://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt" target=
=3D"_blank"><span style=3D"color:#1f497d;text-decoration:none">draft-wu-idr=
-te-pm-bgp</span></a>,draft-ietf-ospf-te-metric-extensions-04, draft-ietf-i=
sis-te-metric-extensions-01.<u></u><u></u></span></pre>

<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1f497d">We will further generalize them to firstly =
have some base metrics that can applied either to the whole path or any lin=
k in the path and then have<u></u><u></u></span></pre>

<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1f497d">Derived metrics that are link specific.<u><=
/u><u></u></span></pre>
<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span></pre>
<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1f497d">The update (v-02) will come in a few days. =
<u></u><u></u></span></pre>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
</div><div class=3D"im">
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I feel that such a document is focused, and has good=
 value by itself.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">The implications of the introducing multiple cost me=
trics can be explored in another document, which I will send in another ema=
il shortly.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Thanks.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Richard<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal">=A0=A0<u></u><u></u></p>
</div>
</div></div>
</div>
</div>

</blockquote></div><br></div>

--e89a8ffbad05b2694c04e9362888--

From fuqiao1@outlook.com  Sun Oct 20 23:32:21 2013
Return-Path: <fuqiao1@outlook.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 878D911E84D8 for <alto@ietfa.amsl.com>; Sun, 20 Oct 2013 23:32:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.147
X-Spam-Level: 
X-Spam-Status: No, score=-2.147 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, SARE_SUB_ENC_UTF8=0.152]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DyxucmDC6WMB for <alto@ietfa.amsl.com>; Sun, 20 Oct 2013 23:32:15 -0700 (PDT)
Received: from snt0-omc2-s35.snt0.hotmail.com (snt0-omc2-s35.snt0.hotmail.com [65.55.90.110]) by ietfa.amsl.com (Postfix) with ESMTP id 66E0111E84C7 for <alto@ietf.org>; Sun, 20 Oct 2013 23:31:24 -0700 (PDT)
Received: from SNT146-DS4 ([65.55.90.71]) by snt0-omc2-s35.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675);  Sun, 20 Oct 2013 23:31:23 -0700
X-TMN: [VrBldfPXtOCB7K3tEUfR6MJqSABZr4NU5bTR1XQMuus=]
X-Originating-Email: [fuqiao1@outlook.com]
Message-ID: <SNT146-DS4D2FCAAAFA617FCE2B10BE8010@phx.gbl>
From: =?utf-8?B?5LuY5LmU?= <fuqiao1@outlook.com>
To: <alto@ietf.org>
Date: Mon, 21 Oct 2013 14:34:14 +0800
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac7NS4K9r/JV240gQcWirTYnawPwEwA1tCFQ
Content-Language: zh-cn
X-OriginalArrivalTime: 21 Oct 2013 06:31:23.0709 (UTC) FILETIME=[29965ED0:01CECE27]
Subject: [alto] =?utf-8?b?6L2s5Y+ROiBOZXcgVmVyc2lvbiBOb3RpZmljYXRpb24gZm9y?= =?utf-8?q?_draft-fu-alto-nfv-usecase-00=2Etxt?=
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 21 Oct 2013 06:32:22 -0000

Hi all,

We have presented a new draft about a use case of ALTO with the =
emergence of NFV.

Your comments are more than welcome.

BR
Lingli

-----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6-----
=E5=8F=91=E4=BB=B6=E4=BA=BA: internet-drafts@ietf.org =
[mailto:internet-drafts@ietf.org]=20
=E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: =
2013=E5=B9=B410=E6=9C=8820=E6=97=A5 12:19
=E6=94=B6=E4=BB=B6=E4=BA=BA: Zehn Cao; Haibin Song; Qiao Fu; Zhen Cao
=E4=B8=BB=E9=A2=98: New Version Notification for =
draft-fu-alto-nfv-usecase-00.txt


A new version of I-D, draft-fu-alto-nfv-usecase-00.txt
has been successfully submitted by Qiao Fu and posted to the
IETF repository.

Filename:	 draft-fu-alto-nfv-usecase
Revision:	 00
Title:		 What's the Impact of Virtualization to ALTO?
Creation date:	 2013-10-19
Group:		 Individual Submission
Number of pages: 8
URL:             =
http://www.ietf.org/internet-drafts/draft-fu-alto-nfv-usecase-00.txt
Status:          =
http://datatracker.ietf.org/doc/draft-fu-alto-nfv-usecase
Htmlized:        http://tools.ietf.org/html/draft-fu-alto-nfv-usecase-00


Abstract:
   This draft presents a use case of Application Layer Traffic
   Optimization (ALTO) with the emergence of Network Function
   Virtualization (NFV).  The Application-Layer Traffic Optimization
   (ALTO) Service provides network information (e.g., basic network
   location structure and preferences of network paths) with the goal of
   modifying network resource consumption patterns while maintaining or
   improving application performance.  The emerging Network Functions
   Virtualisation (NFV), as currently being in progress in ETSI NFV,
   leverages standard IT virtualisation technology to consolidate many
   network equipment types onto industry standard high volume servers,
   switches and storage.

                                                                         =
        =20


Please note that it may take a couple of minutes from the time of =
submission
until the htmlized version and diff are available at tools.ietf.org.

The IETF Secretariat



From sabine.randriamasy@alcatel-lucent.com  Wed Oct 16 16:05:59 2013
Return-Path: <sabine.randriamasy@alcatel-lucent.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 1246311E8149 for <alto@ietfa.amsl.com>; Wed, 16 Oct 2013 16:05:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IjiBltpGpX3E for <alto@ietfa.amsl.com>; Wed, 16 Oct 2013 16:05:52 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id D757611E8187 for <alto@ietf.org>; Wed, 16 Oct 2013 16:05:45 -0700 (PDT)
Received: from fr712usmtp2.zeu.alcatel-lucent.com (h135-239-2-42.lucent.com [135.239.2.42]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r9GN5QEu026638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 16 Oct 2013 18:05:28 -0500 (CDT)
Received: from FR712WXCHHUB03.zeu.alcatel-lucent.com (fr712wxchhub03.zeu.alcatel-lucent.com [135.239.2.74]) by fr712usmtp2.zeu.alcatel-lucent.com (GMO) with ESMTP id r9GN5PZU015061 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 17 Oct 2013 01:05:25 +0200
Received: from FR711WXCHMBA01.zeu.alcatel-lucent.com ([169.254.1.168]) by FR712WXCHHUB03.zeu.alcatel-lucent.com ([135.239.2.74]) with mapi id 14.02.0247.003; Thu, 17 Oct 2013 01:05:25 +0200
From: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
To: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>, "Y. Richard Yang" <yry@cs.yale.edu>, Qin Wu <bill.wu@huawei.com>
Thread-Topic: [alto] ALTO Extension: A document defining multi-metrics filtering?
Thread-Index: AQHOysQyjY6jlmp+bUWcRFDb0gawaA==
Date: Wed, 16 Oct 2013 23:05:24 +0000
Message-ID: <A7A5844EB93EB94AB22C2068B10AD65A294420B4@FR711WXCHMBA01.zeu.alcatel-lucent.com>
References: <CANUuoLrETki2N6xVco14r87a=AdL0A6hNPVYzVLszmqjhPs9DA@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0B4D0@nkgeml501-mbs.china.huawei.com> <A7A5844EB93EB94AB22C2068B10AD65A29441D5E@FR711WXCHMBA01.zeu.alcatel-lucent.com> <B8F9A780D330094D99AF023C5877DABA43C0BCBF@nkgeml501-mbs.china.huawei.com> <CANUuoLr71We_nu11o_3UaCPFPhLF4cz_pumaF8bOWDX9q9iKtQ@mail.gmail.com> <A7A5844EB93EB94AB22C2068B10AD65A29442033@FR711WXCHMBA01.zeu.alcatel-lucent.com>
In-Reply-To: <A7A5844EB93EB94AB22C2068B10AD65A29442033@FR711WXCHMBA01.zeu.alcatel-lucent.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.239.27.40]
Content-Type: multipart/alternative; boundary="_000_A7A5844EB93EB94AB22C2068B10AD65A294420B4FR711WXCHMBA01z_"
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
X-Mailman-Approved-At: Mon, 21 Oct 2013 00:29:45 -0700
Cc: "ROOME, Wendy D \(Wendy\)" <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>, "choits@etri.re.kr" <choits@etri.re.kr>
Subject: Re: [alto] ALTO Extension: A document defining multi-metrics	filtering?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 16 Oct 2013 23:05:59 -0000

--_000_A7A5844EB93EB94AB22C2068B10AD65A294420B4FR711WXCHMBA01z_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi again,

Re-sending. For some reason, Dhruv, Greg, Lee and Nico were no more on the =
recipient list, sorry.
Sabine

De : alto-bounces@ietf.org [mailto:alto-bounces@ietf.org] De la part de RAN=
DRIAMASY, SABINE (SABINE)
Envoy=E9 : jeudi 17 octobre 2013 00:44
=C0 : Y. Richard Yang; Qin Wu
Cc : ROOME, Wendy D (Wendy); IETF ALTO; choits@etri.re.kr
Objet : Re: [alto] ALTO Extension: A document defining multi-metrics filter=
ing?

Dear Richard,
Thanks for your comments, see my answers inline,
Best regards
Sabine

De : yang.r.yang@gmail.com<mailto:yang.r.yang@gmail.com> [mailto:yang.r.yan=
g@gmail.com] De la part de Y. Richard Yang
Envoy=E9 : mercredi 16 octobre 2013 19:43
=C0 : Qin Wu
Cc : RANDRIAMASY, SABINE (SABINE); IETF ALTO; ROOME, Wendy D (Wendy); ietf@=
nico-schwan.de<mailto:ietf@nico-schwan.de>; Leeyoung; Greg Bernstein; choit=
s@etri.re.kr<mailto:choits@etri.re.kr>; Dhruv Dhody
Objet : Re: ALTO Extension: A document defining multi-metrics filtering?

Dear Qin, Sabine,

Great discussions!

Here are two quick questions:

1. I found the idea of distinguishing between "filtering-only" and "reveali=
ng" quite interesting. Here is an "attack". Suppose latency is a "filtering=
-only" metric: by specifying "latency <=3D 10 ms AND latency >=3D 5 ms" the=
n will in a sense reveal the metric of latency. Even if we do not allow AND=
, a client can make two queries and observe the difference.
[     ] Indeed, allowing a fine granularity in the constraint metric values=
 may end up accepting to reveal real values. In such a case, using metrics =
for "filtering-only" would then just allow to gain time.
How may this be addressed: specify that this is a controlled or semi-contro=
l environment, or impose other constraints on multiple queries?
[     ] It is an interesting option to impose constraints such as a minimal=
 value range for "AND" constraints or coarse value granularity, say multipl=
e of K.

2. I actually see quite a lot synergy in the three docs. Personal, I would =
like to propose that we add a WG item on a general filtering service. What =
is the likelihood that there is some convergence on the design before IETF?
[     ] We may start sorting out the different possible filtering services =
that could be integrated in the base protocol, with associated conditions (=
controlled or not) and related constraints & rules.
 Is there a need for an informal design meeting before the ALTO meeting?
[     ] A meeting would be for sure interesting.

Thanks a lot!

Richard

On Wed, Oct 16, 2013 at 5:01 AM, Qin Wu <bill.wu@huawei.com<mailto:bill.wu@=
huawei.com>> wrote:
From: RANDRIAMASY, SABINE (SABINE) [mailto:sabine.randriamasy@alcatel-lucen=
t.com<mailto:sabine.randriamasy@alcatel-lucent.com>]
Sent: Wednesday, October 16, 2013 1:16 AM
To: Qin Wu; Y. Richard Yang; IETF ALTO
Cc: ROOME, Wendy D (Wendy); ietf@nico-schwan.de<mailto:ietf@nico-schwan.de>=
; Leeyoung; Greg Bernstein; choits@etri.re.kr<mailto:choits@etri.re.kr>; Dh=
ruv Dhody
Subject: RE: ALTO Extension: A document defining multi-metrics filtering?

Hi Qin and all,

Thank to Richard and Qin for this discussion. Please see, my answers inline=
 to Qin on the design positioning for filtering constraints.
Thanks for your feedback,
Sabine


De : Qin Wu [mailto:bill.wu@huawei.com<mailto:bill.wu@huawei.com>]
Envoy=E9 : mardi 15 octobre 2013 11:50
=C0 : Y. Richard Yang; IETF ALTO
Cc : RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); ietf@nico-schwan=
.de<mailto:ietf@nico-schwan.de>; Leeyoung; Greg Bernstein; choits@etri.re.k=
r<mailto:choits@etri.re.kr>; Dhruv Dhody
Objet : RE: ALTO Extension: A document defining multi-metrics filtering?

>In particular, suppose the filtering is based on metrics M1 and M2, and th=
e output is M3, for a set src to a set dsts. The Client can use the followi=
ng three queries:

>- Q1: Use single metric <M1, filter on M1, srcs, dsts> and obtains <srcs1,=
 dsts1> in return;
>- Q2: Use single metric <M2, filter on M2, srcs1, dsts1> and obtains <srcs=
2, dsts2> in return;
>- Q3: Use single metric <M3, no filter, srcs2, dsts2> to get the final res=
ult.

>Although this is not too bad, it is inconvenient. Note that preceding is f=
irst discussed by Sabine, Wendy, Nico in:
>http://tools.ietf.org/html/draft-randriamasy-alto-multi-cost-07

>I saw that this is also the issue discussed in
>- http://tools.ietf.org/html/draft-wu-alto-json-te-01
>- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02

>Hence, I propose that the WG extends the base protocol with this capabilit=
y, as I see that it is quite useful. One issue is that I see three designs,=
 and I am wondering if the authors are
>preparing on discussing their designs at the coming IETF, and if there is =
a possibility for a single, unified document, focusing on this issue.

By comparing the designs in three drafts, here is my rough analysis.
the difference between these drafts are:

a.       draft-randriamasy-alto-multi-cost-07 seems to assume filtering con=
dition and output are based on the same Cost metrics or a set of same metri=
cs.
[     ] Correct. The initial thought was to smoothly extend the format of b=
asic ALTO transactions (requ and responses) and handle only indexes of the =
multiple metrics listed in the Cost Type array.
               Both draft-lee-alto-app-net-info-exchange-02 and draft-wu-al=
to-json-te-01 allows filtering condition and output based on different cost=
 metrics
              and therefore it require filtering constraint   relaxing In t=
he ALTO base protocol.
[     ] We need to extend the base protocol filtering constraint as soon as=
 there is more than one metric in the set of constraints, which is the case=
 for all the 3 designs. It is a good idea to allow constraint involving met=
rics that do not belong to the set of requested cost metrics. One simple an=
d light way to implement this is to allow an indexing of the cost types in =
the IRD and simply use these indexes in the expressions of constraints.

Note that draft-randriamasy-alto-multi-cost-07 in addition proposes to rela=
te constraints by both logical AND and logical OR with the idea of supporti=
ng compromises such as  "either (solutions with moderate 'hopcount' AND  hi=
gh 'routingcost') OR (solutions with higher 'hopcount' AND moderate 'routin=
gcost')", see section 4.6.2 of the draft.

[Qin]:Good idea, this may require filtering constraint to be extended to su=
pport multiple cost representations as a joint constraint. I believe your d=
raft has already specified this.

Last, as the intention is to filter the response on the ALTO metric values,=
 the ALTO Server is required only to provide values meeting the constraints=
 expressed in the request, but is not requested to provide values on the me=
trics involved in the constraints. Note that an ALTO Server operator may wi=
sh to use metrics only for filtering without unveiling the values, but this=
 would require to extend the base protocol with a status such as "hidden" o=
r "filter-only", which may be discussed when extending the ALTO Costs.

[Qin]: I believe this is related to how to distinguish the case where filte=
ring condition and output are based on the same metric and the case where f=
iltering condition and output are based on different cost metric.


b.      draft-randriamasy-alto-multi-cost-07 specifies one new cost metrics=
 (i.e.,pathoccupationcost)
[     ] the draft actually proposes, see 3.1.4: Endpoint Nominal Memory, En=
dpoint Nominal Bandwidth (ie CPU capacity), endpoint Occupied Memory, Endpo=
int Occupied Bandwidth, Path Occupation Cost. The naming is just a proposal=
. Some of these metrics may have values that change and are updated in diff=
erent frequencies, but in no case are they real time measurements.
, while draft-lee-alto-app-net-info-exchange-02

defines a new object called DstCostsConstraints which contains a list of co=
st metrics that are not stable over a constant period(i.e., they are

 dynamic parameters). draft-wu-alto-json-te-01 gives a complete list of tho=
se cost metrics based on IETF standardization work

(see draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp<http=
://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt>,draft-ietf-ospf-te-metr=
ic-extensions-04, draft-ietf-isis-te-metric-extensions-00)

and define them as a list of independent cost metrics.

[     ] very interesting sets and proposals. I agree that it would be usefu=
l to list proposals on metrics and their definition as suggested by Richard=
 in another thread.


c.       draft-randriamasy-alto-multi-cost-07 requires cost value encoded a=
s JSON Array rather than JSON while  draft-lee-alto-app-net-info-exchange-0=
2

also encode cost value as JSON Array.

[     ] please correct me if I missed something, in the example of draft-le=
e-alto-app-net-info-exchange-02, I see JSONArrays used to provide the value=
 on each of the metrics expressed in the constraints for the admissible (S,=
D) pairs. No value is provided for the requested cost metric. I'm not sure =
I understand why and I think we may find a way to harmonize views on expres=
sing constraints.



[Qin]: It seems you have already answered this by proposing "hidden" or "fi=
lter-only" to indicate the metrics only used for filtering.

In my understanding, in path computation to the network, usually we use con=
straints only for compute the path, e.g., end to end latency in the path is=
 less than 100 milliseconds, what is returned is not computed cost metric b=
ut a list of links in the path or a list of endpoints in the path that sati=
sfy the constraint. However in some cases,

They do allow return computed cost metric to the client, e.g., we use end t=
o end latency in the path less than 100 milliseconds as constraint, then we=
 compute a path that satisfy this constraint,

Then the server can return the computed end to end latency (e.g.,50miliseco=
nds) associated with this path to the client.





In addition, draft-lee-alto-app-net-info-exchange-02 defines linkentry obje=
ct and support representing a

end to end path with a list of links traversed in the path. draft-wu-alto-j=
son-te-01 also defines link related metrics and uses linkname to identify e=
ach link.

[     ] this looks very useful in cases where path costs and network maps a=
re detailed below the end 2 end level. I see an easy integration of this id=
ea with the topology extension proposed by Richard that assumes "multi-swit=
ched" paths (or their abstraction). Though I don't see a light and easy way=
 to integrate constraints on path sections in the base protocol.



[Qin]:Your observation is correct.

Thanks a lot!

Richard


--_000_A7A5844EB93EB94AB22C2068B10AD65A294420B4FR711WXCHMBA01z_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
pre
	{mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Texte de bulles Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.PrformatHTMLCar
	{mso-style-name:"Pr=E9format=E9 HTML Car";
	mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML";
	font-family:Consolas;}
span.TextedebullesCar
	{mso-style-name:"Texte de bulles Car";
	mso-style-priority:99;
	mso-style-link:"Texte de bulles";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi again,<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Re-sending. For some reas=
on, Dhruv, Greg, Lee and Nico were no more on the recipient list, sorry.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sabine<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> alto-bounces@ietf.org [mai=
lto:alto-bounces@ietf.org]
<b>De la part de</b> RANDRIAMASY, SABINE (SABINE)<br>
<b>Envoy=E9&nbsp;:</b> jeudi 17 octobre 2013 00:44<br>
<b>=C0&nbsp;:</b> Y. Richard Yang; Qin Wu<br>
<b>Cc&nbsp;:</b> ROOME, Wendy D (Wendy); IETF ALTO; choits@etri.re.kr<br>
<b>Objet&nbsp;:</b> Re: [alto] ALTO Extension: A document defining multi-me=
trics filtering?<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">Dear Richard,<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">Thanks for your comments, see my answers inline,<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">Best regards<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">Sabine<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href=3D"mailto:yang.r.yang@gmail.com">yang.r.yang@gmail.com</a> [<a href=
=3D"mailto:yang.r.yang@gmail.com">mailto:yang.r.yang@gmail.com</a>]
<b>De la part de</b> Y. Richard Yang<br>
<b>Envoy=E9&nbsp;:</b> mercredi 16 octobre 2013 19:43<br>
<b>=C0&nbsp;:</b> Qin Wu<br>
<b>Cc&nbsp;:</b> RANDRIAMASY, SABINE (SABINE); IETF ALTO; ROOME, Wendy D (W=
endy); <a href=3D"mailto:ietf@nico-schwan.de">
ietf@nico-schwan.de</a>; Leeyoung; Greg Bernstein; <a href=3D"mailto:choits=
@etri.re.kr">
choits@etri.re.kr</a>; Dhruv Dhody<br>
<b>Objet&nbsp;:</b> Re: ALTO Extension: A document defining multi-metrics f=
iltering?<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt">Dear Qin, Sabine,<o:p><=
/o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt">Great discussions!<o:p>=
</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt">Here are two quick ques=
tions:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt">1. I found the idea of =
distinguishing between &quot;filtering-only&quot; and &quot;revealing&quot;=
 quite interesting. Here is an &quot;attack&quot;. Suppose latency is a &qu=
ot;filtering-only&quot; metric: by specifying &quot;latency &lt;=3D 10 ms A=
ND latency
 &gt;=3D 5 ms&quot; then will in a sense reveal the metric of latency. Even=
 if we do not allow AND, a client can make two queries and observe the diff=
erence.<span style=3D"color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><i><span style=3D"fo=
nt-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color=
:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] Indeed, allowing a fine granularity i=
n the constraint metric values may end up accepting to reveal real values. =
In
 such a case, using metrics for &#8220;filtering-only&#8221; would then jus=
t allow to gain time.<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt">How may this be address=
ed: specify that this is a controlled or semi-control environment, or impos=
e other constraints on multiple queries?<span style=3D"color:#1F497D"><o:p>=
</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><i><span style=3D"fo=
nt-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color=
:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] It is an interesting option to impose=
 constraints such as a minimal value range for &#8220;AND&#8221; constraint=
s or coarse value
 granularity, say multiple of K. &nbsp;<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt">2. I actually see quite=
 a lot synergy in the three docs. Personal, I would like to propose that we=
 add a WG item on a general filtering service. What is the likelihood that =
there is some convergence on the design
 before IETF?<span style=3D"color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><i><span style=3D"fo=
nt-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color=
:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] We may start sorting out the differen=
t possible filtering services that could be integrated in the base protocol=
, with
 associated conditions (controlled or not) and related constraints &amp; ru=
les. &nbsp;<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt">&nbsp;Is there a need f=
or an informal design meeting before the ALTO meeting?<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><i><span style=3D"fo=
nt-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color=
:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] A meeting would be for sure interesti=
ng.</span></i></b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri=
&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt">Thanks a lot!<o:p></o:p=
></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt">Richard<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:0cm;margin-right:0cm;mar=
gin-bottom:12.0pt;margin-left:72.0pt">
<o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt">On Wed, Oct 16, 2013 at=
 5:01 AM, Qin Wu &lt;<a href=3D"mailto:bill.wu@huawei.com" target=3D"_blank=
">bill.wu@huawei.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;san=
s-serif&quot;">From:</span></b><span style=3D"font-size:10.0pt;font-family:=
&quot;Tahoma&quot;,&quot;sans-serif&quot;"> RANDRIAMASY, SABINE (SABINE) [m=
ailto:<a href=3D"mailto:sabine.randriamasy@alcatel-lucent.com" target=3D"_b=
lank">sabine.randriamasy@alcatel-lucent.com</a>]
<br>
<b>Sent:</b> Wednesday, October 16, 2013 1:16 AM<br>
<b>To:</b> Qin Wu; Y. Richard Yang; IETF ALTO<br>
<b>Cc:</b> ROOME, Wendy D (Wendy); <a href=3D"mailto:ietf@nico-schwan.de" t=
arget=3D"_blank">
ietf@nico-schwan.de</a>; Leeyoung; Greg Bernstein; <a href=3D"mailto:choits=
@etri.re.kr" target=3D"_blank">
choits@etri.re.kr</a>; Dhruv Dhody<br>
<b>Subject:</b> RE: ALTO Extension: A document defining multi-metrics filte=
ring?</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Hi Qin and all,</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Thank to Richard and Qin for this discussion. Pl=
ease see, my answers inline to Qin on the design positioning for filtering =
constraints.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Thanks for your feedback,
</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">Sabine</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<b><span lang=3D"FR" style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quo=
t;,&quot;sans-serif&quot;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"f=
ont-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Qin=
 Wu [mailto:<a href=3D"mailto:bill.wu@huawei.com" target=3D"_blank">bill.wu=
@huawei.com</a>]
<br>
<b>Envoy=E9&nbsp;:</b> mardi 15 octobre 2013 11:50<br>
<b>=C0&nbsp;:</b> Y. Richard Yang; IETF ALTO<br>
<b>Cc&nbsp;:</b> RANDRIAMASY, SABINE (SABINE); ROOME, Wendy D (Wendy); <a h=
ref=3D"mailto:ietf@nico-schwan.de" target=3D"_blank">
ietf@nico-schwan.de</a>; Leeyoung; Greg Bernstein; <a href=3D"mailto:choits=
@etri.re.kr" target=3D"_blank">
choits@etri.re.kr</a>; Dhruv Dhody<br>
<b>Objet&nbsp;:</b> RE: ALTO Extension: A document defining multi-metrics f=
iltering?</span><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
&gt;In particular, suppose the filtering is based on metrics M1 and M2, and=
 the output is M3, for a set src to a set dsts. The Client can use the foll=
owing three queries:<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
&gt;- Q1: Use single metric &lt;M1, filter on M1, srcs, dsts&gt; and obtain=
s &lt;srcs1, dsts1&gt; in return;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
&gt;- Q2: Use single metric &lt;M2, filter on M2, srcs1, dsts1&gt; and obta=
ins &lt;srcs2, dsts2&gt; in return;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
&gt;- Q3: Use single metric &lt;M3, no filter, srcs2, dsts2&gt; to get the =
final result.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"color:#1F497D">&gt;</span>Although this is not too bad, it i=
s inconvenient. Note that preceding is first discussed by Sabine, Wendy, Ni=
co in:<br>
<span style=3D"color:#1F497D">&gt;</span><a href=3D"http://tools.ietf.org/h=
tml/draft-randriamasy-alto-multi-cost-07" target=3D"_blank">http://tools.ie=
tf.org/html/draft-randriamasy-alto-multi-cost-07</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"color:#1F497D">&gt;</span>I saw that this is also the issue =
discussed in &nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"color:#1F497D">&gt;</span>-&nbsp;<a href=3D"http://tools.iet=
f.org/html/draft-wu-alto-json-te-01" target=3D"_blank">http://tools.ietf.or=
g/html/draft-wu-alto-json-te-01</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"color:#1F497D">&gt;</span>-&nbsp;<a href=3D"http://tools.iet=
f.org/html/draft-lee-alto-app-net-info-exchange-02" target=3D"_blank"><span=
 style=3D"font-size:9.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&qu=
ot;">http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02</sp=
an></a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"color:#1F497D">&gt;</span>Hence, I propose that the WG exten=
ds the base protocol with this capability, as I see that it is quite useful=
. One issue is that I see three designs, and I am wondering if the authors =
are
<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"color:#1F497D">&gt;</span>preparing on discussing their desi=
gns at the coming IETF, and if there is a possibility for a single, unified=
 document, focusing on this issue.<o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">By comparing the designs in three drafts, here i=
s my rough analysis.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">the difference between these drafts are:</span><=
o:p></o:p></p>
<p style=3D"margin-left:144.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">a.</span><span =
style=3D"font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;
</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1F497D">draft-randriamasy-alto-multi-cost-07 seem=
s to assume filtering condition and output are based on the same Cost metri=
cs or a set of same metrics.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] Correct. The i=
nitial thought was to smoothly extend the format of basic ALTO transactions=
 (requ and responses) and handle only indexes of the multiple metrics liste=
d
 in the Cost Type array. </span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Both draft-lee-alto-app-net-info-excha=
nge-02 and draft-wu-alto-json-te-01 allows filtering condition and output b=
ased on different cost metrics
</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;and therefore it require filtering cons=
traint &nbsp;&nbsp;relaxing In the ALTO base protocol.</span><o:p></o:p></p=
>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] We need to ext=
end the base protocol filtering constraint as soon as there is more than on=
e metric in the set of constraints, which is the case for all the 3 designs=
.
 It is a good idea to allow constraint involving metrics that do not belong=
 to the set of requested cost metrics. One simple and light way to implemen=
t this is to allow an indexing of the cost types in the IRD and simply use =
these indexes in the expressions
 of constraints.</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">&nbsp;</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">Note that draft-randriamasy-alto-multi-cos=
t-07 in addition proposes to relate constraints by both logical AND and log=
ical OR with the idea of supporting compromises such as
 &nbsp;&#8220;either (solutions with moderate 'hopcount' AND &nbsp;high 'ro=
utingcost') OR (solutions with higher 'hopcount' AND moderate 'routingcost'=
)&#8221;, see section 4.6.2 of the draft.
</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">&nbsp;</span></i></b><o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#C00000">[Qin]:Good idea, this may require filterin=
g constraint to be extended to support multiple cost representations as a j=
oint constraint. I believe your draft has already specified
 this.</span></i></b><o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">&nbsp;</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">Last, as the intention is to filter the re=
sponse on the ALTO metric values, the ALTO Server is required only to provi=
de values meeting the constraints expressed in the request,
 but is not requested to provide values on the metrics involved in the cons=
traints. Note that an ALTO Server operator may wish to use metrics only for=
 filtering without unveiling the values, but this would require to extend t=
he base protocol with a status such
 as &#8220;hidden&#8221; or &#8220;filter-only&#8221;, which may be discuss=
ed when extending the ALTO Costs. &nbsp;</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#C00000">&nbsp;</span></i></b><o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#C00000">[Qin]: I believe this is related to how to=
 distinguish the case where filtering condition and output are based on the=
 same metric and the case where filtering condition and
 output are based on different cost metric.</span></i></b><o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p style=3D"margin-left:144.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">b.</span><span =
style=3D"font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1F497D">draft-randriamasy-alto-multi-cost-07 spec=
ifies one new cost metrics (i.e.,pathoccupationcost)</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:72.0pt">
<b><i><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot=
;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;&nbsp; ] the draft actu=
ally proposes, see 3.1.4: Endpoint Nominal Memory, Endpoint Nominal Bandwid=
th (ie CPU capacity), endpoint Occupied Memory, Endpoint Occupied Bandwidth=
,
 Path Occupation Cost. The naming is just a proposal. Some of these metrics=
 may have values that change and are updated in different frequencies, but =
in no case are they real time measurements.
</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:144.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">, while draft-lee-alto-app-net-info-exchange-02
</span><o:p></o:p></p>
<p style=3D"margin-left:144.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">defines a new o=
bject called DstCostsConstraints which contains a list of cost metrics that=
 are not stable over a constant period(i.e., they are
</span><o:p></o:p></p>
<p style=3D"margin-left:144.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;dynamic p=
arameters). draft-wu-alto-json-te-01 gives a complete list of those cost me=
trics based on IETF standardization work</span><o:p></o:p></p>
<p style=3D"margin-left:144.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">(see draft-ietf=
-idr-ls-distribution-03,RFC5305,
<a href=3D"http://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt" target=
=3D"_blank">
<span style=3D"color:#1F497D;text-decoration:none">draft-wu-idr-te-pm-bgp</=
span></a>,draft-ietf-ospf-te-metric-extensions-04, draft-ietf-isis-te-metri=
c-extensions-00)
</span><o:p></o:p></p>
<p style=3D"margin-left:144.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">and define them=
 as a list of independent cost metrics.</span><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nb=
sp;&nbsp;&nbsp; ] very interesting sets and proposals. I agree that it woul=
d be useful to list proposals on metrics and their definition as suggested =
by
 Richard in another thread. &nbsp;</span></i></b><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p style=3D"margin-left:144.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">c.</span><span =
style=3D"font-size:7.0pt;color:#1F497D">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;
</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1F497D">draft-randriamasy-alto-multi-cost-07 requ=
ires cost value encoded as JSON Array rather than JSON while &nbsp;draft-le=
e-alto-app-net-info-exchange-02
</span><o:p></o:p></p>
<p style=3D"margin-left:144.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">also encode cos=
t value as JSON Array.
</span><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nb=
sp;&nbsp;&nbsp; ] please correct me if I missed something, in the example o=
f draft-lee-alto-app-net-info-exchange-02, I see JSONArrays used to provide
 the value on each of the metrics expressed in the constraints for the admi=
ssible (S,D) pairs. No value is provided for the requested cost metric. I&#=
8217;m not sure I understand why and I think we may find a way to harmonize=
 views on expressing constraints.
</span></i></b><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</sp=
an></i></b><o:p></o:p></p>
</div>
<p style=3D"margin-left:72.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#C00000">[Qin]: It =
seems you have already answered this by proposing &#8220;hidden&#8221; or &=
#8220;filter-only&#8221; to indicate the metrics only used for filtering.</=
span></i></b><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#C00000">In my unde=
rstanding, in path computation to the network, usually we use constraints o=
nly for compute the path, e.g., end to end latency in the
 path is less than 100 milliseconds, what is returned is not computed cost =
metric but a list of links in the path or a list of endpoints in the path t=
hat satisfy the constraint. However in some cases,</span></i></b><o:p></o:p=
></p>
<p style=3D"margin-left:72.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#C00000">They do al=
low return computed cost metric to the client, e.g., we use end to end late=
ncy in the path less than 100 milliseconds as constraint,
 then we compute a path that satisfy this constraint, </span></i></b><o:p><=
/o:p></p>
<p style=3D"margin-left:72.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#C00000">Then the s=
erver can return the computed end to end latency (e.g.,50miliseconds) assoc=
iated with this path to the client.</span></i></b><o:p></o:p></p>
<div>
<p style=3D"margin-left:72.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</sp=
an></i></b><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</sp=
an></i></b><o:p></o:p></p>
<p style=3D"margin-left:144.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">In addition, dr=
aft-lee-alto-app-net-info-exchange-02 defines linkentry object and support =
representing a
</span><o:p></o:p></p>
<p style=3D"margin-left:144.0pt"><span style=3D"font-size:11.0pt;font-famil=
y:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">end to end path=
 with a list of links traversed in the path. draft-wu-alto-json-te-01 also =
defines link related metrics and uses linkname to identify
 each link.</span><o:p></o:p></p>
<p style=3D"margin-left:72.0pt"><b><i><span style=3D"font-size:11.0pt;font-=
family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nb=
sp;&nbsp;&nbsp; ] this looks very useful in cases where path costs and netw=
ork maps are detailed below the end 2 end level. I see an easy integration =
of
 this idea with the topology extension proposed by Richard that assumes &#8=
220;multi-switched&#8221; paths (or their abstraction). Though I don&#8217;=
t see a light and easy way to integrate constraints on path sections in the=
 base protocol.
</span></i></b><o:p></o:p></p>
<pre style=3D"margin-left:108.0pt"><span style=3D"color:#1F497D">&nbsp;</sp=
an><o:p></o:p></pre>
</div>
<pre style=3D"margin-left:72.0pt"><b><i><span style=3D"font-size:11.0pt;fon=
t-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#C00000">[Qin]:Yo=
ur observation is correct.</span></i></b><o:p></o:p></pre>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
Thanks a lot!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;margin-left:108.0pt">
Richard<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>

--_000_A7A5844EB93EB94AB22C2068B10AD65A294420B4FR711WXCHMBA01z_--

From fuqiao1@outlook.com  Mon Oct 21 02:08:50 2013
Return-Path: <fuqiao1@outlook.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 76FB321F9FD5 for <alto@ietfa.amsl.com>; Mon, 21 Oct 2013 02:08:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.147
X-Spam-Level: 
X-Spam-Status: No, score=-2.147 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, SARE_SUB_ENC_UTF8=0.152]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V6GpNGbw-Ueg for <alto@ietfa.amsl.com>; Mon, 21 Oct 2013 02:08:45 -0700 (PDT)
Received: from snt0-omc2-s36.snt0.hotmail.com (snt0-omc2-s36.snt0.hotmail.com [65.55.90.111]) by ietfa.amsl.com (Postfix) with ESMTP id 63F7F11E84C2 for <alto@ietf.org>; Mon, 21 Oct 2013 02:08:24 -0700 (PDT)
Received: from SNT146-DS1 ([65.55.90.71]) by snt0-omc2-s36.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675);  Mon, 21 Oct 2013 02:08:24 -0700
X-TMN: [8twz0eiH5uCJcblQiOhCRpmY6iINuR9y0uI++9ZzoCM=]
X-Originating-Email: [fuqiao1@outlook.com]
Message-ID: <SNT146-DS1745557F9F10B4B7E3F90E8010@phx.gbl>
From: Qiao Fu <fuqiao1@outlook.com>
To: <alto@ietf.org>
Date: Mon, 21 Oct 2013 17:11:15 +0800
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac7NS4K9r/JV240gQcWirTYnawPwEwA79kyA
Content-Language: zh-cn
X-OriginalArrivalTime: 21 Oct 2013 09:08:24.0332 (UTC) FILETIME=[18B75CC0:01CECE3D]
Subject: [alto] =?utf-8?b?6L2s5Y+ROiBOZXcgVmVyc2lvbiBOb3RpZmljYXRpb24gZm9y?= =?utf-8?q?_draft-fu-alto-nfv-usecase-00=2Etxt?=
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 21 Oct 2013 09:08:50 -0000

Hi, all!

We have submitted a new draft about a usecase of ALTO with the emergence =
of NFV.
The Network Functions Virtualization (NFV), as currently being in =
progress in ETSI NFV, leverages standard IT virtualization technology to =
consolidate many network equipment types onto industry standard high =
volume servers, switches and storage.=20
Due to the emergence of NFV, certain changes of ALTO protocol should =
also been made since some of the network functions may be VNFs instead =
of physical devices. In the meantime, NFV can be a dynamic network info =
provider for the ALTO server.
In this draft, we present a usecase of ALTO in CDN scenario in which the =
surrogates may become VNFs. Using ALTO in NFV context is a new area that =
has not been touched before. We do hope a time slot can be scheduled for =
this topic!

Your comments are more than welcome!

Best Regards
Qiao Fu=20

-----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6-----
=E5=8F=91=E4=BB=B6=E4=BA=BA: internet-drafts@ietf.org =
[mailto:internet-drafts@ietf.org]=20
=E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: =
2013=E5=B9=B410=E6=9C=8820=E6=97=A5 12:19
=E6=94=B6=E4=BB=B6=E4=BA=BA: Zehn Cao; Haibin Song; Qiao Fu; Zhen Cao
=E4=B8=BB=E9=A2=98: New Version Notification for =
draft-fu-alto-nfv-usecase-00.txt


A new version of I-D, draft-fu-alto-nfv-usecase-00.txt
has been successfully submitted by Qiao Fu and posted to the
IETF repository.

Filename:	 draft-fu-alto-nfv-usecase
Revision:	 00
Title:		 What's the Impact of Virtualization to ALTO?
Creation date:	 2013-10-19
Group:		 Individual Submission
Number of pages: 8
URL:             =
http://www.ietf.org/internet-drafts/draft-fu-alto-nfv-usecase-00.txt
Status:          =
http://datatracker.ietf.org/doc/draft-fu-alto-nfv-usecase
Htmlized:        http://tools.ietf.org/html/draft-fu-alto-nfv-usecase-00


Abstract:
   This draft presents a use case of Application Layer Traffic
   Optimization (ALTO) with the emergence of Network Function
   Virtualization (NFV).  The Application-Layer Traffic Optimization
   (ALTO) Service provides network information (e.g., basic network
   location structure and preferences of network paths) with the goal of
   modifying network resource consumption patterns while maintaining or
   improving application performance.  The emerging Network Functions
   Virtualisation (NFV), as currently being in progress in ETSI NFV,
   leverages standard IT virtualisation technology to consolidate many
   network equipment types onto industry standard high volume servers,
   switches and storage.

                                                                         =
        =20


Please note that it may take a couple of minutes from the time of =
submission
until the htmlized version and diff are available at tools.ietf.org.

The IETF Secretariat



From leeyoung@huawei.com  Mon Oct 21 09:14:05 2013
Return-Path: <leeyoung@huawei.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 DD5CD11E81D1 for <alto@ietfa.amsl.com>; Mon, 21 Oct 2013 09:14:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id adNWsJahOVas for <alto@ietfa.amsl.com>; Mon, 21 Oct 2013 09:14:00 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id 6816911E81AB for <alto@ietf.org>; Mon, 21 Oct 2013 09:13:38 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AZH54229; Mon, 21 Oct 2013 16:13:37 +0000 (GMT)
Received: from LHREML405-HUB.china.huawei.com (10.201.5.242) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.146.0; Mon, 21 Oct 2013 17:13:27 +0100
Received: from DFWEML407-HUB.china.huawei.com (10.193.5.132) by lhreml405-hub.china.huawei.com (10.201.5.242) with Microsoft SMTP Server (TLS) id 14.3.146.0; Mon, 21 Oct 2013 17:13:34 +0100
Received: from dfweml511-mbs.china.huawei.com ([169.254.15.10]) by dfweml407-hub.china.huawei.com ([10.193.5.132]) with mapi id 14.03.0146.000; Mon, 21 Oct 2013 09:13:28 -0700
From: Leeyoung <leeyoung@huawei.com>
To: IETF ALTO <alto@ietf.org>
Thread-Topic: New Version Notification for draft-lee-alto-app-net-info-exchange-04.txt
Thread-Index: AQHOzngoPI64Ck1Lzk6k7kskF+VSdpn/U3dQ
Date: Mon, 21 Oct 2013 16:13:28 +0000
Message-ID: <7AEB3D6833318045B4AE71C2C87E8E17291D07A2@dfweml511-mbs.china.huawei.com>
Accept-Language: en-US, zh-CN
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.192.11.126]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Subject: [alto] FW: New Version Notification for	draft-lee-alto-app-net-info-exchange-04.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 21 Oct 2013 16:14:05 -0000

SGksDQoNCkhlcmUncyBhbiB1cGRhdGVkIGRyYWZ0IHRoYXQgYWRkcmVzc2VzIHNvbWUgZXh0ZW5z
aW9ucyBuZWNlc3NhcnkgdG8gc3VwcG9ydCBoaWdoLWJhbmR3aWR0aCB1c2UgY2FzZSBmb3IgVEUg
bmV0d29ya3MuIA0KDQpZb3VyIGRpc2N1c3Npb24gYW5kIGNvbW1lbnRzIGFyZSBhcHByZWNpYXRl
ZC4NCg0KUmVnYXJkcywNCllvdW5nIG9uIGJlaGFsZiBvZiBjby1hdXRob3JzDQoNCi0tLS0tT3Jp
Z2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBpbnRlcm5ldC1kcmFmdHNAaWV0Zi5vcmcgW21haWx0
bzppbnRlcm5ldC1kcmFmdHNAaWV0Zi5vcmddIA0KU2VudDogTW9uZGF5LCBPY3RvYmVyIDIxLCAy
MDEzIDExOjEwIEFNDQpUbzogR3JlZyBCZXJuc3RlaW47IFRhZS1TYW5nIENob2k7IERocnV2IERo
b2R5OyBUYWVzYW5nIENob2k7IExlZXlvdW5nOyBHcmVnIE0uIEJlcm5zdGVpbjsgUWluIFd1DQpT
dWJqZWN0OiBOZXcgVmVyc2lvbiBOb3RpZmljYXRpb24gZm9yIGRyYWZ0LWxlZS1hbHRvLWFwcC1u
ZXQtaW5mby1leGNoYW5nZS0wNC50eHQNCg0KDQpBIG5ldyB2ZXJzaW9uIG9mIEktRCwgZHJhZnQt
bGVlLWFsdG8tYXBwLW5ldC1pbmZvLWV4Y2hhbmdlLTA0LnR4dA0KaGFzIGJlZW4gc3VjY2Vzc2Z1
bGx5IHN1Ym1pdHRlZCBieSBZb3VuZyBMZWUgYW5kIHBvc3RlZCB0byB0aGUgSUVURiByZXBvc2l0
b3J5Lg0KDQpGaWxlbmFtZToJIGRyYWZ0LWxlZS1hbHRvLWFwcC1uZXQtaW5mby1leGNoYW5nZQ0K
UmV2aXNpb246CSAwNA0KVGl0bGU6CQkgQUxUTyBFeHRlbnNpb25zIHRvIFN1cHBvcnQgQXBwbGlj
YXRpb24gYW5kIE5ldHdvcmsgUmVzb3VyY2UgSW5mb3JtYXRpb24gRXhjaGFuZ2UgZm9yIEhpZ2gg
QmFuZHdpZHRoIEFwcGxpY2F0aW9ucyBpbiBURSBuZXR3b3Jrcw0KQ3JlYXRpb24gZGF0ZToJIDIw
MTMtMTAtMjENCkdyb3VwOgkJIEluZGl2aWR1YWwgU3VibWlzc2lvbg0KTnVtYmVyIG9mIHBhZ2Vz
OiAyMg0KVVJMOiAgICAgICAgICAgICBodHRwOi8vd3d3LmlldGYub3JnL2ludGVybmV0LWRyYWZ0
cy9kcmFmdC1sZWUtYWx0by1hcHAtbmV0LWluZm8tZXhjaGFuZ2UtMDQudHh0DQpTdGF0dXM6ICAg
ICAgICAgIGh0dHA6Ly9kYXRhdHJhY2tlci5pZXRmLm9yZy9kb2MvZHJhZnQtbGVlLWFsdG8tYXBw
LW5ldC1pbmZvLWV4Y2hhbmdlDQpIdG1saXplZDogICAgICAgIGh0dHA6Ly90b29scy5pZXRmLm9y
Zy9odG1sL2RyYWZ0LWxlZS1hbHRvLWFwcC1uZXQtaW5mby1leGNoYW5nZS0wNA0KRGlmZjogICAg
ICAgICAgICBodHRwOi8vd3d3LmlldGYub3JnL3JmY2RpZmY/dXJsMj1kcmFmdC1sZWUtYWx0by1h
cHAtbmV0LWluZm8tZXhjaGFuZ2UtMDQNCg0KQWJzdHJhY3Q6DQpUaGlzIGRyYWZ0IHByb3Bvc2Vz
IEFMVE8gaW5mb3JtYXRpb24gbW9kZWwgYW5kIHByb3RvY29sIGV4dGVuc2lvbnMgdG8gc3VwcG9y
dCBhcHBsaWNhdGlvbiBhbmQgbmV0d29yayByZXNvdXJjZSBpbmZvcm1hdGlvbiBleGNoYW5nZSBm
b3IgaGlnaCBiYW5kd2lkdGggYXBwbGljYXRpb25zIGluIHBhcnRpYWxseSBjb250cm9sbGVkIGFu
ZCBjb250cm9sbGVkIGVudmlyb25tZW50cyBhcyBwYXJ0IG9mIHRoZSBpbmZyYXN0cnVjdHVyZSB0
byBhcHBsaWNhdGlvbiBpbmZvcm1hdGlvbiBleHBvc3VyZSAoaTJhZXgpIGluaXRpYXRpdmUuDQoN
Cg0KDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgDQoNCg0KUGxlYXNlIG5vdGUgdGhhdCBpdCBt
YXkgdGFrZSBhIGNvdXBsZSBvZiBtaW51dGVzIGZyb20gdGhlIHRpbWUgb2Ygc3VibWlzc2lvbiB1
bnRpbCB0aGUgaHRtbGl6ZWQgdmVyc2lvbiBhbmQgZGlmZiBhcmUgYXZhaWxhYmxlIGF0IHRvb2xz
LmlldGYub3JnLg0KDQpUaGUgSUVURiBTZWNyZXRhcmlhdA0KDQo=

From internet-drafts@ietf.org  Mon Oct 21 10:10:33 2013
Return-Path: <internet-drafts@ietf.org>
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 079C311E81E1; Mon, 21 Oct 2013 10:10:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.572
X-Spam-Level: 
X-Spam-Status: No, score=-102.572 tagged_above=-999 required=5 tests=[AWL=0.028, BAYES_00=-2.599, NO_RELAYS=-0.001, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zirgt8p-9Gdc; Mon, 21 Oct 2013 10:10:32 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 133A111E81BA; Mon, 21 Oct 2013 10:10:29 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.80.p3
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20131021171029.32469.48018.idtracker@ietfa.amsl.com>
Date: Mon, 21 Oct 2013 10:10:29 -0700
Cc: alto@ietf.org
Subject: [alto] I-D Action: draft-ietf-alto-deployments-08.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 21 Oct 2013 17:10:33 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Application-Layer Traffic Optimization Wo=
rking Group of the IETF.

	Title           : ALTO Deployment Considerations
	Author(s)       : Martin Stiemerling
                          Sebastian Kiesel
                          Stefano Previdi
                          Michael Scharf
	Filename        : draft-ietf-alto-deployments-08.txt
	Pages           : 44
	Date            : 2013-10-21

Abstract:
   Many Internet applications are used to access resources such as
   pieces of information or server processes that are available in
   several equivalent replicas on different hosts.  This includes, but
   is not limited to, peer-to-peer file sharing applications.  The goal
   of Application-Layer Traffic Optimization (ALTO) is to provide
   guidance to applications that have to select one or several hosts
   from a set of candidates, which are able to provide a desired
   resource.  This memo discusses deployment related issues of ALTO.  It
   addresses different use cases of ALTO such as peer-to-peer file
   sharing and CDNs, security considerations, recommendations for
   network administrators, and also guidance for application designers
   using ALTO.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-alto-deployments

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-alto-deployments-08

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-alto-deployments-08


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From michael.scharf@alcatel-lucent.com  Mon Oct 21 11:07:54 2013
Return-Path: <michael.scharf@alcatel-lucent.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 1016811E8222 for <alto@ietfa.amsl.com>; Mon, 21 Oct 2013 11:07:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.539
X-Spam-Level: 
X-Spam-Status: No, score=-10.539 tagged_above=-999 required=5 tests=[AWL=0.060, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T0qC2kDZHUxB for <alto@ietfa.amsl.com>; Mon, 21 Oct 2013 11:07:48 -0700 (PDT)
Received: from ihemail2.lucent.com (ihemail2.lucent.com [135.245.0.35]) by ietfa.amsl.com (Postfix) with ESMTP id B003711E8271 for <alto@ietf.org>; Mon, 21 Oct 2013 11:07:17 -0700 (PDT)
Received: from fr711usmtp1.zeu.alcatel-lucent.com (h135-239-2-122.lucent.com [135.239.2.122]) by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id r9LI791s021641 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Mon, 21 Oct 2013 13:07:11 -0500 (CDT)
Received: from FR712WXCHHUB03.zeu.alcatel-lucent.com (fr712wxchhub03.zeu.alcatel-lucent.com [135.239.2.74]) by fr711usmtp1.zeu.alcatel-lucent.com (GMO) with ESMTP id r9LI79mO011315 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for <alto@ietf.org>; Mon, 21 Oct 2013 20:07:09 +0200
Received: from FR712WXCHMBA15.zeu.alcatel-lucent.com ([169.254.7.203]) by FR712WXCHHUB03.zeu.alcatel-lucent.com ([135.239.2.74]) with mapi id 14.02.0247.003; Mon, 21 Oct 2013 20:07:09 +0200
From: "Scharf, Michael (Michael)" <michael.scharf@alcatel-lucent.com>
To: "alto@ietf.org" <alto@ietf.org>
Thread-Topic: draft-ietf-alto-deployments-08
Thread-Index: AQHOzohb7aWYwrdk7UeskqLTDtZj5A==
Date: Mon, 21 Oct 2013 18:07:08 +0000
Message-ID: <655C07320163294895BBADA28372AF5D0E6D83@FR712WXCHMBA15.zeu.alcatel-lucent.com>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.239.27.39]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35
Subject: [alto] draft-ietf-alto-deployments-08
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 21 Oct 2013 18:07:54 -0000

Hi all,

I submitted a new version of draft-ietf-alto-deployments. I changed the nam=
ing of some sections and also shifted text inside the document to have a mo=
re consistent structure, and this is why the diff shows a large number of c=
hanges. However, I hardly removed any content from the document. Basically,=
 the intention of -08 is to have a baseline for future improvements of the =
content.

The major changes in -08 include:

* ToC naming changes

* New text in Section 2.2.3. More Advanced Deployments

* Existing text on data sources moved from later sections to Section 3.2 Pr=
ovisioning of ALTO Maps

* Significant rewording of Section 3.4. Map Examples for Different Types of=
 ISPs, including a small network and cost map example for illustration

* New section 6 for non-P2P and non-CDN use cases, currently only addressin=
g draft-deng-alto-p2pcache (requested by the authors), further use cases st=
ill TBD

* Moving "Monitoring ALTO" to an Appendix. I have not managed to address th=
e performance directorate review so far, but probably this section will hav=
e to be removed in its current form

* Numerous editorial bugfixes

It is obvious that further updates is needed and will happen - I just poste=
d what I could get done before the deadline. Comments would still be very w=
elcome.

Thanks

Michael



-----Original Message-----
From: i-d-announce-bounces@ietf.org [mailto:i-d-announce-bounces@ietf.org] =
On Behalf Of internet-drafts@ietf.org
Sent: Monday, October 21, 2013 7:10 PM
To: i-d-announce@ietf.org
Cc: alto@ietf.org
Subject: I-D Action: draft-ietf-alto-deployments-08.txt


A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Application-Layer Traffic Optimization Wo=
rking Group of the IETF.

	Title           : ALTO Deployment Considerations
	Author(s)       : Martin Stiemerling
                          Sebastian Kiesel
                          Stefano Previdi
                          Michael Scharf
	Filename        : draft-ietf-alto-deployments-08.txt
	Pages           : 44
	Date            : 2013-10-21

Abstract:
   Many Internet applications are used to access resources such as
   pieces of information or server processes that are available in
   several equivalent replicas on different hosts.  This includes, but
   is not limited to, peer-to-peer file sharing applications.  The goal
   of Application-Layer Traffic Optimization (ALTO) is to provide
   guidance to applications that have to select one or several hosts
   from a set of candidates, which are able to provide a desired
   resource.  This memo discusses deployment related issues of ALTO.  It
   addresses different use cases of ALTO such as peer-to-peer file
   sharing and CDNs, security considerations, recommendations for
   network administrators, and also guidance for application designers
   using ALTO.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-alto-deployments

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-alto-deployments-08

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-alto-deployments-08


Please note that it may take a couple of minutes from the time of submissio=
n
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt

From yang.r.yang@gmail.com  Mon Oct 21 14:22:13 2013
Return-Path: <yang.r.yang@gmail.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 1822011E8690 for <alto@ietfa.amsl.com>; Mon, 21 Oct 2013 14:22:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.746
X-Spam-Level: 
X-Spam-Status: No, score=-1.746 tagged_above=-999 required=5 tests=[AWL=0.231,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MJYQmDMxQewi for <alto@ietfa.amsl.com>; Mon, 21 Oct 2013 14:22:12 -0700 (PDT)
Received: from mail-pb0-x22d.google.com (mail-pb0-x22d.google.com [IPv6:2607:f8b0:400e:c01::22d]) by ietfa.amsl.com (Postfix) with ESMTP id E15FD11E86AD for <alto@ietf.org>; Mon, 21 Oct 2013 14:22:05 -0700 (PDT)
Received: by mail-pb0-f45.google.com with SMTP id mc17so7582651pbc.18 for <alto@ietf.org>; Mon, 21 Oct 2013 14:22:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=5TG9XvOQ5luMMTChyjSKG5/AliAcGxJ4HnC30ulY3ec=; b=fbUt16d+6LmRtNpI5cf4k9DmRx5dmu+s7/V/3H1gyrdyQ8SFTVKP0ZILmZoCHgVk3D z5ZwlDTyOf/2Hb2WUrK8aHZbAjkuByiww6Hu1n7YJUZOwl1A5WSPSwIqoDiBxlAD6QYx RPMOYEb4Bt+Eju2R7pgYmJGgdnQIkfA+1OYs3H3KV0OknCVD1AE69XQI8zgl3EEEwgZ3 gOgHdwHVJBOC5R0CWZzpqK107DU9n3WWbrH+rU+Y/m4t1YWknsjEBxdhOg4YH8grNjBE MZ6ucsErf27UZlhgPB/XZxdXFqU207SyUjYOOzyBpbYIX/c/DMG8IpzIxq7HM/IE7n5Q Bmag==
MIME-Version: 1.0
X-Received: by 10.68.209.232 with SMTP id mp8mr5035479pbc.129.1382390525459; Mon, 21 Oct 2013 14:22:05 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Mon, 21 Oct 2013 14:22:05 -0700 (PDT)
In-Reply-To: <20131021191632.32521.82421.idtracker@ietfa.amsl.com>
References: <20131021191632.32521.82421.idtracker@ietfa.amsl.com>
Date: Mon, 21 Oct 2013 17:22:05 -0400
X-Google-Sender-Auth: cdsvn1atiJBNjzaBHffrVN3rBG0
Message-ID: <CANUuoLo9qc-QFPLes8gQ3HDjogfS=rmgYr76MjnX+XoO9FS4EQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: IETF ALTO <alto@ietf.org>, Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b111baf36057904e946e0ce
Subject: [alto] Fwd: New Version Notification for draft-roome-alto-pid-properties-00.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 21 Oct 2013 21:22:13 -0000

--047d7b111baf36057904e946e0ce
Content-Type: text/plain; charset=ISO-8859-1

Hi,

We submitted a draft on defining properties on PIDs. We used this
capability as a use case in defining cdni footprint and capabilities, which
we will post soon.

Any comments or suggestions are highly welcome!

Richard

---------- Forwarded message ----------
From: <internet-drafts@ietf.org>
Date: Mon, Oct 21, 2013 at 3:16 PM
Subject: New Version Notification for draft-roome-alto-pid-properties-00.txt
To: "Y. Richard Yang" <yry@cs.yale.edu>, Wendy Roome <
w.roome@alcatel-lucent.com>



A new version of I-D, draft-roome-alto-pid-properties-00.txt
has been successfully submitted by Wendy Roome and posted to the
IETF repository.

Filename:        draft-roome-alto-pid-properties
Revision:        00
Title:           PID Property Extension for ALTO Protocol
Creation date:   2013-10-21
Group:           Individual Submission
Number of pages: 6
URL:
http://www.ietf.org/internet-drafts/draft-roome-alto-pid-properties-00.txt
Status:
http://datatracker.ietf.org/doc/draft-roome-alto-pid-properties
Htmlized:
http://tools.ietf.org/html/draft-roome-alto-pid-properties-00


Abstract:
   This document extends the Application-Layer Traffic Optimization
   (ALTO) protocol [I-D.ietf-alto-protocol] by defining PID-based
   properties in much the same way that the original ALTO protocol
   defines endpoint-based properties.

Requirement Language



Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

The IETF Secretariat

--047d7b111baf36057904e946e0ce
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>We submitted a draft on defining pr=
operties on PIDs. We used this capability as a use case in defining cdni fo=
otprint and capabilities, which we will post soon.</div><div><br></div><div=
>
Any comments or suggestions are highly welcome!</div><div><br></div><div>Ri=
chard=A0<br><br><div class=3D"gmail_quote">---------- Forwarded message ---=
-------<br>From: <b class=3D"gmail_sendername"></b> <span dir=3D"ltr">&lt;<=
a href=3D"mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a>&gt;=
</span><br>
Date: Mon, Oct 21, 2013 at 3:16 PM<br>Subject: New Version Notification for=
 draft-roome-alto-pid-properties-00.txt<br>To: &quot;Y. Richard Yang&quot; =
&lt;<a href=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;, Wendy Roome=
 &lt;<a href=3D"mailto:w.roome@alcatel-lucent.com">w.roome@alcatel-lucent.c=
om</a>&gt;<br>
<br><br><br>
A new version of I-D, draft-roome-alto-pid-properties-00.txt<br>
has been successfully submitted by Wendy Roome and posted to the<br>
IETF repository.<br>
<br>
Filename: =A0 =A0 =A0 =A0draft-roome-alto-pid-properties<br>
Revision: =A0 =A0 =A0 =A000<br>
Title: =A0 =A0 =A0 =A0 =A0 PID Property Extension for ALTO Protocol<br>
Creation date: =A0 2013-10-21<br>
Group: =A0 =A0 =A0 =A0 =A0 Individual Submission<br>
Number of pages: 6<br>
URL: =A0 =A0 =A0 =A0 =A0 =A0 <a href=3D"http://www.ietf.org/internet-drafts=
/draft-roome-alto-pid-properties-00.txt" target=3D"_blank">http://www.ietf.=
org/internet-drafts/draft-roome-alto-pid-properties-00.txt</a><br>
Status: =A0 =A0 =A0 =A0 =A0<a href=3D"http://datatracker.ietf.org/doc/draft=
-roome-alto-pid-properties" target=3D"_blank">http://datatracker.ietf.org/d=
oc/draft-roome-alto-pid-properties</a><br>
Htmlized: =A0 =A0 =A0 =A0<a href=3D"http://tools.ietf.org/html/draft-roome-=
alto-pid-properties-00" target=3D"_blank">http://tools.ietf.org/html/draft-=
roome-alto-pid-properties-00</a><br>
<br>
<br>
Abstract:<br>
=A0 =A0This document extends the Application-Layer Traffic Optimization<br>
=A0 =A0(ALTO) protocol [I-D.ietf-alto-protocol] by defining PID-based<br>
=A0 =A0properties in much the same way that the original ALTO protocol<br>
=A0 =A0defines endpoint-based properties.<br>
<br>
Requirement Language<br>
<br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n<br>
until the htmlized version and diff are available at <a href=3D"http://tool=
s.ietf.org" target=3D"_blank">tools.ietf.org</a>.<br>
<br>
The IETF Secretariat<br>
<br>
</div><br></div></div>

--047d7b111baf36057904e946e0ce--

From haibin.song@huawei.com  Mon Oct 21 17:59:55 2013
Return-Path: <haibin.song@huawei.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 B1F2C11E80EA for <alto@ietfa.amsl.com>; Mon, 21 Oct 2013 17:59:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ziiTOi-r42Pt for <alto@ietfa.amsl.com>; Mon, 21 Oct 2013 17:59:51 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id 5E36311E82EC for <alto@ietf.org>; Mon, 21 Oct 2013 17:59:47 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AXA74934; Tue, 22 Oct 2013 00:59:46 +0000 (GMT)
Received: from LHREML406-HUB.china.huawei.com (10.201.5.243) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.146.0; Tue, 22 Oct 2013 01:59:37 +0100
Received: from nkgeml409-hub.china.huawei.com (10.98.56.40) by lhreml406-hub.china.huawei.com (10.201.5.243) with Microsoft SMTP Server (TLS) id 14.3.146.0; Tue, 22 Oct 2013 01:59:45 +0100
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.141]) by nkgeml409-hub.china.huawei.com ([10.98.56.40]) with mapi id 14.03.0146.000; Tue, 22 Oct 2013 08:59:37 +0800
From: "Songhaibin (A)" <haibin.song@huawei.com>
To: "alto@ietf.org" <alto@ietf.org>
Thread-Topic: New Version Notification for draft-song-alto-overlay-routing-00.txt
Thread-Index: AQHOzmHU6R495lRxOk+mgqtaVvlZHpn/5fZw
Date: Tue, 22 Oct 2013 00:59:36 +0000
Message-ID: <E33E01DFD5BEA24B9F3F18671078951F247C1BB3@nkgeml501-mbs.china.huawei.com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.138.41.140]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Subject: [alto] FW: New Version Notification for draft-song-alto-overlay-routing-00.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 22 Oct 2013 00:59:55 -0000

SGkgYWxsLA0KDQpXZSBoYXZlIHN1Ym1pdHRlZCBhIGRyYWZ0IG9uIGFsdG8gcHJvdG9jb2wgZXh0
ZW5zaW9uIGZvciBvdmVybGF5IHJvdXRpbmcuIEl0IGNhbiBoZWxwIGFwcGxpY2F0aW9ucyB0byBm
aW5kIHRoZSBvcHRpbWFsIHBhdGggYmV0d2VlbiB0d28gZW5kcG9pbnRzLCBieSBhc2tpbmcgQUxU
TyBzZXJ2ZXIgZm9yIHRoZSBjb3N0IHZhbHVlcyBvZiB2YXJpb3VzIHBhdGhzIGJldHdlZW4gdHdv
IGVuZHBvaW50cywgZm9yIGV4YW1wbGUsIFZQTiB0dW5uZWwsIGRpcmVjdCByb3V0aW5nLCBhbmQg
dGhyb3VnaCBkaWZmZXJlbnQgcmVsYXkgbm9kZXMuIFdlIGhvcGUgcGVvcGxlIHdobyBhcmUgaW50
ZXJlc3RlZCBjYW4gZ2l2ZSB0aGVpciBjb21tZW50cy4NCg0KVGhhbmtzLA0KLUhhaWJpbg0KDQot
LS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogaW50ZXJuZXQtZHJhZnRzQGlldGYub3Jn
IFttYWlsdG86aW50ZXJuZXQtZHJhZnRzQGlldGYub3JnXSANClNlbnQ6IE1vbmRheSwgT2N0b2Jl
ciAyMSwgMjAxMyA5OjIyIFBNDQpUbzogU29uZ2hhaWJpbiAoQSk7IFlpIFN1bjsgU3VuIFlpDQpT
dWJqZWN0OiBOZXcgVmVyc2lvbiBOb3RpZmljYXRpb24gZm9yIGRyYWZ0LXNvbmctYWx0by1vdmVy
bGF5LXJvdXRpbmctMDAudHh0DQoNCg0KQSBuZXcgdmVyc2lvbiBvZiBJLUQsIGRyYWZ0LXNvbmct
YWx0by1vdmVybGF5LXJvdXRpbmctMDAudHh0DQpoYXMgYmVlbiBzdWNjZXNzZnVsbHkgc3VibWl0
dGVkIGJ5IEhhaWJpbiBTb25nIGFuZCBwb3N0ZWQgdG8gdGhlDQpJRVRGIHJlcG9zaXRvcnkuDQoN
CkZpbGVuYW1lOgkgZHJhZnQtc29uZy1hbHRvLW92ZXJsYXktcm91dGluZw0KUmV2aXNpb246CSAw
MA0KVGl0bGU6CQkgQUxUTyBQcm90b2NvbCBFeHRlbnNpb24gRm9yIE92ZXJsYXkgUm91dGluZw0K
Q3JlYXRpb24gZGF0ZToJIDIwMTMtMTAtMjENCkdyb3VwOgkJIEluZGl2aWR1YWwgU3VibWlzc2lv
bg0KTnVtYmVyIG9mIHBhZ2VzOiAxMA0KVVJMOiAgICAgICAgICAgICBodHRwOi8vd3d3LmlldGYu
b3JnL2ludGVybmV0LWRyYWZ0cy9kcmFmdC1zb25nLWFsdG8tb3ZlcmxheS1yb3V0aW5nLTAwLnR4
dA0KU3RhdHVzOiAgICAgICAgICBodHRwOi8vZGF0YXRyYWNrZXIuaWV0Zi5vcmcvZG9jL2RyYWZ0
LXNvbmctYWx0by1vdmVybGF5LXJvdXRpbmcNCkh0bWxpemVkOiAgICAgICAgaHR0cDovL3Rvb2xz
LmlldGYub3JnL2h0bWwvZHJhZnQtc29uZy1hbHRvLW92ZXJsYXktcm91dGluZy0wMA0KDQoNCkFi
c3RyYWN0Og0KICAgVGhpcyBkb2N1bWVudCBkZXNjcmliZXMgYW4gQUxUTyBwcm90b2NvbCBleHRl
bnNpb24gZm9yIG92ZXJsYXkNCiAgIHJvdXRpbmcuICBJdCBjb25zaWRlcnMgdGhyZWUgZGlmZmVy
ZW50IG1ldGhvZHMgdG8gcm91dGUgdHJhZmZpYyBmcm9tDQogICBhIGRhdGEgc291cmNlIHRvIGEg
ZGF0YSByZWNlaXZlciwgd2hpY2ggYXJlIGRpcmVjdCBJbnRlcm5ldCByb3V0aW5nLA0KICAgVlBO
IHR1bm5lbCwgYW5kIG92ZXJsYXkgcm91dGluZyB2aWEgaW50ZXJtZWRpYXRlL3JlbGF5IG5vZGUo
cyksDQogICBhbmFseXplIHRoZWlyIHVzZSBjYXNlcyBpbiByZWFsIHdvcmxkIGFuZCB0aGVuIHBy
b3Bvc2VzIGFuIGV4dGVuc2lvbg0KICAgdG8gQUxUTyBwcm90b2NvbCBzbyBhcyB0byBzdXBwb3J0
IGEgQUxUTyBjbGllbnQgdG8gZ2V0IGNvc3QgdmFsdWUNCiAgIGJldHdlZW4gaG9zdHMgdmlhIHRo
ZXNlIGRpZmZlcmVudCByb3V0aW5nIG1ldGhvZHMuDQoNCiAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICANCg0KDQpQbGVhc2Ugbm90ZSB0aGF0IGl0IG1heSB0YWtlIGEgY291cGxlIG9mIG1pbnV0ZXMg
ZnJvbSB0aGUgdGltZSBvZiBzdWJtaXNzaW9uDQp1bnRpbCB0aGUgaHRtbGl6ZWQgdmVyc2lvbiBh
bmQgZGlmZiBhcmUgYXZhaWxhYmxlIGF0IHRvb2xzLmlldGYub3JnLg0KDQpUaGUgSUVURiBTZWNy
ZXRhcmlhdA0KDQo=

From vkg@bell-labs.com  Tue Oct 22 13:02:44 2013
Return-Path: <vkg@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 7325D11E822D for <alto@ietfa.amsl.com>; Tue, 22 Oct 2013 13:02:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -109.392
X-Spam-Level: 
X-Spam-Status: No, score=-109.392 tagged_above=-999 required=5 tests=[AWL=-1.207, BAYES_40=-0.185, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FMelUfbYktth for <alto@ietfa.amsl.com>; Tue, 22 Oct 2013 13:02:40 -0700 (PDT)
Received: from ihemail1.lucent.com (ihemail1.lucent.com [135.245.0.33]) by ietfa.amsl.com (Postfix) with ESMTP id D590011E810A for <alto@ietf.org>; Tue, 22 Oct 2013 13:02:39 -0700 (PDT)
Received: from usnavsmail1.ndc.alcatel-lucent.com (usnavsmail1.ndc.alcatel-lucent.com [135.3.39.9]) by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id r9MK2c4Y019242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Tue, 22 Oct 2013 15:02:39 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail1.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9MK2cwU016324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Tue, 22 Oct 2013 15:02:38 -0500
Received: from shoonya.ih.lucent.com (shoonya.ih.lucent.com [135.185.237.229]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9MK2cu6029093 for <alto@ietf.org>; Tue, 22 Oct 2013 15:02:38 -0500 (CDT)
Message-ID: <5266D9CA.3070900@bell-labs.com>
Date: Tue, 22 Oct 2013 15:02:18 -0500
From: "Vijay K. Gurbani" <vkg@bell-labs.com>
Organization: Bell Laboratories, Alcatel-Lucent
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130805 Thunderbird/17.0.8
MIME-Version: 1.0
To: alto <alto@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33
Subject: [alto] Reminder to extension authors
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 22 Oct 2013 20:02:44 -0000

Folks: As you prepare slides, etc. for your ALTO extensions, please
consult the latest institutional memory on how to taxonomize or classify
the extensions; this was captured rather succinctly and successfully
during the Berlin IETF side meeting [1].

Enrico and I will be looking to see how we can group the various
extensions under this ontology.  It will make it tractable to understand
and appreciate the extensions as we grapple with them.

Thanks,

[1] http://www.ietf.org/proceedings/87/minutes/minutes-87-alto#ad-hoc

- vijay
-- 
Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)
Email: vkg@{bell-labs.com,acm.org} / vijay.gurbani@alcatel-lucent.com
Web: http://ect.bell-labs.com/who/vkg/  | Calendar: http://goo.gl/x3Ogq

From bill.wu@huawei.com  Tue Oct 22 18:17:46 2013
Return-Path: <bill.wu@huawei.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 D4B5C11E80E6 for <alto@ietfa.amsl.com>; Tue, 22 Oct 2013 18:17:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.386
X-Spam-Level: 
X-Spam-Status: No, score=-6.386 tagged_above=-999 required=5 tests=[AWL=0.213,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8BEpdYk-OL8i for <alto@ietfa.amsl.com>; Tue, 22 Oct 2013 18:17:42 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id A918411E80E9 for <alto@ietf.org>; Tue, 22 Oct 2013 18:17:41 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AZI79653; Wed, 23 Oct 2013 01:17:40 +0000 (GMT)
Received: from LHREML404-HUB.china.huawei.com (10.201.5.218) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.146.0; Wed, 23 Oct 2013 02:17:26 +0100
Received: from NKGEML406-HUB.china.huawei.com (10.98.56.37) by lhreml404-hub.china.huawei.com (10.201.5.218) with Microsoft SMTP Server (TLS) id 14.3.146.0; Wed, 23 Oct 2013 02:17:38 +0100
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.141]) by nkgeml406-hub.china.huawei.com ([10.98.56.37]) with mapi id 14.03.0146.000; Wed, 23 Oct 2013 09:17:28 +0800
From: Qin Wu <bill.wu@huawei.com>
To: IETF ALTO <alto@ietf.org>
Thread-Topic: I-D Action: draft-wu-alto-te-metrics-00.txt
Thread-Index: AQHOziP6+J+FdtG9skmCafux6L7Mo5oBflNw
Date: Wed, 23 Oct 2013 01:17:27 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA43C0E5CF@nkgeml501-mbs.china.huawei.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.138.41.149]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Subject: [alto] FW: I-D Action: draft-wu-alto-te-metrics-00.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 23 Oct 2013 01:17:46 -0000

Hi, all:
We have posted a new draft to define a set of new cost metrics that are rel=
ated to traffic engineering performance information.

http://tools.ietf.org/html/draft-wu-alto-te-metrics-00

Please review the draft and provide your feedback and comments.

Regards!
-Qin
-----Original Message-----
From: i-d-announce-bounces@ietf.org [mailto:i-d-announce-bounces@ietf.org] =
On Behalf Of internet-drafts@ietf.org
Sent: Monday, October 21, 2013 2:08 PM
To: i-d-announce@ietf.org
Subject: I-D Action: draft-wu-alto-te-metrics-00.txt


A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.


	Title           : ALTO Traffic Engineering Cost Metrics
	Author(s)       : Qin Wu
                          Young Lee
                          Dhruv Dhody
                          Sabine Randriamasy
	Filename        : draft-wu-alto-te-metrics-00.txt
	Pages           : 26
	Date            : 2013-10-20

Abstract:
   Cost Metric is a basic concept in Application-Layer Traffic
   Optimization (ALTO).  It is used in both the Cost Map Service and the
   Endpoint Cost Service.  Future extensions to ALTO may also use Cost
   Metric.

   Different applications may benefit from different Cost Metrics.  For
   example, a Resource Consumer may prefer Resource Providers that have
   low latency to the Resource Consumer.  However the base ALTO protocol
   [ALTO] has defined only a single cost metric, i.e., the generic
   "routingcost" metric (Sec. 14.2 of ALTO base specification [ALTO]).

   In this document, we define XXX Cost Metrics, derived from OSPF-TE
   and ISIS-TE, to measure network delay, jitter, packet loss, hop
   count, and bandwidth.  The metrics defined in this document provide a
   relatively comprehensive set of Cost Metrics for ALTO focusing on
   traffic engineering.  Additional Cost Metrics such as financial cost
   metrics may be defined in other documents.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-wu-alto-te-metrics-00


Please note that it may take a couple of minutes from the time of submissio=
n
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt

From enrico.marocco@telecomitalia.it  Wed Oct 23 01:57:53 2013
Return-Path: <enrico.marocco@telecomitalia.it>
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 21BB511E815E for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 01:57:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.557
X-Spam-Level: 
X-Spam-Status: No, score=-100.557 tagged_above=-999 required=5 tests=[AWL=-0.697, BAYES_20=-0.74, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245,  RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KHtOgfIno+gN for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 01:57:48 -0700 (PDT)
Received: from GRFEDG702RM001.telecomitalia.it (grfedg702rm001.telecomitalia.it [217.169.121.21]) by ietfa.amsl.com (Postfix) with ESMTP id D4E6C11E8331 for <alto@ietf.org>; Wed, 23 Oct 2013 01:57:28 -0700 (PDT)
Received: from grfhub703rm001.griffon.local (10.19.3.10) by GRFEDG702RM001.telecomitalia.it (10.173.88.21) with Microsoft SMTP Server (TLS) id 8.3.297.1; Wed, 23 Oct 2013 10:57:27 +0200
Received: from MacLab.local (163.162.173.11) by smtp.telecomitalia.it (10.19.9.236) with Microsoft SMTP Server (TLS) id 8.3.297.1; Wed, 23 Oct 2013 10:57:26 +0200
Message-ID: <52678F76.6080207@telecomitalia.it>
Date: Wed, 23 Oct 2013 10:57:26 +0200
From: Enrico Marocco <enrico.marocco@telecomitalia.it>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
MIME-Version: 1.0
To: "alto@ietf.org" <alto@ietf.org>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms050809040203090509010604"
X-TI-Disclaimer: Disclaimer1
Subject: [alto] Draft agenda for IETF 88
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 23 Oct 2013 08:57:53 -0000

--------------ms050809040203090509010604
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi all,

the draft agenda for the next IETF meeting is now online:
http://www.ietf.org/proceedings/88/agenda/agenda-88-alto

Since a primary goal of this meeting is to get a good understanding of
what people are willing to use the ALTO protocol for, we have tried to
accommodate all the requests we have received. If you believe something
is missing (that may very well be the case), please point that out prompt=
ly.

Please also note that the order will change as, as Vijay mentioned in a
separate email, we are working on a more consistent per-topic grouping.

--=20
Ciao,
Enrico


--------------ms050809040203090509010604
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMojCC
BjQwggQcoAMCAQICAR4wDQYJKoZIhvcNAQEFBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDE1NVoXDTE3MTAyNDIxMDE1NVowgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMcJg8zOLdgasSmkLhOr
lr6KMoOMpohBllVHrdRvEg/q6r8jR+EK75xCGhR8ToREoqe7zM9/UnC6TS2y9UKTpT1v7RSM
zR0t6ndl0TWBuUr/UXBhPk+Kmy7bI4yW4urC+y7P3/1/X7U8ocb8VpH/Clt+4iq7nirMcNh6
qJR+xjOhV+VHzQMALuGYn5KZmc1NbJQYclsGkDxDz2UbFqE2+6vIZoL+jb9x4Pa5gNf1TwSD
kOkikZB1xtB4ZqtXThaABSONdfmv/Z1pua3FYxnCFmdr/+N2JLKutIxMYqQOJebr/f/h5t95
m4JgrM3Y/w7YX9d7YAL9jvN4SydHsU6n65cCAwEAAaOCAa0wggGpMA8GA1UdEwEB/wQFMAMB
Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBRTcu2SnODaywFcfH6WNU7y1LhRgjAfBgNV
HSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRaMFgwJwYIKwYBBQUH
MAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYhaHR0cDovL3d3
dy5zdGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6Ly93d3cu
c3RhcnRzc2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20v
c2ZzY2EuY3JsMIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0
dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93
d3cuc3RhcnRzc2wuY29tL2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQEFBQADggIBAAqD
CH14qywGXLhjjF6uHLkjd02hcdh9hrw+VUsv+q1eeQWB21jWj3kJ96AUlPCoEGZ/ynJNScWy
6QMVQjbbMXltUfO4n4bGGdKo3awPWp61tjAFgraLJgDk+DsSvUD6EowjMTNx25GQgyYJ5RPI
zKKR9tQW8gGK+2+RHxkUCTbYFnL6kl8Ch507rUdPPipJ9CgJFws3kDS3gOS5WFMxcjO5DwKf
KSETEPrHh7p5shuuNktvsv6hxHTLhiMKX893gxdT3XLS9OKmCv87vkINQcNEcIIoFWbP9HOR
z9v3vQwR4e3ksLc2JZOAFK+ssS5XMEoznzpihEP0PLc4dCBYjbvSD7kxgDwZ+Aj8Q9PkbvE9
sIPP7ON0fz095HdThKjiVJe6vofq+n6b1NBc8XdrQvBmunwxD5nvtTW4vtN6VY7mUCmxsCie
uoBJ9OlqmsVWQvifIYf40dJPZkk9YgGTzWLpXDSfLSplbY2LL9C9U0ptvjcDjefLTvqSFc7t
w1sEhF0n/qpA2r0GpvkLRDmcSwVyPvmjFBGqUp/pNy8ZuPGQmHwFi2/14+xeSUDG2bwnsYJQ
G2EdJCB6luQ57GEnTA/yKZSTKI8dDQa8Sd3zfXb19mOgSF0bBdXbuKhEpuP9wirslFe6fQ1t
5j5R0xi72MZ8ikMu1RQZKCyDbMwazlHiMIIGZjCCBU6gAwIBAgIDByD0MA0GCSqGSIb3DQEB
BQUAMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMi
U2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20g
Q2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0EwHhcNMTMwNzI0MTg1NjUz
WhcNMTQwNzI1MTExMzEwWjB1MRkwFwYDVQQNExBJcWRVZVdCRExxaEZ2N1hrMSgwJgYDVQQD
DB9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MS4wLAYJKoZIhvcNAQkBFh9lbnJp
Y28ubWFyb2Njb0B0ZWxlY29taXRhbGlhLml0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEA078rvuWkIkHhL41Zi2MjXjy5TU71hLgnrstLepYUATbwALhWSs0Kk6l8FhKrOyCl
MPT8NMR5OPG91nEIloDY/AJL7GahjQXomtyqCPXWoRQL95sh+QhlCktlmGhVXm98YAcFWm8E
WoanJmv7UxKhJ6bdXLADn/dtxZGNiACG2U+fBaSyUT0Sa12SQ+u59yOZNWoaLRi2tos0hbZx
eKKVk7a+vxaIS5IIsvUUgJ3tGwFTsz+o3AFWLI/8U1u2LitbpKF/G91ReDA9bb10k5ay43r+
o1TigZEdHd683i7j4DIdjkY3FybFibDtzx+O054BPx5v4C4Nk8vHOHtif2czMwIDAQABo4IC
5TCCAuEwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0lBBYwFAYIKwYBBQUHAwIGCCsG
AQUFBwMEMB0GA1UdDgQWBBSjX2uvKQFc1dKQOjONZZ1hVH42cTAfBgNVHSMEGDAWgBRTcu2S
nODaywFcfH6WNU7y1LhRgjAqBgNVHREEIzAhgR9lbnJpY28ubWFyb2Njb0B0ZWxlY29taXRh
bGlhLml0MIIBTAYDVR0gBIIBQzCCAT8wggE7BgsrBgEEAYG1NwECAzCCASowLgYIKwYBBQUH
AgEWImh0dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwgfcGCCsGAQUFBwICMIHq
MCcWIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MAMCAQEagb5UaGlzIGNlcnRp
ZmljYXRlIHdhcyBpc3N1ZWQgYWNjb3JkaW5nIHRvIHRoZSBDbGFzcyAxIFZhbGlkYXRpb24g
cmVxdWlyZW1lbnRzIG9mIHRoZSBTdGFydENvbSBDQSBwb2xpY3ksIHJlbGlhbmNlIG9ubHkg
Zm9yIHRoZSBpbnRlbmRlZCBwdXJwb3NlIGluIGNvbXBsaWFuY2Ugb2YgdGhlIHJlbHlpbmcg
cGFydHkgb2JsaWdhdGlvbnMuMDYGA1UdHwQvMC0wK6ApoCeGJWh0dHA6Ly9jcmwuc3RhcnRz
c2wuY29tL2NydHUxLWNybC5jcmwwgY4GCCsGAQUFBwEBBIGBMH8wOQYIKwYBBQUHMAGGLWh0
dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9zdWIvY2xhc3MxL2NsaWVudC9jYTBCBggrBgEFBQcw
AoY2aHR0cDovL2FpYS5zdGFydHNzbC5jb20vY2VydHMvc3ViLmNsYXNzMS5jbGllbnQuY2Eu
Y3J0MCMGA1UdEgQcMBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzANBgkqhkiG9w0BAQUF
AAOCAQEAQ9Ff1giJV3UOk090vsVroHHsBy4J4eITcDLGg+wJ+M+4kULtKS7i+kJjfd5VZb1e
ZsnezvgmhmAaJRy+xl/j7l3UKbSVXfUcnKQ1IVnPVedA+4g6L8nA2cBTGj+vFScEC03HSFqy
Q2Shh3AkCo1L6HLoohHxTvSi7+A4P4uayaHSC0OSdVOXWyDOrjnkSWKQiPX4jc0nJofA7b+H
TppvjgzM5t+c9EQ0v8ldDfP4Pl6HhJ/xwMAETn3VG3hVuT321Gx/BXCS1TDMyUnXVf5BB+S8
vGlgwoPfX2o2ti0/ZXSt/VRUOmBF5kiePNIJ7MLOa15cbxI/2bF0xXKHEjBcETGCA90wggPZ
AgEBMIGUMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UE
CxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRD
b20gQ2xhc3MgMSBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAwcg9DAJBgUrDgMC
GgUAoIICHTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMzEw
MjMwODU3MjZaMCMGCSqGSIb3DQEJBDEWBBRDDjtSNlz+n2Cwba4H32KJaa3HszBsBgkqhkiG
9w0BCQ8xXzBdMAsGCWCGSAFlAwQBKjALBglghkgBZQMEAQIwCgYIKoZIhvcNAwcwDgYIKoZI
hvcNAwICAgCAMA0GCCqGSIb3DQMCAgFAMAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGlBgkr
BgEEAYI3EAQxgZcwgZQwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQu
MSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQD
Ey9TdGFydENvbSBDbGFzcyAxIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDByD0
MIGnBgsqhkiG9w0BCRACCzGBl6CBlDCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0
Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcx
ODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50
IENBAgMHIPQwDQYJKoZIhvcNAQEBBQAEggEAKZSp1S+t6YXjAKUrfw/NScbnsEJVlk5F6tU0
ygWZyU+Rd6IxTBiHSZtWNF3q/wvUkYqmZ9LChoejcdJsMblDPZOwDXB9JDSGyf4peLw4HatC
EkKQBOHTaJ4n7ccQ6QvWlZtwLY7QyfZ1NLB3bb5z2kYAN/fypblh2WsuIG4m7JlRNTHVzaL8
oo7rVV9gLQ4ZtTEk5o3t5iTfBiap4dL1uvBsamh0wsgvbnALRkqBzZT29qBqBq1tFt4nnKxM
Y6gjIKd9eoby9GxmtOSB9x15DDW+RiIzIATSvoQ/Kq0lKADFFtoBYHi9z8rgReGmTZ4avqEb
kYekvbHso+B2l7NRdwAAAAAAAA==
--------------ms050809040203090509010604--

From prvs=700837505f=phe@ciena.com  Wed Oct 23 06:09:58 2013
Return-Path: <prvs=700837505f=phe@ciena.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 5208811E83FB for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 06:09:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.264
X-Spam-Level: 
X-Spam-Status: No, score=-3.264 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZoElxorqYfqR for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 06:09:53 -0700 (PDT)
Received: from mx0a-00103a01.pphosted.com (mx0a-00103a01.pphosted.com [67.231.144.234]) by ietfa.amsl.com (Postfix) with ESMTP id 941C411E83F6 for <alto@ietf.org>; Wed, 23 Oct 2013 06:09:53 -0700 (PDT)
Received: from pps.filterd (m0000419.ppops.net [127.0.0.1]) by mx0a-00103a01.pphosted.com (8.14.5/8.14.5) with SMTP id r9ND8j2A018635; Wed, 23 Oct 2013 09:09:46 -0400
Received: from mdwexght02.ciena.com (LIN1-118-36-29.ciena.com [63.118.36.29]) by mx0a-00103a01.pphosted.com with ESMTP id 1fnr93wqnh-7 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 23 Oct 2013 09:09:46 -0400
Received: from ONWVEXCHHT04.ciena.com (10.128.6.44) by MDWEXGHT02.ciena.com (10.4.140.213) with Microsoft SMTP Server (TLS) id 8.3.298.1; Wed, 23 Oct 2013 09:09:42 -0400
Received: from ONWVEXCHMB04.ciena.com ([::1]) by ONWVEXCHHT04.ciena.com ([::1]) with mapi; Wed, 23 Oct 2013 09:09:25 -0400
From: "He, Peng" <phe@ciena.com>
To: Qin Wu <bill.wu@huawei.com>, IETF ALTO <alto@ietf.org>
Date: Wed, 23 Oct 2013 09:09:23 -0400
Thread-Topic: I-D Action: draft-wu-alto-te-metrics-00.txt
Thread-Index: AQHOziP6+J+FdtG9skmCafux6L7Mo5oBflNwgADGUaA=
Message-ID: <B6D287BF58D35D4B882E012AD3E1756167A767E4@ONWVEXCHMB04.ciena.com>
References: <B8F9A780D330094D99AF023C5877DABA43C0E5CF@nkgeml501-mbs.china.huawei.com>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA43C0E5CF@nkgeml501-mbs.china.huawei.com>
Accept-Language: en-US, en-CA
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US, en-CA
X-TM-AS-Product-Ver: SMEX-10.0.0.1412-7.000.1014-20236.007
X-TM-AS-Result: No--15.789900-0.000000-31
X-TM-AS-User-Approved-Sender: Yes
X-TM-AS-User-Blocked-Sender: No
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-10-23_02:2013-10-23, 2013-10-23, 1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1310230040
Subject: Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 23 Oct 2013 13:09:58 -0000

Another side question: is there a 'cost' parameter that can show/represent =
the 'schedule' of the network links, e.g., before 12pm this link/tunnel wil=
l have say 100Mbps available, after 12pm, only 50mbps available, i.e., band=
width scheduling or similar? Or this is more a management system/controller=
/server related data?


Regards,
Peng


-----Original Message-----
From: alto-bounces@ietf.org [mailto:alto-bounces@ietf.org] On Behalf Of Qin=
 Wu
Sent: Tuesday, October 22, 2013 9:17 PM
To: IETF ALTO
Subject: [alto] FW: I-D Action: draft-wu-alto-te-metrics-00.txt

Hi, all:
We have posted a new draft to define a set of new cost metrics that are rel=
ated to traffic engineering performance information.

http://tools.ietf.org/html/draft-wu-alto-te-metrics-00

Please review the draft and provide your feedback and comments.

Regards!
-Qin
-----Original Message-----
From: i-d-announce-bounces@ietf.org [mailto:i-d-announce-bounces@ietf.org] =
On Behalf Of internet-drafts@ietf.org
Sent: Monday, October 21, 2013 2:08 PM
To: i-d-announce@ietf.org
Subject: I-D Action: draft-wu-alto-te-metrics-00.txt


A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.


	Title           : ALTO Traffic Engineering Cost Metrics
	Author(s)       : Qin Wu
                          Young Lee
                          Dhruv Dhody
                          Sabine Randriamasy
	Filename        : draft-wu-alto-te-metrics-00.txt
	Pages           : 26
	Date            : 2013-10-20

Abstract:
   Cost Metric is a basic concept in Application-Layer Traffic
   Optimization (ALTO).  It is used in both the Cost Map Service and the
   Endpoint Cost Service.  Future extensions to ALTO may also use Cost
   Metric.

   Different applications may benefit from different Cost Metrics.  For
   example, a Resource Consumer may prefer Resource Providers that have
   low latency to the Resource Consumer.  However the base ALTO protocol
   [ALTO] has defined only a single cost metric, i.e., the generic
   "routingcost" metric (Sec. 14.2 of ALTO base specification [ALTO]).

   In this document, we define XXX Cost Metrics, derived from OSPF-TE
   and ISIS-TE, to measure network delay, jitter, packet loss, hop
   count, and bandwidth.  The metrics defined in this document provide a
   relatively comprehensive set of Cost Metrics for ALTO focusing on
   traffic engineering.  Additional Cost Metrics such as financial cost
   metrics may be defined in other documents.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-wu-alto-te-metrics-00


Please note that it may take a couple of minutes from the time of submissio=
n until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html or ftp://ftp.ie=
tf.org/ietf/1shadow-sites.txt
_______________________________________________
alto mailing list
alto@ietf.org
https://www.ietf.org/mailman/listinfo/alto

From w.roome@alcatel-lucent.com  Wed Oct 23 12:24:03 2013
Return-Path: <w.roome@alcatel-lucent.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 35D3B11E8394 for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 12:24:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.988
X-Spam-Level: 
X-Spam-Status: No, score=-9.988 tagged_above=-999 required=5 tests=[AWL=0.611,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xv-sy97aJoe5 for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 12:23:56 -0700 (PDT)
Received: from ihemail1.lucent.com (ihemail1.lucent.com [135.245.0.33]) by ietfa.amsl.com (Postfix) with ESMTP id 9C18911E834A for <alto@ietf.org>; Wed, 23 Oct 2013 12:23:53 -0700 (PDT)
Received: from usnavsmail3.ndc.alcatel-lucent.com (usnavsmail3.ndc.alcatel-lucent.com [135.3.39.11]) by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id r9NJNqg2020111 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Wed, 23 Oct 2013 14:23:53 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail3.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9NJNqgB024800 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Wed, 23 Oct 2013 14:23:52 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9NJNo6Y004838 for <alto@ietf.org>; Wed, 23 Oct 2013 14:23:51 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.8.130913
Date: Wed, 23 Oct 2013 15:23:50 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: IETF ALTO <alto@ietf.org>
Message-ID: <CE8D9A86.B0B32%w.roome@alcatel-lucent.com>
Thread-Topic: Problem with "longest prefix" rule for mapping endpoints to PIDs
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.11
Subject: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 23 Oct 2013 19:24:03 -0000

I just noticed a possible problem with the rule for determining the PID
for an endpoint address. {5.2.1} says,

"When either an ALTO Client or an ALTO Server needs to determine which
PID in a Network Map contains a particular IP address, longest-prefix
matching MUST be used."

Now consider the following network map fragment:

   PID1: 1.0.0.0/16  1.1.0.0/16  1.2.0.0/16  1.3.0.0/16
   PID2: 1.0.0.0/15

Obviously PID1's definition is inefficient -- those 4 CIDRs are equivalent
to 1.0.0.0/14. But unless I missed it, nothing in the protocol spec says
that's illegal.

So what's the PID for 1.0.0.0?  I think we all agree that it should be in
PID2. But if we apply the "longest-prefix match" on CIDRs, then the
longest CIDR is 1.0.0.0/16 in PID1, which implies that 1.0.0.0 should be
in PID1.

I think the cleanest way to resolve that problem is to say that regardless
of how the PIDs in a CIDR were originally specified, an ALTO server MUST
reduce the CIDRs in a PID to minimum canonical set by combining adjacent
CIDRs. Thus the server's config file might specify PID1 with 4 CIDRs, as
above, but the ALTO server would immediately combine them, and Network Map
Service would say that PID1 is 10.0.0.0/14 and PID2 is 10.0.0.0/15.

But I'm not sure where is the appropriate place to say that. {5.2.1}?
{10.4.4}?  {11.2.1}?

	- Wendy



From yang.r.yang@gmail.com  Wed Oct 23 12:55:00 2013
Return-Path: <yang.r.yang@gmail.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 DFF6911E8126 for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 12:55:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.761
X-Spam-Level: 
X-Spam-Status: No, score=-1.761 tagged_above=-999 required=5 tests=[AWL=0.215,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S8EMZq8dhbUy for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 12:54:49 -0700 (PDT)
Received: from mail-pb0-x236.google.com (mail-pb0-x236.google.com [IPv6:2607:f8b0:400e:c01::236]) by ietfa.amsl.com (Postfix) with ESMTP id 9BB7521F9D96 for <alto@ietf.org>; Wed, 23 Oct 2013 12:54:49 -0700 (PDT)
Received: by mail-pb0-f54.google.com with SMTP id ro12so1464288pbb.27 for <alto@ietf.org>; Wed, 23 Oct 2013 12:54:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=4DTDO6E/LFQS+m22GpqSz3I1IbjzWtwftyuZwlUe5v4=; b=GNBbJLUp2gDLUx4jH0+U01Rd4RS85zQtT+/QD8R+wW7QQSlXuCqgxf6PWqXgjaqJtx dmfSEnFU0LlcbA5Ic8YEIvZEndi+78jx2XNWApTWsURph/TvQwyPjw+nxQ0E5HnZIrg7 ZrdzPN/M7aQgnPYoV/APzNO5S6le67SKYqgX+d3zhy03o8RI7PT4iltwXaBwSPmqBFw/ cjJIGN5Nep5UZjXpD61bNJU2pZNO8pyRMZR/MkjELCpswidh80pFuLct7SqZ5MRsaEuB m+uG3YKpZOwVDOhwSPGpBB0StL7I6c/5+v9n0ysOm2ijvAnRFLnv71qnoxd+stFS3j2+ PX5A==
MIME-Version: 1.0
X-Received: by 10.68.143.196 with SMTP id sg4mr3316063pbb.155.1382558089265; Wed, 23 Oct 2013 12:54:49 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Wed, 23 Oct 2013 12:54:49 -0700 (PDT)
In-Reply-To: <CE8D9A86.B0B32%w.roome@alcatel-lucent.com>
References: <CE8D9A86.B0B32%w.roome@alcatel-lucent.com>
Date: Wed, 23 Oct 2013 15:54:49 -0400
X-Google-Sender-Auth: M56cF7cS_1KSOu-xBsuwz_7xfs8
Message-ID: <CANUuoLpLCUUU3_gbXe=KywgGCxoD6T57x0zRGfLojViKyhs3_g@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b2e4526caca5b04e96de3a8
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 23 Oct 2013 19:55:01 -0000

--047d7b2e4526caca5b04e96de3a8
Content-Type: text/plain; charset=ISO-8859-1

Hi Wendy,

Always excellent catch! Here is what I understand it:

- Consider any two nonequal prefixes p1 and p2: there can be only two
relations, they do not overlap or one is the subset of the other. This can
be visualized by considering the full binary tree and each prefix is just a
node on the tree. Hence they either on different branches or one is the
ancestor of another.

- As a result, longest prefix is well defined when we consider only
individual prefixes: if ip1 is in both p1 and p2, then either p1 is a
subset of p2, or the other way. This defines a total order and hence there
is always a maximum.

PID with longest prefix is slightly tricker: each PID is a set of prefixes.
Suppose ip1 is in PID1, it means ip1 is in at least one prefix p1 in PID1.
Suppose ip1 is in both PID1 and PID2, and assume no prefix is allowed to be
in multiple prefixes. Then consider the set of prefixes in P = {p: ip1 in
p, and p in PID1 or PID2}. The element in P defines a total order ( because
they all have non-empty intersect), and hence there is a max. We pick the
PID containing the max. This is what I would define.

If we apply this definition to your example, 1.0.0.0 belongs to PID1.

>From a real implementation point of view, this definition, without merging
prefixes, can also be easier: suppose one uses a standard rib
lookup library to do the lookup, considering the prefixes from all PIDs. An
rib allows 4 entries as in your example: specific routing for each subfix,
and routing lookup will return 1.0.0.0/16.

What do you think?

Richard

On Wednesday, October 23, 2013, Wendy Roome wrote:

> I just noticed a possible problem with the rule for determining the PID
> for an endpoint address. {5.2.1} says,
>
> "When either an ALTO Client or an ALTO Server needs to determine which
> PID in a Network Map contains a particular IP address, longest-prefix
> matching MUST be used."
>
> Now consider the following network map fragment:
>
>    PID1: 1.0.0.0/16  1.1.0.0/16  1.2.0.0/16  1.3.0.0/16
>    PID2: 1.0.0.0/15
>
> Obviously PID1's definition is inefficient -- those 4 CIDRs are equivalent
> to 1.0.0.0/14. But unless I missed it, nothing in the protocol spec says
> that's illegal.
>
> So what's the PID for 1.0.0.0?  I think we all agree that it should be in
> PID2. But if we apply the "longest-prefix match" on CIDRs, then the
> longest CIDR is 1.0.0.0/16 in PID1, which implies that 1.0.0.0 should be
> in PID1.
>
> I think the cleanest way to resolve that problem is to say that regardless
> of how the PIDs in a CIDR were originally specified, an ALTO server MUST
> reduce the CIDRs in a PID to minimum canonical set by combining adjacent
> CIDRs. Thus the server's config file might specify PID1 with 4 CIDRs, as
> above, but the ALTO server would immediately combine them, and Network Map
> Service would say that PID1 is 10.0.0.0/14 and PID2 is 10.0.0.0/15.
>
> But I'm not sure where is the appropriate place to say that. {5.2.1}?
> {10.4.4}?  {11.2.1}?
>
>         - Wendy
>
>
> _______________________________________________
> alto mailing list
> alto@ietf.org <javascript:;>
> https://www.ietf.org/mailman/listinfo/alto
>

--047d7b2e4526caca5b04e96de3a8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Wendy,<div><br></div><div>Always excellent=A0catch!=A0Here is what I und=
erstand it:</div><div><br></div><div>- Consider any two nonequal=A0prefixes=
 p1 and p2:=A0there can be only two relations, they do not overlap or one i=
s the subset of the other. This can be visualized by considering the full=
=A0binary tree and each prefix is just=A0a node on the tree. Hence they eit=
her on different branches or one is the ancestor of another.</div>
<div><br></div><div>- As a result, longest prefix is well defined=A0when we=
 consider only individual prefixes: if ip1 is in both p1 and p2, then eithe=
r p1 is a subset of p2, or the other way. This defines a total order and he=
nce there is always a maximum.</div>
<div><br></div><div>PID with longest prefix is slightly tricker: each PID i=
s a set of prefixes. Suppose ip1 is in PID1, it means ip1 is in at least on=
e prefix p1 in PID1. Suppose ip1 is in both PID1=A0and PID2, and assume no =
prefix is allowed to be in multiple prefixes. Then consider the set of=A0pr=
efixes in P =3D {p: ip1 in p, and p in=A0PID1 or=A0PID2}. The element in P =
defines a total order ( because they all have non-empty intersect), and hen=
ce there is a max. We pick the PID containing the max. This is what I would=
 define.=A0</div>
<div><br></div><div>If we apply this definition to your example, 1.0.0.0 be=
longs to PID1.</div><div><br></div><div>From a real implementation point of=
 view, this definition, without merging prefixes,=A0can also be easier: sup=
pose one uses a standard rib lookup=A0library to do the lookup, considering=
 the prefixes from all PIDs.=A0An rib allows=A04 entries as in your example=
: specific routing for each subfix, and routing lookup will return <a href=
=3D"http://1.0.0.0/16">1.0.0.0/16</a>.</div>
<div><br></div><div>What do you think?</div><div><br></div><div>Richard<br>=
<br>On Wednesday, October 23, 2013, Wendy Roome  wrote:<br><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
I just noticed a possible problem with the rule for determining the PID<br>
for an endpoint address. {5.2.1} says,<br>
<br>
&quot;When either an ALTO Client or an ALTO Server needs to determine which=
<br>
PID in a Network Map contains a particular IP address, longest-prefix<br>
matching MUST be used.&quot;<br>
<br>
Now consider the following network map fragment:<br>
<br>
=A0 =A0PID1: <a href=3D"http://1.0.0.0/16" target=3D"_blank">1.0.0.0/16</a>=
 =A0<a href=3D"http://1.1.0.0/16" target=3D"_blank">1.1.0.0/16</a> =A0<a hr=
ef=3D"http://1.2.0.0/16" target=3D"_blank">1.2.0.0/16</a> =A0<a href=3D"htt=
p://1.3.0.0/16" target=3D"_blank">1.3.0.0/16</a><br>

=A0 =A0PID2: <a href=3D"http://1.0.0.0/15" target=3D"_blank">1.0.0.0/15</a>=
<br>
<br>
Obviously PID1&#39;s definition is inefficient -- those 4 CIDRs are equival=
ent<br>
to <a href=3D"http://1.0.0.0/14" target=3D"_blank">1.0.0.0/14</a>. But unle=
ss I missed it, nothing in the protocol spec says<br>
that&#39;s illegal.<br>
<br>
So what&#39;s the PID for 1.0.0.0? =A0I think we all agree that it should b=
e in<br>
PID2. But if we apply the &quot;longest-prefix match&quot; on CIDRs, then t=
he<br>
longest CIDR is <a href=3D"http://1.0.0.0/16" target=3D"_blank">1.0.0.0/16<=
/a> in PID1, which implies that 1.0.0.0 should be<br>
in PID1.<br>
<br>
I think the cleanest way to resolve that problem is to say that regardless<=
br>
of how the PIDs in a CIDR were originally specified, an ALTO server MUST<br=
>
reduce the CIDRs in a PID to minimum canonical set by combining adjacent<br=
>
CIDRs. Thus the server&#39;s config file might specify PID1 with 4 CIDRs, a=
s<br>
above, but the ALTO server would immediately combine them, and Network Map<=
br>
Service would say that PID1 is <a href=3D"http://10.0.0.0/14" target=3D"_bl=
ank">10.0.0.0/14</a> and PID2 is <a href=3D"http://10.0.0.0/15" target=3D"_=
blank">10.0.0.0/15</a>.<br>
<br>
But I&#39;m not sure where is the appropriate place to say that. {5.2.1}?<b=
r>
{10.4.4}? =A0{11.2.1}?<br>
<br>
=A0 =A0 =A0 =A0 - Wendy<br>
<br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"javascript:;" onclick=3D"_e(event, &#39;cvml&#39;, &#39;alto@iet=
f.org&#39;)">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div>

--047d7b2e4526caca5b04e96de3a8--

From repenno@cisco.com  Wed Oct 23 13:32:34 2013
Return-Path: <repenno@cisco.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 1E96411E8238 for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 13:32:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.526
X-Spam-Level: 
X-Spam-Status: No, score=-10.526 tagged_above=-999 required=5 tests=[AWL=0.071, BAYES_00=-2.599, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZAMThp0XKsoc for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 13:32:29 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) by ietfa.amsl.com (Postfix) with ESMTP id DB4C711E820D for <alto@ietf.org>; Wed, 23 Oct 2013 13:32:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10427; q=dns/txt; s=iport; t=1382560346; x=1383769946; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=nclICO3LyVQz1Ic/yljdsCL7ilurosm6KTEKP3vTgyo=; b=A+uabNXQ7QfjNVK2Aa/uL7bU0onfjnwMCOxxJAMPfjrSuFGxant/De2r 5Y2qFN2blYyfgHwlgp7vQpfPNWa/ocXI65CNOmPwv+dqSRTvoC11NfV75 hq+9S8t0r1t35gBV7/wzLRNPuGJ5qCAaZOBwUoQ6WD+/hUMP38S6H4Fpi 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ah0HAJcxaFKtJXG//2dsb2JhbABZDoI1RDhUrB6Jc4hGP28WdIIlAQEBBAEBAUkiBAcSAQgRAgEBAgsdLAILFAkIAgQBDQUIh3oEDa09jW4DBgGPFiANBAeDH4ELA5QqkDIBhTOCZT+CKg
X-IronPort-AV: E=Sophos;i="4.93,556,1378857600";  d="scan'208,217";a="275834354"
Received: from rcdn-core2-4.cisco.com ([173.37.113.191]) by rcdn-iport-8.cisco.com with ESMTP; 23 Oct 2013 20:32:25 +0000
Received: from xhc-rcd-x10.cisco.com (xhc-rcd-x10.cisco.com [173.37.183.84]) by rcdn-core2-4.cisco.com (8.14.5/8.14.5) with ESMTP id r9NKWPac019115 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 23 Oct 2013 20:32:25 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.27]) by xhc-rcd-x10.cisco.com ([173.37.183.84]) with mapi id 14.02.0318.004; Wed, 23 Oct 2013 15:32:25 -0500
From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>, Wendy Roome <w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
Thread-Index: AQHO0CnFeAOmkzoC4EG6KYhDpwJa/ZoCnBkA
Date: Wed, 23 Oct 2013 20:32:24 +0000
Message-ID: <45A697A8FFD7CF48BCF2BE7E106F06040B73DF15@xmb-rcd-x04.cisco.com>
In-Reply-To: <CANUuoLpLCUUU3_gbXe=KywgGCxoD6T57x0zRGfLojViKyhs3_g@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.3.120616
x-originating-ip: [10.21.101.23]
Content-Type: multipart/alternative; boundary="_000_45A697A8FFD7CF48BCF2BE7E106F06040B73DF15xmbrcdx04ciscoc_"
MIME-Version: 1.0
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 23 Oct 2013 20:32:34 -0000

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73DF15xmbrcdx04ciscoc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

An ALTO Server should not combine prefixes. A router does not combine prefi=
xes and longest prefix match well understood in this context.


From: "Y. Yang" <yry@cs.yale.edu<mailto:yry@cs.yale.edu>>
Date: Wednesday, October 23, 2013 12:54 PM
To: Wendy Roome <w.roome@alcatel-lucent.com<mailto:w.roome@alcatel-lucent.c=
om>>
Cc: IETF ALTO <alto@ietf.org<mailto:alto@ietf.org>>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoint=
s to PIDs

Hi Wendy,

Always excellent catch! Here is what I understand it:

- Consider any two nonequal prefixes p1 and p2: there can be only two relat=
ions, they do not overlap or one is the subset of the other. This can be vi=
sualized by considering the full binary tree and each prefix is just a node=
 on the tree. Hence they either on different branches or one is the ancesto=
r of another.

- As a result, longest prefix is well defined when we consider only individ=
ual prefixes: if ip1 is in both p1 and p2, then either p1 is a subset of p2=
, or the other way. This defines a total order and hence there is always a =
maximum.

PID with longest prefix is slightly tricker: each PID is a set of prefixes.=
 Suppose ip1 is in PID1, it means ip1 is in at least one prefix p1 in PID1.=
 Suppose ip1 is in both PID1 and PID2, and assume no prefix is allowed to b=
e in multiple prefixes. Then consider the set of prefixes in P =3D {p: ip1 =
in p, and p in PID1 or PID2}. The element in P defines a total order ( beca=
use they all have non-empty intersect), and hence there is a max. We pick t=
he PID containing the max. This is what I would define.

If we apply this definition to your example, 1.0.0.0 belongs to PID1.

>From a real implementation point of view, this definition, without merging =
prefixes, can also be easier: suppose one uses a standard rib lookup librar=
y to do the lookup, considering the prefixes from all PIDs. An rib allows 4=
 entries as in your example: specific routing for each subfix, and routing =
lookup will return 1.0.0.0/16<http://1.0.0.0/16>.

What do you think?

Richard

On Wednesday, October 23, 2013, Wendy Roome wrote:
I just noticed a possible problem with the rule for determining the PID
for an endpoint address. {5.2.1} says,

"When either an ALTO Client or an ALTO Server needs to determine which
PID in a Network Map contains a particular IP address, longest-prefix
matching MUST be used."

Now consider the following network map fragment:

   PID1: 1.0.0.0/16<http://1.0.0.0/16>  1.1.0.0/16<http://1.1.0.0/16>  1.2.=
0.0/16<http://1.2.0.0/16>  1.3.0.0/16<http://1.3.0.0/16>
   PID2: 1.0.0.0/15<http://1.0.0.0/15>

Obviously PID1's definition is inefficient -- those 4 CIDRs are equivalent
to 1.0.0.0/14<http://1.0.0.0/14>. But unless I missed it, nothing in the pr=
otocol spec says
that's illegal.

So what's the PID for 1.0.0.0?  I think we all agree that it should be in
PID2. But if we apply the "longest-prefix match" on CIDRs, then the
longest CIDR is 1.0.0.0/16<http://1.0.0.0/16> in PID1, which implies that 1=
.0.0.0 should be
in PID1.

I think the cleanest way to resolve that problem is to say that regardless
of how the PIDs in a CIDR were originally specified, an ALTO server MUST
reduce the CIDRs in a PID to minimum canonical set by combining adjacent
CIDRs. Thus the server's config file might specify PID1 with 4 CIDRs, as
above, but the ALTO server would immediately combine them, and Network Map
Service would say that PID1 is 10.0.0.0/14<http://10.0.0.0/14> and PID2 is =
10.0.0.0/15<http://10.0.0.0/15>.

But I'm not sure where is the appropriate place to say that. {5.2.1}?
{10.4.4}?  {11.2.1}?

        - Wendy


_______________________________________________
alto mailing list
alto@ietf.org<javascript:;>
https://www.ietf.org/mailman/listinfo/alto

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73DF15xmbrcdx04ciscoc_
Content-Type: text/html; charset="us-ascii"
Content-ID: <68CB4D689DCF8946BFA3F57E1EB1F5BE@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div>An ALTO Server should not combine prefixes. A router does not combine =
prefixes and longest prefix match well understood in this context.</div>
<div><br>
</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>&quot;Y. Yang&quot; &lt;<a hr=
ef=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Wednesday, October 23, 2013 1=
2:54 PM<br>
<span style=3D"font-weight:bold">To: </span>Wendy Roome &lt;<a href=3D"mail=
to:w.roome@alcatel-lucent.com">w.roome@alcatel-lucent.com</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>IETF ALTO &lt;<a href=3D"mailto=
:alto@ietf.org">alto@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] Problem with &q=
uot;longest prefix&quot; rule for mapping endpoints to PIDs<br>
</div>
<div><br>
</div>
<div>
<div>Hi Wendy,
<div><br>
</div>
<div>Always excellent&nbsp;catch!&nbsp;Here is what I understand it:</div>
<div><br>
</div>
<div>- Consider any two nonequal&nbsp;prefixes p1 and p2:&nbsp;there can be=
 only two relations, they do not overlap or one is the subset of the other.=
 This can be visualized by considering the full&nbsp;binary tree and each p=
refix is just&nbsp;a node on the tree. Hence they either
 on different branches or one is the ancestor of another.</div>
<div><br>
</div>
<div>- As a result, longest prefix is well defined&nbsp;when we consider on=
ly individual prefixes: if ip1 is in both p1 and p2, then either p1 is a su=
bset of p2, or the other way. This defines a total order and hence there is=
 always a maximum.</div>
<div><br>
</div>
<div>PID with longest prefix is slightly tricker: each PID is a set of pref=
ixes. Suppose ip1 is in PID1, it means ip1 is in at least one prefix p1 in =
PID1. Suppose ip1 is in both PID1&nbsp;and PID2, and assume no prefix is al=
lowed to be in multiple prefixes. Then
 consider the set of&nbsp;prefixes in P =3D {p: ip1 in p, and p in&nbsp;PID=
1 or&nbsp;PID2}. The element in P defines a total order ( because they all =
have non-empty intersect), and hence there is a max. We pick the PID contai=
ning the max. This is what I would define.&nbsp;</div>
<div><br>
</div>
<div>If we apply this definition to your example, 1.0.0.0 belongs to PID1.<=
/div>
<div><br>
</div>
<div>From a real implementation point of view, this definition, without mer=
ging prefixes,&nbsp;can also be easier: suppose one uses a standard rib loo=
kup&nbsp;library to do the lookup, considering the prefixes from all PIDs.&=
nbsp;An rib allows&nbsp;4 entries as in your example:
 specific routing for each subfix, and routing lookup will return <a href=
=3D"http://1.0.0.0/16">
1.0.0.0/16</a>.</div>
<div><br>
</div>
<div>What do you think?</div>
<div><br>
</div>
<div>Richard<br>
<br>
On Wednesday, October 23, 2013, Wendy Roome wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I just noticed a possible problem with the rule for determining the PID<br>
for an endpoint address. {5.2.1} says,<br>
<br>
&quot;When either an ALTO Client or an ALTO Server needs to determine which=
<br>
PID in a Network Map contains a particular IP address, longest-prefix<br>
matching MUST be used.&quot;<br>
<br>
Now consider the following network map fragment:<br>
<br>
&nbsp; &nbsp;PID1: <a href=3D"http://1.0.0.0/16" target=3D"_blank">1.0.0.0/=
16</a> &nbsp;<a href=3D"http://1.1.0.0/16" target=3D"_blank">1.1.0.0/16</a>=
 &nbsp;<a href=3D"http://1.2.0.0/16" target=3D"_blank">1.2.0.0/16</a> &nbsp=
;<a href=3D"http://1.3.0.0/16" target=3D"_blank">1.3.0.0/16</a><br>
&nbsp; &nbsp;PID2: <a href=3D"http://1.0.0.0/15" target=3D"_blank">1.0.0.0/=
15</a><br>
<br>
Obviously PID1's definition is inefficient -- those 4 CIDRs are equivalent<=
br>
to <a href=3D"http://1.0.0.0/14" target=3D"_blank">1.0.0.0/14</a>. But unle=
ss I missed it, nothing in the protocol spec says<br>
that's illegal.<br>
<br>
So what's the PID for 1.0.0.0? &nbsp;I think we all agree that it should be=
 in<br>
PID2. But if we apply the &quot;longest-prefix match&quot; on CIDRs, then t=
he<br>
longest CIDR is <a href=3D"http://1.0.0.0/16" target=3D"_blank">1.0.0.0/16<=
/a> in PID1, which implies that 1.0.0.0 should be<br>
in PID1.<br>
<br>
I think the cleanest way to resolve that problem is to say that regardless<=
br>
of how the PIDs in a CIDR were originally specified, an ALTO server MUST<br=
>
reduce the CIDRs in a PID to minimum canonical set by combining adjacent<br=
>
CIDRs. Thus the server's config file might specify PID1 with 4 CIDRs, as<br=
>
above, but the ALTO server would immediately combine them, and Network Map<=
br>
Service would say that PID1 is <a href=3D"http://10.0.0.0/14" target=3D"_bl=
ank">10.0.0.0/14</a> and PID2 is
<a href=3D"http://10.0.0.0/15" target=3D"_blank">10.0.0.0/15</a>.<br>
<br>
But I'm not sure where is the appropriate place to say that. {5.2.1}?<br>
{10.4.4}? &nbsp;{11.2.1}?<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; - Wendy<br>
<br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"javascript:;" onclick=3D"_e(event, 'cvml', 'alto@ietf.org')">alt=
o@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote>
</div>
</div>
</div>
</span>
</body>
</html>

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73DF15xmbrcdx04ciscoc_--

From sebi@gw01.ehlo.wurstkaes.de  Wed Oct 23 13:50:57 2013
Return-Path: <sebi@gw01.ehlo.wurstkaes.de>
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 6DEF211E8231 for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 13:50:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.05
X-Spam-Level: 
X-Spam-Status: No, score=-2.05 tagged_above=-999 required=5 tests=[AWL=0.550,  BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H6+sab2z59qt for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 13:50:56 -0700 (PDT)
Received: from gw01.ehlo.wurstkaes.de (gw01.ehlo.wurstkaes.de [IPv6:2a02:a00:e000:116::41]) by ietfa.amsl.com (Postfix) with ESMTP id DE17E21F9DFB for <alto@ietf.org>; Wed, 23 Oct 2013 13:50:55 -0700 (PDT)
Received: from sebi by gw01.ehlo.wurstkaes.de with local (Exim 4.80) (envelope-from <sebi@gw01.ehlo.wurstkaes.de>) id 1VZ5OA-0005IR-5G; Wed, 23 Oct 2013 22:50:46 +0200
Date: Wed, 23 Oct 2013 22:50:46 +0200
From: Sebastian Kiesel <ietf-alto@skiesel.de>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Message-ID: <20131023205046.GB4845@gw01.ehlo.wurstkaes.de>
References: <CE8D9A86.B0B32%w.roome@alcatel-lucent.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CE8D9A86.B0B32%w.roome@alcatel-lucent.com>
Accept-Languages: en, de
Organization: my personal mail account
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 23 Oct 2013 20:50:57 -0000

Hi Wendy,

On Wed, Oct 23, 2013 at 03:23:50PM -0400, Wendy Roome wrote:
> I just noticed a possible problem with the rule for determining the PID
> for an endpoint address. {5.2.1} says,
> 
> "When either an ALTO Client or an ALTO Server needs to determine which
> PID in a Network Map contains a particular IP address, longest-prefix
> matching MUST be used."
> 
> Now consider the following network map fragment:
> 
>    PID1: 1.0.0.0/16  1.1.0.0/16  1.2.0.0/16  1.3.0.0/16
>    PID2: 1.0.0.0/15
> 
> Obviously PID1's definition is inefficient -- those 4 CIDRs are equivalent
> to 1.0.0.0/14. But unless I missed it, nothing in the protocol spec says
> that's illegal.
> 
> So what's the PID for 1.0.0.0?  I think we all agree that it should be in
> PID2. 

I don't agree.  It should be in PID1.
That's how longest prefix matching works.

I am not sure whether your example is relevant in pracice. Maybe you
don't like the beahavior of this algorithm in this example, but at least
it's well-defined and deterministic, and you have the possibility to
define your map in a different way (e.g., completely omit PID1 OR PID2,
whatever you prefer).

So I don't think we should add any additional mechanism, exception, etc.
here.


Just my $0.02
Sebastian

From yang.r.yang@gmail.com  Wed Oct 23 15:47:30 2013
Return-Path: <yang.r.yang@gmail.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 C281A11E8277 for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 15:47:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.768
X-Spam-Level: 
X-Spam-Status: No, score=-1.768 tagged_above=-999 required=5 tests=[AWL=0.208,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DI2AsyERHw0P for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 15:47:30 -0700 (PDT)
Received: from mail-pd0-x233.google.com (mail-pd0-x233.google.com [IPv6:2607:f8b0:400e:c02::233]) by ietfa.amsl.com (Postfix) with ESMTP id 330DC11E8284 for <alto@ietf.org>; Wed, 23 Oct 2013 15:47:28 -0700 (PDT)
Received: by mail-pd0-f179.google.com with SMTP id y10so1516869pdj.24 for <alto@ietf.org>; Wed, 23 Oct 2013 15:47:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=5JcZzs55xZUOvi+d6TtWxv8+BhDdGT1gtp1C+LOFJkE=; b=0iBZObf+b41Epff5KA7x1J0rTz2Dp0Z5hw/ZeFh8qUsaPYPaeUWEaoe/XIkD5o+Bhg WKvTH/GdVTNaVrSypvnWIYvhqnnmCky2eUvzbKF8RlmnEeWH7YdMH+SCjlvsAXSOyL3+ 3GCLVP1FnZoGSbpYdD2cwa/+eVjp6XmU97gPLFNGuyUyB6KiRsKIUpEYGHA4sXWVcimn 4zRSMeHH4f6+aJNrYCSVuz4dnl6mnW7rqyW4D7RQWFG7yk//gHAtMVdOA2HGiY+ogEN2 qQ5nWqzeWBK1JNf2ysGtLFls95JCVVHRGCGPSKdMEmDxcKG/MbxvwmkeNWkoIhPuyqzy ce+g==
MIME-Version: 1.0
X-Received: by 10.68.251.133 with SMTP id zk5mr3895840pbc.69.1382568447533; Wed, 23 Oct 2013 15:47:27 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Wed, 23 Oct 2013 15:47:26 -0700 (PDT)
Received: by 10.68.47.195 with HTTP; Wed, 23 Oct 2013 15:47:26 -0700 (PDT)
In-Reply-To: <20131023205046.GB4845@gw01.ehlo.wurstkaes.de>
References: <CE8D9A86.B0B32%w.roome@alcatel-lucent.com> <20131023205046.GB4845@gw01.ehlo.wurstkaes.de>
Date: Wed, 23 Oct 2013 18:47:26 -0400
X-Google-Sender-Auth: _Ex3v0wKb2l9Sh0uXSU90t-t0Gc
Message-ID: <CANUuoLrfTebMEqn2GJFG5ebQer0ywAJFxJC7n19Rta35KwWhHg@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Sebastian Kiesel <ietf-alto@skiesel.de>
Content-Type: multipart/alternative; boundary=047d7b1630a9316b8304e9704de4
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 23 Oct 2013 22:47:30 -0000

--047d7b1630a9316b8304e9704de4
Content-Type: text/plain; charset=ISO-8859-1

These are fast responses. It seems that the majority (3:1) is to keep the
non-merging semantics. If we do not hear other objections, we will keep the
current version, but do clarify using the good example from Wendy.

Cheers,

Richard
Hi Wendy,

On Wed, Oct 23, 2013 at 03:23:50PM -0400, Wendy Roome wrote:
> I just noticed a possible problem with the rule for determining the PID
> for an endpoint address. {5.2.1} says,
>
> "When either an ALTO Client or an ALTO Server needs to determine which
> PID in a Network Map contains a particular IP address, longest-prefix
> matching MUST be used."
>
> Now consider the following network map fragment:
>
>    PID1: 1.0.0.0/16  1.1.0.0/16  1.2.0.0/16  1.3.0.0/16
>    PID2: 1.0.0.0/15
>
> Obviously PID1's definition is inefficient -- those 4 CIDRs are equivalent
> to 1.0.0.0/14. But unless I missed it, nothing in the protocol spec says
> that's illegal.
>
> So what's the PID for 1.0.0.0?  I think we all agree that it should be in
> PID2.

I don't agree.  It should be in PID1.
That's how longest prefix matching works.

I am not sure whether your example is relevant in pracice. Maybe you
don't like the beahavior of this algorithm in this example, but at least
it's well-defined and deterministic, and you have the possibility to
define your map in a different way (e.g., completely omit PID1 OR PID2,
whatever you prefer).

So I don't think we should add any additional mechanism, exception, etc.
here.


Just my $0.02
Sebastian
_______________________________________________
alto mailing list
alto@ietf.org
https://www.ietf.org/mailman/listinfo/alto

--047d7b1630a9316b8304e9704de4
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">These are fast responses. It seems that the majority (3:1) i=
s to keep the non-merging semantics. If we do not hear other objections, we=
 will keep the current version, but do clarify using the good example from =
Wendy.</p>

<p dir=3D"ltr">Cheers,</p>
<p dir=3D"ltr">Richard</p>
<div class=3D"gmail_quot&lt;blockquote class=3D" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">Hi Wendy,<br>
<br>
On Wed, Oct 23, 2013 at 03:23:50PM -0400, Wendy Roome wrote:<br>
&gt; I just noticed a possible problem with the rule for determining the PI=
D<br>
&gt; for an endpoint address. {5.2.1} says,<br>
&gt;<br>
&gt; &quot;When either an ALTO Client or an ALTO Server needs to determine =
which<br>
&gt; PID in a Network Map contains a particular IP address, longest-prefix<=
br>
&gt; matching MUST be used.&quot;<br>
&gt;<br>
&gt; Now consider the following network map fragment:<br>
&gt;<br>
&gt; =A0 =A0PID1: <a href=3D"http://1.0.0.0/16" target=3D"_blank">1.0.0.0/1=
6</a> =A0<a href=3D"http://1.1.0.0/16" target=3D"_blank">1.1.0.0/16</a> =A0=
<a href=3D"http://1.2.0.0/16" target=3D"_blank">1.2.0.0/16</a> =A0<a href=
=3D"http://1.3.0.0/16" target=3D"_blank">1.3.0.0/16</a><br>

&gt; =A0 =A0PID2: <a href=3D"http://1.0.0.0/15" target=3D"_blank">1.0.0.0/1=
5</a><br>
&gt;<br>
&gt; Obviously PID1&#39;s definition is inefficient -- those 4 CIDRs are eq=
uivalent<br>
&gt; to <a href=3D"http://1.0.0.0/14" target=3D"_blank">1.0.0.0/14</a>. But=
 unless I missed it, nothing in the protocol spec says<br>
&gt; that&#39;s illegal.<br>
&gt;<br>
&gt; So what&#39;s the PID for 1.0.0.0? =A0I think we all agree that it sho=
uld be in<br>
&gt; PID2.<br>
<br>
I don&#39;t agree. =A0It should be in PID1.<br>
That&#39;s how longest prefix matching works.<br>
<br>
I am not sure whether your example is relevant in pracice. Maybe you<br>
don&#39;t like the beahavior of this algorithm in this example, but at leas=
t<br>
it&#39;s well-defined and deterministic, and you have the possibility to<br=
>
define your map in a different way (e.g., completely omit PID1 OR PID2,<br>
whatever you prefer).<br>
<br>
So I don&#39;t think we should add any additional mechanism, exception, etc=
.<br>
here.<br>
<br>
<br>
Just my $0.02<br>
Sebastian<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</div>

--047d7b1630a9316b8304e9704de4--

From denglingli@chinamobile.com  Wed Oct 23 20:18:07 2013
Return-Path: <denglingli@chinamobile.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 2731221E805D for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 20:18:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.142
X-Spam-Level: ***
X-Spam-Status: No, score=3.142 tagged_above=-999 required=5 tests=[AWL=0.019,  BAYES_00=-2.599, CHARSET_FARAWAY_HEADER=3.2, MIME_8BIT_HEADER=0.3, RELAY_IS_221=2.222]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d+9ULElfYElw for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 20:18:02 -0700 (PDT)
Received: from cmccmta.chinamobile.com (cmccmta.chinamobile.com [221.176.64.232]) by ietfa.amsl.com (Postfix) with SMTP id EEA1411E82B3 for <alto@ietf.org>; Wed, 23 Oct 2013 20:18:01 -0700 (PDT)
Received: from spf.mail.chinamobile.com (unknown[172.16.20.11]) by rmmx-oa_allagent01-12001 (RichMail) with SMTP id 2ee1526891097f9-c67f9; Thu, 24 Oct 2013 11:16:25 +0800 (CST)
X-RM-TRANSID: 2ee1526891097f9-c67f9
Received: from cmccPC (unknown[10.2.43.32]) by rmsmtp-oa_rmapp01-12001 (RichMail) with SMTP id 2ee152689105c32-d2f6a; Thu, 24 Oct 2013 11:16:25 +0800 (CST)
X-RM-TRANSID: 2ee152689105c32-d2f6a
From: =?gb2312?B?tcvB6cDyL0xpbmdsaSBEZW5n?= <denglingli@chinamobile.com>
To: "'Songhaibin \(A\)'" <haibin.song@huawei.com>
Date: Thu, 24 Oct 2013 11:18:02 +0800
Message-ID: <008701ced067$a5fdddd0$f1f99970$@com>
MIME-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac7PW8EpbBUH8/CGTeqSuK92W5bC4ABCqLOQ
Content-Language: zh-cn
Cc: alto@ietf.org
Subject: [alto] Re: FW: New Version Notification for draft-song-alto-overlay-routing-00.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 03:18:07 -0000

Hi Haibin,

This is an interesting topic, I think.
And I have a quick question: by relay-based routing, do you mean relaying
through direct routing or relaying through VPN tunneling?

BR
Lingli

Date: Tue, 22 Oct 2013 00:59:36 +0000
From: "Songhaibin (A)" <haibin.song@huawei.com>
To: "alto@ietf.org" <alto@ietf.org>
Subject: [alto] FW: New Version Notification for
	draft-song-alto-overlay-routing-00.txt
Message-ID:
	
<E33E01DFD5BEA24B9F3F18671078951F247C1BB3@nkgeml501-mbs.china.huawei.com>
	
Content-Type: text/plain; charset="utf-8"

Hi all,

We have submitted a draft on alto protocol extension for overlay routing. It
can help applications to find the optimal path between two endpoints, by
asking ALTO server for the cost values of various paths between two
endpoints, for example, VPN tunnel, direct routing, and through different
relay nodes. We hope people who are interested can give their comments.

Thanks,
-Haibin

-----Original Message-----
From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org] 
Sent: Monday, October 21, 2013 9:22 PM
To: Songhaibin (A); Yi Sun; Sun Yi
Subject: New Version Notification for draft-song-alto-overlay-routing-00.txt


A new version of I-D, draft-song-alto-overlay-routing-00.txt
has been successfully submitted by Haibin Song and posted to the
IETF repository.

Filename:	 draft-song-alto-overlay-routing
Revision:	 00
Title:		 ALTO Protocol Extension For Overlay Routing
Creation date:	 2013-10-21
Group:		 Individual Submission
Number of pages: 10
URL:
http://www.ietf.org/internet-drafts/draft-song-alto-overlay-routing-00.txt
Status:
http://datatracker.ietf.org/doc/draft-song-alto-overlay-routing
Htmlized:
http://tools.ietf.org/html/draft-song-alto-overlay-routing-00


Abstract:
   This document describes an ALTO protocol extension for overlay
   routing.  It considers three different methods to route traffic from
   a data source to a data receiver, which are direct Internet routing,
   VPN tunnel, and overlay routing via intermediate/relay node(s),
   analyze their use cases in real world and then proposes an extension
   to ALTO protocol so as to support a ALTO client to get cost value
   between hosts via these different routing methods.

 



Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

The IETF Secretariat


------------------------------

_______________________________________________
alto mailing list
alto@ietf.org
https://www.ietf.org/mailman/listinfo/alto


End of alto Digest, Vol 60, Issue 35
************************************




From haibin.song@huawei.com  Wed Oct 23 22:41:42 2013
Return-Path: <haibin.song@huawei.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 AD94D11E82DB for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 22:41:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.348
X-Spam-Level: 
X-Spam-Status: No, score=-4.348 tagged_above=-999 required=5 tests=[AWL=-2.252, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, MIME_BASE64_TEXT=1.753, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3CJhvZtBsVza for <alto@ietfa.amsl.com>; Wed, 23 Oct 2013 22:41:32 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id B642611E8317 for <alto@ietf.org>; Wed, 23 Oct 2013 22:41:26 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AXD29231; Thu, 24 Oct 2013 05:41:24 +0000 (GMT)
Received: from LHREML403-HUB.china.huawei.com (10.201.5.217) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 24 Oct 2013 06:41:18 +0100
Received: from NKGEML404-HUB.china.huawei.com (10.98.56.35) by lhreml403-hub.china.huawei.com (10.201.5.217) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 24 Oct 2013 06:41:22 +0100
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.141]) by nkgeml404-hub.china.huawei.com ([10.98.56.35]) with mapi id 14.03.0146.000; Thu, 24 Oct 2013 13:41:13 +0800
From: "Songhaibin (A)" <haibin.song@huawei.com>
To: =?gb2312?B?tcvB6cDyL0xpbmdsaSBEZW5n?= <denglingli@chinamobile.com>
Thread-Topic: [alto] Re: FW: New Version Notification for draft-song-alto-overlay-routing-00.txt
Thread-Index: Ac7PW8EpbBUH8/CGTeqSuK92W5bC4ABCqLOQAAU0CqA=
Date: Thu, 24 Oct 2013 05:41:12 +0000
Message-ID: <E33E01DFD5BEA24B9F3F18671078951F247C2C0A@nkgeml501-mbs.china.huawei.com>
References: <008701ced067$a5fdddd0$f1f99970$@com>
In-Reply-To: <008701ced067$a5fdddd0$f1f99970$@com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.138.41.125]
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] FW: New Version Notification for draft-song-alto-overlay-routing-00.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 05:41:42 -0000

SGkgTGluZ2xpLA0KDQpJdCdzIGRpcmVjdCByb3V0aW5nIElNTy4gQnV0IGlmIHlvdSBjYW4gZ2l2
ZSB1c2UgY2FzZXMgdGhhdCByZXF1aXJlIFZQTiB0dW5uZWwgYmFzZWQgcmVsYXlzLCBJIGNhbiBh
bHNvIHVwZGF0ZSB0aGUgZG9jdW1lbnQgdG8gc3VwcG9ydCB0aGVtLg0KDQpCUiwNCi1IYWliaW4N
Cg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206ILXLwenA8i9MaW5nbGkgRGVuZyBb
bWFpbHRvOmRlbmdsaW5nbGlAY2hpbmFtb2JpbGUuY29tXSANClNlbnQ6IFRodXJzZGF5LCBPY3Rv
YmVyIDI0LCAyMDEzIDExOjE4IEFNDQpUbzogU29uZ2hhaWJpbiAoQSkNCkNjOiBhbHRvQGlldGYu
b3JnDQpTdWJqZWN0OiBbYWx0b10gUmU6IEZXOiBOZXcgVmVyc2lvbiBOb3RpZmljYXRpb24gZm9y
IGRyYWZ0LXNvbmctYWx0by1vdmVybGF5LXJvdXRpbmctMDAudHh0DQoNCkhpIEhhaWJpbiwNCg0K
VGhpcyBpcyBhbiBpbnRlcmVzdGluZyB0b3BpYywgSSB0aGluay4NCkFuZCBJIGhhdmUgYSBxdWlj
ayBxdWVzdGlvbjogYnkgcmVsYXktYmFzZWQgcm91dGluZywgZG8geW91IG1lYW4gcmVsYXlpbmcg
dGhyb3VnaCBkaXJlY3Qgcm91dGluZyBvciByZWxheWluZyB0aHJvdWdoIFZQTiB0dW5uZWxpbmc/
DQoNCkJSDQpMaW5nbGkNCg0KRGF0ZTogVHVlLCAyMiBPY3QgMjAxMyAwMDo1OTozNiArMDAwMA0K
RnJvbTogIlNvbmdoYWliaW4gKEEpIiA8aGFpYmluLnNvbmdAaHVhd2VpLmNvbT4NClRvOiAiYWx0
b0BpZXRmLm9yZyIgPGFsdG9AaWV0Zi5vcmc+DQpTdWJqZWN0OiBbYWx0b10gRlc6IE5ldyBWZXJz
aW9uIE5vdGlmaWNhdGlvbiBmb3INCglkcmFmdC1zb25nLWFsdG8tb3ZlcmxheS1yb3V0aW5nLTAw
LnR4dA0KTWVzc2FnZS1JRDoNCgkNCjxFMzNFMDFERkQ1QkVBMjRCOUYzRjE4NjcxMDc4OTUxRjI0
N0MxQkIzQG5rZ2VtbDUwMS1tYnMuY2hpbmEuaHVhd2VpLmNvbT4NCgkNCkNvbnRlbnQtVHlwZTog
dGV4dC9wbGFpbjsgY2hhcnNldD0idXRmLTgiDQoNCkhpIGFsbCwNCg0KV2UgaGF2ZSBzdWJtaXR0
ZWQgYSBkcmFmdCBvbiBhbHRvIHByb3RvY29sIGV4dGVuc2lvbiBmb3Igb3ZlcmxheSByb3V0aW5n
LiBJdCBjYW4gaGVscCBhcHBsaWNhdGlvbnMgdG8gZmluZCB0aGUgb3B0aW1hbCBwYXRoIGJldHdl
ZW4gdHdvIGVuZHBvaW50cywgYnkgYXNraW5nIEFMVE8gc2VydmVyIGZvciB0aGUgY29zdCB2YWx1
ZXMgb2YgdmFyaW91cyBwYXRocyBiZXR3ZWVuIHR3byBlbmRwb2ludHMsIGZvciBleGFtcGxlLCBW
UE4gdHVubmVsLCBkaXJlY3Qgcm91dGluZywgYW5kIHRocm91Z2ggZGlmZmVyZW50IHJlbGF5IG5v
ZGVzLiBXZSBob3BlIHBlb3BsZSB3aG8gYXJlIGludGVyZXN0ZWQgY2FuIGdpdmUgdGhlaXIgY29t
bWVudHMuDQoNClRoYW5rcywNCi1IYWliaW4NCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0N
CkZyb206IGludGVybmV0LWRyYWZ0c0BpZXRmLm9yZyBbbWFpbHRvOmludGVybmV0LWRyYWZ0c0Bp
ZXRmLm9yZ10NClNlbnQ6IE1vbmRheSwgT2N0b2JlciAyMSwgMjAxMyA5OjIyIFBNDQpUbzogU29u
Z2hhaWJpbiAoQSk7IFlpIFN1bjsgU3VuIFlpDQpTdWJqZWN0OiBOZXcgVmVyc2lvbiBOb3RpZmlj
YXRpb24gZm9yIGRyYWZ0LXNvbmctYWx0by1vdmVybGF5LXJvdXRpbmctMDAudHh0DQoNCg0KQSBu
ZXcgdmVyc2lvbiBvZiBJLUQsIGRyYWZ0LXNvbmctYWx0by1vdmVybGF5LXJvdXRpbmctMDAudHh0
DQpoYXMgYmVlbiBzdWNjZXNzZnVsbHkgc3VibWl0dGVkIGJ5IEhhaWJpbiBTb25nIGFuZCBwb3N0
ZWQgdG8gdGhlDQpJRVRGIHJlcG9zaXRvcnkuDQoNCkZpbGVuYW1lOgkgZHJhZnQtc29uZy1hbHRv
LW92ZXJsYXktcm91dGluZw0KUmV2aXNpb246CSAwMA0KVGl0bGU6CQkgQUxUTyBQcm90b2NvbCBF
eHRlbnNpb24gRm9yIE92ZXJsYXkgUm91dGluZw0KQ3JlYXRpb24gZGF0ZToJIDIwMTMtMTAtMjEN
Ckdyb3VwOgkJIEluZGl2aWR1YWwgU3VibWlzc2lvbg0KTnVtYmVyIG9mIHBhZ2VzOiAxMA0KVVJM
Og0KaHR0cDovL3d3dy5pZXRmLm9yZy9pbnRlcm5ldC1kcmFmdHMvZHJhZnQtc29uZy1hbHRvLW92
ZXJsYXktcm91dGluZy0wMC50eHQNClN0YXR1czoNCmh0dHA6Ly9kYXRhdHJhY2tlci5pZXRmLm9y
Zy9kb2MvZHJhZnQtc29uZy1hbHRvLW92ZXJsYXktcm91dGluZw0KSHRtbGl6ZWQ6DQpodHRwOi8v
dG9vbHMuaWV0Zi5vcmcvaHRtbC9kcmFmdC1zb25nLWFsdG8tb3ZlcmxheS1yb3V0aW5nLTAwDQoN
Cg0KQWJzdHJhY3Q6DQogICBUaGlzIGRvY3VtZW50IGRlc2NyaWJlcyBhbiBBTFRPIHByb3RvY29s
IGV4dGVuc2lvbiBmb3Igb3ZlcmxheQ0KICAgcm91dGluZy4gIEl0IGNvbnNpZGVycyB0aHJlZSBk
aWZmZXJlbnQgbWV0aG9kcyB0byByb3V0ZSB0cmFmZmljIGZyb20NCiAgIGEgZGF0YSBzb3VyY2Ug
dG8gYSBkYXRhIHJlY2VpdmVyLCB3aGljaCBhcmUgZGlyZWN0IEludGVybmV0IHJvdXRpbmcsDQog
ICBWUE4gdHVubmVsLCBhbmQgb3ZlcmxheSByb3V0aW5nIHZpYSBpbnRlcm1lZGlhdGUvcmVsYXkg
bm9kZShzKSwNCiAgIGFuYWx5emUgdGhlaXIgdXNlIGNhc2VzIGluIHJlYWwgd29ybGQgYW5kIHRo
ZW4gcHJvcG9zZXMgYW4gZXh0ZW5zaW9uDQogICB0byBBTFRPIHByb3RvY29sIHNvIGFzIHRvIHN1
cHBvcnQgYSBBTFRPIGNsaWVudCB0byBnZXQgY29zdCB2YWx1ZQ0KICAgYmV0d2VlbiBob3N0cyB2
aWEgdGhlc2UgZGlmZmVyZW50IHJvdXRpbmcgbWV0aG9kcy4NCg0KIA0KDQoNCg0KUGxlYXNlIG5v
dGUgdGhhdCBpdCBtYXkgdGFrZSBhIGNvdXBsZSBvZiBtaW51dGVzIGZyb20gdGhlIHRpbWUgb2Yg
c3VibWlzc2lvbg0KdW50aWwgdGhlIGh0bWxpemVkIHZlcnNpb24gYW5kIGRpZmYgYXJlIGF2YWls
YWJsZSBhdCB0b29scy5pZXRmLm9yZy4NCg0KVGhlIElFVEYgU2VjcmV0YXJpYXQNCg0KDQotLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCg0KX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX18NCmFsdG8gbWFpbGluZyBsaXN0DQphbHRvQGlldGYub3JnDQpo
dHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2FsdG8NCg0KDQpFbmQgb2YgYWx0
byBEaWdlc3QsIFZvbCA2MCwgSXNzdWUgMzUNCioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKg0KDQoNCg0K

From bill.wu@huawei.com  Thu Oct 24 01:51:14 2013
Return-Path: <bill.wu@huawei.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 4C96C11E8309 for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 01:51:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.429
X-Spam-Level: 
X-Spam-Status: No, score=-6.429 tagged_above=-999 required=5 tests=[AWL=0.170,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pjrXhTCW4V1U for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 01:51:10 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id 3EC1C11E8308 for <alto@ietf.org>; Thu, 24 Oct 2013 01:51:09 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AZK49398; Thu, 24 Oct 2013 08:51:08 +0000 (GMT)
Received: from LHREML404-HUB.china.huawei.com (10.201.5.218) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 24 Oct 2013 09:50:48 +0100
Received: from nkgeml405-hub.china.huawei.com (10.98.56.36) by lhreml404-hub.china.huawei.com (10.201.5.218) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 24 Oct 2013 09:50:52 +0100
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.141]) by nkgeml405-hub.china.huawei.com ([10.98.56.36]) with mapi id 14.03.0146.000; Thu, 24 Oct 2013 16:50:47 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "He, Peng" <phe@ciena.com>, IETF ALTO <alto@ietf.org>
Thread-Topic: I-D Action: draft-wu-alto-te-metrics-00.txt
Thread-Index: AQHOziP6+J+FdtG9skmCafux6L7Mo5oBflNwgADGUaCAAUaxsA==
Date: Thu, 24 Oct 2013 08:50:46 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA43C0EE57@nkgeml501-mbs.china.huawei.com>
References: <B8F9A780D330094D99AF023C5877DABA43C0E5CF@nkgeml501-mbs.china.huawei.com> <B6D287BF58D35D4B882E012AD3E1756167A767E4@ONWVEXCHMB04.ciena.com>
In-Reply-To: <B6D287BF58D35D4B882E012AD3E1756167A767E4@ONWVEXCHMB04.ciena.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.138.41.149]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Subject: Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 08:51:14 -0000

Hi, Peng:
Thank for your comment.
If cost metrics don't change or change not very frequently, e.g.,maximum ba=
ndwidth represents link capacity and usually doesn't change.
For those cost metric, such cost parameter does not need or can be ignored.
However for cost metrics which do make frequently changes over measurement =
interval, such metrics need to rely on measurement interval to know
Whether or how cost metric, e.g., bandwidth change during a period of time.=
 The measurement interval can be preconfigured.

Take cost metrics defined in this draft as an example, these cost metrics a=
re derived from ISIS-TE or OSPF-TE, so we can rely on IGP protocol to
Specify such configurable interval. If we gather these cost metrics from ot=
her means, we need to figure out how to measure schedule of the metrics jus=
t
As you said, could be control plane based or management plane based.
I prefer we should focus on using some mechanisms that have been already st=
andardized to decide schedule of cost metrics rather than basing on some pr=
oprietary solutions.

Regards!
-Qin
-----Original Message-----
From: He, Peng [mailto:phe@ciena.com]=20
Sent: Wednesday, October 23, 2013 9:09 PM
To: Qin Wu; IETF ALTO
Subject: RE: I-D Action: draft-wu-alto-te-metrics-00.txt

Another side question: is there a 'cost' parameter that can show/represent =
the 'schedule' of the network links, e.g., before 12pm this link/tunnel wil=
l have say 100Mbps available, after 12pm, only 50mbps available, i.e., band=
width scheduling or similar? Or this is more a management system/controller=
/server related data?


Regards,
Peng


-----Original Message-----
From: alto-bounces@ietf.org [mailto:alto-bounces@ietf.org] On Behalf Of Qin=
 Wu
Sent: Tuesday, October 22, 2013 9:17 PM
To: IETF ALTO
Subject: [alto] FW: I-D Action: draft-wu-alto-te-metrics-00.txt

Hi, all:
We have posted a new draft to define a set of new cost metrics that are rel=
ated to traffic engineering performance information.

http://tools.ietf.org/html/draft-wu-alto-te-metrics-00

Please review the draft and provide your feedback and comments.

Regards!
-Qin
-----Original Message-----
From: i-d-announce-bounces@ietf.org [mailto:i-d-announce-bounces@ietf.org] =
On Behalf Of internet-drafts@ietf.org
Sent: Monday, October 21, 2013 2:08 PM
To: i-d-announce@ietf.org
Subject: I-D Action: draft-wu-alto-te-metrics-00.txt


A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.


	Title           : ALTO Traffic Engineering Cost Metrics
	Author(s)       : Qin Wu
                          Young Lee
                          Dhruv Dhody
                          Sabine Randriamasy
	Filename        : draft-wu-alto-te-metrics-00.txt
	Pages           : 26
	Date            : 2013-10-20

Abstract:
   Cost Metric is a basic concept in Application-Layer Traffic
   Optimization (ALTO).  It is used in both the Cost Map Service and the
   Endpoint Cost Service.  Future extensions to ALTO may also use Cost
   Metric.

   Different applications may benefit from different Cost Metrics.  For
   example, a Resource Consumer may prefer Resource Providers that have
   low latency to the Resource Consumer.  However the base ALTO protocol
   [ALTO] has defined only a single cost metric, i.e., the generic
   "routingcost" metric (Sec. 14.2 of ALTO base specification [ALTO]).

   In this document, we define XXX Cost Metrics, derived from OSPF-TE
   and ISIS-TE, to measure network delay, jitter, packet loss, hop
   count, and bandwidth.  The metrics defined in this document provide a
   relatively comprehensive set of Cost Metrics for ALTO focusing on
   traffic engineering.  Additional Cost Metrics such as financial cost
   metrics may be defined in other documents.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-wu-alto-te-metrics-00


Please note that it may take a couple of minutes from the time of submissio=
n until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html or ftp://ftp.ie=
tf.org/ietf/1shadow-sites.txt
_______________________________________________
alto mailing list
alto@ietf.org
https://www.ietf.org/mailman/listinfo/alto

From w.roome@alcatel-lucent.com  Thu Oct 24 07:33:59 2013
Return-Path: <w.roome@alcatel-lucent.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 79A9A11E833C for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 07:33:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.337
X-Spam-Level: 
X-Spam-Status: No, score=-9.337 tagged_above=-999 required=5 tests=[AWL=-0.135, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CjJalRmN2CBj for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 07:33:48 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id A364111E832B for <alto@ietf.org>; Thu, 24 Oct 2013 07:33:34 -0700 (PDT)
Received: from usnavsmail2.ndc.alcatel-lucent.com (usnavsmail2.ndc.alcatel-lucent.com [135.3.39.10]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r9OEXNw9015593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 24 Oct 2013 09:33:23 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail2.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9OEXMEP020798 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 24 Oct 2013 09:33:23 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9OEXKnT000469; Thu, 24 Oct 2013 09:33:21 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.8.130913
Date: Thu, 24 Oct 2013 10:33:20 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>, Sebastian Kiesel <ietf-alto@skiesel.de>
Message-ID: <CE8EA242.B0C36%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
In-Reply-To: <CANUuoLrfTebMEqn2GJFG5ebQer0ywAJFxJC7n19Rta35KwWhHg@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3465455603_25238753"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.10
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 14:33:59 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3465455603_25238753
Content-type: text/plain;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

I'm glad to see I can still raise up a controversy!

Here's the problem I saw. Consider two network maps:

> MapA:  A1 =3D 10.0.0.0/14
>                A2 =3D 10.0.0.0/15
>=20
> MapB:  B1 =3D 10.0.0.0/16, 10.1.0.0/16, 10.2.0.0/16, 10.3.0.0/16
>                B2 =3D 10.0.0.0/15
>=20
PIDs A1 and B1 cover exactly the same set of endpoint addresses. So the
na=EFve view is that those two network maps are dentical.

But if we strictly apply the "longest prefix match" rule, they are NOT
identical. In MapA, 10.0.0.0 is in A2, while in MapB, it's in B1. To me,
that's counterintuitive.  If y'all like that, fine. I can live with that!
But it should be documented, because I think this has serious potential for
misinterpretation.

And the next bake-off should have a test case for this -- eg, the network
map should define PIDs like B1 and B2, and there should be a test that
10.0.0.0 is in B1, not B2.

- Wendy Roome

From:  "Y. Richard Yang" <yry@cs.yale.edu>
Date:  Wed, October 23, 2013 18:47
To:  Sebastian Kiesel <ietf-alto@skiesel.de>
Cc:  IETF ALTO <alto@ietf.org>, Wendy Roome <w.roome@alcatel-lucent.com>
Subject:  Re: [alto] Problem with "longest prefix" rule for mapping
endpoints to PIDs


These are fast responses. It seems that the majority (3:1) is to keep the
non-merging semantics. If we do not hear other objections, we will keep the
current version, but do clarify using the good example from Wendy.

Cheers,

Richard



--B_3465455603_25238753
Content-type: text/html;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>I'm glad to see I can still =
raise up a controversy!</div><div><br></div><div>Here's the problem I saw. C=
onsider two network maps:</div><div><br></div><blockquote style=3D"margin:0 0 =
0 40px; border:none; padding:0px;"><div>MapA: &nbsp;A1 =3D 10.0.0.0/14</div><d=
iv>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A2 =3D 10.0.0.0/15</=
div><div><br></div><div>MapB: &nbsp;B1 =3D 10.0.0.0/16, 10.1.0.0/16, 10.2.0.0/=
16, 10.3.0.0/16</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &=
nbsp;B2 =3D 10.0.0.0/15</div><div><br></div></blockquote><div>PIDs A1 and B1 c=
over exactly the same set of endpoint addresses. So the na=EFve view is that t=
hose two network maps are dentical.</div><div><br></div><div>But if we stric=
tly apply the "longest prefix match" rule, they are NOT identical. In MapA, =
10.0.0.0 is in A2, while in MapB, it's in B1.&nbsp;To me, that's counterintu=
itive. &nbsp;If y'all like that, fine. I can live with that! &nbsp;But it sh=
ould be documented, because I think this has serious potential for misinterp=
retation.</div><div><br></div><div>And the next bake-off should have a test =
case for this -- eg, the network map should define PIDs like B1 and B2, and =
there should be a test that 10.0.0.0 is in B1, not B2.</div><div><br></div><=
div><span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>- Wendy Roo=
me</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-fami=
ly:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: med=
ium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; =
PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none=
; PADDING-TOP: 3pt"><span style=3D"font-weight:bold">From: </span> "Y. Richard=
 Yang" &lt;<a href=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br><span=
 style=3D"font-weight:bold">Date: </span> Wed, October 23, 2013 18:47<br><span=
 style=3D"font-weight:bold">To: </span> Sebastian Kiesel &lt;<a href=3D"mailto:i=
etf-alto@skiesel.de">ietf-alto@skiesel.de</a>&gt;<br><span style=3D"font-weigh=
t:bold">Cc: </span> IETF ALTO &lt;<a href=3D"mailto:alto@ietf.org">alto@ietf.o=
rg</a>&gt;, Wendy Roome &lt;<a href=3D"mailto:w.roome@alcatel-lucent.com">w.ro=
ome@alcatel-lucent.com</a>&gt;<br><span style=3D"font-weight:bold">Subject: </=
span> Re: [alto] Problem with "longest prefix" rule for mapping endpoints to=
 PIDs<br></div><div><br></div><span class=3D"Apple-style-span" style=3D"border-c=
ollapse: separate; color: rgb(0, 0, 0); font-family: Calibri; font-style: no=
rmal; font-variant: normal; font-weight: normal; letter-spacing: normal; lin=
e-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; te=
xt-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webk=
it-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -we=
bkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webk=
it-text-stroke-width: 0px; font-size: medium; "><p dir=3D"ltr">These are fast =
responses. It seems that the majority (3:1) is to keep the non-merging seman=
tics. If we do not hear other objections, we will keep the current version, =
but do clarify using the good example from Wendy.</p><p dir=3D"ltr">Cheers,</p=
><p dir=3D"ltr">Richard</p></span></span></body></html>

--B_3465455603_25238753--



From yang.r.yang@gmail.com  Thu Oct 24 08:51:27 2013
Return-Path: <yang.r.yang@gmail.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 0FDA021E805F for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 08:51:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.774
X-Spam-Level: 
X-Spam-Status: No, score=-1.774 tagged_above=-999 required=5 tests=[AWL=0.202,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tqeF0rZMFcdA for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 08:51:26 -0700 (PDT)
Received: from mail-pb0-x234.google.com (mail-pb0-x234.google.com [IPv6:2607:f8b0:400e:c01::234]) by ietfa.amsl.com (Postfix) with ESMTP id 00D2F11E81B1 for <alto@ietf.org>; Thu, 24 Oct 2013 08:47:54 -0700 (PDT)
Received: by mail-pb0-f52.google.com with SMTP id rr4so807585pbb.11 for <alto@ietf.org>; Thu, 24 Oct 2013 08:47:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=tsTiVz44WwQUkLDjiGXZbG+xzw1ZzN8p839IGC+XzVg=; b=XFeY64USQTlpGfEfG6VXYDCAvvgGWmQRFt7vwUlQcwRBmRBRRaCT8bLRaPK/5yBnur 0vxSYjdtoPtkOnpplDG4Xgtdt3e3FBMgzPnR8h1y/uSE0wKOGfonJi7/kmY6EWaota+9 iBsRbWGxYI5jqLexmIlEJvgtSUrUeJtwnuN5kadq7EJE/6DRlnQWAqsPMwHKl22vSWhf ohX0nW4JnnbgIHCT8Jw9+FqJ4G1VK4DOk4y/JP0VZttR9eujUCUMKPPX6VjLC0KqdzSL u0TIaiAu5imqQu8lQZFYf+MK+y3aO1RwwcLwHbMozRy3NDkuBgC9c9u/5GTzLAg+ZJqB Q2eA==
MIME-Version: 1.0
X-Received: by 10.66.188.80 with SMTP id fy16mr3970177pac.168.1382629671752; Thu, 24 Oct 2013 08:47:51 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Thu, 24 Oct 2013 08:47:51 -0700 (PDT)
In-Reply-To: <CE8EA242.B0C36%w.roome@alcatel-lucent.com>
References: <CANUuoLrfTebMEqn2GJFG5ebQer0ywAJFxJC7n19Rta35KwWhHg@mail.gmail.com> <CE8EA242.B0C36%w.roome@alcatel-lucent.com>
Date: Thu, 24 Oct 2013 11:47:51 -0400
X-Google-Sender-Auth: SKd-CKN1REGoxv4dhxGIg07ffdY
Message-ID: <CANUuoLp6yH2TCka4aSoGBhJM362DrgqeBiN5+9VwpS7HdYSYaw@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7bdc967e70dc6e04e97e8eac
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 15:51:27 -0000

--047d7bdc967e70dc6e04e97e8eac
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Wendy,


On Thu, Oct 24, 2013 at 10:33 AM, Wendy Roome <w.roome@alcatel-lucent.com>w=
rote:

> I'm glad to see I can still raise up a controversy!
>
>
It is a very good discussion!


> Here's the problem I saw. Consider two network maps:
>
> MapA:  A1 =3D 10.0.0.0/14
>                A2 =3D 10.0.0.0/15
>
> MapB:  B1 =3D 10.0.0.0/16, 10.1.0.0/16, 10.2.0.0/16, 10.3.0.0/16
>                B2 =3D 10.0.0.0/15
>
> PIDs A1 and B1 cover exactly the same set of endpoint addresses. So the
> na=EFve view is that those two network maps are dentical.
>
>
But if we strictly apply the "longest prefix match" rule, they are NOT
> identical.
>
In MapA, 10.0.0.0 is in A2, while in MapB, it's in B1. To me, that's
> counterintuitive.  If y'all like that, fine. I can live with that!  But i=
t
> should be documented, because I think this has serious potential for
> misinterpretation.
>

Yes. We should document it clearly in the document. The semantics is that:

(1) No prefix should belong to two PIDs.; (2) One obtains the union of all
prefixes defined by all PIDs; call this set of prefixes P; (3) The longest
prefix matching an IP address is identified in P. (4) The PID containing
the prefixed identified in (3) is the PID of the IP address.


>
> And the next bake-off should have a test case for this -- eg, the network
> map should define PIDs like B1 and B2, and there should be a test that
> 10.0.0.0 is in B1, not B2.
>
>
Good idea to test this in the next bake-off!

Richard


> - Wendy Roome
>
> From: "Y. Richard Yang" <yry@cs.yale.edu>
> Date: Wed, October 23, 2013 18:47
> To: Sebastian Kiesel <ietf-alto@skiesel.de>
> Cc: IETF ALTO <alto@ietf.org>, Wendy Roome <w.roome@alcatel-lucent.com>
>
> Subject: Re: [alto] Problem with "longest prefix" rule for mapping
> endpoints to PIDs
>
> These are fast responses. It seems that the majority (3:1) is to keep the
> non-merging semantics. If we do not hear other objections, we will keep t=
he
> current version, but do clarify using the good example from Wendy.
>
> Cheers,
>
> Richard
>

--047d7bdc967e70dc6e04e97e8eac
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Wendy,<div class=3D"gmail_extra"><br><br><div class=3D"gma=
il_quote">On Thu, Oct 24, 2013 at 10:33 AM, Wendy Roome <span dir=3D"ltr">&=
lt;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@=
alcatel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><div style=3D"font-size:14px;font-family:Calibri,sans-seri=
f;word-wrap:break-word">
<div>I&#39;m glad to see I can still raise up a controversy!</div><div><br>=
</div></div></blockquote><div><br></div><div>It is a very good discussion!<=
/div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border=
-left-style:solid;padding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div></div><div>Here&#39;s the problem I saw. Consider two network m=
aps:</div><div><br></div><blockquote style=3D"margin:0px 0px 0px 40px;borde=
r:none;padding:0px">
<div>MapA: =A0A1 =3D <a href=3D"http://10.0.0.0/14" target=3D"_blank">10.0.=
0.0/14</a></div><div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0A2 =3D <a href=3D"http:=
//10.0.0.0/15" target=3D"_blank">10.0.0.0/15</a></div><div><br></div><div>M=
apB: =A0B1 =3D <a href=3D"http://10.0.0.0/16" target=3D"_blank">10.0.0.0/16=
</a>, <a href=3D"http://10.1.0.0/16" target=3D"_blank">10.1.0.0/16</a>, <a =
href=3D"http://10.2.0.0/16" target=3D"_blank">10.2.0.0/16</a>, <a href=3D"h=
ttp://10.3.0.0/16" target=3D"_blank">10.3.0.0/16</a></div>
<div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0B2 =3D <a href=3D"http://10.0.0.0/15" t=
arget=3D"_blank">10.0.0.0/15</a></div><div><br></div></blockquote><div>PIDs=
 A1 and B1 cover exactly the same set of endpoint addresses. So the na=EFve=
 view is that those two network maps are dentical.</div>
<div><span style=3D"font-family:arial;font-size:small">=A0</span><br></div>=
</div></blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border=
-left-style:solid;padding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div></div><div>But if we strictly apply the &quot;longest prefix ma=
tch&quot; rule, they are NOT identical.<span style=3D"font-family:arial;fon=
t-size:small">=A0</span></div>
</div></blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p=
x 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border=
-left-style:solid;padding-left:1ex"><div style=3D"font-size:14px;font-famil=
y:Calibri,sans-serif;word-wrap:break-word">
<div>In MapA, 10.0.0.0 is in A2, while in MapB, it&#39;s in B1.=A0To me, th=
at&#39;s counterintuitive. =A0If y&#39;all like that, fine. I can live with=
 that! =A0But it should be documented, because I think this has serious pot=
ential for misinterpretation.</div>
</div></blockquote><div><br></div><div>Yes. We should document it clearly i=
n the document. The semantics is that:</div><div>=A0</div><div>(1) No prefi=
x should belong to two PIDs.; (2) One obtains the union of all prefixes def=
ined by all PIDs; call this set of prefixes P; (3) The longest prefix match=
ing an IP address is identified in P. (4) The PID containing the prefixed i=
dentified in (3) is the PID of the IP address.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><div style=3D"font-size:14px;font-family:Cal=
ibri,sans-serif;word-wrap:break-word">
<div><br></div><div>And the next bake-off should have a test case for this =
-- eg, the network map should define PIDs like B1 and B2, and there should =
be a test that 10.0.0.0 is in B1, not B2.</div><div><br></div></div></block=
quote>
<div><br></div><div>Good idea to test this in the next bake-off!</div><div>=
<br></div><div>Richard</div><div>=A0</div><blockquote class=3D"gmail_quote"=
 style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:=
rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div></div><div><span style=3D"white-space:pre-wrap">	</span>- Wendy=
 Roome</div><div><br></div><span><div style=3D"border-width:1pt medium medi=
um;border-style:solid none none;padding:3pt 0in 0in;text-align:left;font-si=
ze:11pt;font-family:Calibri;border-top-color:rgb(181,196,223)">
<span style=3D"font-weight:bold">From: </span> &quot;Y. Richard Yang&quot; =
&lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a=
>&gt;<br><span style=3D"font-weight:bold">Date: </span> Wed, October 23, 20=
13 18:47<br>
<span style=3D"font-weight:bold">To: </span> Sebastian Kiesel &lt;<a href=
=3D"mailto:ietf-alto@skiesel.de" target=3D"_blank">ietf-alto@skiesel.de</a>=
&gt;<br><span style=3D"font-weight:bold">Cc: </span> IETF ALTO &lt;<a href=
=3D"mailto:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;, Wendy Ro=
ome &lt;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.r=
oome@alcatel-lucent.com</a>&gt;<div class=3D"im">
<br><span style=3D"font-weight:bold">Subject: </span> Re: [alto] Problem wi=
th &quot;longest prefix&quot; rule for mapping endpoints to PIDs<br></div><=
/div><div class=3D"im"><div><br></div><span style=3D"text-indent:0px;letter=
-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:norm=
al;font-weight:normal;line-height:normal;border-collapse:separate;text-tran=
sform:none;font-size:medium;white-space:normal;font-family:Calibri;word-spa=
cing:0px"><p dir=3D"ltr">
These are fast responses. It seems that the majority (3:1) is to keep the n=
on-merging semantics. If we do not hear other objections, we will keep the =
current version, but do clarify using the good example from Wendy.</p><p di=
r=3D"ltr">
Cheers,</p><p dir=3D"ltr">Richard</p></span></div></span></div>
</blockquote></div><br></div></div>

--047d7bdc967e70dc6e04e97e8eac--

From repenno@cisco.com  Thu Oct 24 10:23:32 2013
Return-Path: <repenno@cisco.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 0CCA811E8342 for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 10:23:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qddDcoVaGDJO for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 10:23:27 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) by ietfa.amsl.com (Postfix) with ESMTP id EA51B11E81B4 for <alto@ietf.org>; Thu, 24 Oct 2013 10:23:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=11657; q=dns/txt; s=iport; t=1382635407; x=1383845007; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=Nn3qJu8J8xarptI9I3a8jod1xbvqeQUm12eHj6m2b08=; b=cJTCvxVpLTYWHQnYF/8/JAAyM9QwhacxA1InMa2sLBEAvwc85+3ePwVj 2WA8RwnN2xOtqzuhzUYiOwXguPpYyLUyZfRyLdTgCqX8G25IQGNeJn0WO +h1tllVnESvQdovnD0h6buQv0GFod2AGKalia+ZKZpA4PO/wtxZ2Id3pL Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AsUFAD5XaVKtJXG9/2dsb2JhbABZDoI1RDhUrBuJc4hKgR0WdIIlAQEBBEwtEgEIEQIBAQILHSwNFAkIAgQBDQUIh3sErGuNco8cIBEHgx+BDQOJB5tWAYUzgmU/gio
X-IronPort-AV: E=Sophos;i="4.93,563,1378857600";  d="scan'208,217";a="276042856"
Received: from rcdn-core2-2.cisco.com ([173.37.113.189]) by rcdn-iport-1.cisco.com with ESMTP; 24 Oct 2013 17:23:26 +0000
Received: from xhc-aln-x11.cisco.com (xhc-aln-x11.cisco.com [173.36.12.85]) by rcdn-core2-2.cisco.com (8.14.5/8.14.5) with ESMTP id r9OHNQ7O012717 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 24 Oct 2013 17:23:26 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.27]) by xhc-aln-x11.cisco.com ([173.36.12.85]) with mapi id 14.02.0318.004; Thu, 24 Oct 2013 12:23:25 -0500
From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>, Wendy Roome <w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
Thread-Index: AQHO0DGcuN3633K8DEGzmav+Jiqo/5oDNx4AgAEISQCAABTRgP//pVgA
Date: Thu, 24 Oct 2013 17:23:24 +0000
Message-ID: <45A697A8FFD7CF48BCF2BE7E106F06040B73E769@xmb-rcd-x04.cisco.com>
In-Reply-To: <CANUuoLp6yH2TCka4aSoGBhJM362DrgqeBiN5+9VwpS7HdYSYaw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.3.120616
x-originating-ip: [10.21.92.173]
Content-Type: multipart/alternative; boundary="_000_45A697A8FFD7CF48BCF2BE7E106F06040B73E769xmbrcdx04ciscoc_"
MIME-Version: 1.0
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 17:23:32 -0000

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73E769xmbrcdx04ciscoc_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I disagree again.  If you have a prefix 0.0.0.0/0 in one PID does that mean=
 no other prefix can appear in any other PID? it means that all other prefi=
xes will overlap with it.

The prefixes below could have been imported from BGP at t=3D0 and at t=3D1 =
they will be broken up. Or the PIDs can have different properties (as we di=
scussed before).


From: "Y. Yang" <yry@cs.yale.edu<mailto:yry@cs.yale.edu>>
Date: Thursday, October 24, 2013 8:47 AM
To: Wendy Roome <w.roome@alcatel-lucent.com<mailto:w.roome@alcatel-lucent.c=
om>>
Cc: IETF ALTO <alto@ietf.org<mailto:alto@ietf.org>>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoint=
s to PIDs

Wendy,


On Thu, Oct 24, 2013 at 10:33 AM, Wendy Roome <w.roome@alcatel-lucent.com<m=
ailto:w.roome@alcatel-lucent.com>> wrote:
I'm glad to see I can still raise up a controversy!


It is a very good discussion!

Here's the problem I saw. Consider two network maps:

MapA:  A1 =3D 10.0.0.0/14<http://10.0.0.0/14>
               A2 =3D 10.0.0.0/15<http://10.0.0.0/15>

MapB:  B1 =3D 10.0.0.0/16<http://10.0.0.0/16>, 10.1.0.0/16<http://10.1.0.0/=
16>, 10.2.0.0/16<http://10.2.0.0/16>, 10.3.0.0/16<http://10.3.0.0/16>
               B2 =3D 10.0.0.0/15<http://10.0.0.0/15>

PIDs A1 and B1 cover exactly the same set of endpoint addresses. So the na=
=EFve view is that those two network maps are dentical.

But if we strictly apply the "longest prefix match" rule, they are NOT iden=
tical.
In MapA, 10.0.0.0 is in A2, while in MapB, it's in B1. To me, that's counte=
rintuitive.  If y'all like that, fine. I can live with that!  But it should=
 be documented, because I think this has serious potential for misinterpret=
ation.

Yes. We should document it clearly in the document. The semantics is that:

(1) No prefix should belong to two PIDs.; (2) One obtains the union of all =
prefixes defined by all PIDs; call this set of prefixes P; (3) The longest =
prefix matching an IP address is identified in P. (4) The PID containing th=
e prefixed identified in (3) is the PID of the IP address.


And the next bake-off should have a test case for this -- eg, the network m=
ap should define PIDs like B1 and B2, and there should be a test that 10.0.=
0.0 is in B1, not B2.


Good idea to test this in the next bake-off!

Richard

- Wendy Roome

From: "Y. Richard Yang" <yry@cs.yale.edu<mailto:yry@cs.yale.edu>>
Date: Wed, October 23, 2013 18:47
To: Sebastian Kiesel <ietf-alto@skiesel.de<mailto:ietf-alto@skiesel.de>>
Cc: IETF ALTO <alto@ietf.org<mailto:alto@ietf.org>>, Wendy Roome <w.roome@a=
lcatel-lucent.com<mailto:w.roome@alcatel-lucent.com>>

Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoint=
s to PIDs


These are fast responses. It seems that the majority (3:1) is to keep the n=
on-merging semantics. If we do not hear other objections, we will keep the =
current version, but do clarify using the good example from Wendy.

Cheers,

Richard


--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73E769xmbrcdx04ciscoc_
Content-Type: text/html; charset="iso-8859-1"
Content-ID: <573FF193BB9DC54596C05B7991116F09@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div>I disagree again. &nbsp;If you have a prefix 0.0.0.0/0 in one PID does=
 that mean no other prefix can appear in any other PID? it means that all o=
ther prefixes will overlap with it.&nbsp;</div>
<div><br>
</div>
<div>The prefixes below could have been imported from BGP at t=3D0 and at t=
=3D1 they will be broken up. Or the PIDs can have different properties (as =
we discussed before).</div>
<div><br>
</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>&quot;Y. Yang&quot; &lt;<a hr=
ef=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Thursday, October 24, 2013 8:=
47 AM<br>
<span style=3D"font-weight:bold">To: </span>Wendy Roome &lt;<a href=3D"mail=
to:w.roome@alcatel-lucent.com">w.roome@alcatel-lucent.com</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>IETF ALTO &lt;<a href=3D"mailto=
:alto@ietf.org">alto@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] Problem with &q=
uot;longest prefix&quot; rule for mapping endpoints to PIDs<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir=3D"ltr">Wendy,
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Thu, Oct 24, 2013 at 10:33 AM, Wendy Roome <s=
pan dir=3D"ltr">
&lt;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome=
@alcatel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div>I'm glad to see I can still raise up a controversy!</div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>It is a very good discussion!</div>
<div>&nbsp;</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div>
<div>Here's the problem I saw. Consider two network maps:</div>
<div><br>
</div>
<blockquote style=3D"margin:0px 0px 0px 40px;border:none;padding:0px">
<div>MapA: &nbsp;A1 =3D <a href=3D"http://10.0.0.0/14" target=3D"_blank">10=
.0.0.0/14</a></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A2 =3D <a href=
=3D"http://10.0.0.0/15" target=3D"_blank">10.0.0.0/15</a></div>
<div><br>
</div>
<div>MapB: &nbsp;B1 =3D <a href=3D"http://10.0.0.0/16" target=3D"_blank">10=
.0.0.0/16</a>, <a href=3D"http://10.1.0.0/16" target=3D"_blank">
10.1.0.0/16</a>, <a href=3D"http://10.2.0.0/16" target=3D"_blank">10.2.0.0/=
16</a>, <a href=3D"http://10.3.0.0/16" target=3D"_blank">
10.3.0.0/16</a></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;B2 =3D <a href=
=3D"http://10.0.0.0/15" target=3D"_blank">10.0.0.0/15</a></div>
<div><br>
</div>
</blockquote>
<div>PIDs A1 and B1 cover exactly the same set of endpoint addresses. So th=
e na=EFve view is that those two network maps are dentical.</div>
<div><span style=3D"font-family:arial;font-size:small">&nbsp;</span><br>
</div>
</div>
</blockquote>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div>
<div>But if we strictly apply the &quot;longest prefix match&quot; rule, th=
ey are NOT identical.<span style=3D"font-family:arial;font-size:small">&nbs=
p;</span></div>
</div>
</blockquote>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div>In MapA, 10.0.0.0 is in A2, while in MapB, it's in B1.&nbsp;To me, tha=
t's counterintuitive. &nbsp;If y'all like that, fine. I can live with that!=
 &nbsp;But it should be documented, because I think this has serious potent=
ial for misinterpretation.</div>
</div>
</blockquote>
<div><br>
</div>
<div>Yes. We should document it clearly in the document. The semantics is t=
hat:</div>
<div>&nbsp;</div>
<div>(1) No prefix should belong to two PIDs.; (2) One obtains the union of=
 all prefixes defined by all PIDs; call this set of prefixes P; (3) The lon=
gest prefix matching an IP address is identified in P. (4) The PID containi=
ng the prefixed identified in (3)
 is the PID of the IP address.</div>
<div>&nbsp;</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div><br>
</div>
<div>And the next bake-off should have a test case for this -- eg, the netw=
ork map should define PIDs like B1 and B2, and there should be a test that =
10.0.0.0 is in B1, not B2.</div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Good idea to test this in the next bake-off!</div>
<div><br>
</div>
<div>Richard</div>
<div>&nbsp;</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div>
<div><span style=3D"white-space:pre-wrap"></span>- Wendy Roome</div>
<div><br>
</div>
<span>
<div style=3D"border-width:1pt medium medium;border-style:solid none none;p=
adding:3pt 0in 0in;text-align:left;font-size:11pt;font-family:Calibri;borde=
r-top-color:rgb(181,196,223)">
<span style=3D"font-weight:bold">From: </span>&quot;Y. Richard Yang&quot; &=
lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>=
&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Wed, October 23, 2013 18:47<b=
r>
<span style=3D"font-weight:bold">To: </span>Sebastian Kiesel &lt;<a href=3D=
"mailto:ietf-alto@skiesel.de" target=3D"_blank">ietf-alto@skiesel.de</a>&gt=
;<br>
<span style=3D"font-weight:bold">Cc: </span>IETF ALTO &lt;<a href=3D"mailto=
:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;, Wendy Roome &lt;<a=
 href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcat=
el-lucent.com</a>&gt;
<div class=3D"im"><br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] Problem with &q=
uot;longest prefix&quot; rule for mapping endpoints to PIDs<br>
</div>
</div>
<div class=3D"im">
<div><br>
</div>
<span style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;te=
xt-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:norm=
al;border-collapse:separate;text-transform:none;font-size:medium;white-spac=
e:normal;font-family:Calibri;word-spacing:0px">
<p dir=3D"ltr">These are fast responses. It seems that the majority (3:1) i=
s to keep the non-merging semantics. If we do not hear other objections, we=
 will keep the current version, but do clarify using the good example from =
Wendy.</p>
<p dir=3D"ltr">Cheers,</p>
<p dir=3D"ltr">Richard</p>
</span></div>
</span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</span>
</body>
</html>

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73E769xmbrcdx04ciscoc_--

From w.roome@alcatel-lucent.com  Thu Oct 24 10:40:27 2013
Return-Path: <w.roome@alcatel-lucent.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 BEA2D11E81D7 for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 10:40:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.327
X-Spam-Level: 
X-Spam-Status: No, score=-9.327 tagged_above=-999 required=5 tests=[AWL=-0.126, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kZ5vTaR91lak for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 10:40:19 -0700 (PDT)
Received: from ihemail2.lucent.com (ihemail2.lucent.com [135.245.0.35]) by ietfa.amsl.com (Postfix) with ESMTP id 96F2921F9E44 for <alto@ietf.org>; Thu, 24 Oct 2013 10:40:05 -0700 (PDT)
Received: from usnavsmail1.ndc.alcatel-lucent.com (usnavsmail1.ndc.alcatel-lucent.com [135.3.39.9]) by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id r9OHdkkt004355 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 24 Oct 2013 12:39:47 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail1.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9OHdk1a008392 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 24 Oct 2013 12:39:46 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9OHdbYv028047; Thu, 24 Oct 2013 12:39:38 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.8.130913
Date: Thu, 24 Oct 2013 13:39:38 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <CE8ED170.B1FF6%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
In-Reply-To: <CANUuoLp6yH2TCka4aSoGBhJM362DrgqeBiN5+9VwpS7HdYSYaw@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3465466784_25879064"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.9
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 17:40:27 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3465466784_25879064
Content-type: text/plain;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

I think the protocol document should have an explicit example, such as
"MapB", as well as giving Richard's algorithm.

Case in point: Two years ago, when I first started working on an ALTO
server, I implemented the algorithm Richard described, exactly as is. For
"MapB", my server does indeed say that 10.0.0.0 is in B1, not B2.

And until I tried that test case, I had no idea it would behave that way. I
really thought it would say 10.0.0.0 is in B2.

So I think we need to hit people over the head with this one.

- Wendy Roome

From:  "Y. Richard Yang" <yry@cs.yale.edu>
Date:  Thu, October 24, 2013 11:47
To:  Wendy Roome <w.roome@alcatel-lucent.com>
Cc:  Sebastian Kiesel <ietf-alto@skiesel.de>, IETF ALTO <alto@ietf.org>
Subject:  Re: [alto] Problem with "longest prefix" rule for mapping
endpoints to PIDs

=20
> Here's the problem I saw. Consider two network maps:
>=20
>> MapA:  A1 =3D 10.0.0.0/14 <http://10.0.0.0/14>
>>                A2 =3D 10.0.0.0/15 <http://10.0.0.0/15>
>>=20
>> MapB:  B1 =3D 10.0.0.0/16 <http://10.0.0.0/16> , 10.1.0.0/16
>> <http://10.1.0.0/16> , 10.2.0.0/16 <http://10.2.0.0/16> , 10.3.0.0/16
>> <http://10.3.0.0/16>
>>                B2 =3D 10.0.0.0/15 <http://10.0.0.0/15>
>>=20
> PIDs A1 and B1 cover exactly the same set of endpoint addresses. So the n=
a=EFve
> view is that those two network maps are dentical.
> =20
> But if we strictly apply the "longest prefix match" rule, they are NOT
> identical.=20
> In MapA, 10.0.0.0 is in A2, while in MapB, it's in B1. To me, that's
> counterintuitive.  If y'all like that, fine. I can live with that!  But i=
t
> should be documented, because I think this has serious potential for
> misinterpretation.

Yes. We should document it clearly in the document. The semantics is that:
=20
(1) No prefix should belong to two PIDs.; (2) One obtains the union of all
prefixes defined by all PIDs; call this set of prefixes P; (3) The longest
prefix matching an IP address is identified in P. (4) The PID containing th=
e
prefixed identified in (3) is the PID of the IP address.



--B_3465466784_25879064
Content-type: text/html;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>I think the protocol documen=
t should have an explicit example, such as "MapB", as well as giving Richard=
's algorithm.</div><div><br></div><div>Case in point: Two years ago, when I =
first started working on an ALTO server, I implemented the algorithm Richard=
 described, exactly as is. For "MapB", my server does indeed say that 10.0.0=
.0 is in B1, not B2.</div><div><br></div><div>And until I tried that test ca=
se, I had no idea it would behave that way. I really thought it would say 10=
.0.0.0 is in B2.</div><div><br></div><div>So I think we need to hit people o=
ver the head with this one.</div><div><br></div><div><span class=3D"Apple-tab-=
span" style=3D"white-space:pre">	</span>- Wendy Roome</div><div><br></div><spa=
n id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-family:Calibri; font-size:11pt;=
 text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medi=
um none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-=
TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span s=
tyle=3D"font-weight:bold">From: </span> "Y. Richard Yang" &lt;<a href=3D"mailto:=
yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br><span style=3D"font-weight:bold">D=
ate: </span> Thu, October 24, 2013 11:47<br><span style=3D"font-weight:bold">T=
o: </span> Wendy Roome &lt;<a href=3D"mailto:w.roome@alcatel-lucent.com">w.roo=
me@alcatel-lucent.com</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> =
Sebastian Kiesel &lt;<a href=3D"mailto:ietf-alto@skiesel.de">ietf-alto@skiesel=
.de</a>&gt;, IETF ALTO &lt;<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&=
gt;<br><span style=3D"font-weight:bold">Subject: </span> Re: [alto] Problem wi=
th "longest prefix" rule for mapping endpoints to PIDs<br></div><div><br></d=
iv><span class=3D"Apple-style-span" style=3D"border-collapse: separate; color: r=
gb(0, 0, 0); font-family: Calibri; font-style: normal; font-variant: normal;=
 font-weight: normal; letter-spacing: normal; line-height: normal; orphans: =
2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-s=
pace: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacin=
g: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-ef=
fect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; =
font-size: medium; "><div>&nbsp;</div><blockquote class=3D"gmail_quote" style=3D=
"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex;=
 border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-=
style: solid; padding-left: 1ex; "><div style=3D"font-size: 14px; font-family:=
 Calibri, sans-serif; word-wrap: break-word; "><div></div><div>Here's the pr=
oblem I saw. Consider two network maps:</div><div><br></div><blockquote styl=
e=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px=
; border-top-style: none; border-right-style: none; border-bottom-style: non=
e; border-left-style: none; border-width: initial; border-color: initial; pa=
dding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; =
"><div>MapA: &nbsp;A1 =3D<span class=3D"Apple-converted-space">&nbsp;</span><a h=
ref=3D"http://10.0.0.0/14" target=3D"_blank">10.0.0.0/14</a></div><div>&nbsp; &n=
bsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A2 =3D<span class=3D"Apple-convert=
ed-space">&nbsp;</span><a href=3D"http://10.0.0.0/15" target=3D"_blank">10.0.0.0=
/15</a></div><div><br></div><div>MapB: &nbsp;B1 =3D<span class=3D"Apple-converte=
d-space">&nbsp;</span><a href=3D"http://10.0.0.0/16" target=3D"_blank">10.0.0.0/=
16</a>,<span class=3D"Apple-converted-space">&nbsp;</span><a href=3D"http://10.1=
.0.0/16" target=3D"_blank">10.1.0.0/16</a>,<span class=3D"Apple-converted-space"=
>&nbsp;</span><a href=3D"http://10.2.0.0/16" target=3D"_blank">10.2.0.0/16</a>,<=
span class=3D"Apple-converted-space">&nbsp;</span><a href=3D"http://10.3.0.0/16"=
 target=3D"_blank">10.3.0.0/16</a></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp;B2 =3D<span class=3D"Apple-converted-space">&nbsp;</span><=
a href=3D"http://10.0.0.0/15" target=3D"_blank">10.0.0.0/15</a></div><div><br></=
div></blockquote><div>PIDs A1 and B1 cover exactly the same set of endpoint =
addresses. So the na=EFve view is that those two network maps are dentical.</d=
iv><div><span style=3D"font-family: arial; font-size: small; ">&nbsp;</span><b=
r></div></div></blockquote><blockquote class=3D"gmail_quote" style=3D"margin-top=
: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-lef=
t-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: soli=
d; padding-left: 1ex; "><div style=3D"font-size: 14px; font-family: Calibri, s=
ans-serif; word-wrap: break-word; "><div></div><div>But if we strictly apply=
 the "longest prefix match" rule, they are NOT identical.<span style=3D"font-f=
amily: arial; font-size: small; ">&nbsp;</span></div></div></blockquote><blo=
ckquote class=3D"gmail_quote" style=3D"margin-top: 0px; margin-right: 0px; margi=
n-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color=
: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; "><div st=
yle=3D"font-size: 14px; font-family: Calibri, sans-serif; word-wrap: break-wor=
d; "><div>In MapA, 10.0.0.0 is in A2, while in MapB, it's in B1.&nbsp;To me,=
 that's counterintuitive. &nbsp;If y'all like that, fine. I can live with th=
at! &nbsp;But it should be documented, because I think this has serious pote=
ntial for misinterpretation.</div></div></blockquote><div><br></div><div>Yes=
. We should document it clearly in the document. The semantics is that:</div=
><div>&nbsp;</div><div>(1) No prefix should belong to two PIDs.; (2) One obt=
ains the union of all prefixes defined by all PIDs; call this set of prefixe=
s P; (3) The longest prefix matching an IP address is identified in P. (4) T=
he PID containing the prefixed identified in (3) is the PID of the IP addres=
s.</div></span></span></body></html>

--B_3465466784_25879064--



From sebi@gw01.ehlo.wurstkaes.de  Thu Oct 24 11:43:44 2013
Return-Path: <sebi@gw01.ehlo.wurstkaes.de>
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 20DB811E81E8 for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 11:43:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.142
X-Spam-Level: 
X-Spam-Status: No, score=-2.142 tagged_above=-999 required=5 tests=[AWL=0.458,  BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nii8vDcmYHcQ for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 11:43:43 -0700 (PDT)
Received: from gw01.ehlo.wurstkaes.de (gw01.ehlo.wurstkaes.de [IPv6:2a02:a00:e000:116::41]) by ietfa.amsl.com (Postfix) with ESMTP id 97EEF11E81CF for <alto@ietf.org>; Thu, 24 Oct 2013 11:43:34 -0700 (PDT)
Received: from sebi by gw01.ehlo.wurstkaes.de with local (Exim 4.80) (envelope-from <sebi@gw01.ehlo.wurstkaes.de>) id 1VZPsL-0004jL-1M; Thu, 24 Oct 2013 20:43:17 +0200
Date: Thu, 24 Oct 2013 20:43:16 +0200
From: Sebastian Kiesel <ietf-alto@skiesel.de>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Message-ID: <20131024184316.GD4845@gw01.ehlo.wurstkaes.de>
References: <CANUuoLrfTebMEqn2GJFG5ebQer0ywAJFxJC7n19Rta35KwWhHg@mail.gmail.com> <CE8EA242.B0C36%w.roome@alcatel-lucent.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CE8EA242.B0C36%w.roome@alcatel-lucent.com>
Accept-Languages: en, de
Organization: my personal mail account
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 18:43:44 -0000

Wendy,

On Thu, Oct 24, 2013 at 10:33:20AM -0400, Wendy Roome wrote:
> I'm glad to see I can still raise up a controversy!
> 
> Here's the problem I saw. Consider two network maps:
> 
> > MapA:  A1 = 10.0.0.0/14
> >                A2 = 10.0.0.0/15
> > 
> > MapB:  B1 = 10.0.0.0/16, 10.1.0.0/16, 10.2.0.0/16, 10.3.0.0/16
> >                B2 = 10.0.0.0/15
> > 
> PIDs A1 and B1 cover exactly the same set of endpoint addresses. So the
> naïve view is that those two network maps are dentical.
> 
> But if we strictly apply the "longest prefix match" rule, they are NOT
> identical. In MapA, 10.0.0.0 is in A2, while in MapB, it's in B1. To me,
> that's counterintuitive.  If y'all like that, fine. I can live with that!

Believe it or not, but for me this client behavior *is* intuitive.
Another story is, why would one create such a strange map?




Maybe in a scenario like this:

At time t0:

C1 = 10.0.0.0/14
C101 = 10.0.0.0/16, 10.2.0.0/16
C102 = 10.1.0.0/16, 10.3.0.0/16

and the corresponding cost map tells you (in an appropriate metric):

C1 is manually and statically configured as a catch-all for my whole
prefix. I can't say where these IP addresses are located exactly, but
at least they are somewhere in my network.

C101 is automatically exported from the network management system. The
routing protocol says these prefixes are in my westcoast data center
and the detailed properties are as follows: foo

C102 is ... eastcoast ... : bar


some time later, all prefixes move to westcoast. So at time t1:

if the management system / map generator is not too clever:

D1 = 10.0.0.0/14
D101 = 10.0.0.0/16, 10.2.0.0/16, 10.1.0.0/16, 10.3.0.0/16
D102 = (empty or undefined)


In this case for me it would be intuitive to say that matching
10.0.0.1 to D101 should give better information than D1.



if the management system / map generator is a bit more clever and
figures out that prefixes can be aggregated, but not clever enough
to remove the "screened" default entry:

E1 = 10.0.0.0/14
E101 = 10.0.0.0/14
E102 = (empty or undefined)

Again, the intuitive answer is that E101 would probably give better
results than E1.  But what does the spec say? All I could find was:


   Each endpoint MUST map into exactly one PID.  Since longest-prefix
   matching is used to map an endpoint to a PID, this can be
   accomplished by ensuring that no two PIDs contain an identical IP
   prefix.  (sec. 5.2.1.)


This wording seems a bit strange to me. Does the "can" in the second
sentence suggest that there are alternatives? I think this should be
reworded. I see several options:

1.  clarify what we have now, e.g.:

    A valid network map MUST NOT define two or more PIDs which contain
    an identical IP prefix, in order to ensure that the longest-prefix
    matching algorithm maps each endpoint into exactly one PID.

    
2.  specify what should happen if a map contains two PIDs with the
    same prefix:

    2a) the client may randomly chose one
    2b) the client must use the pid with the prefix that appeared
        first in the json structure
    2c) the client must use the pid with the prefix that appeared
        last in the json structure
    2d) the client must lexicographically sort the PID names
        of PIDs that contain the prefix and take the first one
    2e) the client must lexicographically sort the PID names
        of PIDs that contain the prefix and take the last one


I'd prefer one of the 2d) or 2e) options. 


Any thoughts on that?

Thanks,
Sebastian

From yang.r.yang@gmail.com  Thu Oct 24 12:51:11 2013
Return-Path: <yang.r.yang@gmail.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 A909A11E8203 for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 12:51:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.78
X-Spam-Level: 
X-Spam-Status: No, score=-1.78 tagged_above=-999 required=5 tests=[AWL=0.196,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3VXwRKR72Dgx for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 12:51:10 -0700 (PDT)
Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) by ietfa.amsl.com (Postfix) with ESMTP id 968DD11E8379 for <alto@ietf.org>; Thu, 24 Oct 2013 12:51:02 -0700 (PDT)
Received: by mail-pd0-f177.google.com with SMTP id p10so2890209pdj.8 for <alto@ietf.org>; Thu, 24 Oct 2013 12:51:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Qr1BiiztmVQiTZv9A3Ie/8uAWHQWJctiWxQxs5XM6YE=; b=HhYsSrJ93bmsN42pGo0Fmu4pQ0nUmkvU70fo5FEChSJKOWBy+x+2JVypSTPbawlBB5 uY9V1ZRqNwO3OuriCBktXjcnCfKake5Ial3qnu1XE9RN+jygf1jpry0KjdSM2yd8o8E5 roCtCxq3HtCYxTJSaahZif8AF4oamZ2/rL6a2+plHqbjcHjtP3aimUmexvknopMyMRtd y+ssOGiAU4lm9dOuvMMd8Y9Yj5nFg2/MG/bAwz7qsFtiGi6vGqWjuoohv1kJtzjRg0cL KaB2D+IGJbapoxSeyoBNIYIzbTXYPnQILlZ7/6/XrW5AUt5NCud26PdoLOjOUp8MFfgI LGfQ==
MIME-Version: 1.0
X-Received: by 10.68.143.196 with SMTP id sg4mr4482839pbb.155.1382644262321; Thu, 24 Oct 2013 12:51:02 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Thu, 24 Oct 2013 12:51:02 -0700 (PDT)
In-Reply-To: <45A697A8FFD7CF48BCF2BE7E106F06040B73E769@xmb-rcd-x04.cisco.com>
References: <CANUuoLp6yH2TCka4aSoGBhJM362DrgqeBiN5+9VwpS7HdYSYaw@mail.gmail.com> <45A697A8FFD7CF48BCF2BE7E106F06040B73E769@xmb-rcd-x04.cisco.com>
Date: Thu, 24 Oct 2013 15:51:02 -0400
X-Google-Sender-Auth: VkAiCSS72uh4YsGn2rTcNlKt-OY
Message-ID: <CANUuoLrqerZY2k1eZvLvfD2vBWp+Pi8BU4HcEQQUKYL-LNydLQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: "Reinaldo Penno (repenno)" <repenno@cisco.com>
Content-Type: multipart/alternative; boundary=047d7b2e45261b461204e981f4ad
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 19:51:11 -0000

--047d7b2e45261b461204e981f4ad
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 24, 2013 at 1:23 PM, Reinaldo Penno (repenno) <repenno@cisco.co=
m
> wrote:

>  I disagree again.  If you have a prefix 0.0.0.0/0 in one PID does that
> mean no other prefix can appear in any other PID? it means that all other
> prefixes will overlap with it.
>

Not sure I understand the issue. Which condition among the three:
(1) No prefix should belong to two PIDs.; (2) One obtains the union of all
prefixes defined by all PIDs; call this set of prefixes P; (3) The longest
prefix matching an IP address is identified in P. (4) The PID containing
the prefixed identified in (3) is the PID of the IP address.

Is it (1)?

Richard


>
>  The prefixes below could have been imported from BGP at t=3D0 and at t=
=3D1
> they will be broken up. Or the PIDs can have different properties (as we
> discussed before).
>
>
>   From: "Y. Yang" <yry@cs.yale.edu>
> Date: Thursday, October 24, 2013 8:47 AM
>
> To: Wendy Roome <w.roome@alcatel-lucent.com>
> Cc: IETF ALTO <alto@ietf.org>
> Subject: Re: [alto] Problem with "longest prefix" rule for mapping
> endpoints to PIDs
>
>   Wendy,
>
>
> On Thu, Oct 24, 2013 at 10:33 AM, Wendy Roome <w.roome@alcatel-lucent.com=
>wrote:
>
>>  I'm glad to see I can still raise up a controversy!
>>
>>
>  It is a very good discussion!
>
>
>>  Here's the problem I saw. Consider two network maps:
>>
>>  MapA:  A1 =3D 10.0.0.0/14
>>                A2 =3D 10.0.0.0/15
>>
>>  MapB:  B1 =3D 10.0.0.0/16, 10.1.0.0/16, 10.2.0.0/16, 10.3.0.0/16
>>                B2 =3D 10.0.0.0/15
>>
>>  PIDs A1 and B1 cover exactly the same set of endpoint addresses. So the
>> na=EFve view is that those two network maps are dentical.
>>
>>
>   But if we strictly apply the "longest prefix match" rule, they are NOT
>> identical.
>>
>  In MapA, 10.0.0.0 is in A2, while in MapB, it's in B1. To me, that's
>> counterintuitive.  If y'all like that, fine. I can live with that!  But =
it
>> should be documented, because I think this has serious potential for
>> misinterpretation.
>>
>
>  Yes. We should document it clearly in the document. The semantics is
> that:
>
> (1) No prefix should belong to two PIDs.; (2) One obtains the union of al=
l
> prefixes defined by all PIDs; call this set of prefixes P; (3) The longes=
t
> prefix matching an IP address is identified in P. (4) The PID containing
> the prefixed identified in (3) is the PID of the IP address.
>
>
>>
>>  And the next bake-off should have a test case for this -- eg, the
>> network map should define PIDs like B1 and B2, and there should be a tes=
t
>> that 10.0.0.0 is in B1, not B2.
>>
>>
>  Good idea to test this in the next bake-off!
>
>  Richard
>
>
>>  - Wendy Roome
>>
>>   From: "Y. Richard Yang" <yry@cs.yale.edu>
>> Date: Wed, October 23, 2013 18:47
>> To: Sebastian Kiesel <ietf-alto@skiesel.de>
>> Cc: IETF ALTO <alto@ietf.org>, Wendy Roome <w.roome@alcatel-lucent.com>
>>
>> Subject: Re: [alto] Problem with "longest prefix" rule for mapping
>> endpoints to PIDs
>>
>>  These are fast responses. It seems that the majority (3:1) is to keep
>> the non-merging semantics. If we do not hear other objections, we will k=
eep
>> the current version, but do clarify using the good example from Wendy.
>>
>> Cheers,
>>
>> Richard
>>
>
>

--047d7b2e45261b461204e981f4ad
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quo=
te">On Thu, Oct 24, 2013 at 1:23 PM, Reinaldo Penno (repenno) <span dir=3D"=
ltr">&lt;<a href=3D"mailto:repenno@cisco.com" target=3D"_blank">repenno@cis=
co.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">



<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div>I disagree again. =A0If you have a prefix <a href=3D"http://0.0.0.0/0"=
 target=3D"_blank">0.0.0.0/0</a> in one PID does that mean no other prefix =
can appear in any other PID? it means that all other prefixes will overlap =
with it.=A0</div>
</div></blockquote><div><br></div><div>Not sure I understand the issue. Whi=
ch condition among the three:<br><span style=3D"color:rgb(80,0,80);font-fam=
ily:Calibri,sans-serif;font-size:14.399999618530273px">(1) No prefix should=
 belong to two PIDs.; (2) One obtains the union of all prefixes defined by =
all PIDs; call this set of prefixes P; (3) The longest prefix matching an I=
P address is identified in P. (4) The PID containing the prefixed identifie=
d in (3) is the PID of the IP address.</span><br>
</div><div><br></div><div>Is it (1)?</div><div><br></div><div>Richard</div>=
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div><br>
</div>
<div>The prefixes below could have been imported from BGP at t=3D0 and at t=
=3D1 they will be broken up. Or the PIDs can have different properties (as =
we discussed before).</div>
<div><br>
</div>
<div><br>
</div>
<span>
<div style=3D"border-width:1pt medium medium;border-style:solid none none;p=
adding:3pt 0in 0in;text-align:left;font-size:11pt;font-family:Calibri;borde=
r-top-color:rgb(181,196,223)">
<span style=3D"font-weight:bold">From: </span>&quot;Y. Yang&quot; &lt;<a hr=
ef=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Thursday, October 24, 2013 8:=
47 AM<div class=3D"im"><br>
<span style=3D"font-weight:bold">To: </span>Wendy Roome &lt;<a href=3D"mail=
to:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.com=
</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>IETF ALTO &lt;<a href=3D"mailto=
:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;<br>
</div><div><div class=3D"h5"><span style=3D"font-weight:bold">Subject: </sp=
an>Re: [alto] Problem with &quot;longest prefix&quot; rule for mapping endp=
oints to PIDs<br>
</div></div></div><div><div class=3D"h5">
<div><br>
</div>
<div>
<div>
<div dir=3D"ltr">Wendy,
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Thu, Oct 24, 2013 at 10:33 AM, Wendy Roome <s=
pan dir=3D"ltr">
&lt;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome=
@alcatel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div>I&#39;m glad to see I can still raise up a controversy!</div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>It is a very good discussion!</div>
<div>=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div>
<div>Here&#39;s the problem I saw. Consider two network maps:</div>
<div><br>
</div>
<blockquote style=3D"margin:0px 0px 0px 40px;border:none;padding:0px">
<div>MapA: =A0A1 =3D <a href=3D"http://10.0.0.0/14" target=3D"_blank">10.0.=
0.0/14</a></div>
<div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0A2 =3D <a href=3D"http://10.0.0.0/15" t=
arget=3D"_blank">10.0.0.0/15</a></div>
<div><br>
</div>
<div>MapB: =A0B1 =3D <a href=3D"http://10.0.0.0/16" target=3D"_blank">10.0.=
0.0/16</a>, <a href=3D"http://10.1.0.0/16" target=3D"_blank">
10.1.0.0/16</a>, <a href=3D"http://10.2.0.0/16" target=3D"_blank">10.2.0.0/=
16</a>, <a href=3D"http://10.3.0.0/16" target=3D"_blank">
10.3.0.0/16</a></div>
<div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0B2 =3D <a href=3D"http://10.0.0.0/15" t=
arget=3D"_blank">10.0.0.0/15</a></div>
<div><br>
</div>
</blockquote>
<div>PIDs A1 and B1 cover exactly the same set of endpoint addresses. So th=
e na=EFve view is that those two network maps are dentical.</div>
<div><span style=3D"font-family:arial;font-size:small">=A0</span><br>
</div>
</div>
</blockquote>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div>
<div>But if we strictly apply the &quot;longest prefix match&quot; rule, th=
ey are NOT identical.<span style=3D"font-family:arial;font-size:small">=A0<=
/span></div>
</div>
</blockquote>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div>In MapA, 10.0.0.0 is in A2, while in MapB, it&#39;s in B1.=A0To me, th=
at&#39;s counterintuitive. =A0If y&#39;all like that, fine. I can live with=
 that! =A0But it should be documented, because I think this has serious pot=
ential for misinterpretation.</div>

</div>
</blockquote>
<div><br>
</div>
<div>Yes. We should document it clearly in the document. The semantics is t=
hat:</div>
<div>=A0</div>
<div>(1) No prefix should belong to two PIDs.; (2) One obtains the union of=
 all prefixes defined by all PIDs; call this set of prefixes P; (3) The lon=
gest prefix matching an IP address is identified in P. (4) The PID containi=
ng the prefixed identified in (3)
 is the PID of the IP address.</div>
<div>=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div><br>
</div>
<div>And the next bake-off should have a test case for this -- eg, the netw=
ork map should define PIDs like B1 and B2, and there should be a test that =
10.0.0.0 is in B1, not B2.</div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Good idea to test this in the next bake-off!</div>
<div><br>
</div>
<div>Richard</div>
<div>=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div>
<div><span style=3D"white-space:pre-wrap"></span>- Wendy Roome</div>
<div><br>
</div>
<span>
<div style=3D"border-width:1pt medium medium;border-style:solid none none;p=
adding:3pt 0in 0in;text-align:left;font-size:11pt;font-family:Calibri;borde=
r-top-color:rgb(181,196,223)">
<span style=3D"font-weight:bold">From: </span>&quot;Y. Richard Yang&quot; &=
lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>=
&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Wed, October 23, 2013 18:47<b=
r>
<span style=3D"font-weight:bold">To: </span>Sebastian Kiesel &lt;<a href=3D=
"mailto:ietf-alto@skiesel.de" target=3D"_blank">ietf-alto@skiesel.de</a>&gt=
;<br>
<span style=3D"font-weight:bold">Cc: </span>IETF ALTO &lt;<a href=3D"mailto=
:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;, Wendy Roome &lt;<a=
 href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcat=
el-lucent.com</a>&gt;
<div><br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] Problem with &q=
uot;longest prefix&quot; rule for mapping endpoints to PIDs<br>
</div>
</div>
<div>
<div><br>
</div>
<span style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;te=
xt-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:norm=
al;border-collapse:separate;text-transform:none;font-size:medium;white-spac=
e:normal;font-family:Calibri;word-spacing:0px">
<p dir=3D"ltr">These are fast responses. It seems that the majority (3:1) i=
s to keep the non-merging semantics. If we do not hear other objections, we=
 will keep the current version, but do clarify using the good example from =
Wendy.</p>

<p dir=3D"ltr">Cheers,</p>
<p dir=3D"ltr">Richard</p>
</span></div>
</span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div></div></span>
</div>

</blockquote></div><br></div></div>

--047d7b2e45261b461204e981f4ad--

From yang.r.yang@gmail.com  Thu Oct 24 12:54:19 2013
Return-Path: <yang.r.yang@gmail.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 B824811E8218 for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 12:54:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.786
X-Spam-Level: 
X-Spam-Status: No, score=-1.786 tagged_above=-999 required=5 tests=[AWL=0.190,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TyZgI3AMI8KX for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 12:54:19 -0700 (PDT)
Received: from mail-pb0-x235.google.com (mail-pb0-x235.google.com [IPv6:2607:f8b0:400e:c01::235]) by ietfa.amsl.com (Postfix) with ESMTP id C185011E822B for <alto@ietf.org>; Thu, 24 Oct 2013 12:54:18 -0700 (PDT)
Received: by mail-pb0-f53.google.com with SMTP id up7so2528129pbc.26 for <alto@ietf.org>; Thu, 24 Oct 2013 12:54:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Y+5Yhk/3RzW0YdhvtrCJASY66txShwKH6jPt55CbwuA=; b=x7W/Hyt7qdyVYJJaeHJhDIRELYJfWit6O+O9/lyOQtFk+AK3hz/si3g0/m/t2powWt 3Uwd3jVe0PY4vr3gXFI4RoGSnq1pdCaOCNANaKXg0N7P7eEwb8GWi6qVb5+UrVqqp/Dk i/kIvCyjSU04OiKGZQiTdjHDkDxSUXt0mYfhJtKyHeAPSX2G8JRoH+YGh5mYB/3xqP15 Hhk5Mq5Sa0tyU2Q+YUhT/8IcTJk7To5gt/r7ZrxBGorZkzZ35BJCcQzKzM4SkttECMjX iuD90Zt7hZOlAEwHlF1X9KQOBh8vvG1Jw2a57dC4CmGhhxezp8f6AEnYrxh9O3LZciT3 6reA==
MIME-Version: 1.0
X-Received: by 10.68.137.9 with SMTP id qe9mr4511066pbb.133.1382644458451; Thu, 24 Oct 2013 12:54:18 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Thu, 24 Oct 2013 12:54:18 -0700 (PDT)
In-Reply-To: <CE8ED170.B1FF6%w.roome@alcatel-lucent.com>
References: <CANUuoLp6yH2TCka4aSoGBhJM362DrgqeBiN5+9VwpS7HdYSYaw@mail.gmail.com> <CE8ED170.B1FF6%w.roome@alcatel-lucent.com>
Date: Thu, 24 Oct 2013 15:54:18 -0400
X-Google-Sender-Auth: iwTbVSw8srPWnX6MFP_tVTOxUfM
Message-ID: <CANUuoLpVLY6bbYszRnL1b5B0pXnZOJPK3+GSAktgdMxZ5B_Jyg@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=047d7b2e431ccbfd4a04e981ff2f
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 19:54:19 -0000

--047d7b2e431ccbfd4a04e981ff2f
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Wendy,

On Thu, Oct 24, 2013 at 1:39 PM, Wendy Roome <w.roome@alcatel-lucent.com>wr=
ote:

> I think the protocol document should have an explicit example, such as
> "MapB", as well as giving Richard's algorithm.
>
> Case in point: Two years ago, when I first started working on an ALTO
> server, I implemented the algorithm Richard described, exactly as is. For
> "MapB", my server does indeed say that 10.0.0.0 is in B1, not B2.
>
> And until I tried that test case, I had no idea it would behave that way.
> I really thought it would say 10.0.0.0 is in B2.
>
> So I think we need to hit people over the head with this one.
>

Agree, and can do so with the example that you proposed, at least to those
who find it less intuitive.

Richard

>
> - Wendy Roome
>
> From: "Y. Richard Yang" <yry@cs.yale.edu>
> Date: Thu, October 24, 2013 11:47
> To: Wendy Roome <w.roome@alcatel-lucent.com>
> Cc: Sebastian Kiesel <ietf-alto@skiesel.de>, IETF ALTO <alto@ietf.org>
>
> Subject: Re: [alto] Problem with "longest prefix" rule for mapping
> endpoints to PIDs
>
>
>
>> Here's the problem I saw. Consider two network maps:
>>
>> MapA:  A1 =3D 10.0.0.0/14
>>                A2 =3D 10.0.0.0/15
>>
>> MapB:  B1 =3D 10.0.0.0/16, 10.1.0.0/16, 10.2.0.0/16, 10.3.0.0/16
>>                B2 =3D 10.0.0.0/15
>>
>> PIDs A1 and B1 cover exactly the same set of endpoint addresses. So the
>> na=EFve view is that those two network maps are dentical.
>>
>>
> But if we strictly apply the "longest prefix match" rule, they are NOT
>> identical.
>>
> In MapA, 10.0.0.0 is in A2, while in MapB, it's in B1. To me, that's
>> counterintuitive.  If y'all like that, fine. I can live with that!  But =
it
>> should be documented, because I think this has serious potential for
>> misinterpretation.
>>
>
> Yes. We should document it clearly in the document. The semantics is that=
:
>
> (1) No prefix should belong to two PIDs.; (2) One obtains the union of al=
l
> prefixes defined by all PIDs; call this set of prefixes P; (3) The longes=
t
> prefix matching an IP address is identified in P. (4) The PID containing
> the prefixed identified in (3) is the PID of the IP address.
>

--047d7b2e431ccbfd4a04e981ff2f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Wendy,<br><div class=3D"gmail_extra"><br><div class=3D"=
gmail_quote">On Thu, Oct 24, 2013 at 1:39 PM, Wendy Roome <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.room=
e@alcatel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;font-family:Cal=
ibri,sans-serif;word-wrap:break-word"><div>I think the protocol document sh=
ould have an explicit example, such as &quot;MapB&quot;, as well as giving =
Richard&#39;s algorithm.</div>
<div><br></div><div>Case in point: Two years ago, when I first started work=
ing on an ALTO server, I implemented the algorithm Richard described, exact=
ly as is. For &quot;MapB&quot;, my server does indeed say that 10.0.0.0 is =
in B1, not B2.</div>
<div><br></div><div>And until I tried that test case, I had no idea it woul=
d behave that way. I really thought it would say 10.0.0.0 is in B2.</div><d=
iv><br></div><div>So I think we need to hit people over the head with this =
one.</div>
</div></blockquote><div><br></div><div>Agree, and can do so with the exampl=
e that you proposed, at least to those who find it less intuitive.</div><di=
v><br></div><div>Richard=A0</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div><br></div><div><span style=3D"white-space:pre-wrap">	</span>- W=
endy Roome</div><div><br></div><span><div style=3D"border-right:medium none=
;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-si=
ze:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1p=
t solid;padding-bottom:0in;border-left:medium none">
<div class=3D"im"><span style=3D"font-weight:bold">From: </span> &quot;Y. R=
ichard Yang&quot; &lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">=
yry@cs.yale.edu</a>&gt;<br></div><span style=3D"font-weight:bold">Date: </s=
pan> Thu, October 24, 2013 11:47<br>
<span style=3D"font-weight:bold">To: </span> Wendy Roome &lt;<a href=3D"mai=
lto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.co=
m</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> Sebastian Kiesel =
&lt;<a href=3D"mailto:ietf-alto@skiesel.de" target=3D"_blank">ietf-alto@ski=
esel.de</a>&gt;, IETF ALTO &lt;<a href=3D"mailto:alto@ietf.org" target=3D"_=
blank">alto@ietf.org</a>&gt;<div class=3D"im">
<br><span style=3D"font-weight:bold">Subject: </span> Re: [alto] Problem wi=
th &quot;longest prefix&quot; rule for mapping endpoints to PIDs<br></div><=
/div><div><br></div><span style=3D"text-indent:0px;letter-spacing:normal;fo=
nt-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:nor=
mal;line-height:normal;border-collapse:separate;text-transform:none;font-si=
ze:medium;white-space:normal;font-family:Calibri;word-spacing:0px"><div>
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin-top:0px;margin-r=
ight:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-l=
eft-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div s=
tyle=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"=
>
<div></div><div>Here&#39;s the problem I saw. Consider two network maps:</d=
iv><div class=3D"im"><div><br></div><blockquote style=3D"margin-top:0px;mar=
gin-right:0px;margin-bottom:0px;margin-left:40px;border-top-style:none;bord=
er-right-style:none;border-bottom-style:none;border-left-style:none;border-=
width:initial;border-color:initial;padding-top:0px;padding-right:0px;paddin=
g-bottom:0px;padding-left:0px">
<div>MapA: =A0A1 =3D<span>=A0</span><a href=3D"http://10.0.0.0/14" target=
=3D"_blank">10.0.0.0/14</a></div><div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0A2 =3D=
<span>=A0</span><a href=3D"http://10.0.0.0/15" target=3D"_blank">10.0.0.0/1=
5</a></div><div><br></div><div>MapB: =A0B1 =3D<span>=A0</span><a href=3D"ht=
tp://10.0.0.0/16" target=3D"_blank">10.0.0.0/16</a>,<span>=A0</span><a href=
=3D"http://10.1.0.0/16" target=3D"_blank">10.1.0.0/16</a>,<span>=A0</span><=
a href=3D"http://10.2.0.0/16" target=3D"_blank">10.2.0.0/16</a>,<span>=A0</=
span><a href=3D"http://10.3.0.0/16" target=3D"_blank">10.3.0.0/16</a></div>
<div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0B2 =3D<span>=A0</span><a href=3D"http:/=
/10.0.0.0/15" target=3D"_blank">10.0.0.0/15</a></div><div><br></div></block=
quote><div>PIDs A1 and B1 cover exactly the same set of endpoint addresses.=
 So the na=EFve view is that those two network maps are dentical.</div>
<div><span style=3D"font-family:arial;font-size:small">=A0</span><br></div>=
</div></div></blockquote><div class=3D"im"><blockquote class=3D"gmail_quote=
" style=3D"margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.=
8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-st=
yle:solid;padding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div></div><div>But if we strictly apply the &quot;longest prefix ma=
tch&quot; rule, they are NOT identical.<span style=3D"font-family:arial;fon=
t-size:small">=A0</span></div>
</div></blockquote><blockquote class=3D"gmail_quote" style=3D"margin-top:0p=
x;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1p=
x;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1=
ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div>In MapA, 10.0.0.0 is in A2, while in MapB, it&#39;s in B1.=A0To=
 me, that&#39;s counterintuitive. =A0If y&#39;all like that, fine. I can li=
ve with that! =A0But it should be documented, because I think this has seri=
ous potential for misinterpretation.</div>
</div></blockquote><div><br></div><div>Yes. We should document it clearly i=
n the document. The semantics is that:</div><div>=A0</div><div>(1) No prefi=
x should belong to two PIDs.; (2) One obtains the union of all prefixes def=
ined by all PIDs; call this set of prefixes P; (3) The longest prefix match=
ing an IP address is identified in P. (4) The PID containing the prefixed i=
dentified in (3) is the PID of the IP address.</div>
</div></span></span></div>
</blockquote></div><br></div></div>

--047d7b2e431ccbfd4a04e981ff2f--

From repenno@cisco.com  Thu Oct 24 12:56:55 2013
Return-Path: <repenno@cisco.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 7C76911E8212 for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 12:56:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SCx6M1-VlRcX for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 12:56:50 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) by ietfa.amsl.com (Postfix) with ESMTP id 4BF6A11E8235 for <alto@ietf.org>; Thu, 24 Oct 2013 12:56:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=16435; q=dns/txt; s=iport; t=1382644604; x=1383854204; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=AlSezowpA13Zd1yKb8V6nb8XChESZCjP68948B0ymQE=; b=bNVLX28oCsDN4vAkrEaq4/b1XAaJaM2S/KNfclXUx7x6gSIFXE1n95oR gjnwmj9blV4U6OS8rBgN2NCNpFTesEj76iPmbzEZHn+2PsNr4ycGO9CmI BjoUgvRccNnSONvvY1aB/g66vCjJrqf8cEAAELCs+NXCnBNA3YVxxT3LN o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AlAaAC17aVKtJXG9/2dsb2JhbABZDgUBAYIuRDhUoXmKKIlziEo/YBZ0giUBAQEETC0SAQgRAgEBAgsdLA0UCQgCBA4FCId7BKw7jXiPHCARB4MfgQ0DiQebVgGFM4JlP4Iq
X-IronPort-AV: E=Sophos;i="4.93,564,1378857600";  d="scan'208,217";a="276315204"
Received: from rcdn-core2-2.cisco.com ([173.37.113.189]) by rcdn-iport-8.cisco.com with ESMTP; 24 Oct 2013 19:56:43 +0000
Received: from xhc-aln-x06.cisco.com (xhc-aln-x06.cisco.com [173.36.12.80]) by rcdn-core2-2.cisco.com (8.14.5/8.14.5) with ESMTP id r9OJuhPi002262 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 24 Oct 2013 19:56:43 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.27]) by xhc-aln-x06.cisco.com ([173.36.12.80]) with mapi id 14.02.0318.004; Thu, 24 Oct 2013 14:56:43 -0500
From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
Thread-Index: AQHO0DGcuN3633K8DEGzmav+Jiqo/5oDNx4AgAEISQCAABTRgP//pVgAgACemgD//4w8gA==
Date: Thu, 24 Oct 2013 19:56:42 +0000
Message-ID: <45A697A8FFD7CF48BCF2BE7E106F06040B73EBA3@xmb-rcd-x04.cisco.com>
In-Reply-To: <CANUuoLrqerZY2k1eZvLvfD2vBWp+Pi8BU4HcEQQUKYL-LNydLQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.3.120616
x-originating-ip: [10.21.92.173]
Content-Type: multipart/alternative; boundary="_000_45A697A8FFD7CF48BCF2BE7E106F06040B73EBA3xmbrcdx04ciscoc_"
MIME-Version: 1.0
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 19:56:55 -0000

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73EBA3xmbrcdx04ciscoc_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



From: "Y. Yang" <yry@cs.yale.edu<mailto:yry@cs.yale.edu>>
Date: Thursday, October 24, 2013 12:51 PM
To: Cisco Employee <repenno@cisco.com<mailto:repenno@cisco.com>>
Cc: Wendy Roome <w.roome@alcatel-lucent.com<mailto:w.roome@alcatel-lucent.c=
om>>, IETF ALTO <alto@ietf.org<mailto:alto@ietf.org>>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoint=
s to PIDs



On Thu, Oct 24, 2013 at 1:23 PM, Reinaldo Penno (repenno) <repenno@cisco.co=
m<mailto:repenno@cisco.com>> wrote:
I disagree again.  If you have a prefix 0.0.0.0/0<http://0.0.0.0/0> in one =
PID does that mean no other prefix can appear in any other PID? it means th=
at all other prefixes will overlap with it.

Not sure I understand the issue. Which condition among the three:
(1) No prefix should belong to two PIDs.;

[RP] Wendy pointed out that this is already in the draft. Thanks for that. =
But I'm not sure this is necessary, but that is for another time.

(2) One obtains the union of all prefixes defined by all PIDs; call this se=
t of prefixes P; (3) The longest prefix matching an IP address is identifie=
d in P. (4) The PID containing the prefixed identified in (3) is the PID of=
 the IP address.

[RP] What is needed to be said? Above is already in the draft. The way I se=
e it the draft already has everything needed.


Is it (1)?

Richard


The prefixes below could have been imported from BGP at t=3D0 and at t=3D1 =
they will be broken up. Or the PIDs can have different properties (as we di=
scussed before).


From: "Y. Yang" <yry@cs.yale.edu<mailto:yry@cs.yale.edu>>
Date: Thursday, October 24, 2013 8:47 AM

To: Wendy Roome <w.roome@alcatel-lucent.com<mailto:w.roome@alcatel-lucent.c=
om>>
Cc: IETF ALTO <alto@ietf.org<mailto:alto@ietf.org>>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoint=
s to PIDs

Wendy,


On Thu, Oct 24, 2013 at 10:33 AM, Wendy Roome <w.roome@alcatel-lucent.com<m=
ailto:w.roome@alcatel-lucent.com>> wrote:
I'm glad to see I can still raise up a controversy!


It is a very good discussion!

Here's the problem I saw. Consider two network maps:

MapA:  A1 =3D 10.0.0.0/14<http://10.0.0.0/14>
               A2 =3D 10.0.0.0/15<http://10.0.0.0/15>

MapB:  B1 =3D 10.0.0.0/16<http://10.0.0.0/16>, 10.1.0.0/16<http://10.1.0.0/=
16>, 10.2.0.0/16<http://10.2.0.0/16>, 10.3.0.0/16<http://10.3.0.0/16>
               B2 =3D 10.0.0.0/15<http://10.0.0.0/15>

PIDs A1 and B1 cover exactly the same set of endpoint addresses. So the na=
=EFve view is that those two network maps are dentical.

But if we strictly apply the "longest prefix match" rule, they are NOT iden=
tical.
In MapA, 10.0.0.0 is in A2, while in MapB, it's in B1. To me, that's counte=
rintuitive.  If y'all like that, fine. I can live with that!  But it should=
 be documented, because I think this has serious potential for misinterpret=
ation.

Yes. We should document it clearly in the document. The semantics is that:

(1) No prefix should belong to two PIDs.; (2) One obtains the union of all =
prefixes defined by all PIDs; call this set of prefixes P; (3) The longest =
prefix matching an IP address is identified in P. (4) The PID containing th=
e prefixed identified in (3) is the PID of the IP address.


And the next bake-off should have a test case for this -- eg, the network m=
ap should define PIDs like B1 and B2, and there should be a test that 10.0.=
0.0 is in B1, not B2.


Good idea to test this in the next bake-off!

Richard

- Wendy Roome

From: "Y. Richard Yang" <yry@cs.yale.edu<mailto:yry@cs.yale.edu>>
Date: Wed, October 23, 2013 18:47
To: Sebastian Kiesel <ietf-alto@skiesel.de<mailto:ietf-alto@skiesel.de>>
Cc: IETF ALTO <alto@ietf.org<mailto:alto@ietf.org>>, Wendy Roome <w.roome@a=
lcatel-lucent.com<mailto:w.roome@alcatel-lucent.com>>

Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoint=
s to PIDs


These are fast responses. It seems that the majority (3:1) is to keep the n=
on-merging semantics. If we do not hear other objections, we will keep the =
current version, but do clarify using the good example from Wendy.

Cheers,

Richard



--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73EBA3xmbrcdx04ciscoc_
Content-Type: text/html; charset="iso-8859-1"
Content-ID: <ECE2911F6B11B8488C3067C692C2D2C3@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div><br>
</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>&quot;Y. Yang&quot; &lt;<a hr=
ef=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Thursday, October 24, 2013 12=
:51 PM<br>
<span style=3D"font-weight:bold">To: </span>Cisco Employee &lt;<a href=3D"m=
ailto:repenno@cisco.com">repenno@cisco.com</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>Wendy Roome &lt;<a href=3D"mail=
to:w.roome@alcatel-lucent.com">w.roome@alcatel-lucent.com</a>&gt;, IETF ALT=
O &lt;<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] Problem with &q=
uot;longest prefix&quot; rule for mapping endpoints to PIDs<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir=3D"ltr">
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Thu, Oct 24, 2013 at 1:23 PM, Reinaldo Penno =
(repenno)
<span dir=3D"ltr">&lt;<a href=3D"mailto:repenno@cisco.com" target=3D"_blank=
">repenno@cisco.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div>I disagree again. &nbsp;If you have a prefix <a href=3D"http://0.0.0.0=
/0" target=3D"_blank">
0.0.0.0/0</a> in one PID does that mean no other prefix can appear in any o=
ther PID? it means that all other prefixes will overlap with it.&nbsp;</div=
>
</div>
</blockquote>
<div><br>
</div>
<div>Not sure I understand the issue. Which condition among the three:<br>
<span style=3D"color: rgb(80, 0, 80); font-size: 14.399999618530273px; font=
-family: Calibri, sans-serif; ">(1) No prefix should belong to two PIDs.;
</span></div>
</div>
</div>
</div>
</div>
</div>
</span>
<div><br>
</div>
<div>[RP] Wendy pointed out that this is already in the draft. Thanks for t=
hat. But I'm not sure this is necessary, but that is for another time.</div=
>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div>
<div>
<div dir=3D"ltr">
<div class=3D"gmail_extra">
<div class=3D"gmail_quote">
<div><span style=3D"color: rgb(80, 0, 80); font-size: 14.399999618530273px;=
 font-family: Calibri, sans-serif; ">(2) One obtains the union of all prefi=
xes defined by all PIDs; call this set of prefixes P; (3) The longest prefi=
x matching an IP address is identified
 in P. (4) The PID containing the prefixed identified in (3) is the PID of =
the IP address.</span></div>
</div>
</div>
</div>
</div>
</div>
</span>
<div><br>
</div>
<div>[RP] What is needed to be said? Above is already in the draft. The way=
 I see it the draft already has everything needed.&nbsp;</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div>
<div>
<div dir=3D"ltr">
<div class=3D"gmail_extra">
<div class=3D"gmail_quote">
<div><br>
</div>
<div><br>
</div>
<div>Is it (1)?</div>
<div><br>
</div>
<div>Richard</div>
<div>&nbsp;</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div><br>
</div>
<div>The prefixes below could have been imported from BGP at t=3D0 and at t=
=3D1 they will be broken up. Or the PIDs can have different properties (as =
we discussed before).</div>
<div><br>
</div>
<div><br>
</div>
<span>
<div style=3D"border-width:1pt medium medium;border-style:solid none none;p=
adding:3pt 0in 0in;text-align:left;font-size:11pt;font-family:Calibri;borde=
r-top-color:rgb(181,196,223)">
<span style=3D"font-weight:bold">From: </span>&quot;Y. Yang&quot; &lt;<a hr=
ef=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Thursday, October 24, 2013 8:=
47 AM
<div class=3D"im"><br>
<span style=3D"font-weight:bold">To: </span>Wendy Roome &lt;<a href=3D"mail=
to:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.com=
</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>IETF ALTO &lt;<a href=3D"mailto=
:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;<br>
</div>
<div>
<div class=3D"h5"><span style=3D"font-weight:bold">Subject: </span>Re: [alt=
o] Problem with &quot;longest prefix&quot; rule for mapping endpoints to PI=
Ds<br>
</div>
</div>
</div>
<div>
<div class=3D"h5">
<div><br>
</div>
<div>
<div>
<div dir=3D"ltr">Wendy,
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Thu, Oct 24, 2013 at 10:33 AM, Wendy Roome <s=
pan dir=3D"ltr">
&lt;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome=
@alcatel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div>I'm glad to see I can still raise up a controversy!</div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>It is a very good discussion!</div>
<div>&nbsp;</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div>
<div>Here's the problem I saw. Consider two network maps:</div>
<div><br>
</div>
<blockquote style=3D"margin:0px 0px 0px 40px;border:none;padding:0px">
<div>MapA: &nbsp;A1 =3D <a href=3D"http://10.0.0.0/14" target=3D"_blank">10=
.0.0.0/14</a></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;A2 =3D <a href=
=3D"http://10.0.0.0/15" target=3D"_blank">10.0.0.0/15</a></div>
<div><br>
</div>
<div>MapB: &nbsp;B1 =3D <a href=3D"http://10.0.0.0/16" target=3D"_blank">10=
.0.0.0/16</a>, <a href=3D"http://10.1.0.0/16" target=3D"_blank">
10.1.0.0/16</a>, <a href=3D"http://10.2.0.0/16" target=3D"_blank">10.2.0.0/=
16</a>, <a href=3D"http://10.3.0.0/16" target=3D"_blank">
10.3.0.0/16</a></div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;B2 =3D <a href=
=3D"http://10.0.0.0/15" target=3D"_blank">10.0.0.0/15</a></div>
<div><br>
</div>
</blockquote>
<div>PIDs A1 and B1 cover exactly the same set of endpoint addresses. So th=
e na=EFve view is that those two network maps are dentical.</div>
<div><span style=3D"font-family:arial;font-size:small">&nbsp;</span><br>
</div>
</div>
</blockquote>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div>
<div>But if we strictly apply the &quot;longest prefix match&quot; rule, th=
ey are NOT identical.<span style=3D"font-family:arial;font-size:small">&nbs=
p;</span></div>
</div>
</blockquote>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div>In MapA, 10.0.0.0 is in A2, while in MapB, it's in B1.&nbsp;To me, tha=
t's counterintuitive. &nbsp;If y'all like that, fine. I can live with that!=
 &nbsp;But it should be documented, because I think this has serious potent=
ial for misinterpretation.</div>
</div>
</blockquote>
<div><br>
</div>
<div>Yes. We should document it clearly in the document. The semantics is t=
hat:</div>
<div>&nbsp;</div>
<div>(1) No prefix should belong to two PIDs.; (2) One obtains the union of=
 all prefixes defined by all PIDs; call this set of prefixes P; (3) The lon=
gest prefix matching an IP address is identified in P. (4) The PID containi=
ng the prefixed identified in (3)
 is the PID of the IP address.</div>
<div>&nbsp;</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div><br>
</div>
<div>And the next bake-off should have a test case for this -- eg, the netw=
ork map should define PIDs like B1 and B2, and there should be a test that =
10.0.0.0 is in B1, not B2.</div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Good idea to test this in the next bake-off!</div>
<div><br>
</div>
<div>Richard</div>
<div>&nbsp;</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div>
<div><span style=3D"white-space:pre-wrap"></span>- Wendy Roome</div>
<div><br>
</div>
<span>
<div style=3D"border-width:1pt medium medium;border-style:solid none none;p=
adding:3pt 0in 0in;text-align:left;font-size:11pt;font-family:Calibri;borde=
r-top-color:rgb(181,196,223)">
<span style=3D"font-weight:bold">From: </span>&quot;Y. Richard Yang&quot; &=
lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>=
&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Wed, October 23, 2013 18:47<b=
r>
<span style=3D"font-weight:bold">To: </span>Sebastian Kiesel &lt;<a href=3D=
"mailto:ietf-alto@skiesel.de" target=3D"_blank">ietf-alto@skiesel.de</a>&gt=
;<br>
<span style=3D"font-weight:bold">Cc: </span>IETF ALTO &lt;<a href=3D"mailto=
:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;, Wendy Roome &lt;<a=
 href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcat=
el-lucent.com</a>&gt;
<div><br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] Problem with &q=
uot;longest prefix&quot; rule for mapping endpoints to PIDs<br>
</div>
</div>
<div>
<div><br>
</div>
<span style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;te=
xt-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:norm=
al;border-collapse:separate;text-transform:none;font-size:medium;white-spac=
e:normal;font-family:Calibri;word-spacing:0px">
<p dir=3D"ltr">These are fast responses. It seems that the majority (3:1) i=
s to keep the non-merging semantics. If we do not hear other objections, we=
 will keep the current version, but do clarify using the good example from =
Wendy.</p>
<p dir=3D"ltr">Cheers,</p>
<p dir=3D"ltr">Richard</p>
</span></div>
</span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</span>
</body>
</html>

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73EBA3xmbrcdx04ciscoc_--

From yang.r.yang@gmail.com  Thu Oct 24 13:02:26 2013
Return-Path: <yang.r.yang@gmail.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 7BD0E11E82F8 for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 13:02:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.791
X-Spam-Level: 
X-Spam-Status: No, score=-1.791 tagged_above=-999 required=5 tests=[AWL=0.185,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l9EkwU+bkGtY for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 13:02:25 -0700 (PDT)
Received: from mail-pd0-x232.google.com (mail-pd0-x232.google.com [IPv6:2607:f8b0:400e:c02::232]) by ietfa.amsl.com (Postfix) with ESMTP id E533B11E83A9 for <alto@ietf.org>; Thu, 24 Oct 2013 13:02:03 -0700 (PDT)
Received: by mail-pd0-f178.google.com with SMTP id x10so2683455pdj.23 for <alto@ietf.org>; Thu, 24 Oct 2013 13:02:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ZGtyvvVddDjy0idoxCZ43vdri101oj+ZVFN9DVD9hRk=; b=Vjksi17S68bOo4P9nF6N4hLmdDQGM78LyvAiDyHrieGRKDQLoKKP3jD14Cjnb+mQiG NM/kOcel8kjMPOT9Qxh1w4h+vOxX9+irkrWVMFS4firSwj3CrHqN2UCUa95rksLFIkYp +Lcmrf00fcohujLCa4dGiG7F/A5G5/jsDQxmXbLPhP1qdxaAK0/fPmYa9VyACfcfp8Uy oUafl3h1kIs38xTJFLwfKsy3dBaNmrvMcdBB96bZcuad01hudrhXgC94cxvUGiOyXxTI 2BF/kHlGpy1NWk5vqWmfwO1FjcGKNZLD+KTcptiD0LKFI1gDbw+VtfHA8msOf/sTTRth 8GoA==
MIME-Version: 1.0
X-Received: by 10.69.15.226 with SMTP id fr2mr4495229pbd.161.1382644923655; Thu, 24 Oct 2013 13:02:03 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Thu, 24 Oct 2013 13:02:03 -0700 (PDT)
In-Reply-To: <20131024184316.GD4845@gw01.ehlo.wurstkaes.de>
References: <CANUuoLrfTebMEqn2GJFG5ebQer0ywAJFxJC7n19Rta35KwWhHg@mail.gmail.com> <CE8EA242.B0C36%w.roome@alcatel-lucent.com> <20131024184316.GD4845@gw01.ehlo.wurstkaes.de>
Date: Thu, 24 Oct 2013 16:02:03 -0400
X-Google-Sender-Auth: -czbKS7IjjOP1G15dm9EAbtB4rk
Message-ID: <CANUuoLr3kMvrHqaMm_MRJL6OCeN+DCf0osSq1ZwJVN8D=txUMQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Sebastian Kiesel <ietf-alto@skiesel.de>
Content-Type: multipart/alternative; boundary=047d7b671df486737604e9821b7d
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 20:02:26 -0000

--047d7b671df486737604e9821b7d
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 24, 2013 at 2:43 PM, Sebastian Kiesel <ietf-alto@skiesel.de>wro=
te:

> Wendy,
>
> On Thu, Oct 24, 2013 at 10:33:20AM -0400, Wendy Roome wrote:
> > I'm glad to see I can still raise up a controversy!
> >
> > Here's the problem I saw. Consider two network maps:
> >
> > > MapA:  A1 =3D 10.0.0.0/14
> > >                A2 =3D 10.0.0.0/15
> > >
> > > MapB:  B1 =3D 10.0.0.0/16, 10.1.0.0/16, 10.2.0.0/16, 10.3.0.0/16
> > >                B2 =3D 10.0.0.0/15
> > >
> > PIDs A1 and B1 cover exactly the same set of endpoint addresses. So the
> > na=C4=8Fve view is that those two network maps are dentical.
> >
> > But if we strictly apply the "longest prefix match" rule, they are NOT
> > identical. In MapA, 10.0.0.0 is in A2, while in MapB, it's in B1. To me=
,
> > that's counterintuitive.  If y'all like that, fine. I can live with tha=
t!
>
> Believe it or not, but for me this client behavior *is* intuitive.
> Another story is, why would one create such a strange map?
>
>
>
>
> Maybe in a scenario like this:
>
> At time t0:
>
> C1 =3D 10.0.0.0/14
> C101 =3D 10.0.0.0/16, 10.2.0.0/16
> C102 =3D 10.1.0.0/16, 10.3.0.0/16
>
and the corresponding cost map tells you (in an appropriate metric):
>
> C1 is manually and statically configured as a catch-all for my whole
> prefix. I can't say where these IP addresses are located exactly, but
> at least they are somewhere in my network.
>
> C101 is automatically exported from the network management system. The
> routing protocol says these prefixes are in my westcoast data center
> and the detailed properties are as follows: foo
>
> C102 is ... eastcoast ... : bar
>
>
> some time later, all prefixes move to westcoast. So at time t1:
>
> if the management system / map generator is not too clever:
>
> D1 =3D 10.0.0.0/14
> D101 =3D 10.0.0.0/16, 10.2.0.0/16, 10.1.0.0/16, 10.3.0.0/16
> D102 =3D (empty or undefined)
>
>
>
Interesting scenario.


> In this case for me it would be intuitive to say that matching
> 10.0.0.1 to D101 should give better information than D1.
>
> if the management system / map generator is a bit more clever and
> figures out that prefixes can be aggregated, but not clever enough
> to remove the "screened" default entry:
>
> E1 =3D 10.0.0.0/14
> E101 =3D 10.0.0.0/14
> E102 =3D (empty or undefined)
>
> Again, the intuitive answer is that E101 would probably give better
> results than E1.  But what does the spec say? All I could find was:
>
>
>    Each endpoint MUST map into exactly one PID.  Since longest-prefix
>    matching is used to map an endpoint to a PID, this can be
>    accomplished by ensuring that no two PIDs contain an identical IP
>    prefix.  (sec. 5.2.1.)
>
>
> This wording seems a bit strange to me. Does the "can" in the second
> sentence suggest that there are alternatives? I think this should be
> reworded. I see several options:
>
> 1.  clarify what we have now, e.g.:
>
>     A valid network map MUST NOT define two or more PIDs which contain
>     an identical IP prefix, in order to ensure that the longest-prefix
>     matching algorithm maps each endpoint into exactly one PID.
>
>
A good clarification.


> 2.  specify what should happen if a map contains two PIDs with the
>     same prefix:
>
>     2a) the client may randomly chose one
>     2b) the client must use the pid with the prefix that appeared
>         first in the json structure
>     2c) the client must use the pid with the prefix that appeared
>         last in the json structure
>     2d) the client must lexicographically sort the PID names
>         of PIDs that contain the prefix and take the first one
>     2e) the client must lexicographically sort the PID names
>         of PIDs that contain the prefix and take the last one
>
>
> I'd prefer one of the 2d) or 2e) options.
>
>
> If I have to choose among the five choices, 2d) and 2e) look reasonable.
But for this case, a simpler statement is that the server misbehaved, and
sends a wrong piece of information, and our protocol does not have a 3rd
step to send feedback to the server. It falls to the domain of client
verifying server information. I would classify it as a case that can be
handled by Section 15.2? Does this make sense?

Richard


> Any thoughts on that?
>
> Thanks,
> Sebastian
>

--047d7b671df486737604e9821b7d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><br><div class=3D"gmail=
_quote">On Thu, Oct 24, 2013 at 2:43 PM, Sebastian Kiesel <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:ietf-alto@skiesel.de" target=3D"_blank">ietf-alto@sk=
iesel.de</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Wendy,<br>
<div class=3D"im"><br>
On Thu, Oct 24, 2013 at 10:33:20AM -0400, Wendy Roome wrote:<br>
&gt; I&#39;m glad to see I can still raise up a controversy!<br>
&gt;<br>
&gt; Here&#39;s the problem I saw. Consider two network maps:<br>
&gt;<br>
&gt; &gt; MapA: =C2=A0A1 =3D <a href=3D"http://10.0.0.0/14" target=3D"_blan=
k">10.0.0.0/14</a><br>
&gt; &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0A2 =3D <a =
href=3D"http://10.0.0.0/15" target=3D"_blank">10.0.0.0/15</a><br>
&gt; &gt;<br>
&gt; &gt; MapB: =C2=A0B1 =3D <a href=3D"http://10.0.0.0/16" target=3D"_blan=
k">10.0.0.0/16</a>, <a href=3D"http://10.1.0.0/16" target=3D"_blank">10.1.0=
.0/16</a>, <a href=3D"http://10.2.0.0/16" target=3D"_blank">10.2.0.0/16</a>=
, <a href=3D"http://10.3.0.0/16" target=3D"_blank">10.3.0.0/16</a><br>

&gt; &gt; =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0B2 =3D <a =
href=3D"http://10.0.0.0/15" target=3D"_blank">10.0.0.0/15</a><br>
&gt; &gt;<br>
&gt; PIDs A1 and B1 cover exactly the same set of endpoint addresses. So th=
e<br>
</div>&gt; na=C4=8Fve view is that those two network maps are dentical.<br>
<div class=3D"im">&gt;<br>
&gt; But if we strictly apply the &quot;longest prefix match&quot; rule, th=
ey are NOT<br>
&gt; identical. In MapA, 10.0.0.0 is in A2, while in MapB, it&#39;s in B1. =
To me,<br>
&gt; that&#39;s counterintuitive. =C2=A0If y&#39;all like that, fine. I can=
 live with that!<br>
<br>
</div>Believe it or not, but for me this client behavior *is* intuitive.<br=
>
Another story is, why would one create such a strange map?<br>
<br>
<br>
<br>
<br>
Maybe in a scenario like this:<br>
<br>
At time t0:<br>
<br>
C1 =3D <a href=3D"http://10.0.0.0/14" target=3D"_blank">10.0.0.0/14</a><br>
C101 =3D <a href=3D"http://10.0.0.0/16" target=3D"_blank">10.0.0.0/16</a>, =
<a href=3D"http://10.2.0.0/16" target=3D"_blank">10.2.0.0/16</a><br>
C102 =3D <a href=3D"http://10.1.0.0/16" target=3D"_blank">10.1.0.0/16</a>, =
<a href=3D"http://10.3.0.0/16" target=3D"_blank">10.3.0.0/16</a>=C2=A0<br><=
/blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">

and the corresponding cost map tells you (in an appropriate metric):<br>
<br>
C1 is manually and statically configured as a catch-all for my whole<br>
prefix. I can&#39;t say where these IP addresses are located exactly, but<b=
r>
at least they are somewhere in my network.<br>
<br>
C101 is automatically exported from the network management system. The<br>
routing protocol says these prefixes are in my westcoast data center<br>
and the detailed properties are as follows: foo<br>
<br>
C102 is ... eastcoast ... : bar<br>
<br>
<br>
some time later, all prefixes move to westcoast. So at time t1:<br>
<br>
if the management system / map generator is not too clever:<br>
<br>
D1 =3D <a href=3D"http://10.0.0.0/14" target=3D"_blank">10.0.0.0/14</a><br>
D101 =3D <a href=3D"http://10.0.0.0/16" target=3D"_blank">10.0.0.0/16</a>, =
<a href=3D"http://10.2.0.0/16" target=3D"_blank">10.2.0.0/16</a>, <a href=
=3D"http://10.1.0.0/16" target=3D"_blank">10.1.0.0/16</a>, <a href=3D"http:=
//10.3.0.0/16
D102" target=3D"_blank">10.3.0.0/16<br>
D102</a> =3D (empty or undefined)<br>
<br>
<br></blockquote><div><br></div><div>Interesting scenario.</div><div>=C2=A0=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex">
In this case for me it would be intuitive to say that matching<br>
10.0.0.1 to D101 should give better information than D1.<br><br>
if the management system / map generator is a bit more clever and<br>
figures out that prefixes can be aggregated, but not clever enough<br>
to remove the &quot;screened&quot; default entry:<br>
<br>
E1 =3D <a href=3D"http://10.0.0.0/14" target=3D"_blank">10.0.0.0/14</a><br>
E101 =3D <a href=3D"http://10.0.0.0/14" target=3D"_blank">10.0.0.0/14</a><b=
r>
E102 =3D (empty or undefined)<br>
<br>
Again, the intuitive answer is that E101 would probably give better<br>
results than E1. =C2=A0But what does the spec say? All I could find was:<br=
>
<br>
<br>
=C2=A0 =C2=A0Each endpoint MUST map into exactly one PID. =C2=A0Since longe=
st-prefix<br>
=C2=A0 =C2=A0matching is used to map an endpoint to a PID, this can be<br>
=C2=A0 =C2=A0accomplished by ensuring that no two PIDs contain an identical=
 IP<br>
=C2=A0 =C2=A0prefix. =C2=A0(sec. 5.2.1.)<br>
<br>
<br>
This wording seems a bit strange to me. Does the &quot;can&quot; in the sec=
ond<br>
sentence suggest that there are alternatives? I think this should be<br>
reworded. I see several options:<br>
<br>
1. =C2=A0clarify what we have now, e.g.:<br>
<br>
=C2=A0 =C2=A0 A valid network map MUST NOT define two or more PIDs which co=
ntain<br>
=C2=A0 =C2=A0 an identical IP prefix, in order to ensure that the longest-p=
refix<br>
=C2=A0 =C2=A0 matching algorithm maps each endpoint into exactly one PID.<b=
r><br></blockquote><div><br></div><div>A good clarification.=C2=A0</div><di=
v>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">

2. =C2=A0specify what should happen if a map contains two PIDs with the<br>
=C2=A0 =C2=A0 same prefix:<br>
<br>
=C2=A0 =C2=A0 2a) the client may randomly chose one<br>
=C2=A0 =C2=A0 2b) the client must use the pid with the prefix that appeared=
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 first in the json structure<br>
=C2=A0 =C2=A0 2c) the client must use the pid with the prefix that appeared=
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 last in the json structure<br>
=C2=A0 =C2=A0 2d) the client must lexicographically sort the PID names<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 of PIDs that contain the prefix and take the fi=
rst one<br>
=C2=A0 =C2=A0 2e) the client must lexicographically sort the PID names<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 of PIDs that contain the prefix and take the la=
st one<br>
<br>
<br>
I&#39;d prefer one of the 2d) or 2e) options.<br>
<br>
<br></blockquote><div>If I have to choose among the five choices, 2d) and 2=
e) look reasonable. But for this case, a simpler statement is that the serv=
er misbehaved, and sends a wrong piece of information, and our protocol doe=
s not have a 3rd step to send feedback to the server. It falls to the domai=
n of client verifying server information. I would classify it as a case tha=
t can be handled by Section 15.2? Does this make sense?</div>
<div><br></div><div>Richard</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
Any thoughts on that?<br>
<br>
Thanks,<br>
Sebastian<br>
</blockquote></div><br></div></div>

--047d7b671df486737604e9821b7d--

From yang.r.yang@gmail.com  Thu Oct 24 13:10:34 2013
Return-Path: <yang.r.yang@gmail.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 9C77011E81A0 for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 13:10:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.797
X-Spam-Level: 
X-Spam-Status: No, score=-1.797 tagged_above=-999 required=5 tests=[AWL=0.179,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J-xUfs84RFqL for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 13:10:33 -0700 (PDT)
Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) by ietfa.amsl.com (Postfix) with ESMTP id 1DE9C11E8108 for <alto@ietf.org>; Thu, 24 Oct 2013 13:10:33 -0700 (PDT)
Received: by mail-pd0-f177.google.com with SMTP id p10so2927844pdj.36 for <alto@ietf.org>; Thu, 24 Oct 2013 13:10:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=uR98TDxo2ca2MyxOqv919tDzIVHSgHzcPmyCvdTAv3w=; b=ymyTVCZpv0kRNh9P0ZvtY6JkEjPWNAgUMLCwcTUvtg08utgdZBAy/V5YEPWJjwfH8U 9SirTnOjONL6ZSvixZugIka1gqpnZ9Q4sbIgAEIj+8GRwwwPfOc22RtQX9rR47WU5R3y HZRSjyhpolWj2fOI7GOk0+YMmzTc7xjnW3fkjXcoOtgWCzDl5I+aBI3BwVvoIA+57hqL BDloEdrX6uTNq1yJ6jF+ldjE9KbfUqX1nHNgC4TmRrHoNE9ZIvEH+9SDThnFgxgHBUVX xiXSlH7ouGMT+Rl25yEH0zDc276RARR6f3C7DTRJm/qTle15iLR+Jc0emMmguUlQnrmi 0WSA==
MIME-Version: 1.0
X-Received: by 10.66.12.103 with SMTP id x7mr5158431pab.54.1382645432935; Thu, 24 Oct 2013 13:10:32 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Thu, 24 Oct 2013 13:10:32 -0700 (PDT)
In-Reply-To: <45A697A8FFD7CF48BCF2BE7E106F06040B73EBA3@xmb-rcd-x04.cisco.com>
References: <CANUuoLrqerZY2k1eZvLvfD2vBWp+Pi8BU4HcEQQUKYL-LNydLQ@mail.gmail.com> <45A697A8FFD7CF48BCF2BE7E106F06040B73EBA3@xmb-rcd-x04.cisco.com>
Date: Thu, 24 Oct 2013 16:10:32 -0400
X-Google-Sender-Auth: Os486Nuq6rrLbMXzgIZot3iXm8U
Message-ID: <CANUuoLqdTDApOiiY4rfrssp9uF4-npZeMasfgdih=Lt_-7jK7Q@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: "Reinaldo Penno (repenno)" <repenno@cisco.com>
Content-Type: multipart/alternative; boundary=bcaec520ea63e16b9304e9823997
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 20:10:34 -0000

--bcaec520ea63e16b9304e9823997
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 24, 2013 at 3:56 PM, Reinaldo Penno (repenno) <repenno@cisco.co=
m
> wrote:

>
>
>   From: "Y. Yang" <yry@cs.yale.edu>
> Date: Thursday, October 24, 2013 12:51 PM
> To: Cisco Employee <repenno@cisco.com>
> Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
>
> Subject: Re: [alto] Problem with "longest prefix" rule for mapping
> endpoints to PIDs
>
> On Thu, Oct 24, 2013 at 1:23 PM, Reinaldo Penno (repenno) <
> repenno@cisco.com> wrote:
>
>>  I disagree again.  If you have a prefix 0.0.0.0/0 in one PID does that
>> mean no other prefix can appear in any other PID? it means that all othe=
r
>> prefixes will overlap with it.
>>
>
>  Not sure I understand the issue. Which condition among the three:
> (1) No prefix should belong to two PIDs.;
>
>  [RP] Wendy pointed out that this is already in the draft. Thanks for
> that. But I'm not sure this is necessary, but that is for another time.
>
>
Good statement. No-duplicate is not a necessary condition, but only a
sufficient condition. The wording in the current draft is "can", as
Sebastian pointed out. We often use "can" to imply "only sufficient" in
such a setting. It is not necessary when one considers the following case
(the duplicated prefix is dominated by a more specific prefix both PIDs).
But for now, I am fine with Sebastian's wording of enforcing the sufficient
condition.


>     (2) One obtains the union of all prefixes defined by all PIDs; call
> this set of prefixes P; (3) The longest prefix matching an IP address is
> identified in P. (4) The PID containing the prefixed identified in (3) is
> the PID of the IP address.
>
>  [RP] What is needed to be said? Above is already in the draft. The way I
> see it the draft already has everything needed.
>
>
> The current draft already has everything. Putting the conditions together
is to make potential issues more explicit, and can make the draft easier to
read.

Richard


>  Is it (1)?
>
>  Richard
>
>
>>
>>  The prefixes below could have been imported from BGP at t=3D0 and at t=
=3D1
>> they will be broken up. Or the PIDs can have different properties (as we
>> discussed before).
>>
>>
>>   From: "Y. Yang" <yry@cs.yale.edu>
>> Date: Thursday, October 24, 2013 8:47 AM
>>
>> To: Wendy Roome <w.roome@alcatel-lucent.com>
>> Cc: IETF ALTO <alto@ietf.org>
>>  Subject: Re: [alto] Problem with "longest prefix" rule for mapping
>> endpoints to PIDs
>>
>>   Wendy,
>>
>>
>> On Thu, Oct 24, 2013 at 10:33 AM, Wendy Roome <w.roome@alcatel-lucent.co=
m
>> > wrote:
>>
>>>  I'm glad to see I can still raise up a controversy!
>>>
>>>
>>  It is a very good discussion!
>>
>>
>>>  Here's the problem I saw. Consider two network maps:
>>>
>>>  MapA:  A1 =3D 10.0.0.0/14
>>>                A2 =3D 10.0.0.0/15
>>>
>>>  MapB:  B1 =3D 10.0.0.0/16, 10.1.0.0/16, 10.2.0.0/16, 10.3.0.0/16
>>>                B2 =3D 10.0.0.0/15
>>>
>>>  PIDs A1 and B1 cover exactly the same set of endpoint addresses. So
>>> the na=EFve view is that those two network maps are dentical.
>>>
>>>
>>   But if we strictly apply the "longest prefix match" rule, they are NOT
>>> identical.
>>>
>>  In MapA, 10.0.0.0 is in A2, while in MapB, it's in B1. To me, that's
>>> counterintuitive.  If y'all like that, fine. I can live with that!  But=
 it
>>> should be documented, because I think this has serious potential for
>>> misinterpretation.
>>>
>>
>>  Yes. We should document it clearly in the document. The semantics is
>> that:
>>
>> (1) No prefix should belong to two PIDs.; (2) One obtains the union of
>> all prefixes defined by all PIDs; call this set of prefixes P; (3) The
>> longest prefix matching an IP address is identified in P. (4) The PID
>> containing the prefixed identified in (3) is the PID of the IP address.
>>
>>
>>>
>>>  And the next bake-off should have a test case for this -- eg, the
>>> network map should define PIDs like B1 and B2, and there should be a te=
st
>>> that 10.0.0.0 is in B1, not B2.
>>>
>>>
>>  Good idea to test this in the next bake-off!
>>
>>  Richard
>>
>>
>>>  - Wendy Roome
>>>
>>>   From: "Y. Richard Yang" <yry@cs.yale.edu>
>>> Date: Wed, October 23, 2013 18:47
>>> To: Sebastian Kiesel <ietf-alto@skiesel.de>
>>> Cc: IETF ALTO <alto@ietf.org>, Wendy Roome <w.roome@alcatel-lucent.com>
>>>
>>> Subject: Re: [alto] Problem with "longest prefix" rule for mapping
>>> endpoints to PIDs
>>>
>>>  These are fast responses. It seems that the majority (3:1) is to keep
>>> the non-merging semantics. If we do not hear other objections, we will =
keep
>>> the current version, but do clarify using the good example from Wendy.
>>>
>>> Cheers,
>>>
>>> Richard
>>>
>>
>>
>

--bcaec520ea63e16b9304e9823997
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, Oct 24, 2013 at 3:56 PM, Reinaldo Penno (repenno) <span dir=3D"=
ltr">&lt;<a href=3D"mailto:repenno@cisco.com" target=3D"_blank">repenno@cis=
co.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">



<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div><br>
</div>
<div><br>
</div>
<span>
<div style=3D"border-right:medium none;padding-right:0in;padding-left:0in;p=
adding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;fon=
t-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-lef=
t:medium none">

<span style=3D"font-weight:bold">From: </span>&quot;Y. Yang&quot; &lt;<a hr=
ef=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Thursday, October 24, 2013 12=
:51 PM<br>
<span style=3D"font-weight:bold">To: </span>Cisco Employee &lt;<a href=3D"m=
ailto:repenno@cisco.com" target=3D"_blank">repenno@cisco.com</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>Wendy Roome &lt;<a href=3D"mail=
to:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.com=
</a>&gt;, IETF ALTO &lt;<a href=3D"mailto:alto@ietf.org" target=3D"_blank">=
alto@ietf.org</a>&gt;<div class=3D"im">
<br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] Problem with &q=
uot;longest prefix&quot; rule for mapping endpoints to PIDs<br>
</div></div>
<div><br></div><div><div><div dir=3D"ltr"><div class=3D"gmail_extra"><div c=
lass=3D"im">
<div class=3D"gmail_quote">On Thu, Oct 24, 2013 at 1:23 PM, Reinaldo Penno =
(repenno)
<span dir=3D"ltr">&lt;<a href=3D"mailto:repenno@cisco.com" target=3D"_blank=
">repenno@cisco.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div>I disagree again. =A0If you have a prefix <a href=3D"http://0.0.0.0/0"=
 target=3D"_blank">
0.0.0.0/0</a> in one PID does that mean no other prefix can appear in any o=
ther PID? it means that all other prefixes will overlap with it.=A0</div>
</div>
</blockquote>
<div><br>
</div>
<div>Not sure I understand the issue. Which condition among the three:<br>
<span style=3D"color:rgb(80,0,80);font-size:14.399999618530273px;font-famil=
y:Calibri,sans-serif">(1) No prefix should belong to two PIDs.;
</span></div>
</div>
</div></div>
</div>
</div>
</div>
</span>
<div><br>
</div>
<div>[RP] Wendy pointed out that this is already in the draft. Thanks for t=
hat. But I&#39;m not sure this is necessary, but that is for another time.<=
/div><div class=3D"im">
<div><br></div></div></div></blockquote><div><br></div><div>Good statement.=
 No-duplicate is not a necessary condition, but only a sufficient condition=
. The wording in the current draft is &quot;can&quot;, as Sebastian pointed=
 out. We often use &quot;can&quot; to imply &quot;only sufficient&quot; in =
such a setting. It is not necessary when one considers the following case (=
the duplicated prefix is dominated by a more specific prefix both PIDs). Bu=
t for now, I am fine with Sebastian&#39;s wording of enforcing the sufficie=
nt condition.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex"><div style=3D"font-size:14px;f=
ont-family:Calibri,sans-serif;word-wrap:break-word"><div class=3D"im"><div>
</div>
<span>
<div>
<div>
<div dir=3D"ltr">
<div class=3D"gmail_extra">
<div class=3D"gmail_quote">
<div><span style=3D"color:rgb(80,0,80);font-size:14.399999618530273px;font-=
family:Calibri,sans-serif">(2) One obtains the union of all prefixes define=
d by all PIDs; call this set of prefixes P; (3) The longest prefix matching=
 an IP address is identified
 in P. (4) The PID containing the prefixed identified in (3) is the PID of =
the IP address.</span></div>
</div>
</div>
</div>
</div>
</div>
</span>
<div><br>
</div>
</div><div>[RP] What is needed to be said? Above is already in the draft. T=
he way I see it the draft already has everything needed.=A0</div><div><div =
class=3D"h5">
<span>
<div>
<div>
<div dir=3D"ltr">
<div class=3D"gmail_extra">
<div class=3D"gmail_quote">
<div><br>
</div>
<div><br></div></div></div></div></div></div></span></div></div></div></blo=
ckquote><div>The current draft already has everything. Putting the conditio=
ns together is to make potential issues more explicit, and can make the dra=
ft easier to read.</div>
<div><br></div><div>Richard=A0</div><div>=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap=
:break-word">
<div><div class=3D"h5"><span><div><div><div dir=3D"ltr"><div class=3D"gmail=
_extra"><div class=3D"gmail_quote"><div>
</div>
<div>Is it (1)?</div>
<div><br>
</div>
<div>Richard</div>
<div>=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div><br>
</div>
<div>The prefixes below could have been imported from BGP at t=3D0 and at t=
=3D1 they will be broken up. Or the PIDs can have different properties (as =
we discussed before).</div>
<div><br>
</div>
<div><br>
</div>
<span>
<div style=3D"border-width:1pt medium medium;border-style:solid none none;p=
adding:3pt 0in 0in;text-align:left;font-size:11pt;font-family:Calibri;borde=
r-top-color:rgb(181,196,223)">
<span style=3D"font-weight:bold">From: </span>&quot;Y. Yang&quot; &lt;<a hr=
ef=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Thursday, October 24, 2013 8:=
47 AM
<div><br>
<span style=3D"font-weight:bold">To: </span>Wendy Roome &lt;<a href=3D"mail=
to:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcatel-lucent.com=
</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>IETF ALTO &lt;<a href=3D"mailto=
:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;<br>
</div>
<div>
<div><span style=3D"font-weight:bold">Subject: </span>Re: [alto] Problem wi=
th &quot;longest prefix&quot; rule for mapping endpoints to PIDs<br>
</div>
</div>
</div>
<div>
<div>
<div><br>
</div>
<div>
<div>
<div dir=3D"ltr">Wendy,
<div class=3D"gmail_extra"><br>
<br>
<div class=3D"gmail_quote">On Thu, Oct 24, 2013 at 10:33 AM, Wendy Roome <s=
pan dir=3D"ltr">
&lt;<a href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome=
@alcatel-lucent.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div>I&#39;m glad to see I can still raise up a controversy!</div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>It is a very good discussion!</div>
<div>=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div>
<div>Here&#39;s the problem I saw. Consider two network maps:</div>
<div><br>
</div>
<blockquote style=3D"margin:0px 0px 0px 40px;border:none;padding:0px">
<div>MapA: =A0A1 =3D <a href=3D"http://10.0.0.0/14" target=3D"_blank">10.0.=
0.0/14</a></div>
<div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0A2 =3D <a href=3D"http://10.0.0.0/15" t=
arget=3D"_blank">10.0.0.0/15</a></div>
<div><br>
</div>
<div>MapB: =A0B1 =3D <a href=3D"http://10.0.0.0/16" target=3D"_blank">10.0.=
0.0/16</a>, <a href=3D"http://10.1.0.0/16" target=3D"_blank">
10.1.0.0/16</a>, <a href=3D"http://10.2.0.0/16" target=3D"_blank">10.2.0.0/=
16</a>, <a href=3D"http://10.3.0.0/16" target=3D"_blank">
10.3.0.0/16</a></div>
<div>=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0B2 =3D <a href=3D"http://10.0.0.0/15" t=
arget=3D"_blank">10.0.0.0/15</a></div>
<div><br>
</div>
</blockquote>
<div>PIDs A1 and B1 cover exactly the same set of endpoint addresses. So th=
e na=EFve view is that those two network maps are dentical.</div>
<div><span style=3D"font-family:arial;font-size:small">=A0</span><br>
</div>
</div>
</blockquote>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div>
<div>But if we strictly apply the &quot;longest prefix match&quot; rule, th=
ey are NOT identical.<span style=3D"font-family:arial;font-size:small">=A0<=
/span></div>
</div>
</blockquote>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div>In MapA, 10.0.0.0 is in A2, while in MapB, it&#39;s in B1.=A0To me, th=
at&#39;s counterintuitive. =A0If y&#39;all like that, fine. I can live with=
 that! =A0But it should be documented, because I think this has serious pot=
ential for misinterpretation.</div>

</div>
</blockquote>
<div><br>
</div>
<div>Yes. We should document it clearly in the document. The semantics is t=
hat:</div>
<div>=A0</div>
<div>(1) No prefix should belong to two PIDs.; (2) One obtains the union of=
 all prefixes defined by all PIDs; call this set of prefixes P; (3) The lon=
gest prefix matching an IP address is identified in P. (4) The PID containi=
ng the prefixed identified in (3)
 is the PID of the IP address.</div>
<div>=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div><br>
</div>
<div>And the next bake-off should have a test case for this -- eg, the netw=
ork map should define PIDs like B1 and B2, and there should be a test that =
10.0.0.0 is in B1, not B2.</div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Good idea to test this in the next bake-off!</div>
<div><br>
</div>
<div>Richard</div>
<div>=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div>
<div><span style=3D"white-space:pre-wrap"></span>- Wendy Roome</div>
<div><br>
</div>
<span>
<div style=3D"border-width:1pt medium medium;border-style:solid none none;p=
adding:3pt 0in 0in;text-align:left;font-size:11pt;font-family:Calibri;borde=
r-top-color:rgb(181,196,223)">
<span style=3D"font-weight:bold">From: </span>&quot;Y. Richard Yang&quot; &=
lt;<a href=3D"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>=
&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Wed, October 23, 2013 18:47<b=
r>
<span style=3D"font-weight:bold">To: </span>Sebastian Kiesel &lt;<a href=3D=
"mailto:ietf-alto@skiesel.de" target=3D"_blank">ietf-alto@skiesel.de</a>&gt=
;<br>
<span style=3D"font-weight:bold">Cc: </span>IETF ALTO &lt;<a href=3D"mailto=
:alto@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;, Wendy Roome &lt;<a=
 href=3D"mailto:w.roome@alcatel-lucent.com" target=3D"_blank">w.roome@alcat=
el-lucent.com</a>&gt;
<div><br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] Problem with &q=
uot;longest prefix&quot; rule for mapping endpoints to PIDs<br>
</div>
</div>
<div>
<div><br>
</div>
<span style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;te=
xt-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:norm=
al;border-collapse:separate;text-transform:none;font-size:medium;white-spac=
e:normal;font-family:Calibri;word-spacing:0px">
<p dir=3D"ltr">These are fast responses. It seems that the majority (3:1) i=
s to keep the non-merging semantics. If we do not hear other objections, we=
 will keep the current version, but do clarify using the good example from =
Wendy.</p>

<p dir=3D"ltr">Cheers,</p>
<p dir=3D"ltr">Richard</p>
</span></div>
</span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</span></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</span>
</div></div></div>

</blockquote></div><br></div></div>

--bcaec520ea63e16b9304e9823997--

From sebi@gw01.ehlo.wurstkaes.de  Thu Oct 24 13:31:36 2013
Return-Path: <sebi@gw01.ehlo.wurstkaes.de>
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 47EF511E8196 for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 13:31:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.207
X-Spam-Level: 
X-Spam-Status: No, score=-2.207 tagged_above=-999 required=5 tests=[AWL=0.393,  BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Egn+l1CIC87 for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 13:31:35 -0700 (PDT)
Received: from gw01.ehlo.wurstkaes.de (gw01.ehlo.wurstkaes.de [IPv6:2a02:a00:e000:116::41]) by ietfa.amsl.com (Postfix) with ESMTP id 07C0111E82F8 for <alto@ietf.org>; Thu, 24 Oct 2013 13:31:33 -0700 (PDT)
Received: from sebi by gw01.ehlo.wurstkaes.de with local (Exim 4.80) (envelope-from <sebi@gw01.ehlo.wurstkaes.de>) id 1VZRYq-0005JH-TO; Thu, 24 Oct 2013 22:31:16 +0200
Date: Thu, 24 Oct 2013 22:31:16 +0200
From: Sebastian Kiesel <ietf-alto@skiesel.de>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <20131024203116.GE4845@gw01.ehlo.wurstkaes.de>
References: <CANUuoLrfTebMEqn2GJFG5ebQer0ywAJFxJC7n19Rta35KwWhHg@mail.gmail.com> <CE8EA242.B0C36%w.roome@alcatel-lucent.com> <20131024184316.GD4845@gw01.ehlo.wurstkaes.de> <CANUuoLr3kMvrHqaMm_MRJL6OCeN+DCf0osSq1ZwJVN8D=txUMQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANUuoLr3kMvrHqaMm_MRJL6OCeN+DCf0osSq1ZwJVN8D=txUMQ@mail.gmail.com>
Accept-Languages: en, de
Organization: my personal mail account
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 20:31:36 -0000

On Thu, Oct 24, 2013 at 04:02:03PM -0400, Y. Richard Yang wrote:
> On Thu, Oct 24, 2013 at 2:43 PM, Sebastian Kiesel <ietf-alto@skiesel.de>wrote:

[same prefix in the definition of two PIDs, e.g.]
> > E1 = 10.0.0.0/14
> > E101 = 10.0.0.0/14
> > E102 = (empty or undefined)
> >
> > Again, the intuitive answer is that E101 would probably give better
> > results than E1.  But what does the spec say? All I could find was:
> >
> >
> >    Each endpoint MUST map into exactly one PID.  Since longest-prefix
> >    matching is used to map an endpoint to a PID, this can be
> >    accomplished by ensuring that no two PIDs contain an identical IP
> >    prefix.  (sec. 5.2.1.)
> >
> >
> > This wording seems a bit strange to me. Does the "can" in the second
> > sentence suggest that there are alternatives? I think this should be
> > reworded. I see several options:
> >
> > 1.  clarify what we have now, e.g.:
> >
> >     A valid network map MUST NOT define two or more PIDs which contain
> >     an identical IP prefix, in order to ensure that the longest-prefix
> >     matching algorithm maps each endpoint into exactly one PID.
> >
> >
> A good clarification.
> 
> 
> > 2.  specify what should happen if a map contains two PIDs with the
> >     same prefix:
> >
> >     2a) the client may randomly chose one
> >     2b) the client must use the pid with the prefix that appeared
> >         first in the json structure
> >     2c) the client must use the pid with the prefix that appeared
> >         last in the json structure
> >     2d) the client must lexicographically sort the PID names
> >         of PIDs that contain the prefix and take the first one
> >     2e) the client must lexicographically sort the PID names
> >         of PIDs that contain the prefix and take the last one
> >
> >
> > I'd prefer one of the 2d) or 2e) options.
> >
> >
> > If I have to choose among the five choices, 2d) and 2e) look reasonable.
> But for this case, a simpler statement is that the server misbehaved, and
> sends a wrong piece of information, and our protocol does not have a 3rd
> step to send feedback to the server. It falls to the domain of client
> verifying server information. I would classify it as a case that can be
> handled by Section 15.2? Does this make sense?

Our protocol design indeed does not provide a mechanism by which the
client could inform the server that the server's previous reply could
not be understood or was "illegal".  Exactly because of that it seems
tempting to me to not define this (admittedly questionable) map layout
as "illegal", but instead define a deterministic and sort-of reasonable
client behavior for that case. If you are a server operator and don't
like that behavior, just define your maps in an unambiguous way.

What do you think?

S.

From yang.r.yang@gmail.com  Thu Oct 24 14:06:51 2013
Return-Path: <yang.r.yang@gmail.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 0FE8311E822D for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 14:06:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.801
X-Spam-Level: 
X-Spam-Status: No, score=-1.801 tagged_above=-999 required=5 tests=[AWL=0.175,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s3kupUKt8-tr for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 14:06:50 -0700 (PDT)
Received: from mail-pd0-x236.google.com (mail-pd0-x236.google.com [IPv6:2607:f8b0:400e:c02::236]) by ietfa.amsl.com (Postfix) with ESMTP id 1E52311E8254 for <alto@ietf.org>; Thu, 24 Oct 2013 14:06:15 -0700 (PDT)
Received: by mail-pd0-f182.google.com with SMTP id q10so3021367pdj.27 for <alto@ietf.org>; Thu, 24 Oct 2013 14:06:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=FS5YfdOcSjUtkIIqibsNQw4m45US9za19fNW8ghJCdM=; b=MsmiDIgKqw5WQy1CMyVQ+eRrAs1i4RcfDyiHAWXGpT2OLxxUt83qTqjxP6hJzQN53F Fhkb8+ZYg10pA2l95PfvVl0qIJWt/gU4PTF8tQMJ/R4RB0VXes1EdAC66c+F3I9vqWIe Z+ICeHVa5/oWIfPG0Nk1lbViDVQAUt04ha2QzGilebqV8PTtu21egHiNJLr7G3IbM90a KBTNYKrDVV6sOn9xkNjFqLjyRpJ+anHpusa1+wa1Ed8nmwMHgSr+YW72MTlfLDQiPkXb PCAY6XtSVE0f3OUJGnmfVNncjsXZdLSO+4hMNGkmUBmRayX09UUYSspCPZXOFxaa7p0C hM/g==
MIME-Version: 1.0
X-Received: by 10.66.188.80 with SMTP id fy16mr5338926pac.168.1382648767954; Thu, 24 Oct 2013 14:06:07 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Thu, 24 Oct 2013 14:06:07 -0700 (PDT)
In-Reply-To: <20131024203116.GE4845@gw01.ehlo.wurstkaes.de>
References: <CANUuoLrfTebMEqn2GJFG5ebQer0ywAJFxJC7n19Rta35KwWhHg@mail.gmail.com> <CE8EA242.B0C36%w.roome@alcatel-lucent.com> <20131024184316.GD4845@gw01.ehlo.wurstkaes.de> <CANUuoLr3kMvrHqaMm_MRJL6OCeN+DCf0osSq1ZwJVN8D=txUMQ@mail.gmail.com> <20131024203116.GE4845@gw01.ehlo.wurstkaes.de>
Date: Thu, 24 Oct 2013 17:06:07 -0400
X-Google-Sender-Auth: SPO39D1fwvvIQeJ7zLGCZ7VaKig
Message-ID: <CANUuoLpfuET-8BCwVEHH9HxAJLLZ7Y6Z=kUaj1L+DUNM-MFb4w@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Sebastian Kiesel <ietf-alto@skiesel.de>
Content-Type: multipart/alternative; boundary=047d7bdc967ea9c5d304e98300c7
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 21:06:51 -0000

--047d7bdc967ea9c5d304e98300c7
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Oct 24, 2013 at 4:31 PM, Sebastian Kiesel <ietf-alto@skiesel.de>wrote:

> On Thu, Oct 24, 2013 at 04:02:03PM -0400, Y. Richard Yang wrote:
> > On Thu, Oct 24, 2013 at 2:43 PM, Sebastian Kiesel <ietf-alto@skiesel.de
> >wrote:
>
> [same prefix in the definition of two PIDs, e.g.]
> > > E1 = 10.0.0.0/14
> > > E101 = 10.0.0.0/14
> > > E102 = (empty or undefined)
> > >
> > > Again, the intuitive answer is that E101 would probably give better
> > > results than E1.  But what does the spec say? All I could find was:
> > >
> > >
> > >    Each endpoint MUST map into exactly one PID.  Since longest-prefix
> > >    matching is used to map an endpoint to a PID, this can be
> > >    accomplished by ensuring that no two PIDs contain an identical IP
> > >    prefix.  (sec. 5.2.1.)
> > >
> > >
> > > This wording seems a bit strange to me. Does the "can" in the second
> > > sentence suggest that there are alternatives? I think this should be
> > > reworded. I see several options:
> > >
> > > 1.  clarify what we have now, e.g.:
> > >
> > >     A valid network map MUST NOT define two or more PIDs which contain
> > >     an identical IP prefix, in order to ensure that the longest-prefix
> > >     matching algorithm maps each endpoint into exactly one PID.
> > >
> > >
> > A good clarification.
> >
> >
> > > 2.  specify what should happen if a map contains two PIDs with the
> > >     same prefix:
> > >
> > >     2a) the client may randomly chose one
> > >     2b) the client must use the pid with the prefix that appeared
> > >         first in the json structure
> > >     2c) the client must use the pid with the prefix that appeared
> > >         last in the json structure
> > >     2d) the client must lexicographically sort the PID names
> > >         of PIDs that contain the prefix and take the first one
> > >     2e) the client must lexicographically sort the PID names
> > >         of PIDs that contain the prefix and take the last one
> > >
> > >
> > > I'd prefer one of the 2d) or 2e) options.
> > >
> > >
> > > If I have to choose among the five choices, 2d) and 2e) look
> reasonable.
> > But for this case, a simpler statement is that the server misbehaved, and
> > sends a wrong piece of information, and our protocol does not have a 3rd
> > step to send feedback to the server. It falls to the domain of client
> > verifying server information. I would classify it as a case that can be
> > handled by Section 15.2? Does this make sense?
>
> Our protocol design indeed does not provide a mechanism by which the
> client could inform the server that the server's previous reply could
> not be understood or was "illegal".  Exactly because of that it seems
> tempting to me to not define this (admittedly questionable) map layout
> as "illegal", but instead define a deterministic and sort-of reasonable
> client behavior for that case. If you are a server operator and don't
> like that behavior, just define your maps in an unambiguous way.
>
> What do you think?
>

Here is a concern. If we specify a "recovery" operation such as 2d) and
2e), then we will not need to specify the no-duplicate requirement, as we
are essentially saying "X is not allowed, but if you do X, then we are OK
and understand X as this..." It is a bit contradicting. WIthout specifying
any "recovering" operation seems to be cleaner, but I am willing to learn
more on the basic principles of handling non-confirming behaviors. It is a
good discussion!

Richard


> S.
>

--047d7bdc967ea9c5d304e98300c7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Thu, Oct 24, 2013 at 4:31 PM, Sebastian Kiesel <span dir=3D"ltr">&lt;<a =
href=3D"mailto:ietf-alto@skiesel.de" target=3D"_blank">ietf-alto@skiesel.de=
</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><div class=3D"im">On Thu, Oct 24, 2013 at 04:02:03PM -0400=
, Y. Richard Yang wrote:<br>

&gt; On Thu, Oct 24, 2013 at 2:43 PM, Sebastian Kiesel &lt;<a href=3D"mailt=
o:ietf-alto@skiesel.de">ietf-alto@skiesel.de</a>&gt;wrote:<br>
<br>
</div>[same prefix in the definition of two PIDs, e.g.]<br>
<div><div class=3D"h5">&gt; &gt; E1 =3D <a href=3D"http://10.0.0.0/14" targ=
et=3D"_blank">10.0.0.0/14</a><br>
&gt; &gt; E101 =3D <a href=3D"http://10.0.0.0/14" target=3D"_blank">10.0.0.=
0/14</a><br>
&gt; &gt; E102 =3D (empty or undefined)<br>
&gt; &gt;<br>
&gt; &gt; Again, the intuitive answer is that E101 would probably give bett=
er<br>
&gt; &gt; results than E1. =A0But what does the spec say? All I could find =
was:<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0Each endpoint MUST map into exactly one PID. =A0Since long=
est-prefix<br>
&gt; &gt; =A0 =A0matching is used to map an endpoint to a PID, this can be<=
br>
&gt; &gt; =A0 =A0accomplished by ensuring that no two PIDs contain an ident=
ical IP<br>
&gt; &gt; =A0 =A0prefix. =A0(sec. 5.2.1.)<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; This wording seems a bit strange to me. Does the &quot;can&quot; =
in the second<br>
&gt; &gt; sentence suggest that there are alternatives? I think this should=
 be<br>
&gt; &gt; reworded. I see several options:<br>
&gt; &gt;<br>
&gt; &gt; 1. =A0clarify what we have now, e.g.:<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0 A valid network map MUST NOT define two or more PIDs whic=
h contain<br>
&gt; &gt; =A0 =A0 an identical IP prefix, in order to ensure that the longe=
st-prefix<br>
&gt; &gt; =A0 =A0 matching algorithm maps each endpoint into exactly one PI=
D.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; A good clarification.<br>
&gt;<br>
&gt;<br>
&gt; &gt; 2. =A0specify what should happen if a map contains two PIDs with =
the<br>
&gt; &gt; =A0 =A0 same prefix:<br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0 2a) the client may randomly chose one<br>
&gt; &gt; =A0 =A0 2b) the client must use the pid with the prefix that appe=
ared<br>
&gt; &gt; =A0 =A0 =A0 =A0 first in the json structure<br>
&gt; &gt; =A0 =A0 2c) the client must use the pid with the prefix that appe=
ared<br>
&gt; &gt; =A0 =A0 =A0 =A0 last in the json structure<br>
&gt; &gt; =A0 =A0 2d) the client must lexicographically sort the PID names<=
br>
&gt; &gt; =A0 =A0 =A0 =A0 of PIDs that contain the prefix and take the firs=
t one<br>
&gt; &gt; =A0 =A0 2e) the client must lexicographically sort the PID names<=
br>
&gt; &gt; =A0 =A0 =A0 =A0 of PIDs that contain the prefix and take the last=
 one<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; I&#39;d prefer one of the 2d) or 2e) options.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; If I have to choose among the five choices, 2d) and 2e) look reas=
onable.<br>
&gt; But for this case, a simpler statement is that the server misbehaved, =
and<br>
&gt; sends a wrong piece of information, and our protocol does not have a 3=
rd<br>
&gt; step to send feedback to the server. It falls to the domain of client<=
br>
&gt; verifying server information. I would classify it as a case that can b=
e<br>
&gt; handled by Section 15.2? Does this make sense?<br>
<br>
</div></div>Our protocol design indeed does not provide a mechanism by whic=
h the<br>
client could inform the server that the server&#39;s previous reply could<b=
r>
not be understood or was &quot;illegal&quot;. =A0Exactly because of that it=
 seems<br>
tempting to me to not define this (admittedly questionable) map layout<br>
as &quot;illegal&quot;, but instead define a deterministic and sort-of reas=
onable<br>
client behavior for that case. If you are a server operator and don&#39;t<b=
r>
like that behavior, just define your maps in an unambiguous way.<br>
<br>
What do you think?<br></blockquote><div><br></div><div>Here is a concern. I=
f we specify a &quot;recovery&quot; operation such as 2d) and 2e), then we =
will not need to specify the no-duplicate requirement, as we are essentiall=
y saying &quot;X is not allowed, but if you do X, then we are OK and unders=
tand X as this...&quot; It is a bit contradicting. WIthout specifying any &=
quot;recovering&quot; operation seems to be cleaner, but I am willing to le=
arn more on the basic principles of handling non-confirming behaviors. It i=
s a good discussion!</div>
<div><br></div><div>Richard</div><div><br></div><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-=
color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span class=3D""><font color=3D"#888888"><br>
S.<br>
</font></span></blockquote></div><br></div></div>

--047d7bdc967ea9c5d304e98300c7--

From sebi@gw01.ehlo.wurstkaes.de  Thu Oct 24 14:25:19 2013
Return-Path: <sebi@gw01.ehlo.wurstkaes.de>
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 DF4BC11E81E1 for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 14:25:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.256
X-Spam-Level: 
X-Spam-Status: No, score=-2.256 tagged_above=-999 required=5 tests=[AWL=0.344,  BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y9ZKQc87QFKv for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 14:25:17 -0700 (PDT)
Received: from gw01.ehlo.wurstkaes.de (gw01.ehlo.wurstkaes.de [IPv6:2a02:a00:e000:116::41]) by ietfa.amsl.com (Postfix) with ESMTP id 12D7911E8392 for <alto@ietf.org>; Thu, 24 Oct 2013 14:25:13 -0700 (PDT)
Received: from sebi by gw01.ehlo.wurstkaes.de with local (Exim 4.80) (envelope-from <sebi@gw01.ehlo.wurstkaes.de>) id 1VZSOi-0005aa-G8; Thu, 24 Oct 2013 23:24:52 +0200
Date: Thu, 24 Oct 2013 23:24:52 +0200
From: Sebastian Kiesel <ietf-alto@skiesel.de>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <20131024212452.GF4845@gw01.ehlo.wurstkaes.de>
References: <CANUuoLrfTebMEqn2GJFG5ebQer0ywAJFxJC7n19Rta35KwWhHg@mail.gmail.com> <CE8EA242.B0C36%w.roome@alcatel-lucent.com> <20131024184316.GD4845@gw01.ehlo.wurstkaes.de> <CANUuoLr3kMvrHqaMm_MRJL6OCeN+DCf0osSq1ZwJVN8D=txUMQ@mail.gmail.com> <20131024203116.GE4845@gw01.ehlo.wurstkaes.de> <CANUuoLpfuET-8BCwVEHH9HxAJLLZ7Y6Z=kUaj1L+DUNM-MFb4w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CANUuoLpfuET-8BCwVEHH9HxAJLLZ7Y6Z=kUaj1L+DUNM-MFb4w@mail.gmail.com>
Accept-Languages: en, de
Organization: my personal mail account
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 21:25:20 -0000

Richard,

On Thu, Oct 24, 2013 at 05:06:07PM -0400, Y. Richard Yang wrote:
> On Thu, Oct 24, 2013 at 4:31 PM, Sebastian Kiesel <ietf-alto@skiesel.de>wrote:
> 
> > On Thu, Oct 24, 2013 at 04:02:03PM -0400, Y. Richard Yang wrote:
> > > On Thu, Oct 24, 2013 at 2:43 PM, Sebastian Kiesel <ietf-alto@skiesel.de
> > >wrote:
> >
> > [same prefix in the definition of two PIDs, e.g.]
> > > > E1 = 10.0.0.0/14
> > > > E101 = 10.0.0.0/14
> > > > E102 = (empty or undefined)
> > > >
> > > > Again, the intuitive answer is that E101 would probably give better
> > > > results than E1.  But what does the spec say? All I could find was:
> > > >
> > > >
> > > >    Each endpoint MUST map into exactly one PID.  Since longest-prefix
> > > >    matching is used to map an endpoint to a PID, this can be
> > > >    accomplished by ensuring that no two PIDs contain an identical IP
> > > >    prefix.  (sec. 5.2.1.)
> > > >
> > > >
> > > > This wording seems a bit strange to me. Does the "can" in the second
> > > > sentence suggest that there are alternatives? I think this should be
> > > > reworded. I see several options:
> > > >
> > > > 1.  clarify what we have now, e.g.:
> > > >
> > > >     A valid network map MUST NOT define two or more PIDs which contain
> > > >     an identical IP prefix, in order to ensure that the longest-prefix
> > > >     matching algorithm maps each endpoint into exactly one PID.
> > > >
> > > >
> > > A good clarification.
> > >
> > >
> > > > 2.  specify what should happen if a map contains two PIDs with the
> > > >     same prefix:
> > > >
> > > >     2a) the client may randomly chose one
> > > >     2b) the client must use the pid with the prefix that appeared
> > > >         first in the json structure
> > > >     2c) the client must use the pid with the prefix that appeared
> > > >         last in the json structure
> > > >     2d) the client must lexicographically sort the PID names
> > > >         of PIDs that contain the prefix and take the first one
> > > >     2e) the client must lexicographically sort the PID names
> > > >         of PIDs that contain the prefix and take the last one
> > > >
> > > >
> > > > I'd prefer one of the 2d) or 2e) options.
> > > >
> > > >
> > > > If I have to choose among the five choices, 2d) and 2e) look
> > reasonable.
> > > But for this case, a simpler statement is that the server misbehaved, and
> > > sends a wrong piece of information, and our protocol does not have a 3rd
> > > step to send feedback to the server. It falls to the domain of client
> > > verifying server information. I would classify it as a case that can be
> > > handled by Section 15.2? Does this make sense?
> >
> > Our protocol design indeed does not provide a mechanism by which the
> > client could inform the server that the server's previous reply could
> > not be understood or was "illegal".  Exactly because of that it seems
> > tempting to me to not define this (admittedly questionable) map layout
> > as "illegal", but instead define a deterministic and sort-of reasonable
> > client behavior for that case. If you are a server operator and don't
> > like that behavior, just define your maps in an unambiguous way.
> >
> > What do you think?
> >
> 
> Here is a concern. If we specify a "recovery" operation such as 2d) and
> 2e), then we will not need to specify the no-duplicate requirement, as we
> are essentially saying "X is not allowed, but if you do X, then we are OK
> and understand X as this..." It is a bit contradicting.

right. what I didn't say explicitly: options 1) and 2?) are mutually
exclusive.

if we go for 2?) we can add a "note" or maybe a "recommendation" which
says that clear and non-overlapping map definitions should be preferred
for the sake of easier readability. But we should not declare multiple
occurences of one prefix as illegal, and we should also avoid the term
"ambiguous", because with a well-defined algoritm the result may be
unexpected or counterintuitive but it is unambiguous.

Sebastian

From repenno@cisco.com  Thu Oct 24 15:37:30 2013
Return-Path: <repenno@cisco.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 186C811E81CD for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 15:37:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bxAsSmAWG55S for <alto@ietfa.amsl.com>; Thu, 24 Oct 2013 15:37:24 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) by ietfa.amsl.com (Postfix) with ESMTP id CF26911E8242 for <alto@ietf.org>; Thu, 24 Oct 2013 15:37:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=449; q=dns/txt; s=iport; t=1382654241; x=1383863841; h=from:to:cc:subject:date:message-id:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=BGa3DzG7vSQoAuldBUh8+GP2UtZog4ci2OdSDCjRLOE=; b=d0V5uSFBm6IOuwyfz/CR/b7V21cnBW9GPRLrk2Xo81eG/sD80R8ec32E /AJnzO24LglKYkhwNznYbDKdnTo+8wIkiYsChaEqxppsnMmo1B8NTc/K2 I80CfViKYkFkDUFwSMGX1zjVI3+CBUJPi4cFyMCGyS+gavV9QifTpy+F9 s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgEFAN6faVKtJXHB/2dsb2JhbABZDoJ5gQy+U4EfFnSCJwEEOj8SAQgOFBRCJQIEAQ0FCId/ukGPHDEHgx+BDQOqEYJlP4Iq
X-IronPort-AV: E=Sophos;i="4.93,565,1378857600"; d="scan'208";a="276378132"
Received: from rcdn-core2-6.cisco.com ([173.37.113.193]) by rcdn-iport-6.cisco.com with ESMTP; 24 Oct 2013 22:37:20 +0000
Received: from xhc-aln-x15.cisco.com (xhc-aln-x15.cisco.com [173.36.12.89]) by rcdn-core2-6.cisco.com (8.14.5/8.14.5) with ESMTP id r9OMbKqT030950 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 24 Oct 2013 22:37:20 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.27]) by xhc-aln-x15.cisco.com ([173.36.12.89]) with mapi id 14.02.0318.004; Thu, 24 Oct 2013 17:37:19 -0500
From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
To: Sebastian Kiesel <ietf-alto@skiesel.de>, "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
Thread-Index: AQHO0DGcuN3633K8DEGzmav+Jiqo/5oDNx4AgAEISQCAAEXUAIAAFgOAgAAIKgCAAAm9gIAABT0A//+e5AA=
Date: Thu, 24 Oct 2013 22:37:19 +0000
Message-ID: <45A697A8FFD7CF48BCF2BE7E106F06040B73ECCC@xmb-rcd-x04.cisco.com>
In-Reply-To: <20131024212452.GF4845@gw01.ehlo.wurstkaes.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.3.120616
x-originating-ip: [10.21.92.173]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <D5B586EF1BA78549AA64FA36520ECF67@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 24 Oct 2013 22:37:30 -0000

Right. Routers have forwarding entries that point to N different
interfaces. Sometimes they have the same weight, sometimes flow load
balancing or some other tie breaking internal to the router. And ALTO has
prefixes that are mapped to two different PIDs. Just another day in the
Internet.=20

On 10/24/13 2:24 PM, "Sebastian Kiesel" <ietf-alto@skiesel.de> wrote:

>But we should not declare multiple
>occurences of one prefix as illegal,


From yang.r.yang@gmail.com  Fri Oct 25 12:39:58 2013
Return-Path: <yang.r.yang@gmail.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 F147311E81E0 for <alto@ietfa.amsl.com>; Fri, 25 Oct 2013 12:39:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.806
X-Spam-Level: 
X-Spam-Status: No, score=-1.806 tagged_above=-999 required=5 tests=[AWL=0.171,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ODGGSypZtmIY for <alto@ietfa.amsl.com>; Fri, 25 Oct 2013 12:39:56 -0700 (PDT)
Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) by ietfa.amsl.com (Postfix) with ESMTP id A74F421F9F5B for <alto@ietf.org>; Fri, 25 Oct 2013 12:39:56 -0700 (PDT)
Received: by mail-pa0-f54.google.com with SMTP id fa1so2639944pad.13 for <alto@ietf.org>; Fri, 25 Oct 2013 12:39:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=uF2D+BX9NGdLzdFtjQcssjSHDxyvtogLZ+BBwsCGW48=; b=0pgFDH43Emx5Pa5jeWd/AzvqHTGVyY0AHz+UrqCHdT83WpXYzm7m2gstTWHIQcMWye pAbn4Esa+DmCgvEqJXf77OQ2+skQ8+1hRsluPo2lf8CzPHpIpGc2OvmYioHh6YNC2TlN TJQ+PQcItC67iXPvnLf0xiiqT6fP41ffHL0j97uIb9o2Bm+cvjmkeasjIV3XeRCcxm9H 4i8rTQtfvDq8SYItrVhQnC+3+n1aPc8oGeioyoJc5RHQVzgI0LQ/fARBZWaJdtOfPmEG C4JXlKUBatTX+dodO0inuKKwPA1kMa2tm/VElv+JwJO4jpys4A+XHbS1arQJKK+60Ttl H2+g==
MIME-Version: 1.0
X-Received: by 10.66.12.103 with SMTP id x7mr12515823pab.54.1382729996260; Fri, 25 Oct 2013 12:39:56 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Fri, 25 Oct 2013 12:39:56 -0700 (PDT)
Received: by 10.68.47.195 with HTTP; Fri, 25 Oct 2013 12:39:56 -0700 (PDT)
In-Reply-To: <45A697A8FFD7CF48BCF2BE7E106F06040B73ECCC@xmb-rcd-x04.cisco.com>
References: <20131024212452.GF4845@gw01.ehlo.wurstkaes.de> <45A697A8FFD7CF48BCF2BE7E106F06040B73ECCC@xmb-rcd-x04.cisco.com>
Date: Fri, 25 Oct 2013 15:39:56 -0400
X-Google-Sender-Auth: O7Iv1prxgW4hXvJ2SAbMYL0I-bk
Message-ID: <CANUuoLq8CSRfpVNvoq-bnZqzVaP4ssZ-VOpz4JgcV8ED8LMcQQ@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: "Reinaldo Penno, (repenno)" <repenno@cisco.com>
Content-Type: multipart/alternative; boundary=bcaec520ea633f5f3404e995ead1
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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 Oct 2013 19:39:58 -0000

--bcaec520ea633f5f3404e995ead1
Content-Type: text/plain; charset=ISO-8859-1

On Oct 24, 2013 6:37 PM, "Reinaldo Penno (repenno)" <repenno@cisco.com>
wrote:
>
> Right. Routers have forwarding entries that point to N different
> interfaces. Sometimes they have the same weight, sometimes flow load
> balancing or some other tie breaking internal to the router. And ALTO has
> prefixes that are mapped to two different PIDs. Just another day in the
> Internet.

Mapping to multiple prefixes in fib has well defined semantics, such as
load balancing paths, as you mentioned. It is not clear the use cases for
mapping to multiple PIDs, and our current assignment to resolve the case
(e.g., 2d or 2e) may not provide the intended semantics (e.g., hash on IP
to achieve load balancing). Hence, I am still in the pushing-back mode for
simplicity...

Richard
>
> On 10/24/13 2:24 PM, "Sebastian Kiesel" <ietf-alto@skiesel.de> wrote:
>
> >But we should not declare multiple
> >occurences of one prefix as illegal,
>

--bcaec520ea633f5f3404e995ead1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Oct 24, 2013 6:37 PM, &quot;Reinaldo Penno (repenno)&quot; &lt;<a href=
=3D"mailto:repenno@cisco.com">repenno@cisco.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Right. Routers have forwarding entries that point to N different<br>
&gt; interfaces. Sometimes they have the same weight, sometimes flow load<b=
r>
&gt; balancing or some other tie breaking internal to the router. And ALTO =
has<br>
&gt; prefixes that are mapped to two different PIDs. Just another day in th=
e<br>
&gt; Internet.</p>
<p dir=3D"ltr">Mapping to multiple prefixes in fib has well defined semanti=
cs, such as load balancing paths, as you mentioned. It is not clear the use=
 cases for mapping to multiple PIDs, and our current assignment to resolve =
the case (e.g., 2d or 2e) may not provide the intended semantics (e.g., has=
h on IP to achieve load balancing). Hence, I am still in the pushing-back m=
ode for simplicity...</p>

<p dir=3D"ltr">Richard<br>
&gt;<br>
&gt; On 10/24/13 2:24 PM, &quot;Sebastian Kiesel&quot; &lt;<a href=3D"mailt=
o:ietf-alto@skiesel.de">ietf-alto@skiesel.de</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;But we should not declare multiple<br>
&gt; &gt;occurences of one prefix as illegal,<br>
&gt;<br>
</p>

--bcaec520ea633f5f3404e995ead1--

From bill.wu@huawei.com  Fri Oct 25 20:14:08 2013
Return-Path: <bill.wu@huawei.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 2265011E80E6 for <alto@ietfa.amsl.com>; Fri, 25 Oct 2013 20:14:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.45
X-Spam-Level: 
X-Spam-Status: No, score=-6.45 tagged_above=-999 required=5 tests=[AWL=0.148,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D58m1rivR2m7 for <alto@ietfa.amsl.com>; Fri, 25 Oct 2013 20:14:04 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id E7A2711E815C for <alto@ietf.org>; Fri, 25 Oct 2013 20:14:02 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AXF02604; Sat, 26 Oct 2013 03:14:02 +0000 (GMT)
Received: from LHREML405-HUB.china.huawei.com (10.201.5.242) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.158.1; Sat, 26 Oct 2013 04:13:52 +0100
Received: from NKGEML401-HUB.china.huawei.com (10.98.56.32) by lhreml405-hub.china.huawei.com (10.201.5.242) with Microsoft SMTP Server (TLS) id 14.3.158.1; Sat, 26 Oct 2013 04:14:01 +0100
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.141]) by nkgeml401-hub.china.huawei.com ([10.98.56.32]) with mapi id 14.03.0146.000; Sat, 26 Oct 2013 11:13:52 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: [alto] ALTO Extension: Defining a Cost Metrics document?
Thread-Index: AQHOyGq3gKD/pIh4mkKRiMotazW0EJnzu3IggAomdICACHp0QA==
Date: Sat, 26 Oct 2013 03:13:52 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA43C0F907@nkgeml501-mbs.china.huawei.com>
References: <CANUuoLpy5Budcx+tJCeExeYC_yTcQ9J2gC7HsXcjCvhOi7p_Vg@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0ACE7@nkgeml501-mbs.china.huawei.com> <CANUuoLoj3r_94VVMaTkeDFXzTjwC4qxqy57CQ81aHuH49yz_wQ@mail.gmail.com>
In-Reply-To: <CANUuoLoj3r_94VVMaTkeDFXzTjwC4qxqy57CQ81aHuH49yz_wQ@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.138.41.149]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA43C0F907nkgeml501mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: "choits@etri.re.kr" <choits@etri.re.kr>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sat, 26 Oct 2013 03:14:08 -0000

--_000_B8F9A780D330094D99AF023C5877DABA43C0F907nkgeml501mbschi_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,Richard:
Thank for bring these examples.
I see these examples from two perspectives:

1.       What cost metrics we should define?

2.       When, where and how to calculate these metrics (i.e., methodology =
).
I think we can not define these cost metrics from scratch, we can not defin=
e all the metrics we think useful. Instead, we should define them mostly ba=
sed on standardized work,
AT&T have a good practice for measuring these metrics. But I believe AT&T a=
lso doing a good job in standardizing these metrics and associated methodol=
ogy,e.g.,
in IETF IPPM WG.
Therefore I think we should try to reuse the existing methodology associate=
d metrics defined somewhere.

Also I believe we are not intending to design ALTO as the whole measurement=
 system or measurement platform.
What ALTO server should do is to gather/aggregate/abstract/filter useful me=
trics in a standard way and  provide them
to the alto client or use them as filtering to choose appropriate endpoint =
to connect.

Regards!
-Qin
From: yang.r.yang@gmail.com [mailto:yang.r.yang@gmail.com] On Behalf Of Y. =
Richard Yang
Sent: Monday, October 21, 2013 9:25 AM
To: Qin Wu
Cc: IETF ALTO; choits@etri.re.kr
Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?

Hi all,

Just a thought, some networks already provide public performance metrics, a=
nd ALTO should be able to provide such info in a standard way and cover the=
se metrics, if we agree:

-AT&T
 - http://ipnetwork.bgtmo.ip.att.net/pws/averages.html
 - http://ipnetwork.bgtmo.ip.att.net/pws/network_delay.html
   shows latency, loss, jitter, reliability, modem success rate

 - In particular, the link provides a methodology page (http://ipnetwork.bg=
tmo.ip.att.net/pws/glossary.html), which points to a major challenge in def=
ining the metrics: metrics have parameters (e.g., the AT&T link specifies 1=
5-min interval for latency), and I assume that ALTO cannot work with a sing=
le interval, but then how do we handle parameters?

- CenturyLink (formerly Qwest):
  - https://kai04.centurylink.com/PtapRpts/Public/BackboneReport.aspx
    shows jitter, latency, pkt delivery rate, availability

...

And we could think that ALTO could be extended to be used as a standard way=
 to check on the service outage of an endpoint (http://customer.comcast.com=
/help-and-support/cable-tv/outages-in-your-area/), which may imply performa=
nce metrics as well...

Thanks.

Richard

On Mon, Oct 14, 2013 at 2:30 AM, Qin Wu <bill.wu@huawei.com<mailto:bill.wu@=
huawei.com>> wrote:
From: alto-bounces@ietf.org<mailto:alto-bounces@ietf.org> [mailto:alto-boun=
ces@ietf.org<mailto:alto-bounces@ietf.org>] On Behalf Of Y. Richard Yang
Sent: Monday, October 14, 2013 7:20 AM
To: IETF ALTO
Cc: choits@etri.re.kr<mailto:choits@etri.re.kr>; Qin Wu
Subject: [alto] ALTO Extension: Defining a Cost Metrics document?

Dear all,

I am reading up on the documents that define cost metrics.

The motivation is that the base ALTO protocol (http://www.ietf.org/id/draft=
-ietf-alto-protocol-20.txt) has defined only one Cost Metric: 'routingcost'=
:

- Defined the semantics at Sec. 6.1.1.1 of , and then listed it at Table 3.

- Used "hopcount" in examples of Sec. 9.2.3 and 9.2.4, but the semantics of=
 not formally defined.

Given the aforementioned state of the base protocol, I see good value in th=
at the WG produces a WG document that defines a relatively complete set of =
Cost Metrics.

I particular, I read the following:

- http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02
  (Sec. 3.4 introduced three metrics: hopcount, latency, pktcost, and cost)

- http://tools.ietf.org/html/draft-wu-alto-json-te-01
  Defined a set of metrics: in Sec. 4. This work, as stated in the document=
, is motivated by

- http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt

During the review of ALTO base protocol, we are suggested to document perfo=
rmance metrics (cost metrics) per the guideline of
- RFC 6390 Guidelines for Considering New Performance Metric Development. A=
. Clark, B. Claise. October 2011. (Format: TXT=3D49930 bytes) (Also BCP0170=
) (Status: BEST CURRENT PRACTICE)

Here a first question, I have, is whether the authors will produce a "simpl=
e" document, at the upcoming IETF, whose only purpose is to:

  define a set of cost metrics, including the nameing, the semantics, ... f=
ollowing the guideline per RFC 6390, that can benefit the base protocol.

[Qin] This is exactly what I we are doing in draft-wu-alto-json-te. We are =
checking if we can give a complete list of cost metrics that are built base=
d on

draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp<http://to=
ols.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt>,draft-ietf-ospf-te-metric-ex=
tensions-04, draft-ietf-isis-te-metric-extensions-01.

We will further generalize them to firstly have some base metrics that can =
applied either to the whole path or any link in the path and then have

Derived metrics that are link specific.



The update (v-02) will come in a few days.


I feel that such a document is focused, and has good value by itself.

The implications of the introducing multiple cost metrics can be explored i=
n another document, which I will send in another email shortly.

Thanks.

Richard



--_000_B8F9A780D330094D99AF023C5877DABA43C0F907nkgeml501mbschi_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.HTMLChar
	{mso-style-name:"HTML \9884\8BBE\683C\5F0F Char";
	mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F";
	font-family:Consolas;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1712150970;
	mso-list-type:hybrid;
	mso-list-template-ids:1401184392 67698703 67698713 67698715 67698703 67698=
713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi,Richard:<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thank for bring these exa=
mples.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I see these examples from=
 two perspectives:<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l0 leve=
l1 lfo1"><![if !supportLists]><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"mso=
-list:Ignore">1.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">What cost metrics=
 we should define?<o:p></o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l0 leve=
l1 lfo1"><![if !supportLists]><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"mso=
-list:Ignore">2.<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">When, where and h=
ow to calculate these metrics (i.e., methodology ).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I think we can not define=
 these cost metrics from scratch, we can not define all the metrics we thin=
k useful. Instead, we should define them mostly based on
 standardized work,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">AT&amp;T have a good prac=
tice for measuring these metrics. But I believe AT&amp;T also doing a good =
job in standardizing these metrics and associated methodology,e.g.,<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">in IETF IPPM WG.<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Therefore I think we shou=
ld try to reuse the existing methodology associated metrics defined somewhe=
re.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Also I believe we are not=
 intending to design ALTO as the whole measurement system or measurement pl=
atform.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">What ALTO server should d=
o is to gather/aggregate/abstract/filter useful metrics in a standard way a=
nd &nbsp;provide them<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">to the alto client or use=
 them as filtering to choose appropriate endpoint to connect.<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regards!<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">-Qin<o:p></o:p></span></p=
>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> yang.r.y=
ang@gmail.com [mailto:yang.r.yang@gmail.com]
<b>On Behalf Of </b>Y. Richard Yang<br>
<b>Sent:</b> Monday, October 21, 2013 9:25 AM<br>
<b>To:</b> Qin Wu<br>
<b>Cc:</b> IETF ALTO; choits@etri.re.kr<br>
<b>Subject:</b> Re: [alto] ALTO Extension: Defining a Cost Metrics document=
?<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">Hi all,<o:p></o:p></p>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Just a thought, some networks already provide public=
 performance metrics, and ALTO should be able to provide such info in a sta=
ndard way and cover these metrics, if we agree:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">-AT&amp;T&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;- <a href=3D"http://ipnetwork.bgtmo.ip.att.net=
/pws/averages.html">
http://ipnetwork.bgtmo.ip.att.net/pws/averages.html</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;-&nbsp;<a href=3D"http://ipnetwork.bgtmo.ip.at=
t.net/pws/network_delay.html">http://ipnetwork.bgtmo.ip.att.net/pws/network=
_delay.html</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp;shows latency, loss, jitter, reliabilit=
y, modem success rate<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;- In particular, the link provides a methodolo=
gy page (<a href=3D"http://ipnetwork.bgtmo.ip.att.net/pws/glossary.html">ht=
tp://ipnetwork.bgtmo.ip.att.net/pws/glossary.html</a>), which points to a m=
ajor challenge in defining the metrics: metrics
 have parameters (e.g., the AT&amp;T link specifies 15-min interval for lat=
ency), and I assume that ALTO cannot work with a single interval, but then =
how do we handle parameters?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">- CenturyLink (formerly Qwest):<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; -&nbsp;<a href=3D"https://kai04.centurylink.c=
om/PtapRpts/Public/BackboneReport.aspx">https://kai04.centurylink.com/PtapR=
pts/Public/BackboneReport.aspx</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp; &nbsp; shows jitter, latency, pkt delivery ra=
te, availability<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">...<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">And we could think that ALTO could be extended to be=
 used as a standard way to check on the service outage of an endpoint (<a h=
ref=3D"http://customer.comcast.com/help-and-support/cable-tv/outages-in-you=
r-area/">http://customer.comcast.com/help-and-support/cable-tv/outages-in-y=
our-area/</a>),
 which may imply performance metrics as well...<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Thanks.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Richard<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">On Mon, Oct 14, 2013 at 2:30 AM, Qin Wu &lt;<a href=
=3D"mailto:bill.wu@huawei.com" target=3D"_blank">bill.wu@huawei.com</a>&gt;=
 wrote:<o:p></o:p></p>
<div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,=
&quot;sans-serif&quot;">From:</span></b><span style=3D"font-size:10.0pt;fon=
t-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href=3D"mailto:alto-bounces@ietf.org" target=3D"_blank">alto-bounces@iet=
f.org</a> [mailto:<a href=3D"mailto:alto-bounces@ietf.org" target=3D"_blank=
">alto-bounces@ietf.org</a>]
<b>On Behalf Of </b>Y. Richard Yang<br>
<b>Sent:</b> Monday, October 14, 2013 7:20 AM<br>
<b>To:</b> IETF ALTO<br>
<b>Cc:</b> <a href=3D"mailto:choits@etri.re.kr" target=3D"_blank">choits@et=
ri.re.kr</a>; Qin Wu<br>
<b>Subject:</b> [alto] ALTO Extension: Defining a Cost Metrics document?</s=
pan><o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Dear all,<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">I am reading up on the documents that define cost metrics.&nbsp;<o=
:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">The motivation is that the base ALTO protocol (<a href=3D"http://w=
ww.ietf.org/id/draft-ietf-alto-protocol-20.txt" target=3D"_blank">http://ww=
w.ietf.org/id/draft-ietf-alto-protocol-20.txt</a>)
 has defined only one Cost Metric: 'routingcost':<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">- Defined the semantics at Sec. 6.1.1.1 of , and then listed it at=
 Table 3.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">- Used &quot;hopcount&quot; in examples of Sec. 9.2.3 and 9.2.4, b=
ut the semantics of not formally defined.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Given the aforementioned state of the base protocol, I see good va=
lue in that the WG produces a WG document that defines a relatively complet=
e set of Cost Metrics.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">I particular, I read the following:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-lee-alto-app-ne=
t-info-exchange-02" target=3D"_blank">http://tools.ietf.org/html/draft-lee-=
alto-app-net-info-exchange-02</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp; (Sec. 3.4 introduced three metrics: hopcount, latency, pktc=
ost, and cost)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">-&nbsp;<a href=3D"http://tools.ietf.org/html/draft-wu-alto-json-te=
-01" target=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-json-te-01<=
/a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp; Defined a set of metrics: in Sec. 4. This work, as stated i=
n the document, is motivated by&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">-&nbsp;<a href=3D"http://www.ietf.org/id/draft-ietf-ospf-te-metric=
-extensions-04.txt" target=3D"_blank">http://www.ietf.org/id/draft-ietf-osp=
f-te-metric-extensions-04.txt</a><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t">During the review of ALTO base protocol, we are suggested to document pe=
rformance metrics (cost metrics) per the guideline of&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:9.5pt;font-family:&quot;Arial&quot;,&quot=
;sans-serif&quot;">- RFC&nbsp;</span>6390 Guidelines for Considering New Pe=
rformance Metric Development. A. Clark, B. Claise. October 2011.
 (Format: TXT=3D49930 bytes) (Also BCP0170) (Status: BEST CURRENT PRACTICE)=
<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Here a first question, I have, is whether the authors will produce=
 a &quot;simple&quot; document, at the upcoming IETF, whose only purpose is=
 to:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp; define a set of cost metrics, including the nameing, the se=
mantics, ... following the guideline per RFC 6390, that can benefit the bas=
e protocol.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">[Qin]</span>
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">This is exactly what I we are doing in draft-wu-=
alto-json-te. We are checking if we can give a complete list of cost metric=
s that are built based on</span><o:p></o:p></p>
<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1F497D">draft-ietf-idr-ls-distribution-03,RFC5305, =
<a href=3D"http://tools.ietf.org/id/draft-wu-idr-te-pm-bgp-02.txt" target=
=3D"_blank"><span style=3D"color:#1F497D;text-decoration:none">draft-wu-idr=
-te-pm-bgp</span></a>,draft-ietf-ospf-te-metric-extensions-04, draft-ietf-i=
sis-te-metric-extensions-01.</span><o:p></o:p></pre>
<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1F497D">We will further generalize them to firstly =
have some base metrics that can applied either to the whole path or any lin=
k in the path and then have</span><o:p></o:p></pre>
<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1F497D">Derived metrics that are link specific.</sp=
an><o:p></o:p></pre>
<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></pre>
<pre><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1F497D">The update (v-02) will come in a few days. =
</span><o:p></o:p></pre>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">I feel that such a document is focused, and has good value by itse=
lf.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">The implications of the introducing multiple cost metrics can be e=
xplored in another document, which I will send in another email shortly.<o:=
p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Thanks.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Richard<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_B8F9A780D330094D99AF023C5877DABA43C0F907nkgeml501mbschi_--

From yang.r.yang@gmail.com  Sun Oct 27 13:46:34 2013
Return-Path: <yang.r.yang@gmail.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 7828511E8178 for <alto@ietfa.amsl.com>; Sun, 27 Oct 2013 13:46:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.811
X-Spam-Level: 
X-Spam-Status: No, score=-1.811 tagged_above=-999 required=5 tests=[AWL=0.166,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pOLJXVPs8RIr for <alto@ietfa.amsl.com>; Sun, 27 Oct 2013 13:46:33 -0700 (PDT)
Received: from mail-pb0-x22b.google.com (mail-pb0-x22b.google.com [IPv6:2607:f8b0:400e:c01::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 47B9F11E8198 for <alto@ietf.org>; Sun, 27 Oct 2013 13:46:33 -0700 (PDT)
Received: by mail-pb0-f43.google.com with SMTP id md4so1124286pbc.30 for <alto@ietf.org>; Sun, 27 Oct 2013 13:46:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=eTP7h6oZ0/69n8XAdf/IsZRgQXFPyHzm9n+No3k9oPY=; b=rOYKptmV+wW7WS+995rt1Wynd4pQ0nlQ09Ap75SCV4T+9ySOZIYDU5nkScEl0DPUCf YiONYrj/JWYL6/jiuv8UKfthp+UYRM5dRhljs39QZjJRvflFGgpyBtXPPHwnUZinlGtR YmmD2sPp0rM2LGe+sfDlgNXLC+7XOlcITDz3Y5fj85C6mQ62jOArHCmRIIrRjVQMkeXF cPPsyWW5BTnIbtyVfqiiap5rKGg9sSDVV/KgPy8ZVp1h7uCquqmwcf+mwTVLiTMNpOwe i7RX78eNiBLxoIH8IYd/yXmGJGOGpjH88g7CCep7NJLhfUsQEJnhPvHaC9q8f38CClt7 LdWQ==
MIME-Version: 1.0
X-Received: by 10.66.144.102 with SMTP id sl6mr21746518pab.96.1382906790491; Sun, 27 Oct 2013 13:46:30 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Sun, 27 Oct 2013 13:46:30 -0700 (PDT)
Received: by 10.68.47.195 with HTTP; Sun, 27 Oct 2013 13:46:30 -0700 (PDT)
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA43C0F907@nkgeml501-mbs.china.huawei.com>
References: <CANUuoLpy5Budcx+tJCeExeYC_yTcQ9J2gC7HsXcjCvhOi7p_Vg@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0ACE7@nkgeml501-mbs.china.huawei.com> <CANUuoLoj3r_94VVMaTkeDFXzTjwC4qxqy57CQ81aHuH49yz_wQ@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0F907@nkgeml501-mbs.china.huawei.com>
Date: Sun, 27 Oct 2013 16:46:30 -0400
X-Google-Sender-Auth: Ll2rAbu9_XP0qkH9OxWiKkVYs-w
Message-ID: <CANUuoLqbMpkEyStkZLL12SwLAU_xaYR-ZpEZ5BXpCu0cHdvApg@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Qin Wu <bill.wu@huawei.com>
Content-Type: multipart/alternative; boundary=047d7b6da6e4013e2f04e9bf14aa
Cc: choits@etri.re.kr, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Sun, 27 Oct 2013 20:46:34 -0000

--047d7b6da6e4013e2f04e9bf14aa
Content-Type: text/plain; charset=ISO-8859-1

Hi Qin,

On Oct 25, 2013 11:14 PM, "Qin Wu" <bill.wu@huawei.com> wrote:
>
> Hi,Richard:
>
> Thank for bring these examples.
>
> I see these examples from two perspectives:
>
> 1.       What cost metrics we should define?
>
> 2.       When, where and how to calculate these metrics (i.e.,
methodology ).
>
> I think we can not define these cost metrics from scratch, we can not
define all the metrics we think useful. Instead, we should define them
mostly based on standardized work,
>
> AT&T have a good practice for measuring these metrics. But I believe AT&T
also doing a good job in standardizing these metrics and associated
methodology,e.g.,
>
> in IETF IPPM WG.
>
> Therefore I think we should try to reuse the existing methodology
associated metrics defined somewhere.

It may not be necessary to limit ALTO to metrics only defined by other WGs.
In other words, limiting ALTO to the representation layer. But as a first
step, this can be fine. I am not very familiar with IPPM. Here is a
question. How does IPPM handle parameterized metrics, e.g., 15-min vs 5-min
measurement interval of latency? I see two problems:

- How does a network expose the parameters available (e.g., a network says
I can support 5 or 15 min intervals)? ALTO IRD allows exposures of such
capabilities.

-How does a client specify the parameter chosen or desired?

Does IPPM have the mechanisms that ALTO can use?
>
>
>
> Also I believe we are not intending to design ALTO as the whole
measurement system or measurement platform.
>
> What ALTO server should do is to gather/aggregate/abstract/filter useful
metrics in a standard way and  provide them
>
> to the alto client or use them as filtering to choose appropriate
endpoint to connect.

Agree. The measurement infrastructure might collect data at 1 min interval,
and ALTO exposes only hourly data to certain clients? It is policy
controlled.

Richard
>
>
>
> Regards!
>
> -Qin
>
> From: yang.r.yang@gmail.com [mailto:yang.r.yang@gmail.com] On Behalf Of
Y. Richard Yang
> Sent: Monday, October 21, 2013 9:25 AM
> To: Qin Wu
> Cc: IETF ALTO; choits@etri.re.kr
> Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?
>
>
>
> Hi all,
>
>
>
> Just a thought, some networks already provide public performance metrics,
and ALTO should be able to provide such info in a standard way and cover
these metrics, if we agree:
>
>
>
> -AT&T
>
>  - http://ipnetwork.bgtmo.ip.att.net/pws/averages.html
>
>  - http://ipnetwork.bgtmo.ip.att.net/pws/network_delay.html
>
>    shows latency, loss, jitter, reliability, modem success rate
>
>
>
>  - In particular, the link provides a methodology page (
http://ipnetwork.bgtmo.ip.att.net/pws/glossary.html), which points to a
major challenge in defining the metrics: metrics have parameters (e.g., the
AT&T link specifies 15-min interval for latency), and I assume that ALTO
cannot work with a single interval, but then how do we handle parameters?
>
>
>
> - CenturyLink (formerly Qwest):
>
>   - https://kai04.centurylink.com/PtapRpts/Public/BackboneReport.aspx
>
>     shows jitter, latency, pkt delivery rate, availability
>
>
>
> ...
>
>
>
> And we could think that ALTO could be extended to be used as a standard
way to check on the service outage of an endpoint (
http://customer.comcast.com/help-and-support/cable-tv/outages-in-your-area/),
which may imply performance metrics as well...
>
>
>
> Thanks.
>
>
>
> Richard
>
>
>
> On Mon, Oct 14, 2013 at 2:30 AM, Qin Wu <bill.wu@huawei.com> wrote:
>
> From: alto-bounces@ietf.org [mailto:alto-bounces@ietf.org] On Behalf Of
Y. Richard Yang
> Sent: Monday, October 14, 2013 7:20 AM
> To: IETF ALTO
> Cc: choits@etri.re.kr; Qin Wu
> Subject: [alto] ALTO Extension: Defining a Cost Metrics document?
>
>
>
> Dear all,
>
>
>
> I am reading up on the documents that define cost metrics.
>
>
>
> The motivation is that the base ALTO protocol (
http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt) has defined only
one Cost Metric: 'routingcost':
>
>
>
> - Defined the semantics at Sec. 6.1.1.1 of , and then listed it at Table
3.
>
>
>
> - Used "hopcount" in examples of Sec. 9.2.3 and 9.2.4, but the semantics
of not formally defined.
>
>
>
> Given the aforementioned state of the base protocol, I see good value in
that the WG produces a WG document that defines a relatively complete set
of Cost Metrics.
>
>
>
> I particular, I read the following:
>
>
>
> - http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02
>
>   (Sec. 3.4 introduced three metrics: hopcount, latency, pktcost, and
cost)
>
>
>
> - http://tools.ietf.org/html/draft-wu-alto-json-te-01
>
>   Defined a set of metrics: in Sec. 4. This work, as stated in the
document, is motivated by
>
>
>
> - http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt
>
>
>
> During the review of ALTO base protocol, we are suggested to document
performance metrics (cost metrics) per the guideline of
>
> - RFC 6390 Guidelines for Considering New Performance Metric Development.
A. Clark, B. Claise. October 2011. (Format: TXT=49930 bytes) (Also BCP0170)
(Status: BEST CURRENT PRACTICE)
>
>
>
> Here a first question, I have, is whether the authors will produce a
"simple" document, at the upcoming IETF, whose only purpose is to:
>
>
>
>   define a set of cost metrics, including the nameing, the semantics, ...
following the guideline per RFC 6390, that can benefit the base protocol.
>
>
>
> [Qin] This is exactly what I we are doing in draft-wu-alto-json-te. We
are checking if we can give a complete list of cost metrics that are built
based on
>
> draft-ietf-idr-ls-distribution-03,RFC5305,
draft-wu-idr-te-pm-bgp,draft-ietf-ospf-te-metric-extensions-04,
draft-ietf-isis-te-metric-extensions-01.
>
> We will further generalize them to firstly have some base metrics that
can applied either to the whole path or any link in the path and then have
>
> Derived metrics that are link specific.
>
>
>
> The update (v-02) will come in a few days.
>
>
>
>
>
> I feel that such a document is focused, and has good value by itself.
>
>
>
> The implications of the introducing multiple cost metrics can be explored
in another document, which I will send in another email shortly.
>
>
>
> Thanks.
>
>
>
> Richard
>
>
>
>

--047d7b6da6e4013e2f04e9bf14aa
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Hi Qin,</p>
<p dir=3D"ltr">On Oct 25, 2013 11:14 PM, &quot;Qin Wu&quot; &lt;<a href=3D"=
mailto:bill.wu@huawei.com">bill.wu@huawei.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi,Richard:<br>
&gt;<br>
&gt; Thank for bring these examples.<br>
&gt;<br>
&gt; I see these examples from two perspectives:<br>
&gt;<br>
&gt; 1.=A0=A0=A0=A0=A0=A0 What cost metrics we should define?<br>
&gt;<br>
&gt; 2.=A0=A0=A0=A0=A0=A0 When, where and how to calculate these metrics (i=
.e., methodology ).<br>
&gt;<br>
&gt; I think we can not define these cost metrics from scratch, we can not =
define all the metrics we think useful. Instead, we should define them most=
ly based on standardized work,<br>
&gt;<br>
&gt; AT&amp;T have a good practice for measuring these metrics. But I belie=
ve AT&amp;T also doing a good job in standardizing these metrics and associ=
ated methodology,e.g.,<br>
&gt;<br>
&gt; in IETF IPPM WG.<br>
&gt;<br>
&gt; Therefore I think we should try to reuse the existing methodology asso=
ciated metrics defined somewhere.</p>
<p dir=3D"ltr">It may not be necessary to limit ALTO to metrics only define=
d by other WGs. In other words, limiting ALTO to the representation layer. =
But as a first step, this can be fine. I am not very familiar with IPPM. He=
re is a question. How does IPPM handle parameterized metrics, e.g., 15-min =
vs 5-min measurement interval of latency? I see two problems:</p>

<p dir=3D"ltr">- How does a network expose the parameters available (e.g., =
a network says I can support 5 or 15 min intervals)? ALTO IRD allows exposu=
res of such capabilities.</p>
<p dir=3D"ltr">-How does a client specify the parameter chosen or desired?<=
/p>
<p dir=3D"ltr">Does IPPM have the mechanisms that ALTO can use?<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; Also I believe we are not intending to design ALTO as the whole measur=
ement system or measurement platform.<br>
&gt;<br>
&gt; What ALTO server should do is to gather/aggregate/abstract/filter usef=
ul metrics in a standard way and =A0provide them<br>
&gt;<br>
&gt; to the alto client or use them as filtering to choose appropriate endp=
oint to connect.</p>
<p dir=3D"ltr">Agree. The measurement infrastructure might collect data at =
1 min interval, and ALTO exposes only hourly data to certain clients? It is=
 policy controlled. </p>
<p dir=3D"ltr">Richard<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; Regards!<br>
&gt;<br>
&gt; -Qin<br>
&gt;<br>
&gt; From: <a href=3D"mailto:yang.r.yang@gmail.com">yang.r.yang@gmail.com</=
a> [mailto:<a href=3D"mailto:yang.r.yang@gmail.com">yang.r.yang@gmail.com</=
a>] On Behalf Of Y. Richard Yang<br>
&gt; Sent: Monday, October 21, 2013 9:25 AM<br>
&gt; To: Qin Wu<br>
&gt; Cc: IETF ALTO; <a href=3D"mailto:choits@etri.re.kr">choits@etri.re.kr<=
/a><br>
&gt; Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?<=
br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; Just a thought, some networks already provide public performance metri=
cs, and ALTO should be able to provide such info in a standard way and cove=
r these metrics, if we agree:<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; -AT&amp;T=A0<br>
&gt;<br>
&gt; =A0- <a href=3D"http://ipnetwork.bgtmo.ip.att.net/pws/averages.html">h=
ttp://ipnetwork.bgtmo.ip.att.net/pws/averages.html</a><br>
&gt;<br>
&gt; =A0-=A0<a href=3D"http://ipnetwork.bgtmo.ip.att.net/pws/network_delay.=
html">http://ipnetwork.bgtmo.ip.att.net/pws/network_delay.html</a><br>
&gt;<br>
&gt; =A0 =A0shows latency, loss, jitter, reliability, modem success rate<br=
>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; =A0- In particular, the link provides a methodology page (<a href=3D"h=
ttp://ipnetwork.bgtmo.ip.att.net/pws/glossary.html">http://ipnetwork.bgtmo.=
ip.att.net/pws/glossary.html</a>), which points to a major challenge in def=
ining the metrics: metrics have parameters (e.g., the AT&amp;T link specifi=
es 15-min interval for latency), and I assume that ALTO cannot work with a =
single interval, but then how do we handle parameters?<br>

&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; - CenturyLink (formerly Qwest):<br>
&gt;<br>
&gt; =A0 -=A0<a href=3D"https://kai04.centurylink.com/PtapRpts/Public/Backb=
oneReport.aspx">https://kai04.centurylink.com/PtapRpts/Public/BackboneRepor=
t.aspx</a><br>
&gt;<br>
&gt; =A0 =A0 shows jitter, latency, pkt delivery rate, availability<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; ...<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; And we could think that ALTO could be extended to be used as a standar=
d way to check on the service outage of an endpoint (<a href=3D"http://cust=
omer.comcast.com/help-and-support/cable-tv/outages-in-your-area/">http://cu=
stomer.comcast.com/help-and-support/cable-tv/outages-in-your-area/</a>), wh=
ich may imply performance metrics as well...<br>

&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; Richard<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; On Mon, Oct 14, 2013 at 2:30 AM, Qin Wu &lt;<a href=3D"mailto:bill.wu@=
huawei.com">bill.wu@huawei.com</a>&gt; wrote:<br>
&gt;<br>
&gt; From: <a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</=
a> [mailto:<a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</=
a>] On Behalf Of Y. Richard Yang<br>
&gt; Sent: Monday, October 14, 2013 7:20 AM<br>
&gt; To: IETF ALTO<br>
&gt; Cc: <a href=3D"mailto:choits@etri.re.kr">choits@etri.re.kr</a>; Qin Wu=
<br>
&gt; Subject: [alto] ALTO Extension: Defining a Cost Metrics document?<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; Dear all,<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; I am reading up on the documents that define cost metrics.=A0<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; The motivation is that the base ALTO protocol (<a href=3D"http://www.i=
etf.org/id/draft-ietf-alto-protocol-20.txt">http://www.ietf.org/id/draft-ie=
tf-alto-protocol-20.txt</a>) has defined only one Cost Metric: &#39;routing=
cost&#39;:<br>

&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; - Defined the semantics at Sec. 6.1.1.1 of , and then listed it at Tab=
le 3.<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; - Used &quot;hopcount&quot; in examples of Sec. 9.2.3 and 9.2.4, but t=
he semantics of not formally defined.<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; Given the aforementioned state of the base protocol, I see good value =
in that the WG produces a WG document that defines a relatively complete se=
t of Cost Metrics.<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; I particular, I read the following:<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; -=A0<a href=3D"http://tools.ietf.org/html/draft-lee-alto-app-net-info-=
exchange-02">http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchang=
e-02</a><br>
&gt;<br>
&gt; =A0 (Sec. 3.4 introduced three metrics: hopcount, latency, pktcost, an=
d cost)<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; -=A0<a href=3D"http://tools.ietf.org/html/draft-wu-alto-json-te-01">ht=
tp://tools.ietf.org/html/draft-wu-alto-json-te-01</a><br>
&gt;<br>
&gt; =A0 Defined a set of metrics: in Sec. 4. This work, as stated in the d=
ocument, is motivated by=A0<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; -=A0<a href=3D"http://www.ietf.org/id/draft-ietf-ospf-te-metric-extens=
ions-04.txt">http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04=
.txt</a><br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; During the review of ALTO base protocol, we are suggested to document =
performance metrics (cost metrics) per the guideline of=A0<br>
&gt;<br>
&gt; - RFC=A06390 Guidelines for Considering New Performance Metric Develop=
ment. A. Clark, B. Claise. October 2011. (Format: TXT=3D49930 bytes) (Also =
BCP0170) (Status: BEST CURRENT PRACTICE)<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; Here a first question, I have, is whether the authors will produce a &=
quot;simple&quot; document, at the upcoming IETF, whose only purpose is to:=
<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; =A0 define a set of cost metrics, including the nameing, the semantics=
, ... following the guideline per RFC 6390, that can benefit the base proto=
col.<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; [Qin] This is exactly what I we are doing in draft-wu-alto-json-te. We=
 are checking if we can give a complete list of cost metrics that are built=
 based on<br>
&gt;<br>
&gt; draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp,draf=
t-ietf-ospf-te-metric-extensions-04, draft-ietf-isis-te-metric-extensions-0=
1.<br>
&gt;<br>
&gt; We will further generalize them to firstly have some base metrics that=
 can applied either to the whole path or any link in the path and then have=
<br>
&gt;<br>
&gt; Derived metrics that are link specific.<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; The update (v-02) will come in a few days. <br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; I feel that such a document is focused, and has good value by itself.<=
br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; The implications of the introducing multiple cost metrics can be explo=
red in another document, which I will send in another email shortly.<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; Richard<br>
&gt;<br>
&gt; =A0=A0<br>
&gt;<br>
&gt; </p>

--047d7b6da6e4013e2f04e9bf14aa--

From sabine.randriamasy@alcatel-lucent.com  Mon Oct 28 04:56:30 2013
Return-Path: <sabine.randriamasy@alcatel-lucent.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 A832311E822D for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 04:56:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.47
X-Spam-Level: 
X-Spam-Status: No, score=-10.47 tagged_above=-999 required=5 tests=[AWL=0.129,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IKGojh3Hzrv9 for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 04:56:17 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id D8B5611E8144 for <alto@ietf.org>; Mon, 28 Oct 2013 04:56:16 -0700 (PDT)
Received: from fr711usmtp1.zeu.alcatel-lucent.com (h135-239-2-122.lucent.com [135.239.2.122]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r9SBs8Et026766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 28 Oct 2013 06:54:10 -0500 (CDT)
Received: from FR711WXCHHUB01.zeu.alcatel-lucent.com (fr711wxchhub01.zeu.alcatel-lucent.com [135.239.2.111]) by fr711usmtp1.zeu.alcatel-lucent.com (GMO) with ESMTP id r9SBs6e7019210 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 28 Oct 2013 12:54:08 +0100
Received: from FR711WXCHMBA03.zeu.alcatel-lucent.com ([169.254.3.70]) by FR711WXCHHUB01.zeu.alcatel-lucent.com ([135.239.2.111]) with mapi id 14.02.0247.003; Mon, 28 Oct 2013 12:54:07 +0100
From: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
To: "He, Peng" <phe@ciena.com>, Qin Wu <bill.wu@huawei.com>, IETF ALTO <alto@ietf.org>
Thread-Topic: I-D Action: draft-wu-alto-te-metrics-00.txt
Thread-Index: AQHOziP6+J+FdtG9skmCafux6L7Mo5oBflNwgADGUaCAB7mdMA==
Date: Mon, 28 Oct 2013 11:54:06 +0000
Message-ID: <A7A5844EB93EB94AB22C2068B10AD65A48BC1892@FR711WXCHMBA03.zeu.alcatel-lucent.com>
References: <B8F9A780D330094D99AF023C5877DABA43C0E5CF@nkgeml501-mbs.china.huawei.com> <B6D287BF58D35D4B882E012AD3E1756167A767E4@ONWVEXCHMB04.ciena.com>
In-Reply-To: <B6D287BF58D35D4B882E012AD3E1756167A767E4@ONWVEXCHMB04.ciena.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.239.27.41]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
Subject: Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 28 Oct 2013 11:56:30 -0000

-----Message d'origine-----
De=A0: alto-bounces@ietf.org [mailto:alto-bounces@ietf.org] De la part de H=
e, Peng
Envoy=E9=A0: mercredi 23 octobre 2013 15:09
=C0=A0: Qin Wu; IETF ALTO
Objet=A0: Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt


[     ] Hi Peng,=20
Please see below and let me know if this would meet your request,
Best regards
Sabine



Another side question: is there a 'cost' parameter that can show/represent =
the 'schedule' of the network links, e.g., before 12pm this link/tunnel wil=
l have say 100Mbps available, after 12pm, only 50mbps available, i.e., band=
width scheduling or similar? Or this is more a management system/controller=
/server related data?

[     ] There is a protocol extension proposal draft that proposes to provi=
de cost values w.r.t. time and is called "ALTO Cost Schedule". ALTO Cost Sc=
hedule is specified as a cost mode where the ALTO Cost values are provided =
in the form of an array, where each array element corresponds to a given ti=
me period and has a value applicable to this period. The granularity of the=
 time period, the number of provided values and other attributes are specif=
ied in the IRD. Note that the transaction format in this draft is compliant=
 with the ALTO protocol version issued before the ALTO format changes in th=
e Cost Type specification.=20

In your example, the granularity may be 12 hours slots or say 1 hour slots =
to allow finer grain cost valuation. If we assume 1 hour slots and the avai=
lability of a metric called "availbw" expressed in mbps, where values can b=
e provided both in regular 'numerical' mode with "permanent" validity and i=
n 'schedule' mode:

In the IRD we would have: (please forgive the possible mismatch of brackets=
)

   {

      ... usual ALTO resources ...

    "resources" : [
     .......

      {
         "uri" : "http://custom.alto.example.com/endpointcost/schedule/look=
up",
         "media-types" : [ "application/alto-endpointcost+json" ],
         "accepts" : [ "application/alto-endpointcostparams+json" ],
         "capabilities" : {
           "cost-constraints" : true,
           "cost-modes" : [ "numerical", "schedule" ],
           "cost-types" : [ "availbw", "availbw" ],
           "cost-scope":  [ "permanent",
                            {"unit": ["hour", 1], "size": 24, "begin": 0,
                             "time zone": "UTC",
                             "lastupdate": mm/hh/dd/mm/yyyy,
                             "nextupdate": mm/hh/dd/mm/yyyy}
           ]
         }
       }
     ]
   }

If the ALTO Servers provides availbw =3D 100mbps for the first 12 hours and=
 50mbps for the next 12 hours on the tunnel with example endpoints (192.0.2=
.2, 192.0.2.89), the ALTO request and response in schedule mode would look =
like:

POST /endpointcost/lookup HTTP/1.1
  Host: alto.example.com
  Content-Length: [TODO]
  Content-Type: application/alto-endpointcostparams+json
  Accept: application/alto-endpointcost+json,application/alto-error+json

  {
    "cost-type" : ["availbw"],
    "cost-mode" : ["schedule"],
    "endpoints" : {
      "srcs": [ "ipv4:192.0.2.2" ],
      "dsts": [
        "ipv4:192.0.2.89",
        "ipv4:198.51.100.34",
        "ipv4:203.0.113.45"
      ]
    }
  }


  HTTP/1.1 200 OK
  Content-Length: [TODO]
  Content-Type: application/alto-endpointcost+json

  {
    "meta" : {},
    "data" : {
      "cost-type" : ["availbw "],
      "cost-mode" : ["schedule"],
      "map" : {
        "ipv4:192.0.2.2": {
          "ipv4:192.0.2.89"    : [100, 100, 100, 100, 100, 100, 100, 100, 1=
00, 100, 100, 100, 50 ... (12 same values)],
          "ipv4:198.51.100.34" : [... (24 values) ...],
          "ipv4:203.0.113.45"  : [... (24 values) ...]
        }
      }
    }
  }

The proposal is documented in http://tools.ietf.org/html/draft-randriamasy-=
alto-cost-schedule-02 where Section 3.3 provides an example on the Schedule=
 attributes in the IRD, and section 3.3.1 provides example transactions wit=
h the Schedule mode.


[     ]=20
Regards,
Peng



-----Original Message-----
From: alto-bounces@ietf.org [mailto:alto-bounces@ietf.org] On Behalf Of Qin=
 Wu
Sent: Tuesday, October 22, 2013 9:17 PM
To: IETF ALTO
Subject: [alto] FW: I-D Action: draft-wu-alto-te-metrics-00.txt

Hi, all:
We have posted a new draft to define a set of new cost metrics that are rel=
ated to traffic engineering performance information.

http://tools.ietf.org/html/draft-wu-alto-te-metrics-00

Please review the draft and provide your feedback and comments.

Regards!
-Qin
-----Original Message-----
From: i-d-announce-bounces@ietf.org [mailto:i-d-announce-bounces@ietf.org] =
On Behalf Of internet-drafts@ietf.org
Sent: Monday, October 21, 2013 2:08 PM
To: i-d-announce@ietf.org
Subject: I-D Action: draft-wu-alto-te-metrics-00.txt


A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.


	Title           : ALTO Traffic Engineering Cost Metrics
	Author(s)       : Qin Wu
                          Young Lee
                          Dhruv Dhody
                          Sabine Randriamasy
	Filename        : draft-wu-alto-te-metrics-00.txt
	Pages           : 26
	Date            : 2013-10-20

Abstract:
   Cost Metric is a basic concept in Application-Layer Traffic
   Optimization (ALTO).  It is used in both the Cost Map Service and the
   Endpoint Cost Service.  Future extensions to ALTO may also use Cost
   Metric.

   Different applications may benefit from different Cost Metrics.  For
   example, a Resource Consumer may prefer Resource Providers that have
   low latency to the Resource Consumer.  However the base ALTO protocol
   [ALTO] has defined only a single cost metric, i.e., the generic
   "routingcost" metric (Sec. 14.2 of ALTO base specification [ALTO]).

   In this document, we define XXX Cost Metrics, derived from OSPF-TE
   and ISIS-TE, to measure network delay, jitter, packet loss, hop
   count, and bandwidth.  The metrics defined in this document provide a
   relatively comprehensive set of Cost Metrics for ALTO focusing on
   traffic engineering.  Additional Cost Metrics such as financial cost
   metrics may be defined in other documents.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-wu-alto-te-metrics-00


Please note that it may take a couple of minutes from the time of submissio=
n until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html or ftp://ftp.ie=
tf.org/ietf/1shadow-sites.txt
_______________________________________________
alto mailing list
alto@ietf.org
https://www.ietf.org/mailman/listinfo/alto
_______________________________________________
alto mailing list
alto@ietf.org
https://www.ietf.org/mailman/listinfo/alto

From w.roome@alcatel-lucent.com  Mon Oct 28 06:03:37 2013
Return-Path: <w.roome@alcatel-lucent.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 01C0D11E82B6 for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 06:03:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.319
X-Spam-Level: 
X-Spam-Status: No, score=-9.319 tagged_above=-999 required=5 tests=[AWL=-0.117, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Df9nTcUadMPp for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 06:03:30 -0700 (PDT)
Received: from ihemail2.lucent.com (ihemail2.lucent.com [135.245.0.35]) by ietfa.amsl.com (Postfix) with ESMTP id D2B3C11E8270 for <alto@ietf.org>; Mon, 28 Oct 2013 06:02:11 -0700 (PDT)
Received: from usnavsmail3.ndc.alcatel-lucent.com (usnavsmail3.ndc.alcatel-lucent.com [135.3.39.11]) by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id r9SD28c7024247 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 28 Oct 2013 08:02:08 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail3.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9SD27xA019180 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 28 Oct 2013 08:02:07 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9SD22Rv026055; Mon, 28 Oct 2013 08:02:04 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.8.130913
Date: Mon, 28 Oct 2013 09:02:04 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>, "Reinaldo Penno, (repenno)" <repenno@cisco.com>
Message-ID: <CE93D18F.B359B%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
In-Reply-To: <CANUuoLq8CSRfpVNvoq-bnZqzVaP4ssZ-VOpz4JgcV8ED8LMcQQ@mail.gmail.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3465795729_28848282"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.11
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 28 Oct 2013 13:03:37 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3465795729_28848282
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit

Here's my take. A PID is a collection of endpoints whose "cost metrics" are
sufficiently similar that we can lump them together as a group. PIDs
partition the endpoint space into equivalence classes. By that definition,
an endpoint can only be in one PID.

I think the problem is that we're confusing "PIDs" with "routes". A PID is
*not* a route.  If there are multiple routes to the endpoints in a PID, the
network picks the best route, and the ALTO server's cost metric should
reflect the cost of that best route. But the route to an endpoint does *not*
determine the endpoint's PID. An endpoint is always in the same PID,
regardless of the route the network uses to get to that endpoint.

Example: An office has a network with 500 endpoints.  The office network has
a hierarchy of internal routers, and (say) two gateway routers that connect
to the rest of the internet via two different ISPs. As I see it, those 500
endpoints are in one PID, regardless of how many gateway routers connect
them to the outside, and whether or not they're working. The ALTO server may
say that the gateway routers are in the office PID, or they may be in the
ISP's PIDs, or they may each be in their own PID. That's the ALTO server's
call. 

But the PID for an endpoint in that office does *not* depend on the route
used to get to it. It's always in the same PID, regardless of which router
is active. The endpoints do not move from one PID to another if a gateway
router goes down.

I agree with Richard that saying, "A server must not do 'foo', but if it
does, a client should recover by doing 'bar'" seems wrong. If a server
violates the protocol, that's an error.

As for situations where an ALTO server might put the same CIDR in two PIDs
because the server is automagically deduces PIDs from network routes, well,
it's the server's responsibility to detect that duplication and resolve it
by picking a PID. It's not the client's job.

- Wendy

From:  "Y. Richard Yang" <yry@cs.yale.edu>
Date:  Fri, October 25, 2013 15:39
To:  "Reinaldo Penno, (repenno)" <repenno@cisco.com>
Cc:  Sebastian Kiesel <ietf-alto@skiesel.de>, IETF ALTO <alto@ietf.org>,
Wendy Roome <w.roome@alcatel-lucent.com>
Subject:  Re: [alto] Problem with "longest prefix" rule for mapping
endpoints to PIDs



On Oct 24, 2013 6:37 PM, "Reinaldo Penno (repenno)" <repenno@cisco.com>
wrote:
>
> Right. Routers have forwarding entries that point to N different
> interfaces. Sometimes they have the same weight, sometimes flow load
> balancing or some other tie breaking internal to the router. And ALTO has
> prefixes that are mapped to two different PIDs. Just another day in the
> Internet.

Mapping to multiple prefixes in fib has well defined semantics, such as load
balancing paths, as you mentioned. It is not clear the use cases for mapping
to multiple PIDs, and our current assignment to resolve the case (e.g., 2d
or 2e) may not provide the intended semantics (e.g., hash on IP to achieve
load balancing). Hence, I am still in the pushing-back mode for
simplicity...

Richard
>
> On 10/24/13 2:24 PM, "Sebastian Kiesel" <ietf-alto@skiesel.de> wrote:
>
> >But we should not declare multiple
> >occurences of one prefix as illegal,
>



--B_3465795729_28848282
Content-type: text/html;
	charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>Here's my take. A PID is a c=
ollection of endpoints whose "cost metrics" are sufficiently similar that we=
 can lump them together as a group. PIDs partition the endpoint space into e=
quivalence classes. By that definition, an endpoint can only be in one PID.<=
/div><div><br></div><div>I think the problem is that we're confusing "PIDs" =
with "routes". A PID is *not* a route. &nbsp;If there are multiple routes to=
 the endpoints in a PID, the network picks the best route, and the ALTO serv=
er's cost metric should reflect the cost of that best route. But the route t=
o an endpoint does *not* determine the endpoint's PID. An endpoint is always=
 in the same PID, regardless of the route the network uses to get to that en=
dpoint.</div><div><br></div><div>Example: An office has a network with 500 e=
ndpoints. &nbsp;The office network has a hierarchy of internal routers, and =
(say) two gateway routers that connect to the rest of the internet via two d=
ifferent ISPs. As I see it, those 500 endpoints are in one PID, regardless o=
f how many gateway routers connect them to the outside, and whether or not t=
hey're working. The ALTO server may say that the gateway routers are in the =
office PID, or they may be in the ISP's PIDs, or they may each be in their o=
wn PID. That's the ALTO server's call.&nbsp;</div><div><br></div><div>But th=
e PID for an endpoint in that office does *not* depend on the route used to =
get to it. It's always in the same PID, regardless of which router is active=
.&nbsp;The endpoints do not move from one PID to another if a gateway router=
 goes down.</div><div><br></div><div>I agree with Richard that saying, "A se=
rver must not do 'foo', but if it does, a client should recover by doing 'ba=
r'" seems wrong. If a server violates the protocol, that's an error.</div><d=
iv><br></div><div>As for situations where an ALTO server might put the same =
CIDR in two PIDs because the server is automagically deduces PIDs from netwo=
rk routes, well, &nbsp;it's the server's responsibility to detect that dupli=
cation and resolve it by picking a PID. It's not the client's job.</div><div=
><br></div><div><span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span=
>- Wendy</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div style=3D"fon=
t-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTO=
M: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:=
 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: mediu=
m none; PADDING-TOP: 3pt"><span style=3D"font-weight:bold">From: </span> "Y. R=
ichard Yang" &lt;<a href=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br=
><span style=3D"font-weight:bold">Date: </span> Fri, October 25, 2013 15:39<br=
><span style=3D"font-weight:bold">To: </span> "Reinaldo Penno, (repenno)" &lt;=
<a href=3D"mailto:repenno@cisco.com">repenno@cisco.com</a>&gt;<br><span style=3D=
"font-weight:bold">Cc: </span> Sebastian Kiesel &lt;<a href=3D"mailto:ietf-alt=
o@skiesel.de">ietf-alto@skiesel.de</a>&gt;, IETF ALTO &lt;<a href=3D"mailto:al=
to@ietf.org">alto@ietf.org</a>&gt;, Wendy Roome &lt;<a href=3D"mailto:w.roome@=
alcatel-lucent.com">w.roome@alcatel-lucent.com</a>&gt;<br><span style=3D"font-=
weight:bold">Subject: </span> Re: [alto] Problem with "longest prefix" rule =
for mapping endpoints to PIDs<br></div><div><br></div><p dir=3D"ltr"><br>
On Oct 24, 2013 6:37 PM, "Reinaldo Penno (repenno)" &lt;<a href=3D"mailto:rep=
enno@cisco.com">repenno@cisco.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Right. Routers have forwarding entries that point to N different<br>
&gt; interfaces. Sometimes they have the same weight, sometimes flow load<b=
r>
&gt; balancing or some other tie breaking internal to the router. And ALTO =
has<br>
&gt; prefixes that are mapped to two different PIDs. Just another day in th=
e<br>
&gt; Internet.</p><p dir=3D"ltr">Mapping to multiple prefixes in fib has well=
 defined semantics, such as load balancing paths, as you mentioned. It is no=
t clear the use cases for mapping to multiple PIDs, and our current assignme=
nt to resolve the case (e.g., 2d or 2e) may not provide the intended semanti=
cs (e.g., hash on IP to achieve load balancing). Hence, I am still in the pu=
shing-back mode for simplicity...</p><p dir=3D"ltr">Richard<br>
&gt;<br>
&gt; On 10/24/13 2:24 PM, "Sebastian Kiesel" &lt;<a href=3D"mailto:ietf-alto@=
skiesel.de">ietf-alto@skiesel.de</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;But we should not declare multiple<br>
&gt; &gt;occurences of one prefix as illegal,<br>
&gt;<br></p></span></body></html>

--B_3465795729_28848282--



From sebi@gw01.ehlo.wurstkaes.de  Mon Oct 28 06:13:48 2013
Return-Path: <sebi@gw01.ehlo.wurstkaes.de>
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 DFA2211E826F for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 06:13:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.295
X-Spam-Level: 
X-Spam-Status: No, score=-2.295 tagged_above=-999 required=5 tests=[AWL=0.306,  BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id poolJs1x68K3 for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 06:13:48 -0700 (PDT)
Received: from gw01.ehlo.wurstkaes.de (gw01.ehlo.wurstkaes.de [IPv6:2a02:a00:e000:116::41]) by ietfa.amsl.com (Postfix) with ESMTP id 11AFA11E817E for <alto@ietf.org>; Mon, 28 Oct 2013 06:13:47 -0700 (PDT)
Received: from sebi by gw01.ehlo.wurstkaes.de with local (Exim 4.80) (envelope-from <sebi@gw01.ehlo.wurstkaes.de>) id 1VamdE-0002Ib-9O; Mon, 28 Oct 2013 14:13:20 +0100
Date: Mon, 28 Oct 2013 14:13:20 +0100
From: Sebastian Kiesel <ietf-alto@skiesel.de>
To: Wendy Roome <w.roome@alcatel-lucent.com>
Message-ID: <20131028131320.GI4845@gw01.ehlo.wurstkaes.de>
References: <CANUuoLq8CSRfpVNvoq-bnZqzVaP4ssZ-VOpz4JgcV8ED8LMcQQ@mail.gmail.com> <CE93D18F.B359B%w.roome@alcatel-lucent.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CE93D18F.B359B%w.roome@alcatel-lucent.com>
Accept-Languages: en, de
Organization: my personal mail account
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 28 Oct 2013 13:13:49 -0000

Wendy, all,

I agree, PIDs are not the same as routes.

I am wondering whether we should specify client behavior if a server
sends a map with the same prefix in two PIDs.  Should it ignore the
complete map, or just the duplicate prefix(es)?  Or can we find a
sort-of reasonable algorithm to resolve the ambiguity?

Defining a map with certain properties as "illegal" (i.e., saying that
the server MUST NOT send it) but completely leaving unspecified how the
client should react if the server does it anyway is IMO not a good
practise.


Sebastian


On Mon, Oct 28, 2013 at 09:02:04AM -0400, Wendy Roome wrote:
> Here's my take. A PID is a collection of endpoints whose "cost metrics" are
> sufficiently similar that we can lump them together as a group. PIDs
> partition the endpoint space into equivalence classes. By that definition,
> an endpoint can only be in one PID.
> 
> I think the problem is that we're confusing "PIDs" with "routes". A PID is
> *not* a route.  If there are multiple routes to the endpoints in a PID, the
> network picks the best route, and the ALTO server's cost metric should
> reflect the cost of that best route. But the route to an endpoint does *not*
> determine the endpoint's PID. An endpoint is always in the same PID,
> regardless of the route the network uses to get to that endpoint.
> 
> Example: An office has a network with 500 endpoints.  The office network has
> a hierarchy of internal routers, and (say) two gateway routers that connect
> to the rest of the internet via two different ISPs. As I see it, those 500
> endpoints are in one PID, regardless of how many gateway routers connect
> them to the outside, and whether or not they're working. The ALTO server may
> say that the gateway routers are in the office PID, or they may be in the
> ISP's PIDs, or they may each be in their own PID. That's the ALTO server's
> call. 
> 
> But the PID for an endpoint in that office does *not* depend on the route
> used to get to it. It's always in the same PID, regardless of which router
> is active. The endpoints do not move from one PID to another if a gateway
> router goes down.
> 
> I agree with Richard that saying, "A server must not do 'foo', but if it
> does, a client should recover by doing 'bar'" seems wrong. If a server
> violates the protocol, that's an error.
> 
> As for situations where an ALTO server might put the same CIDR in two PIDs
> because the server is automagically deduces PIDs from network routes, well,
> it's the server's responsibility to detect that duplication and resolve it
> by picking a PID. It's not the client's job.
> 
> - Wendy
> 
> From:  "Y. Richard Yang" <yry@cs.yale.edu>
> Date:  Fri, October 25, 2013 15:39
> To:  "Reinaldo Penno, (repenno)" <repenno@cisco.com>
> Cc:  Sebastian Kiesel <ietf-alto@skiesel.de>, IETF ALTO <alto@ietf.org>,
> Wendy Roome <w.roome@alcatel-lucent.com>
> Subject:  Re: [alto] Problem with "longest prefix" rule for mapping
> endpoints to PIDs
> 
> 
> 
> On Oct 24, 2013 6:37 PM, "Reinaldo Penno (repenno)" <repenno@cisco.com>
> wrote:
> >
> > Right. Routers have forwarding entries that point to N different
> > interfaces. Sometimes they have the same weight, sometimes flow load
> > balancing or some other tie breaking internal to the router. And ALTO has
> > prefixes that are mapped to two different PIDs. Just another day in the
> > Internet.
> 
> Mapping to multiple prefixes in fib has well defined semantics, such as load
> balancing paths, as you mentioned. It is not clear the use cases for mapping
> to multiple PIDs, and our current assignment to resolve the case (e.g., 2d
> or 2e) may not provide the intended semantics (e.g., hash on IP to achieve
> load balancing). Hence, I am still in the pushing-back mode for
> simplicity...
> 
> Richard
> >
> > On 10/24/13 2:24 PM, "Sebastian Kiesel" <ietf-alto@skiesel.de> wrote:
> >
> > >But we should not declare multiple
> > >occurences of one prefix as illegal,
> >
> 
> 

From repenno@cisco.com  Mon Oct 28 07:38:06 2013
Return-Path: <repenno@cisco.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 893A711E817E for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 07:38:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.536
X-Spam-Level: 
X-Spam-Status: No, score=-10.536 tagged_above=-999 required=5 tests=[AWL=0.062, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2cDFdkTzo0Qw for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 07:37:58 -0700 (PDT)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) by ietfa.amsl.com (Postfix) with ESMTP id 384F511E8185 for <alto@ietf.org>; Mon, 28 Oct 2013 07:37:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=11985; q=dns/txt; s=iport; t=1382971073; x=1384180673; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=o3UIUwbD7FEktqEjmMjhvgD+KDqDwj6gAVP40fkLgyU=; b=S2auGqL+DWu7GijWjGoCgX2SbcY/wHinoRYCy997y2PfWJ9312DsDtiH U0wzYFXyq7d8bVPRSrcrFO+n8irZN++uLD/IS+5ADB9ckLcAy71A7eIy+ Rzmv1StTN5J5D6CD1Rw6a48F8uk8Zvmou5Sekj3Nd4JlqP5lR5QfxZiXF w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhQFAN11blKtJXG+/2dsb2JhbABZDoI1RIEMvmSBJRZ0giUBAQEEeRIBCA4DAwECAQodORQJCAIEAQ0FCId/uD2PJCARB4MfgQ0DqhGCZz+CKg
X-IronPort-AV: E=Sophos;i="4.93,586,1378857600";  d="scan'208,217";a="274533050"
Received: from rcdn-core2-3.cisco.com ([173.37.113.190]) by rcdn-iport-9.cisco.com with ESMTP; 28 Oct 2013 14:37:52 +0000
Received: from xhc-rcd-x15.cisco.com (xhc-rcd-x15.cisco.com [173.37.183.89]) by rcdn-core2-3.cisco.com (8.14.5/8.14.5) with ESMTP id r9SEbq1x005866 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 28 Oct 2013 14:37:52 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.27]) by xhc-rcd-x15.cisco.com ([173.37.183.89]) with mapi id 14.02.0318.004; Mon, 28 Oct 2013 09:37:52 -0500
From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
To: Wendy Roome <w.roome@alcatel-lucent.com>, "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
Thread-Index: AQHO0DGcuN3633K8DEGzmav+Jiqo/5oDNx4AgAEISQCAAEXUAIAAFgOAgAAIKgCAAAm9gIAABT0A//+e5ACAAdYfAIAER9UA//+laoA=
Date: Mon, 28 Oct 2013 14:37:51 +0000
Message-ID: <45A697A8FFD7CF48BCF2BE7E106F06040B73FE1D@xmb-rcd-x04.cisco.com>
In-Reply-To: <CE93D18F.B359B%w.roome@alcatel-lucent.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.3.120616
x-originating-ip: [10.21.144.30]
Content-Type: multipart/alternative; boundary="_000_45A697A8FFD7CF48BCF2BE7E106F06040B73FE1Dxmbrcdx04ciscoc_"
MIME-Version: 1.0
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 28 Oct 2013 14:38:06 -0000

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73FE1Dxmbrcdx04ciscoc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

A few points to consider.

Yes, an endpoint can move from one PID to another in case of Mobile IP

Yes, and endpoint can be found in multiple PIDs if it is in a multi-homed n=
etwork, I.e., a network where the gateway is connected to multiple networks=
.

Yes, and endpoint  can move from one PID to another if the Gateway is down =
since a host interface can be withdraw and the endpoint will move.

Thanks,

Reinaldo

From: Wendy Roome <w.roome@alcatel-lucent.com<mailto:w.roome@alcatel-lucent=
.com>>
Date: Monday, October 28, 2013 6:02 AM
To: "Y. Yang" <yry@cs.yale.edu<mailto:yry@cs.yale.edu>>, Cisco Employee <re=
penno@cisco.com<mailto:repenno@cisco.com>>
Cc: Sebastian Kiesel <ietf-alto@skiesel.de<mailto:ietf-alto@skiesel.de>>, I=
ETF ALTO <alto@ietf.org<mailto:alto@ietf.org>>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoint=
s to PIDs

Here's my take. A PID is a collection of endpoints whose "cost metrics" are=
 sufficiently similar that we can lump them together as a group. PIDs parti=
tion the endpoint space into equivalence classes. By that definition, an en=
dpoint can only be in one PID.

I think the problem is that we're confusing "PIDs" with "routes". A PID is =
*not* a route.  If there are multiple routes to the endpoints in a PID, the=
 network picks the best route, and the ALTO server's cost metric should ref=
lect the cost of that best route. But the route to an endpoint does *not* d=
etermine the endpoint's PID. An endpoint is always in the same PID, regardl=
ess of the route the network uses to get to that endpoint.

Example: An office has a network with 500 endpoints.  The office network ha=
s a hierarchy of internal routers, and (say) two gateway routers that conne=
ct to the rest of the internet via two different ISPs. As I see it, those 5=
00 endpoints are in one PID, regardless of how many gateway routers connect=
 them to the outside, and whether or not they're working. The ALTO server m=
ay say that the gateway routers are in the office PID, or they may be in th=
e ISP's PIDs, or they may each be in their own PID. That's the ALTO server'=
s call.

But the PID for an endpoint in that office does *not* depend on the route u=
sed to get to it. It's always in the same PID, regardless of which router i=
s active. The endpoints do not move from one PID to another if a gateway ro=
uter goes down.

I agree with Richard that saying, "A server must not do 'foo', but if it do=
es, a client should recover by doing 'bar'" seems wrong. If a server violat=
es the protocol, that's an error.

As for situations where an ALTO server might put the same CIDR in two PIDs =
because the server is automagically deduces PIDs from network routes, well,=
  it's the server's responsibility to detect that duplication and resolve i=
t by picking a PID. It's not the client's job.

- Wendy

From: "Y. Richard Yang" <yry@cs.yale.edu<mailto:yry@cs.yale.edu>>
Date: Fri, October 25, 2013 15:39
To: "Reinaldo Penno, (repenno)" <repenno@cisco.com<mailto:repenno@cisco.com=
>>
Cc: Sebastian Kiesel <ietf-alto@skiesel.de<mailto:ietf-alto@skiesel.de>>, I=
ETF ALTO <alto@ietf.org<mailto:alto@ietf.org>>, Wendy Roome <w.roome@alcate=
l-lucent.com<mailto:w.roome@alcatel-lucent.com>>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoint=
s to PIDs


On Oct 24, 2013 6:37 PM, "Reinaldo Penno (repenno)" <repenno@cisco.com<mail=
to:repenno@cisco.com>> wrote:
>
> Right. Routers have forwarding entries that point to N different
> interfaces. Sometimes they have the same weight, sometimes flow load
> balancing or some other tie breaking internal to the router. And ALTO has
> prefixes that are mapped to two different PIDs. Just another day in the
> Internet.

Mapping to multiple prefixes in fib has well defined semantics, such as loa=
d balancing paths, as you mentioned. It is not clear the use cases for mapp=
ing to multiple PIDs, and our current assignment to resolve the case (e.g.,=
 2d or 2e) may not provide the intended semantics (e.g., hash on IP to achi=
eve load balancing). Hence, I am still in the pushing-back mode for simplic=
ity...

Richard
>
> On 10/24/13 2:24 PM, "Sebastian Kiesel" <ietf-alto@skiesel.de<mailto:ietf=
-alto@skiesel.de>> wrote:
>
> >But we should not declare multiple
> >occurences of one prefix as illegal,
>

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73FE1Dxmbrcdx04ciscoc_
Content-Type: text/html; charset="us-ascii"
Content-ID: <BFD2B5A05114764EA3589DCEA00F4F4C@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div>A few points to consider.&nbsp;</div>
<div><br>
</div>
<div>Yes, an endpoint can move from one PID to another in case of Mobile IP=
</div>
<div><br>
</div>
<div>Yes, and endpoint can be found in multiple PIDs if it is in a multi-ho=
med network, I.e., a network where the gateway is connected to multiple net=
works.&nbsp;</div>
<div><br>
</div>
<div>Yes, and endpoint &nbsp;can move from one PID to another if the Gatewa=
y is down since a host interface can be withdraw and the endpoint will move=
.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Reinaldo</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>Wendy Roome &lt;<a href=3D"ma=
ilto:w.roome@alcatel-lucent.com">w.roome@alcatel-lucent.com</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Monday, October 28, 2013 6:02=
 AM<br>
<span style=3D"font-weight:bold">To: </span>&quot;Y. Yang&quot; &lt;<a href=
=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;, Cisco Employee &lt;<a =
href=3D"mailto:repenno@cisco.com">repenno@cisco.com</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>Sebastian Kiesel &lt;<a href=3D=
"mailto:ietf-alto@skiesel.de">ietf-alto@skiesel.de</a>&gt;, IETF ALTO &lt;<=
a href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] Problem with &q=
uot;longest prefix&quot; rule for mapping endpoints to PIDs<br>
</div>
<div><br>
</div>
<div>
<div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line=
-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-famil=
y: Calibri, sans-serif; ">
<div>Here's my take. A PID is a collection of endpoints whose &quot;cost me=
trics&quot; are sufficiently similar that we can lump them together as a gr=
oup. PIDs partition the endpoint space into equivalence classes. By that de=
finition, an endpoint can only be in one PID.</div>
<div><br>
</div>
<div>I think the problem is that we're confusing &quot;PIDs&quot; with &quo=
t;routes&quot;. A PID is *not* a route. &nbsp;If there are multiple routes =
to the endpoints in a PID, the network picks the best route, and the ALTO s=
erver's cost metric should reflect the cost of that best
 route. But the route to an endpoint does *not* determine the endpoint's PI=
D. An endpoint is always in the same PID, regardless of the route the netwo=
rk uses to get to that endpoint.</div>
<div><br>
</div>
<div>Example: An office has a network with 500 endpoints. &nbsp;The office =
network has a hierarchy of internal routers, and (say) two gateway routers =
that connect to the rest of the internet via two different ISPs. As I see i=
t, those 500 endpoints are in one PID,
 regardless of how many gateway routers connect them to the outside, and wh=
ether or not they're working. The ALTO server may say that the gateway rout=
ers are in the office PID, or they may be in the ISP's PIDs, or they may ea=
ch be in their own PID. That's the
 ALTO server's call.&nbsp;</div>
<div><br>
</div>
<div>But the PID for an endpoint in that office does *not* depend on the ro=
ute used to get to it. It's always in the same PID, regardless of which rou=
ter is active.&nbsp;The endpoints do not move from one PID to another if a =
gateway router goes down.</div>
<div><br>
</div>
<div>I agree with Richard that saying, &quot;A server must not do 'foo', bu=
t if it does, a client should recover by doing 'bar'&quot; seems wrong. If =
a server violates the protocol, that's an error.</div>
<div><br>
</div>
<div>As for situations where an ALTO server might put the same CIDR in two =
PIDs because the server is automagically deduces PIDs from network routes, =
well, &nbsp;it's the server's responsibility to detect that duplication and=
 resolve it by picking a PID. It's not
 the client's job.</div>
<div><br>
</div>
<div><span class=3D"Apple-tab-span" style=3D"white-space:pre"></span>- Wend=
y</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>&quot;Y. Richard Yang&quot; &=
lt;<a href=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Fri, October 25, 2013 15:39<b=
r>
<span style=3D"font-weight:bold">To: </span>&quot;Reinaldo Penno, (repenno)=
&quot; &lt;<a href=3D"mailto:repenno@cisco.com">repenno@cisco.com</a>&gt;<b=
r>
<span style=3D"font-weight:bold">Cc: </span>Sebastian Kiesel &lt;<a href=3D=
"mailto:ietf-alto@skiesel.de">ietf-alto@skiesel.de</a>&gt;, IETF ALTO &lt;<=
a href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&gt;, Wendy Roome &lt;<a h=
ref=3D"mailto:w.roome@alcatel-lucent.com">w.roome@alcatel-lucent.com</a>&gt=
;<br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] Problem with &q=
uot;longest prefix&quot; rule for mapping endpoints to PIDs<br>
</div>
<div><br>
</div>
<p dir=3D"ltr"><br>
On Oct 24, 2013 6:37 PM, &quot;Reinaldo Penno (repenno)&quot; &lt;<a href=
=3D"mailto:repenno@cisco.com">repenno@cisco.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Right. Routers have forwarding entries that point to N different<br>
&gt; interfaces. Sometimes they have the same weight, sometimes flow load<b=
r>
&gt; balancing or some other tie breaking internal to the router. And ALTO =
has<br>
&gt; prefixes that are mapped to two different PIDs. Just another day in th=
e<br>
&gt; Internet.</p>
<p dir=3D"ltr">Mapping to multiple prefixes in fib has well defined semanti=
cs, such as load balancing paths, as you mentioned. It is not clear the use=
 cases for mapping to multiple PIDs, and our current assignment to resolve =
the case (e.g., 2d or 2e) may not
 provide the intended semantics (e.g., hash on IP to achieve load balancing=
). Hence, I am still in the pushing-back mode for simplicity...</p>
<p dir=3D"ltr">Richard<br>
&gt;<br>
&gt; On 10/24/13 2:24 PM, &quot;Sebastian Kiesel&quot; &lt;<a href=3D"mailt=
o:ietf-alto@skiesel.de">ietf-alto@skiesel.de</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;But we should not declare multiple<br>
&gt; &gt;occurences of one prefix as illegal,<br>
&gt;<br>
</p>
</span></div>
</div>
</span>
</body>
</html>

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73FE1Dxmbrcdx04ciscoc_--

From w.roome@alcatel-lucent.com  Mon Oct 28 07:58:11 2013
Return-Path: <w.roome@alcatel-lucent.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 45FAC11E8186 for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 07:57:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.311
X-Spam-Level: 
X-Spam-Status: No, score=-9.311 tagged_above=-999 required=5 tests=[AWL=-0.109, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WKiw9eWfy+d0 for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 07:57:44 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id B144F11E8340 for <alto@ietf.org>; Mon, 28 Oct 2013 07:57:10 -0700 (PDT)
Received: from usnavsmail1.ndc.alcatel-lucent.com (usnavsmail1.ndc.alcatel-lucent.com [135.3.39.9]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r9SEv6L5004150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 28 Oct 2013 09:57:06 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail1.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9SEv5AY005232 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 28 Oct 2013 09:57:05 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9SEv2Ss007437; Mon, 28 Oct 2013 09:57:03 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.8.130913
Date: Mon, 28 Oct 2013 10:57:06 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: "Reinaldo Penno (repenno)" <repenno@cisco.com>, "Y. Richard Yang" <yry@cs.yale.edu>
Message-ID: <CE93F1C3.B365E%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
In-Reply-To: <45A697A8FFD7CF48BCF2BE7E106F06040B73FE1D@xmb-rcd-x04.cisco.com>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3465802629_29250376"
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.9
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 28 Oct 2013 14:58:11 -0000

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3465802629_29250376
Content-type: text/plain;
	charset="US-ASCII"
Content-transfer-encoding: 7bit

I agree with #1 & #3. But those just move an endpoint between PIDs. That's
fine. At any given time, the endpoint is only in one PID.

But I disagree with #2. The endpoints in a multi-homed network may have two
different routes, but they are in one PID, not two PIDs. Here's how I look
at it: if I want to send a packet to 10.0.0.1, I just tell the network to
send the packet. I do *not* tell the network the route or which gateway to
use. That's the network's job. And the network does its best to hide that
from users. Similarly, an ALTO client just wants the cost from endpoint A to
B. The client doesn't want to guess the best route. That's the ALTO server's
job.

- Wendy


From:  "Reinaldo Penno (repenno)" <repenno@cisco.com>
Date:  Mon, October 28, 2013 10:37
To:  Wendy Roome <w.roome@alcatel-lucent.com>, "Y. Richard Yang"
<yry@cs.yale.edu>
Cc:  Sebastian Kiesel <ietf-alto@skiesel.de>, IETF ALTO <alto@ietf.org>
Subject:  Re: [alto] Problem with "longest prefix" rule for mapping
endpoints to PIDs

A few points to consider.

Yes, an endpoint can move from one PID to another in case of Mobile IP

Yes, and endpoint can be found in multiple PIDs if it is in a multi-homed
network, I.e., a network where the gateway is connected to multiple
networks. 

Yes, and endpoint  can move from one PID to another if the Gateway is down
since a host interface can be withdraw and the endpoint will move.

Thanks,

Reinaldo




--B_3465802629_29250376
Content-type: text/html;
	charset="US-ASCII"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: Calibri, sans-serif; "><div>I agree with #1 &amp; #3. Bu=
t those just move an endpoint between PIDs. That's fine. At any given time, =
the endpoint is only in one PID.</div><div><br></div><div>But I disagree wit=
h #2. The endpoints in a multi-homed network may have two different routes, =
but they are in one PID, not two PIDs. Here's how I look at it: if I want to=
 send a packet to 10.0.0.1, I just tell the network to send the packet. I do=
 *not* tell the network the route or which gateway to use. That's the networ=
k's job. And the network does its best to hide that from users. Similarly, a=
n ALTO client just wants the cost from endpoint A to B. The client doesn't w=
ant to guess the best route. That's the ALTO server's job.</div><div><br></d=
iv><div><span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>- Wendy=
</div><div><br></div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div sty=
le=3D"font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDE=
R-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDIN=
G-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT=
: medium none; PADDING-TOP: 3pt"><span style=3D"font-weight:bold">From: </span=
> "Reinaldo Penno (repenno)" &lt;<a href=3D"mailto:repenno@cisco.com">repenno@=
cisco.com</a>&gt;<br><span style=3D"font-weight:bold">Date: </span> Mon, Octob=
er 28, 2013 10:37<br><span style=3D"font-weight:bold">To: </span> Wendy Roome =
&lt;<a href=3D"mailto:w.roome@alcatel-lucent.com">w.roome@alcatel-lucent.com</=
a>&gt;, "Y. Richard Yang" &lt;<a href=3D"mailto:yry@cs.yale.edu">yry@cs.yale.e=
du</a>&gt;<br><span style=3D"font-weight:bold">Cc: </span> Sebastian Kiesel &l=
t;<a href=3D"mailto:ietf-alto@skiesel.de">ietf-alto@skiesel.de</a>&gt;, IETF A=
LTO &lt;<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&gt;<br><span style=3D=
"font-weight:bold">Subject: </span> Re: [alto] Problem with "longest prefix"=
 rule for mapping endpoints to PIDs<br></div><div><br></div><span class=3D"App=
le-style-span" style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-f=
amily: Calibri; font-style: normal; font-variant: normal; font-weight: norma=
l; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -web=
kit-auto; text-indent: 0px; text-transform: none; white-space: normal; widow=
s: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-bor=
der-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit=
-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; =
"><span class=3D"Apple-style-span" style=3D"font-size: 14px; font-family: Calibr=
i, sans-serif; "><div>A few points to consider.&nbsp;</div><div><br></div><d=
iv>Yes, an endpoint can move from one PID to another in case of Mobile IP</d=
iv><div><br></div><div>Yes, and endpoint can be found in multiple PIDs if it=
 is in a multi-homed network, I.e., a network where the gateway is connected=
 to multiple networks.&nbsp;</div><div><br></div><div>Yes, and endpoint &nbs=
p;can move from one PID to another if the Gateway is down since a host inter=
face can be withdraw and the endpoint will move.</div><div><br></div><div>Th=
anks,</div><div><br></div><div>Reinaldo</div></span></span><br class=3D"Apple-=
interchange-newline"></span></body></html>

--B_3465802629_29250376--



From repenno@cisco.com  Mon Oct 28 08:09:22 2013
Return-Path: <repenno@cisco.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 58CF011E817E for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 08:09:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eSb4A0q8mEj2 for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 08:08:59 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) by ietfa.amsl.com (Postfix) with ESMTP id CAE3F11E814C for <alto@ietf.org>; Mon, 28 Oct 2013 08:08:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8675; q=dns/txt; s=iport; t=1382972934; x=1384182534; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=eiXtL/z2AyRFeUscDlEzie8CeEVqU4Fxf+nIK6QBw4k=; b=QIke1rM/LZq+gyE5+u9p94D3hW5Y1dBNw2eu7w7jvAUIIM2e5d9Kj1Hj JQOG9ulAMGPX24nHAAgzCWHuxxvau1A0peYZdJ7WUIATTwUw/tLNwNwSr vTUOKFQq2Eh4VnMUYHcVv/XAfGkcV9P2+1uwX5LaYMXr/vm+YxK8hm51t w=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhQFAKd9blKtJV2c/2dsb2JhbABZDoI1RIEMvmSBJhZ0giUBAQEEeRIBCA4DAwECCx05FAkIAgQBDQUIh3+4RY8kIBEHgx+BDQOqEYJnP4Iq
X-IronPort-AV: E=Sophos;i="4.93,586,1378857600";  d="scan'208,217";a="277559973"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-6.cisco.com with ESMTP; 28 Oct 2013 15:08:52 +0000
Received: from xhc-aln-x14.cisco.com (xhc-aln-x14.cisco.com [173.36.12.88]) by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id r9SF8pUY006769 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 28 Oct 2013 15:08:51 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.27]) by xhc-aln-x14.cisco.com ([173.36.12.88]) with mapi id 14.02.0318.004; Mon, 28 Oct 2013 10:08:52 -0500
From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
To: Wendy Roome <w.roome@alcatel-lucent.com>, "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
Thread-Index: AQHO0DGcuN3633K8DEGzmav+Jiqo/5oDNx4AgAEISQCAAEXUAIAAFgOAgAAIKgCAAAm9gIAABT0A//+e5ACAAdYfAIAER9UA//+laoCAAHq6AP//je4A
Date: Mon, 28 Oct 2013 15:08:51 +0000
Message-ID: <45A697A8FFD7CF48BCF2BE7E106F06040B73FEBC@xmb-rcd-x04.cisco.com>
In-Reply-To: <CE93F1C3.B365E%w.roome@alcatel-lucent.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.3.120616
x-originating-ip: [10.21.144.30]
Content-Type: multipart/alternative; boundary="_000_45A697A8FFD7CF48BCF2BE7E106F06040B73FEBCxmbrcdx04ciscoc_"
MIME-Version: 1.0
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 28 Oct 2013 15:09:23 -0000

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73FEBCxmbrcdx04ciscoc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

[RP] And endpoint is an application, not an IP.  So, an endpoint can be in =
many PIDs.

More inline..

From: Wendy Roome <w.roome@alcatel-lucent.com<mailto:w.roome@alcatel-lucent=
.com>>
Date: Monday, October 28, 2013 7:57 AM
To: Cisco Employee <repenno@cisco.com<mailto:repenno@cisco.com>>, "Y. Yang"=
 <yry@cs.yale.edu<mailto:yry@cs.yale.edu>>
Cc: Sebastian Kiesel <ietf-alto@skiesel.de<mailto:ietf-alto@skiesel.de>>, I=
ETF ALTO <alto@ietf.org<mailto:alto@ietf.org>>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoint=
s to PIDs

I agree with #1 & #3. But those just move an endpoint between PIDs. That's =
fine. At any given time, the endpoint is only in one PID.

But I disagree with #2. The endpoints in a multi-homed network may have two=
 different routes, but they are in one PID, not two PIDs. Here's how I look=
 at it: if I want to send a packet to 10.0.0.1, I just tell the network to =
send the packet. I do *not* tell the network the route or which gateway to =
use.

[RP] The interface and source selection address determines to a great exten=
d the path  the packet will take through a network. Both are possible today=
 and with IPv6 will be much more pervasive.


That's the network's job. And the network does its best to hide that from u=
sers. Similarly, an ALTO client just wants the cost from endpoint A to B. T=
he client doesn't want to guess the best route. That's the ALTO server's jo=
b.

- Wendy


From: "Reinaldo Penno (repenno)" <repenno@cisco.com<mailto:repenno@cisco.co=
m>>
Date: Mon, October 28, 2013 10:37
To: Wendy Roome <w.roome@alcatel-lucent.com<mailto:w.roome@alcatel-lucent.c=
om>>, "Y. Richard Yang" <yry@cs.yale.edu<mailto:yry@cs.yale.edu>>
Cc: Sebastian Kiesel <ietf-alto@skiesel.de<mailto:ietf-alto@skiesel.de>>, I=
ETF ALTO <alto@ietf.org<mailto:alto@ietf.org>>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoint=
s to PIDs

A few points to consider.

Yes, an endpoint can move from one PID to another in case of Mobile IP

Yes, and endpoint can be found in multiple PIDs if it is in a multi-homed n=
etwork, I.e., a network where the gateway is connected to multiple networks=
.

Yes, and endpoint  can move from one PID to another if the Gateway is down =
since a host interface can be withdraw and the endpoint will move.

Thanks,

Reinaldo


--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73FEBCxmbrcdx04ciscoc_
Content-Type: text/html; charset="us-ascii"
Content-ID: <1E6777B183E40A4B844293BBD35EE89A@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div>[RP] And endpoint is an application, not an IP. &nbsp;So, an endpoint =
can be in many PIDs.&nbsp;</div>
<div><br>
</div>
<div>More inline..</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>Wendy Roome &lt;<a href=3D"ma=
ilto:w.roome@alcatel-lucent.com">w.roome@alcatel-lucent.com</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Monday, October 28, 2013 7:57=
 AM<br>
<span style=3D"font-weight:bold">To: </span>Cisco Employee &lt;<a href=3D"m=
ailto:repenno@cisco.com">repenno@cisco.com</a>&gt;, &quot;Y. Yang&quot; &lt=
;<a href=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>Sebastian Kiesel &lt;<a href=3D=
"mailto:ietf-alto@skiesel.de">ietf-alto@skiesel.de</a>&gt;, IETF ALTO &lt;<=
a href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] Problem with &q=
uot;longest prefix&quot; rule for mapping endpoints to PIDs<br>
</div>
<div><br>
</div>
<div>
<div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line=
-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-famil=
y: Calibri, sans-serif; ">
<div>I agree with #1 &amp; #3. But those just move an endpoint between PIDs=
. That's fine. At any given time, the endpoint is only in one PID.</div>
<div><br>
</div>
<div>But I disagree with #2. The endpoints in a multi-homed network may hav=
e two different routes, but they are in one PID, not two PIDs. Here's how I=
 look at it: if I want to send a packet to 10.0.0.1, I just tell the networ=
k to send the packet. I do *not*
 tell the network the route or which gateway to use. </div>
</div>
</div>
</span>
<div><br>
</div>
<div>[RP] The interface and source selection address determines to a great =
extend the path &nbsp;the packet will take through a network. Both are poss=
ible today and with IPv6 will be much more pervasive.</div>
<div><br>
</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div>
<div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line=
-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-famil=
y: Calibri, sans-serif; ">
<div>That's the network's job. And the network does its best to hide that f=
rom users. Similarly, an ALTO client just wants the cost from endpoint A to=
 B. The client doesn't want to guess the best route. That's the ALTO server=
's job.</div>
<div><br>
</div>
<div><span class=3D"Apple-tab-span" style=3D"white-space:pre"></span>- Wend=
y</div>
<div><br>
</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>&quot;Reinaldo Penno (repenno=
)&quot; &lt;<a href=3D"mailto:repenno@cisco.com">repenno@cisco.com</a>&gt;<=
br>
<span style=3D"font-weight:bold">Date: </span>Mon, October 28, 2013 10:37<b=
r>
<span style=3D"font-weight:bold">To: </span>Wendy Roome &lt;<a href=3D"mail=
to:w.roome@alcatel-lucent.com">w.roome@alcatel-lucent.com</a>&gt;, &quot;Y.=
 Richard Yang&quot; &lt;<a href=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu<=
/a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>Sebastian Kiesel &lt;<a href=3D=
"mailto:ietf-alto@skiesel.de">ietf-alto@skiesel.de</a>&gt;, IETF ALTO &lt;<=
a href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] Problem with &q=
uot;longest prefix&quot; rule for mapping endpoints to PIDs<br>
</div>
<div><br>
</div>
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; color:=
 rgb(0, 0, 0); font-family: Calibri; font-style: normal; font-variant: norm=
al; font-weight: normal; letter-spacing: normal; line-height: normal; orpha=
ns: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; wh=
ite-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-=
spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decoration=
s-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-widt=
h: 0px; font-size: medium; "><span class=3D"Apple-style-span" style=3D"font=
-size: 14px; font-family: Calibri, sans-serif; ">
<div>A few points to consider.&nbsp;</div>
<div><br>
</div>
<div>Yes, an endpoint can move from one PID to another in case of Mobile IP=
</div>
<div><br>
</div>
<div>Yes, and endpoint can be found in multiple PIDs if it is in a multi-ho=
med network, I.e., a network where the gateway is connected to multiple net=
works.&nbsp;</div>
<div><br>
</div>
<div>Yes, and endpoint &nbsp;can move from one PID to another if the Gatewa=
y is down since a host interface can be withdraw and the endpoint will move=
.</div>
<div><br>
</div>
<div>Thanks,</div>
<div><br>
</div>
<div>Reinaldo</div>
</span></span><br class=3D"Apple-interchange-newline">
</span></div>
</div>
</span>
</body>
</html>

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B73FEBCxmbrcdx04ciscoc_--

From sebi@gw01.ehlo.wurstkaes.de  Mon Oct 28 08:48:44 2013
Return-Path: <sebi@gw01.ehlo.wurstkaes.de>
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 6964611E8160 for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 08:48:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.325
X-Spam-Level: 
X-Spam-Status: No, score=-2.325 tagged_above=-999 required=5 tests=[AWL=0.275,  BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZSlZ83RUxayH for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 08:48:44 -0700 (PDT)
Received: from gw01.ehlo.wurstkaes.de (gw01.ehlo.wurstkaes.de [IPv6:2a02:a00:e000:116::41]) by ietfa.amsl.com (Postfix) with ESMTP id 15E4811E8185 for <alto@ietf.org>; Mon, 28 Oct 2013 08:48:38 -0700 (PDT)
Received: from sebi by gw01.ehlo.wurstkaes.de with local (Exim 4.80) (envelope-from <sebi@gw01.ehlo.wurstkaes.de>) id 1Vap38-0002sq-Bl; Mon, 28 Oct 2013 16:48:14 +0100
Date: Mon, 28 Oct 2013 16:48:14 +0100
From: Sebastian Kiesel <ietf-alto@skiesel.de>
To: "Reinaldo Penno (repenno)" <repenno@cisco.com>
Message-ID: <20131028154814.GJ4845@gw01.ehlo.wurstkaes.de>
References: <CE93F1C3.B365E%w.roome@alcatel-lucent.com> <45A697A8FFD7CF48BCF2BE7E106F06040B73FEBC@xmb-rcd-x04.cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <45A697A8FFD7CF48BCF2BE7E106F06040B73FEBC@xmb-rcd-x04.cisco.com>
Accept-Languages: en, de
Organization: my personal mail account
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 28 Oct 2013 15:48:44 -0000

On Mon, Oct 28, 2013 at 03:08:51PM +0000, Reinaldo Penno (repenno) wrote:
> [RP] And endpoint is an application, not an IP.  So, an endpoint can be in many PIDs.

True in general. but for that we probably would have to define a new
endpoint type.  This discussion is about the type IP prefix.

Sebastian

From repenno@cisco.com  Mon Oct 28 08:57:03 2013
Return-Path: <repenno@cisco.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 A508C11E8185 for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 08:57:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v9JMnthfRUBR for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 08:56:57 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) by ietfa.amsl.com (Postfix) with ESMTP id BCBE611E814D for <alto@ietf.org>; Mon, 28 Oct 2013 08:56:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=778; q=dns/txt; s=iport; t=1382975817; x=1384185417; h=from:to:cc:subject:date:message-id:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=j/RiOz3orDRnM5/r50Ok9TJbey1aoYWycIE4Cc4fdxk=; b=U1odd/GaK/c/hluiB6o1GCFh7Sk1IejCQjP8IXJ85b868dxTAHEObkw6 JW5STLHVCz+45h6/jj15YLxHiHHuYflCXkIpXcMpUE2TJEfXyhd5DQBz5 Jklb7v1z7vndbyk+voNSRnVSw1cv/umpnE3RLf4qcaGMYMPBwnTtzQDEd g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhMFADGIblKtJXG8/2dsb2JhbABZgweBDL5kgSYWdIIlAQEBBDo/EgEIDgoKFEIlAgQOBQiHf7hdjyQxB4MfgQ0DqhGDJoIq
X-IronPort-AV: E=Sophos;i="4.93,586,1378857600"; d="scan'208";a="277582559"
Received: from rcdn-core2-1.cisco.com ([173.37.113.188]) by rcdn-iport-6.cisco.com with ESMTP; 28 Oct 2013 15:56:56 +0000
Received: from xhc-aln-x02.cisco.com (xhc-aln-x02.cisco.com [173.36.12.76]) by rcdn-core2-1.cisco.com (8.14.5/8.14.5) with ESMTP id r9SFuub6002962 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 28 Oct 2013 15:56:56 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.27]) by xhc-aln-x02.cisco.com ([173.36.12.76]) with mapi id 14.02.0318.004; Mon, 28 Oct 2013 10:56:56 -0500
From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
To: Sebastian Kiesel <ietf-alto@skiesel.de>
Thread-Topic: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
Thread-Index: AQHO0DGcuN3633K8DEGzmav+Jiqo/5oDNx4AgAEISQCAAEXUAIAAFgOAgAAIKgCAAAm9gIAABT0A//+e5ACAAdYfAIAER9UA//+laoCAAHq6AP//je4AABALcgD//40TAA==
Date: Mon, 28 Oct 2013 15:56:55 +0000
Message-ID: <45A697A8FFD7CF48BCF2BE7E106F06040B73FF80@xmb-rcd-x04.cisco.com>
In-Reply-To: <20131028154814.GJ4845@gw01.ehlo.wurstkaes.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.3.120616
x-originating-ip: [10.21.144.30]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <59AED19B4D29254C93E8D2E896650F6E@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Wendy Roome <w.roome@alcatel-lucent.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 28 Oct 2013 15:57:03 -0000

If I rephrased I would say when the representation of an endpoint is an
IP, that IP can appear in only one PID.

We could create this constraint within a single map. Across maps,
certainly an IP can be mapped to different PIDs.

But I'm still not convinced (but can be) that in real deployments an IP
will appear in only one PID such as in the case of multi-homed networks.

On 10/28/13 8:48 AM, "Sebastian Kiesel" <ietf-alto@skiesel.de> wrote:

>On Mon, Oct 28, 2013 at 03:08:51PM +0000, Reinaldo Penno (repenno) wrote:
>> [RP] And endpoint is an application, not an IP.  So, an endpoint can be
>>in many PIDs.
>
>True in general. but for that we probably would have to define a new
>endpoint type.  This discussion is about the type IP prefix.
>
>Sebastian


From gregb@grotto-networking.com  Mon Oct 28 10:49:00 2013
Return-Path: <gregb@grotto-networking.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 765FC11E8191 for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 10:49:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ghGrbupdj59m for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 10:48:55 -0700 (PDT)
Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by ietfa.amsl.com (Postfix) with ESMTP id 3472811E81B0 for <alto@ietf.org>; Mon, 28 Oct 2013 10:48:50 -0700 (PDT)
Received: from [192.168.0.124] (c-67-170-243-110.hsd1.ca.comcast.net [67.170.243.110]) by smtp.webfaction.com (Postfix) with ESMTP id 30923223D10F for <alto@ietf.org>; Mon, 28 Oct 2013 17:48:50 +0000 (UTC)
Message-ID: <526EA379.308@grotto-networking.com>
Date: Mon, 28 Oct 2013 10:48:41 -0700
From: Greg Bernstein <gregb@grotto-networking.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
MIME-Version: 1.0
To: "alto@ietf.org" <alto@ietf.org>
References: <5266D9CA.3070900@bell-labs.com>
In-Reply-To: <5266D9CA.3070900@bell-labs.com>
X-Enigmail-Version: 1.5.2
Content-Type: multipart/alternative; boundary="------------020001090504050401080908"
Subject: [alto]  extension questions and comments
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 28 Oct 2013 17:49:00 -0000

This is a multi-part message in MIME format.
--------------020001090504050401080908
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi ALTO extension folks, as I'll not be making it up to Vancouver :-( ,
here are some questions/comments.
These comments/questions are from the perspective of creating an ALTO
topology service (suitable for large bandwidth and SDN applications).

http://tools.ietf.org/html/draft-scharf-alto-vpn-service-01
    ALTO for VPNs: Way back when we started talking about "topology"
    like extensions. The concept of ALTO for "controlled or partially
    controlled" environments was floated. It seems that a VPN type of
    service would be the exemplar of such an environment and hence pave
    the way for "restricted environment" use of ALTO.  *Questions*: /Are
    there specific additions to the REST API to offer this some kind of
    security, i.e., to keep others from gaining information about a
    customers VPN? Or would a general approach to security of this
    interface be specified?/
http://tools.ietf.org/html/draft-song-alto-overlay-routing-00
    Extensions for Multiple path choices: In our large bandwidth work we
    considered both path representations as well as graph
    representations. This proposal would extend ALTO by reporting costs
    on multiple possible paths between a source and destination. Hence
    could also work for the large bandwidth case with appropriate
    extensions.  Both in this draft and the VPN draft, we may have the
    situation where the client uses ALTO information to not only make a
    choice but then relay that choice back to the network via some type
    of "reservation interface".
http://tools.ietf.org/html/draft-wu-alto-te-metrics-00
    Defines costs metrics based on OSPF-TE. We would need for such
    metrics for the "general" topology service.
http://tools.ietf.org/html/draft-roome-alto-pid-properties-00
    PID properties -- *Comments*: This is a step on the way to a "NID"
    that we would use in a graph topology (multi-switch) representation,
    i.e., where we'd define a Node with Id and properties.
http://tools.ietf.org/html/draft-seedorf-lmap-alto-02,
http://tools.ietf.org/html/draft-seedorf-cdni-fci-alto-00
    Very interesting applications. Any interest from the authors of
    these drafts in bandwidth/topology type information?

Best Regards

Greg B.



On 10/22/2013 1:02 PM, Vijay K. Gurbani wrote:
> Folks: As you prepare slides, etc. for your ALTO extensions, please
> consult the latest institutional memory on how to taxonomize or classify
> the extensions; this was captured rather succinctly and successfully
> during the Berlin IETF side meeting [1].
>
> Enrico and I will be looking to see how we can group the various
> extensions under this ontology.  It will make it tractable to understand
> and appreciate the extensions as we grapple with them.
>
> Thanks,
>
> [1] http://www.ietf.org/proceedings/87/minutes/minutes-87-alto#ad-hoc
>
> - vijay


-- 
===================================================
Dr Greg Bernstein, Grotto Networking (510) 573-2237


--------------020001090504050401080908
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi ALTO extension folks, as I'll not be
      making it up to Vancouver <span class="moz-smiley-s2"><span> :-(
        </span></span>, here are some questions/comments.<br>
      These comments/questions are from the perspective of creating an
      ALTO topology service (suitable for large bandwidth and SDN
      applications).<br>
      <dl>
        <dt><a
            href="http://tools.ietf.org/html/draft-scharf-alto-vpn-service-01">http://tools.ietf.org/html/draft-scharf-alto-vpn-service-01

          </a></dt>
        <dd>ALTO for VPNs: Way back when we started talking about
          "topology" like extensions. The concept of ALTO for
          "controlled or partially controlled" environments was floated.
          It seems that a VPN type of service would be the exemplar of
          such an environment and hence pave the way for "restricted
          environment" use of ALTO.&nbsp; <strong>Questions</strong>:&nbsp;<em>
            Are there specific additions to the REST API to offer this
            some kind of security, i.e., to keep others from gaining
            information about a customers VPN? Or would a general
            approach to security of this interface be specified?</em></dd>
        <dt><span style="font-family: Georgia,Times,&quot;Times New
            Roman&quot;,serif;"><a
              href="http://tools.ietf.org/html/draft-song-alto-overlay-routing-00">http://tools.ietf.org/html/draft-song-alto-overlay-routing-00</a>
            <br>
          </span></dt>
        <dd><span style="font-family: Georgia,Times,&quot;Times New
            Roman&quot;,serif;">Extensions for Multiple path choices: In
            our large bandwidth work we considered both path
            representations as well as graph representations. This
            proposal would extend ALTO by reporting costs on multiple
            possible paths between a source and destination. Hence could
            also work for the large bandwidth case with appropriate
            extensions.&nbsp; Both in this draft and the VPN draft, we may
            have the situation where the client uses ALTO information to
            not only make a choice but then relay that choice back to
            the network via some type of "reservation interface".</span></dd>
        <dt><a
            href="http://tools.ietf.org/html/draft-wu-alto-te-metrics-00">http://tools.ietf.org/html/draft-wu-alto-te-metrics-00</a>
        </dt>
        <dd>Defines costs metrics based on OSPF-TE. We would need for
          such metrics for the "general" topology service.</dd>
        <dt><a
            href="http://tools.ietf.org/html/draft-roome-alto-pid-properties-00">http://tools.ietf.org/html/draft-roome-alto-pid-properties-00</a>
        </dt>
        <dd>PID properties -- <strong>Comments</strong>: This is a step
          on the way to a "NID" that we would use in a graph topology
          (multi-switch) representation, i.e., where we'd define a Node
          with Id and properties.</dd>
        <dt><a
            href="http://tools.ietf.org/html/draft-seedorf-lmap-alto-02">http://tools.ietf.org/html/draft-seedorf-lmap-alto-02</a>,
          <a
            href="http://tools.ietf.org/html/draft-seedorf-cdni-fci-alto-00">http://tools.ietf.org/html/draft-seedorf-cdni-fci-alto-00</a></dt>
        <dd>Very interesting applications. Any interest from the authors
          of these drafts in bandwidth/topology type information?</dd>
      </dl>
      <p>Best Regards<br>
      </p>
      <p>Greg B.<br>
      </p>
      <dl>
        <dt><br>
        </dt>
      </dl>
      <br>
      On 10/22/2013 1:02 PM, Vijay K. Gurbani wrote:<br>
    </div>
    <blockquote cite="mid:5266D9CA.3070900@bell-labs.com" type="cite">Folks:
      As you prepare slides, etc. for your ALTO extensions, please
      <br>
      consult the latest institutional memory on how to taxonomize or
      classify
      <br>
      the extensions; this was captured rather succinctly and
      successfully
      <br>
      during the Berlin IETF side meeting [1].
      <br>
      <br>
      Enrico and I will be looking to see how we can group the various
      <br>
      extensions under this ontology.&nbsp; It will make it tractable to
      understand
      <br>
      and appreciate the extensions as we grapple with them.
      <br>
      <br>
      Thanks,
      <br>
      <br>
      [1]
      <a class="moz-txt-link-freetext" href="http://www.ietf.org/proceedings/87/minutes/minutes-87-alto#ad-hoc">http://www.ietf.org/proceedings/87/minutes/minutes-87-alto#ad-hoc</a>
      <br>
      <br>
      - vijay
      <br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
===================================================
Dr Greg Bernstein, Grotto Networking (510) 573-2237

</pre>
  </body>
</html>

--------------020001090504050401080908--

From repenno@cisco.com  Mon Oct 28 10:54:57 2013
Return-Path: <repenno@cisco.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 3EAE111E828B for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 10:54:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.543
X-Spam-Level: 
X-Spam-Status: No, score=-10.543 tagged_above=-999 required=5 tests=[AWL=0.055, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kJiUXgfs4vd8 for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 10:54:52 -0700 (PDT)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) by ietfa.amsl.com (Postfix) with ESMTP id 0B70C11E81A5 for <alto@ietf.org>; Mon, 28 Oct 2013 10:54:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9964; q=dns/txt; s=iport; t=1382982892; x=1384192492; h=from:to:subject:date:message-id:in-reply-to:mime-version; bh=DhLpje8FTCN/EchkLc5udDhgi1X3B7KKc3tIHzcQ4dA=; b=lSsAi6iaCaIfRtBzGAcsUd3TAZ+iR0/FGDhI/OOpocbGWCbPohB6dbCH Lxj79GePK4NDYxUutw4swWyVuW21aJqJp4GyX7/4sxiYN3/ldVuSDFUk+ 8gEpDr/wmGZizS8CeFHzDXoEHWHgvXRVsHvPgZ9/YPqBxsg9Osbr77XGm k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Aq0GAFikblKtJV2d/2dsb2JhbABWA4JDRDhUthiITIEnFnSCJQEBAQRsHwEIEQMBAgsdORQJCAIEARIIAYd+DbhFjyQgARcRgw6BDQOZOZBYgyaCKg
X-IronPort-AV: E=Sophos;i="4.93,587,1378857600";  d="scan'208,217";a="277634000"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by rcdn-iport-5.cisco.com with ESMTP; 28 Oct 2013 17:54:51 +0000
Received: from xhc-rcd-x10.cisco.com (xhc-rcd-x10.cisco.com [173.37.183.84]) by rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id r9SHspq3021174 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 28 Oct 2013 17:54:51 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.27]) by xhc-rcd-x10.cisco.com ([173.37.183.84]) with mapi id 14.02.0318.004; Mon, 28 Oct 2013 12:54:51 -0500
From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
To: Greg Bernstein <gregb@grotto-networking.com>, "alto@ietf.org" <alto@ietf.org>
Thread-Topic: [alto]  extension questions and comments
Thread-Index: AQHO1AYPRpOmu0PTskSnZN7yQ7qIrZoKRAAA
Date: Mon, 28 Oct 2013 17:54:50 +0000
Message-ID: <45A697A8FFD7CF48BCF2BE7E106F06040B740087@xmb-rcd-x04.cisco.com>
In-Reply-To: <526EA379.308@grotto-networking.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.3.120616
x-originating-ip: [10.21.144.30]
Content-Type: multipart/alternative; boundary="_000_45A697A8FFD7CF48BCF2BE7E106F06040B740087xmbrcdx04ciscoc_"
MIME-Version: 1.0
Subject: Re: [alto] extension questions and comments
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 28 Oct 2013 17:54:57 -0000

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B740087xmbrcdx04ciscoc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I also think seedorf-lmap is a very interesting draft.

But what I'm most interested in a way to make maps writable.  I want an app=
 to be be able to write to a map therefore influencing its own cost and att=
ributes.

From: Greg Bernstein <gregb@grotto-networking.com<mailto:gregb@grotto-netwo=
rking.com>>
Date: Monday, October 28, 2013 10:48 AM
To: "alto@ietf.org<mailto:alto@ietf.org>" <alto@ietf.org<mailto:alto@ietf.o=
rg>>
Subject: [alto] extension questions and comments

Hi ALTO extension folks, as I'll not be making it up to Vancouver :-( , her=
e are some questions/comments.
These comments/questions are from the perspective of creating an ALTO topol=
ogy service (suitable for large bandwidth and SDN applications).

http://tools.ietf.org/html/draft-scharf-alto-vpn-service-01
ALTO for VPNs: Way back when we started talking about "topology" like exten=
sions. The concept of ALTO for "controlled or partially controlled" environ=
ments was floated. It seems that a VPN type of service would be the exempla=
r of such an environment and hence pave the way for "restricted environment=
" use of ALTO.  Questions:  Are there specific additions to the REST API to=
 offer this some kind of security, i.e., to keep others from gaining inform=
ation about a customers VPN? Or would a general approach to security of thi=
s interface be specified?
http://tools.ietf.org/html/draft-song-alto-overlay-routing-00
Extensions for Multiple path choices: In our large bandwidth work we consid=
ered both path representations as well as graph representations. This propo=
sal would extend ALTO by reporting costs on multiple possible paths between=
 a source and destination. Hence could also work for the large bandwidth ca=
se with appropriate extensions.  Both in this draft and the VPN draft, we m=
ay have the situation where the client uses ALTO information to not only ma=
ke a choice but then relay that choice back to the network via some type of=
 "reservation interface".
http://tools.ietf.org/html/draft-wu-alto-te-metrics-00
Defines costs metrics based on OSPF-TE. We would need for such metrics for =
the "general" topology service.
http://tools.ietf.org/html/draft-roome-alto-pid-properties-00
PID properties -- Comments: This is a step on the way to a "NID" that we wo=
uld use in a graph topology (multi-switch) representation, i.e., where we'd=
 define a Node with Id and properties.
http://tools.ietf.org/html/draft-seedorf-lmap-alto-02, http://tools.ietf.or=
g/html/draft-seedorf-cdni-fci-alto-00
Very interesting applications. Any interest from the authors of these draft=
s in bandwidth/topology type information?

Best Regards

Greg B.


On 10/22/2013 1:02 PM, Vijay K. Gurbani wrote:
Folks: As you prepare slides, etc. for your ALTO extensions, please
consult the latest institutional memory on how to taxonomize or classify
the extensions; this was captured rather succinctly and successfully
during the Berlin IETF side meeting [1].

Enrico and I will be looking to see how we can group the various
extensions under this ontology.  It will make it tractable to understand
and appreciate the extensions as we grapple with them.

Thanks,

[1] http://www.ietf.org/proceedings/87/minutes/minutes-87-alto#ad-hoc

- vijay



--
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
Dr Greg Bernstein, Grotto Networking (510) 573-2237



--_000_45A697A8FFD7CF48BCF2BE7E106F06040B740087xmbrcdx04ciscoc_
Content-Type: text/html; charset="us-ascii"
Content-ID: <EB12BBA4C8FB55449DCF0313DCBD3A04@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div>I also think seedorf-lmap is a very interesting draft.&nbsp;</div>
<div><br>
</div>
<div>But what I'm most interested in a way to make maps writable. &nbsp;I w=
ant an app to be be able to write to a map therefore influencing its own co=
st and attributes.</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>Greg Bernstein &lt;<a href=3D=
"mailto:gregb@grotto-networking.com">gregb@grotto-networking.com</a>&gt;<br=
>
<span style=3D"font-weight:bold">Date: </span>Monday, October 28, 2013 10:4=
8 AM<br>
<span style=3D"font-weight:bold">To: </span>&quot;<a href=3D"mailto:alto@ie=
tf.org">alto@ietf.org</a>&quot; &lt;<a href=3D"mailto:alto@ietf.org">alto@i=
etf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>[alto] extension questions=
 and comments<br>
</div>
<div><br>
</div>
<div>
<div bgcolor=3D"#FFFFFF" text=3D"#000000">
<div class=3D"moz-cite-prefix">Hi ALTO extension folks, as I'll not be maki=
ng it up to Vancouver
<span class=3D"moz-smiley-s2"><span>:-( </span></span>, here are some quest=
ions/comments.<br>
These comments/questions are from the perspective of creating an ALTO topol=
ogy service (suitable for large bandwidth and SDN applications).<br>
<dl><dt><a href=3D"http://tools.ietf.org/html/draft-scharf-alto-vpn-service=
-01">http://tools.ietf.org/html/draft-scharf-alto-vpn-service-01
</a></dt><dd>ALTO for VPNs: Way back when we started talking about &quot;to=
pology&quot; like extensions. The concept of ALTO for &quot;controlled or p=
artially controlled&quot; environments was floated. It seems that a VPN typ=
e of service would be the exemplar of such an environment and
 hence pave the way for &quot;restricted environment&quot; use of ALTO.&nbs=
p; <strong>Questions</strong>:&nbsp;<em> Are there specific additions to th=
e REST API to offer this some kind of security, i.e., to keep others from g=
aining information about a customers VPN? Or would a
 general approach to security of this interface be specified?</em> </dd><dt=
><span style=3D"font-family: Georgia,Times,&quot;Times New
            Roman&quot;,serif;"><a href=3D"http://tools.ietf.org/html/draft=
-song-alto-overlay-routing-00">http://tools.ietf.org/html/draft-song-alto-o=
verlay-routing-00</a><br>
</span></dt><dd><span style=3D"font-family: Georgia,Times,&quot;Times New
            Roman&quot;,serif;">Extensions for Multiple path choices: In ou=
r large bandwidth work we considered both path representations as well as g=
raph representations. This proposal would extend ALTO by
 reporting costs on multiple possible paths between a source and destinatio=
n. Hence could also work for the large bandwidth case with appropriate exte=
nsions.&nbsp; Both in this draft and the VPN draft, we may have the situati=
on where the client uses ALTO information
 to not only make a choice but then relay that choice back to the network v=
ia some type of &quot;reservation interface&quot;.</span></dd><dt><a href=
=3D"http://tools.ietf.org/html/draft-wu-alto-te-metrics-00">http://tools.ie=
tf.org/html/draft-wu-alto-te-metrics-00</a></dt><dd>Defines costs metrics b=
ased on OSPF-TE. We would need for such metrics for the &quot;general&quot;=
 topology service.
</dd><dt><a href=3D"http://tools.ietf.org/html/draft-roome-alto-pid-propert=
ies-00">http://tools.ietf.org/html/draft-roome-alto-pid-properties-00</a></=
dt><dd>PID properties -- <strong>Comments</strong>: This is a step on the w=
ay to a &quot;NID&quot; that we would use in a graph topology (multi-switch=
) representation, i.e., where we'd define a Node with Id and properties.
</dd><dt><a href=3D"http://tools.ietf.org/html/draft-seedorf-lmap-alto-02">=
http://tools.ietf.org/html/draft-seedorf-lmap-alto-02</a>,
<a href=3D"http://tools.ietf.org/html/draft-seedorf-cdni-fci-alto-00">http:=
//tools.ietf.org/html/draft-seedorf-cdni-fci-alto-00</a></dt><dd>Very inter=
esting applications. Any interest from the authors of these drafts in bandw=
idth/topology type information?
</dd></dl>
<p>Best Regards<br>
</p>
<p>Greg B.<br>
</p>
<dl><dt><br>
</dt></dl>
<br>
On 10/22/2013 1:02 PM, Vijay K. Gurbani wrote:<br>
</div>
<blockquote cite=3D"mid:5266D9CA.3070900@bell-labs.com" type=3D"cite">Folks=
: As you prepare slides, etc. for your ALTO extensions, please
<br>
consult the latest institutional memory on how to taxonomize or classify <b=
r>
the extensions; this was captured rather succinctly and successfully <br>
during the Berlin IETF side meeting [1]. <br>
<br>
Enrico and I will be looking to see how we can group the various <br>
extensions under this ontology.&nbsp; It will make it tractable to understa=
nd <br>
and appreciate the extensions as we grapple with them. <br>
<br>
Thanks, <br>
<br>
[1] <a class=3D"moz-txt-link-freetext" href=3D"http://www.ietf.org/proceedi=
ngs/87/minutes/minutes-87-alto#ad-hoc">
http://www.ietf.org/proceedings/87/minutes/minutes-87-alto#ad-hoc</a> <br>
<br>
- vijay <br>
</blockquote>
<br>
<br>
<pre class=3D"moz-signature" cols=3D"72">--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
Dr Greg Bernstein, Grotto Networking (510) 573-2237

</pre>
</div>
</div>
</span>
</body>
</html>

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B740087xmbrcdx04ciscoc_--

From vkg@bell-labs.com  Mon Oct 28 12:20:04 2013
Return-Path: <vkg@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 9131B21E8095 for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 12:20:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.465
X-Spam-Level: 
X-Spam-Status: No, score=-110.465 tagged_above=-999 required=5 tests=[AWL=0.134, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RIW0m-EECQfd for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 12:20:00 -0700 (PDT)
Received: from ihemail2.lucent.com (ihemail2.lucent.com [135.245.0.35]) by ietfa.amsl.com (Postfix) with ESMTP id E342921E80C5 for <alto@ietf.org>; Mon, 28 Oct 2013 12:19:59 -0700 (PDT)
Received: from usnavsmail2.ndc.alcatel-lucent.com (usnavsmail2.ndc.alcatel-lucent.com [135.3.39.10]) by ihemail2.lucent.com (8.13.8/IER-o) with ESMTP id r9SJJukm015317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 28 Oct 2013 14:19:56 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail2.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9SJJuFG011156 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 28 Oct 2013 14:19:56 -0500
Received: from shoonya.ih.lucent.com (shoonya.ih.lucent.com [135.185.237.229]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9SJJupq018337; Mon, 28 Oct 2013 14:19:56 -0500 (CDT)
Message-ID: <526EB8DC.60403@bell-labs.com>
Date: Mon, 28 Oct 2013 14:19:56 -0500
From: "Vijay K. Gurbani" <vkg@bell-labs.com>
Organization: Bell Laboratories, Alcatel-Lucent
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130805 Thunderbird/17.0.8
MIME-Version: 1.0
To: alto@ietf.org
References: <5266D9CA.3070900@bell-labs.com> <526EA379.308@grotto-networking.com>
In-Reply-To: <526EA379.308@grotto-networking.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.35
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.10
Subject: Re: [alto] extension questions and comments
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 28 Oct 2013 19:20:04 -0000

On 10/28/2013 12:48 PM, Greg Bernstein wrote:
> http://tools.ietf.org/html/draft-seedorf-lmap-alto-02,
[...]
>     Very interesting applications. Any interest from the authors of
>     these drafts in bandwidth/topology type information?

Greg: Speaking for the content of draft-seedorf-lmap-alto, the answer
is "yes".  For now, we are looking at the public dataset as described
in the draft to see what sort of bandwidth information we can glean and
use for ALTO purposes.

Thanks,

- vijay
-- 
Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)
Email: vkg@{bell-labs.com,acm.org} / vijay.gurbani@alcatel-lucent.com
Web: http://ect.bell-labs.com/who/vkg/  | Calendar: http://goo.gl/x3Ogq

From diego@tid.es  Mon Oct 28 12:30:41 2013
Return-Path: <diego@tid.es>
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 0877D21E805D for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 12:30:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.407
X-Spam-Level: 
X-Spam-Status: No, score=-6.407 tagged_above=-999 required=5 tests=[AWL=0.192,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EfwRqT-xAK-0 for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 12:30:35 -0700 (PDT)
Received: from correo-bck.tid.es (correo-bck.tid.es [195.235.93.200]) by ietfa.amsl.com (Postfix) with ESMTP id 4ED9E11E80E7 for <alto@ietf.org>; Mon, 28 Oct 2013 12:30:33 -0700 (PDT)
Received: from sbrightmailg02.hi.inet (Sbrightmailg02.hi.inet [10.95.78.105]) by tid.hi.inet (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0MVE00LNE8URTX@tid.hi.inet> for alto@ietf.org; Mon, 28 Oct 2013 20:30:31 +0100 (MET)
Received: from vanvan (vanvan.hi.inet [10.95.78.49])	by sbrightmailg02.hi.inet (Symantec Messaging Gateway) with SMTP id B3.E6.28420.75BBE625; Mon, 28 Oct 2013 20:30:31 +0100 (CET)
Received: from correo.tid.es (mailhost.hi.inet [10.95.64.100]) by tid.hi.inet (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTPS id <0MVE00LNH8UUTX@tid.hi.inet> for alto@ietf.org; Mon, 28 Oct 2013 20:30:31 +0100 (MET)
Received: from EX10-MB2-MAD.hi.inet ([169.254.2.165]) by EX10-HTCAS6-MAD.hi.inet ([::1]) with mapi id 14.03.0123.003; Mon, 28 Oct 2013 20:30:30 +0100
Date: Mon, 28 Oct 2013 19:30:29 +0000
From: "Diego R. Lopez" <diego@tid.es>
In-reply-to: <45A697A8FFD7CF48BCF2BE7E106F06040B740087@xmb-rcd-x04.cisco.com>
X-Originating-IP: [10.95.64.115]
To: "Reinaldo Penno (repenno)" <repenno@cisco.com>
Message-id: <195DB904-4E46-4A8F-A2B0-2D473777C1C3@tid.es>
Content-id: <F6F6F782DD096D42B6C04D015925C402@hi.inet>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-language: en-US
Content-transfer-encoding: base64
Accept-Language: en-US, es-ES
Thread-topic: [alto] extension questions and comments
Thread-index: AQHO1Abb7mFmxhux8kOLE5nS3huOMZoKb3wA
X-AuditID: 0a5f4e69-b7fe58e000006f04-ac-526ebb57e038
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphkeLIzCtJLcpLzFFi42Lhivcz1A3fnRdk8HW3tsXD7XtZHRg9liz5 yRTAGMVlk5Kak1mWWqRvl8CV8efId+aCb3oV37e9Ym9gvKPbxcjBISFgInFsb1gXIyeQKSZx 4d56ti5GLg4hgW2MEs/OTWKBcL4zSlyZPIsVwpnJKLHwxxd2kBYWAVWJFTMXgNlsQPaj5t9g tjDQ1KvzdjGD2JwCvhKbFk9lglihIPHn3GMWEFtEwEhi7vQ3YHFmgWCJCwcngtm8ApYSr+8f YYOIm0ncXbiNGSIuKPFj8j0WkKuZBdQlpkzJhSgRl2huvckCYStKTFvUwAhiMwrISrybP58V YpWpxM5TW9hg1r5uaYA6R0BiyZ7zzBC2qMTLx//A6oUEfCR+r7vPMoFRYhaSK2YhuWIWwhWz kFwxC8kVCxhZVzGKFScVZaZnlOQmZuakGxjpZWTqZeallmxihMRc5g7G5TtVDjEKcDAq8fBm +ucFCbEmlhVX5h5ilOBgVhLh3b8ZKMSbklhZlVqUH19UmpNafIiRiYNTqoGx/7Z3fb+ZtvdF 4URfnxcZ709e1ljT4fZZ1UD6QLPVP5FNu+6Yflrxu1nu1O65kTKL5sQ+ilnYWClZ+tPNizF8 yfVQrX/HV39tOxubNTEk8FFJ0iXb7Mtb9Dm/nszdmPip6XyCTXOA+5QwyZ2nMh8801NdnXEh lHGWiPORDAY3ZyX/mOm9E+YpsRRnJBpqMRcVJwIAooZbC5cCAAA=
References: <45A697A8FFD7CF48BCF2BE7E106F06040B740087@xmb-rcd-x04.cisco.com>
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] extension questions and comments
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Mon, 28 Oct 2013 19:30:41 -0000

SGksDQoNClRoZXJlIGFyZSBzb21lIGRpc2N1c3Npb25zIG9uZ29pbmcgYXJvdW5kIHNvbWV0aGlu
ZyBjYWxsZWQgZmxvdyBtZXRhZGF0YSwgYXNzb2NpYXRlZCB3aXRoIGRyYWZ0LWVja2VydC1pbnRh
cmVhLWZsb3ctbWV0YWRhdGEtZnJhbWV3b3JrLCB0aGF0IEkgdGhpbmsgaGVhZCBzb21laG93IGlu
IHRoYXQgZGlyZWN0aW9uLg0KDQpCZSBnb29kZSwNCg0KT24gMjggT2N0IDIwMTMsIGF0IDEwOjU0
ICwgUmVpbmFsZG8gUGVubm8gKHJlcGVubm8pIHdyb3RlOg0KDQo+IEkgYWxzbyB0aGluayBzZWVk
b3JmLWxtYXAgaXMgYSB2ZXJ5IGludGVyZXN0aW5nIGRyYWZ0Lg0KPg0KPiBCdXQgd2hhdCBJJ20g
bW9zdCBpbnRlcmVzdGVkIGluIGEgd2F5IHRvIG1ha2UgbWFwcyB3cml0YWJsZS4gIEkgd2FudCBh
biBhcHAgdG8gYmUgYmUgYWJsZSB0byB3cml0ZSB0byBhIG1hcCB0aGVyZWZvcmUgaW5mbHVlbmNp
bmcgaXRzIG93biBjb3N0IGFuZCBhdHRyaWJ1dGVzLg0KPg0KPiBGcm9tOiBHcmVnIEJlcm5zdGVp
biA8Z3JlZ2JAZ3JvdHRvLW5ldHdvcmtpbmcuY29tPg0KPiBEYXRlOiBNb25kYXksIE9jdG9iZXIg
MjgsIDIwMTMgMTA6NDggQU0NCj4gVG86ICJhbHRvQGlldGYub3JnIiA8YWx0b0BpZXRmLm9yZz4N
Cj4gU3ViamVjdDogW2FsdG9dIGV4dGVuc2lvbiBxdWVzdGlvbnMgYW5kIGNvbW1lbnRzDQo+DQo+
IEhpIEFMVE8gZXh0ZW5zaW9uIGZvbGtzLCBhcyBJJ2xsIG5vdCBiZSBtYWtpbmcgaXQgdXAgdG8g
VmFuY291dmVyIDotKCAsIGhlcmUgYXJlIHNvbWUgcXVlc3Rpb25zL2NvbW1lbnRzLg0KPiBUaGVz
ZSBjb21tZW50cy9xdWVzdGlvbnMgYXJlIGZyb20gdGhlIHBlcnNwZWN0aXZlIG9mIGNyZWF0aW5n
IGFuIEFMVE8gdG9wb2xvZ3kgc2VydmljZSAoc3VpdGFibGUgZm9yIGxhcmdlIGJhbmR3aWR0aCBh
bmQgU0ROIGFwcGxpY2F0aW9ucykuDQo+IGh0dHA6Ly90b29scy5pZXRmLm9yZy9odG1sL2RyYWZ0
LXNjaGFyZi1hbHRvLXZwbi1zZXJ2aWNlLTAxDQo+IEFMVE8gZm9yIFZQTnM6IFdheSBiYWNrIHdo
ZW4gd2Ugc3RhcnRlZCB0YWxraW5nIGFib3V0ICJ0b3BvbG9neSIgbGlrZSBleHRlbnNpb25zLiBU
aGUgY29uY2VwdCBvZiBBTFRPIGZvciAiY29udHJvbGxlZCBvciBwYXJ0aWFsbHkgY29udHJvbGxl
ZCIgZW52aXJvbm1lbnRzIHdhcyBmbG9hdGVkLiBJdCBzZWVtcyB0aGF0IGEgVlBOIHR5cGUgb2Yg
c2VydmljZSB3b3VsZCBiZSB0aGUgZXhlbXBsYXIgb2Ygc3VjaCBhbiBlbnZpcm9ubWVudCBhbmQg
aGVuY2UgcGF2ZSB0aGUgd2F5IGZvciAicmVzdHJpY3RlZCBlbnZpcm9ubWVudCIgdXNlIG9mIEFM
VE8uICBRdWVzdGlvbnM6ICBBcmUgdGhlcmUgc3BlY2lmaWMgYWRkaXRpb25zIHRvIHRoZSBSRVNU
IEFQSSB0byBvZmZlciB0aGlzIHNvbWUga2luZCBvZiBzZWN1cml0eSwgaS5lLiwgdG8ga2VlcCBv
dGhlcnMgZnJvbSBnYWluaW5nIGluZm9ybWF0aW9uIGFib3V0IGEgY3VzdG9tZXJzIFZQTj8gT3Ig
d291bGQgYSBnZW5lcmFsIGFwcHJvYWNoIHRvIHNlY3VyaXR5IG9mIHRoaXMgaW50ZXJmYWNlIGJl
IHNwZWNpZmllZD8NCj4gaHR0cDovL3Rvb2xzLmlldGYub3JnL2h0bWwvZHJhZnQtc29uZy1hbHRv
LW92ZXJsYXktcm91dGluZy0wMA0KPiBFeHRlbnNpb25zIGZvciBNdWx0aXBsZSBwYXRoIGNob2lj
ZXM6IEluIG91ciBsYXJnZSBiYW5kd2lkdGggd29yayB3ZSBjb25zaWRlcmVkIGJvdGggcGF0aCBy
ZXByZXNlbnRhdGlvbnMgYXMgd2VsbCBhcyBncmFwaCByZXByZXNlbnRhdGlvbnMuIFRoaXMgcHJv
cG9zYWwgd291bGQgZXh0ZW5kIEFMVE8gYnkgcmVwb3J0aW5nIGNvc3RzIG9uIG11bHRpcGxlIHBv
c3NpYmxlIHBhdGhzIGJldHdlZW4gYSBzb3VyY2UgYW5kIGRlc3RpbmF0aW9uLiBIZW5jZSBjb3Vs
ZCBhbHNvIHdvcmsgZm9yIHRoZSBsYXJnZSBiYW5kd2lkdGggY2FzZSB3aXRoIGFwcHJvcHJpYXRl
IGV4dGVuc2lvbnMuICBCb3RoIGluIHRoaXMgZHJhZnQgYW5kIHRoZSBWUE4gZHJhZnQsIHdlIG1h
eSBoYXZlIHRoZSBzaXR1YXRpb24gd2hlcmUgdGhlIGNsaWVudCB1c2VzIEFMVE8gaW5mb3JtYXRp
b24gdG8gbm90IG9ubHkgbWFrZSBhIGNob2ljZSBidXQgdGhlbiByZWxheSB0aGF0IGNob2ljZSBi
YWNrIHRvIHRoZSBuZXR3b3JrIHZpYSBzb21lIHR5cGUgb2YgInJlc2VydmF0aW9uIGludGVyZmFj
ZSIuDQo+IGh0dHA6Ly90b29scy5pZXRmLm9yZy9odG1sL2RyYWZ0LXd1LWFsdG8tdGUtbWV0cmlj
cy0wMA0KPiBEZWZpbmVzIGNvc3RzIG1ldHJpY3MgYmFzZWQgb24gT1NQRi1URS4gV2Ugd291bGQg
bmVlZCBmb3Igc3VjaCBtZXRyaWNzIGZvciB0aGUgImdlbmVyYWwiIHRvcG9sb2d5IHNlcnZpY2Uu
DQo+IGh0dHA6Ly90b29scy5pZXRmLm9yZy9odG1sL2RyYWZ0LXJvb21lLWFsdG8tcGlkLXByb3Bl
cnRpZXMtMDANCj4gUElEIHByb3BlcnRpZXMgLS0gQ29tbWVudHM6IFRoaXMgaXMgYSBzdGVwIG9u
IHRoZSB3YXkgdG8gYSAiTklEIiB0aGF0IHdlIHdvdWxkIHVzZSBpbiBhIGdyYXBoIHRvcG9sb2d5
IChtdWx0aS1zd2l0Y2gpIHJlcHJlc2VudGF0aW9uLCBpLmUuLCB3aGVyZSB3ZSdkIGRlZmluZSBh
IE5vZGUgd2l0aCBJZCBhbmQgcHJvcGVydGllcy4NCj4gaHR0cDovL3Rvb2xzLmlldGYub3JnL2h0
bWwvZHJhZnQtc2VlZG9yZi1sbWFwLWFsdG8tMDIsIGh0dHA6Ly90b29scy5pZXRmLm9yZy9odG1s
L2RyYWZ0LXNlZWRvcmYtY2RuaS1mY2ktYWx0by0wMA0KPiBWZXJ5IGludGVyZXN0aW5nIGFwcGxp
Y2F0aW9ucy4gQW55IGludGVyZXN0IGZyb20gdGhlIGF1dGhvcnMgb2YgdGhlc2UgZHJhZnRzIGlu
IGJhbmR3aWR0aC90b3BvbG9neSB0eXBlIGluZm9ybWF0aW9uPw0KPiBCZXN0IFJlZ2FyZHMNCj4g
R3JlZyBCLg0KPg0KPg0KPiBPbiAxMC8yMi8yMDEzIDE6MDIgUE0sIFZpamF5IEsuIEd1cmJhbmkg
d3JvdGU6DQo+PiBGb2xrczogQXMgeW91IHByZXBhcmUgc2xpZGVzLCBldGMuIGZvciB5b3VyIEFM
VE8gZXh0ZW5zaW9ucywgcGxlYXNlDQo+PiBjb25zdWx0IHRoZSBsYXRlc3QgaW5zdGl0dXRpb25h
bCBtZW1vcnkgb24gaG93IHRvIHRheG9ub21pemUgb3IgY2xhc3NpZnkNCj4+IHRoZSBleHRlbnNp
b25zOyB0aGlzIHdhcyBjYXB0dXJlZCByYXRoZXIgc3VjY2luY3RseSBhbmQgc3VjY2Vzc2Z1bGx5
DQo+PiBkdXJpbmcgdGhlIEJlcmxpbiBJRVRGIHNpZGUgbWVldGluZyBbMV0uDQo+Pg0KPj4gRW5y
aWNvIGFuZCBJIHdpbGwgYmUgbG9va2luZyB0byBzZWUgaG93IHdlIGNhbiBncm91cCB0aGUgdmFy
aW91cw0KPj4gZXh0ZW5zaW9ucyB1bmRlciB0aGlzIG9udG9sb2d5LiAgSXQgd2lsbCBtYWtlIGl0
IHRyYWN0YWJsZSB0byB1bmRlcnN0YW5kDQo+PiBhbmQgYXBwcmVjaWF0ZSB0aGUgZXh0ZW5zaW9u
cyBhcyB3ZSBncmFwcGxlIHdpdGggdGhlbS4NCj4+DQo+PiBUaGFua3MsDQo+Pg0KPj4gWzFdIGh0
dHA6Ly93d3cuaWV0Zi5vcmcvcHJvY2VlZGluZ3MvODcvbWludXRlcy9taW51dGVzLTg3LWFsdG8j
YWQtaG9jDQo+Pg0KPj4gLSB2aWpheQ0KPg0KPg0KPiAtLQ0KPiA9PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCj4gRHIgR3JlZyBCZXJuc3RlaW4sIEdy
b3R0byBOZXR3b3JraW5nICg1MTApIDU3My0yMjM3DQo+DQo+DQo+IF9fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQo+IGFsdG8gbWFpbGluZyBsaXN0DQo+IGFs
dG9AaWV0Zi5vcmcNCj4gaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9hbHRv
DQoNCg0KLS0NCiJFc3RhIHZleiBubyBmYWxsYXJlbW9zLCBEb2N0b3IgSW5maWVybm8iDQoNCkRy
IERpZWdvIFIuIExvcGV6DQpUZWxlZm9uaWNhIEkrRA0KaHR0cDovL3Blb3BsZS50aWQuZXMvZGll
Z28ubG9wZXovDQoNCmUtbWFpbDogZGllZ29AdGlkLmVzDQpUZWw6ICAgICszNCA5MTMgMTI5IDA0
MQ0KTW9iaWxlOiArMzQgNjgyIDA1MSAwOTENCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tDQoNCg0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCg0KRXN0
ZSBtZW5zYWplIHNlIGRpcmlnZSBleGNsdXNpdmFtZW50ZSBhIHN1IGRlc3RpbmF0YXJpby4gUHVl
ZGUgY29uc3VsdGFyIG51ZXN0cmEgcG9sw610aWNhIGRlIGVudsOtbyB5IHJlY2VwY2nDs24gZGUg
Y29ycmVvIGVsZWN0csOzbmljbyBlbiBlbCBlbmxhY2Ugc2l0dWFkbyBtw6FzIGFiYWpvLg0KVGhp
cyBtZXNzYWdlIGlzIGludGVuZGVkIGV4Y2x1c2l2ZWx5IGZvciBpdHMgYWRkcmVzc2VlLiBXZSBv
bmx5IHNlbmQgYW5kIHJlY2VpdmUgZW1haWwgb24gdGhlIGJhc2lzIG9mIHRoZSB0ZXJtcyBzZXQg
b3V0IGF0Og0KaHR0cDovL3d3dy50aWQuZXMvRVMvUEFHSU5BUy9kaXNjbGFpbWVyLmFzcHgNCg==

From yang.r.yang@gmail.com  Mon Oct 28 20:50:12 2013
Return-Path: <yang.r.yang@gmail.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 B38FD11E819C for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 20:50:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.982
X-Spam-Level: 
X-Spam-Status: No, score=-0.982 tagged_above=-999 required=5 tests=[AWL=-0.671, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001, SARE_OBFU_PART_OVE=1.666]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iKE-jZYr8UtI for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 20:50:11 -0700 (PDT)
Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [IPv6:2607:f8b0:400e:c03::22c]) by ietfa.amsl.com (Postfix) with ESMTP id 09FA321F9FCF for <alto@ietf.org>; Mon, 28 Oct 2013 20:50:08 -0700 (PDT)
Received: by mail-pa0-f44.google.com with SMTP id fb1so8210996pad.31 for <alto@ietf.org>; Mon, 28 Oct 2013 20:50:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=U/LMO045J96vFxA2Mh/fpDbxSKv3r2ZksUJaheWSQUo=; b=GoLDBKbyfnzJOZL+rNSeGtky6lxmXfBATGtknJUjdrISLlgr3a0yaxS7JaVixXFovi T02ZuoEGWN4lO69E1t9S6CEkMrpc7ratLeX/KXBdem9gzW67sjWBOAmF0ddMrvqsAJ1H 8hzKgnr8BTg+kVgiOVDmXSnSiRYwrwKmigXXplJp02Nne8WBFbGM4BRdX5deks8q2R2M XeR4IjC3SMzmSf6eKdmDtCx7XfPPEqKLeElBpZfk2yHJJ6HX7FzIRmXe6Dq9U1zjKrRD xl0Bkn1ERyVQH9rC0I7KvaaYY5RimsJZ2hzaMjg16MxRsrfGPn9RVEf+iU0WKexF3Rr+ wsEQ==
MIME-Version: 1.0
X-Received: by 10.68.202.38 with SMTP id kf6mr24879681pbc.43.1383018608571; Mon, 28 Oct 2013 20:50:08 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Mon, 28 Oct 2013 20:50:08 -0700 (PDT)
In-Reply-To: <45A697A8FFD7CF48BCF2BE7E106F06040B740087@xmb-rcd-x04.cisco.com>
References: <526EA379.308@grotto-networking.com> <45A697A8FFD7CF48BCF2BE7E106F06040B740087@xmb-rcd-x04.cisco.com>
Date: Mon, 28 Oct 2013 23:50:08 -0400
X-Google-Sender-Auth: 2j1cBJajcxn9SWkgsDsgpPe2vAg
Message-ID: <CANUuoLr-OM3xBnONe9tx2WKB8QjV_oH4Vq5ghBidhauUQnq_Hw@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: "Reinaldo Penno (repenno)" <repenno@cisco.com>
Content-Type: multipart/alternative; boundary=047d7b15aef9e1be1904e9d91c68
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] extension questions and comments
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 29 Oct 2013 03:50:12 -0000

--047d7b15aef9e1be1904e9d91c68
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Oct 28, 2013 at 1:54 PM, Reinaldo Penno (repenno) <repenno@cisco.com
> wrote:

>  I also think seedorf-lmap is a very interesting draft.
>
>
Share the opinion. It is quite interesting indeed! At a first quick look,
it defines another set of metrics (
http://data.fcc.gov/download/measuring-broadband-america/2013/Technical-Appendix-feb-2013.pdfPage
26, which the te-metrics doc may need to look into as well).

It looks like that the draft is still evolving. I can see several
possibilities in defining network maps: one is the geo-location already
well defined in the draft; Table 5 of the Technical-Appendix-feb-2013.pdf
suggests that many maps can be constructed. This is interesting and also
shows that we will need to think more on how to handle a wealth of such
information. Good work!


>  But what I'm most interested in a way to make maps writable.  I want an
> app to be be able to write to a map therefore influencing its own cost and
> attributes.
>

In the particular fcc MBA context, a concrete example is to change the
subscriber tier (end point property). But since you mentioned map, I guess
you are saying e2e (e.g.,  more narrowly bounded app flow). In addition to
flow meta data, Lingli pointed out OneAPI in the context of mobile devices
as another related work:
http://www.gsma.com/oneapi/faq/restful-api-specifications

Richard


>
>   From: Greg Bernstein <gregb@grotto-networking.com>
> Date: Monday, October 28, 2013 10:48 AM
> To: "alto@ietf.org" <alto@ietf.org>
> Subject: [alto] extension questions and comments
>
>   Hi ALTO extension folks, as I'll not be making it up to Vancouver :-( ,
> here are some questions/comments.
> These comments/questions are from the perspective of creating an ALTO
> topology service (suitable for large bandwidth and SDN applications).
> http://tools.ietf.org/html/draft-scharf-alto-vpn-service-01 ALTO for
> VPNs: Way back when we started talking about "topology" like extensions.
> The concept of ALTO for "controlled or partially controlled" environments
> was floated. It seems that a VPN type of service would be the exemplar of
> such an environment and hence pave the way for "restricted environment" use
> of ALTO.  *Questions*: * Are there specific additions to the REST API to
> offer this some kind of security, i.e., to keep others from gaining
> information about a customers VPN? Or would a general approach to security
> of this interface be specified?*
> http://tools.ietf.org/html/draft-song-alto-overlay-routing-00
> Extensions for Multiple path choices: In our large bandwidth work we
> considered both path representations as well as graph representations. This
> proposal would extend ALTO by reporting costs on multiple possible paths
> between a source and destination. Hence could also work for the large
> bandwidth case with appropriate extensions.  Both in this draft and the VPN
> draft, we may have the situation where the client uses ALTO information to
> not only make a choice but then relay that choice back to the network via
> some type of "reservation interface".
> http://tools.ietf.org/html/draft-wu-alto-te-metrics-00Defines costs
> metrics based on OSPF-TE. We would need for such metrics for the "general"
> topology service.
> http://tools.ietf.org/html/draft-roome-alto-pid-properties-00PID
> properties -- *Comments*: This is a step on the way to a "NID" that we
> would use in a graph topology (multi-switch) representation, i.e., where
> we'd define a Node with Id and properties.
> http://tools.ietf.org/html/draft-seedorf-lmap-alto-02,
> http://tools.ietf.org/html/draft-seedorf-cdni-fci-alto-00Very interesting
> applications. Any interest from the authors of these drafts in
> bandwidth/topology type information?
>
> Best Regards
>
> Greg B.
>
>
> On 10/22/2013 1:02 PM, Vijay K. Gurbani wrote:
>
> Folks: As you prepare slides, etc. for your ALTO extensions, please
> consult the latest institutional memory on how to taxonomize or classify
> the extensions; this was captured rather succinctly and successfully
> during the Berlin IETF side meeting [1].
>
> Enrico and I will be looking to see how we can group the various
> extensions under this ontology.  It will make it tractable to understand
> and appreciate the extensions as we grapple with them.
>
> Thanks,
>
> [1] http://www.ietf.org/proceedings/87/minutes/minutes-87-alto#ad-hoc
>
> - vijay
>
>
>
> --
> ===================================================
> Dr Greg Bernstein, Grotto Networking (510) 573-2237
>
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>
>


-- 
-- 
 =====================================
| Y. Richard Yang <yry@cs.yale.edu>   |
| Professor of Computer Science       |
| http://www.cs.yale.edu/~yry/        |
 =====================================

--047d7b15aef9e1be1904e9d91c68
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
On Mon, Oct 28, 2013 at 1:54 PM, Reinaldo Penno (repenno) <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:repenno@cisco.com" target=3D"_blank">repenno@cisco.c=
om</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">



<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div>I also think seedorf-lmap is a very interesting draft.=A0</div>
<div><br></div></div></blockquote><div><br></div><div>Share the opinion. It=
 is quite interesting indeed! At a first quick look, it defines another set=
 of metrics (<a href=3D"http://data.fcc.gov/download/measuring-broadband-am=
erica/2013/Technical-Appendix-feb-2013.pdf">http://data.fcc.gov/download/me=
asuring-broadband-america/2013/Technical-Appendix-feb-2013.pdf</a> Page 26,=
 which the te-metrics doc may need to look into as well).</div>
<div><br></div><div>It looks like that the draft is still evolving. I can s=
ee several possibilities in defining network maps: one is the geo-location =
already well defined in the draft; Table 5 of the Technical-Appendix-feb-20=
13.pdf suggests that many maps can be constructed. This is interesting and =
also shows that we will need to think more on how to handle a wealth of suc=
h information. Good work!</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><div style=3D"font-size:14px;font-family:Cal=
ibri,sans-serif;word-wrap:break-word">
<div>
</div>
<div>But what I&#39;m most interested in a way to make maps writable. =A0I =
want an app to be be able to write to a map therefore influencing its own c=
ost and attributes.</div></div></blockquote><div><br></div><div>In the part=
icular fcc MBA context, a concrete example is to change the subscriber tier=
 (end point property). But since you mentioned map, I guess you are saying =
e2e (e.g., =A0more narrowly bounded app flow). In addition to flow meta dat=
a, Lingli pointed out OneAPI in the context of mobile devices as another re=
lated work:=A0<a href=3D"http://www.gsma.com/oneapi/faq/restful-api-specifi=
cations">http://www.gsma.com/oneapi/faq/restful-api-specifications</a></div=
>
<div><br></div><div>Richard</div><div>=A0</div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-c=
olor:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style=
=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word">

<div><br>
</div>
<span>
<div style=3D"border-width:1pt medium medium;border-style:solid none none;p=
adding:3pt 0in 0in;text-align:left;font-size:11pt;font-family:Calibri;borde=
r-top-color:rgb(181,196,223)">
<span style=3D"font-weight:bold">From: </span>Greg Bernstein &lt;<a href=3D=
"mailto:gregb@grotto-networking.com" target=3D"_blank">gregb@grotto-network=
ing.com</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Monday, October 28, 2013 10:4=
8 AM<br>
<span style=3D"font-weight:bold">To: </span>&quot;<a href=3D"mailto:alto@ie=
tf.org" target=3D"_blank">alto@ietf.org</a>&quot; &lt;<a href=3D"mailto:alt=
o@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>[alto] extension questions=
 and comments<br>
</div><div><div class=3D"h5">
<div><br>
</div>
<div>
<div bgcolor=3D"#FFFFFF" text=3D"#000000">
<div>Hi ALTO extension folks, as I&#39;ll not be making it up to Vancouver
<span><span>:-( </span></span>, here are some questions/comments.<br>
These comments/questions are from the perspective of creating an ALTO topol=
ogy service (suitable for large bandwidth and SDN applications).<br>
<dl><dt><a href=3D"http://tools.ietf.org/html/draft-scharf-alto-vpn-service=
-01" target=3D"_blank">http://tools.ietf.org/html/draft-scharf-alto-vpn-ser=
vice-01
</a></dt><dd>ALTO for VPNs: Way back when we started talking about &quot;to=
pology&quot; like extensions. The concept of ALTO for &quot;controlled or p=
artially controlled&quot; environments was floated. It seems that a VPN typ=
e of service would be the exemplar of such an environment and
 hence pave the way for &quot;restricted environment&quot; use of ALTO.=A0 =
<strong>Questions</strong>:=A0<em> Are there specific additions to the REST=
 API to offer this some kind of security, i.e., to keep others from gaining=
 information about a customers VPN? Or would a
 general approach to security of this interface be specified?</em> </dd><dt=
><span><a href=3D"http://tools.ietf.org/html/draft-song-alto-overlay-routin=
g-00" target=3D"_blank">http://tools.ietf.org/html/draft-song-alto-overlay-=
routing-00</a><br>

</span></dt><dd><span>Extensions for Multiple path choices: In our large ba=
ndwidth work we considered both path representations as well as graph repre=
sentations. This proposal would extend ALTO by
 reporting costs on multiple possible paths between a source and destinatio=
n. Hence could also work for the large bandwidth case with appropriate exte=
nsions.=A0 Both in this draft and the VPN draft, we may have the situation =
where the client uses ALTO information
 to not only make a choice but then relay that choice back to the network v=
ia some type of &quot;reservation interface&quot;.</span></dd><dt><a href=
=3D"http://tools.ietf.org/html/draft-wu-alto-te-metrics-00" target=3D"_blan=
k">http://tools.ietf.org/html/draft-wu-alto-te-metrics-00</a></dt>
<dd>Defines costs metrics based on OSPF-TE. We would need for such metrics =
for the &quot;general&quot; topology service.
</dd><dt><a href=3D"http://tools.ietf.org/html/draft-roome-alto-pid-propert=
ies-00" target=3D"_blank">http://tools.ietf.org/html/draft-roome-alto-pid-p=
roperties-00</a></dt><dd>PID properties -- <strong>Comments</strong>: This =
is a step on the way to a &quot;NID&quot; that we would use in a graph topo=
logy (multi-switch) representation, i.e., where we&#39;d define a Node with=
 Id and properties.
</dd><dt><a href=3D"http://tools.ietf.org/html/draft-seedorf-lmap-alto-02" =
target=3D"_blank">http://tools.ietf.org/html/draft-seedorf-lmap-alto-02</a>=
,
<a href=3D"http://tools.ietf.org/html/draft-seedorf-cdni-fci-alto-00" targe=
t=3D"_blank">http://tools.ietf.org/html/draft-seedorf-cdni-fci-alto-00</a><=
/dt><dd>Very interesting applications. Any interest from the authors of the=
se drafts in bandwidth/topology type information?
</dd></dl>
<p>Best Regards<br>
</p>
<p>Greg B.<br>
</p>
<dl><dt><br>
</dt></dl>
<br>
On 10/22/2013 1:02 PM, Vijay K. Gurbani wrote:<br>
</div>
<blockquote type=3D"cite">Folks: As you prepare slides, etc. for your ALTO =
extensions, please
<br>
consult the latest institutional memory on how to taxonomize or classify <b=
r>
the extensions; this was captured rather succinctly and successfully <br>
during the Berlin IETF side meeting [1]. <br>
<br>
Enrico and I will be looking to see how we can group the various <br>
extensions under this ontology.=A0 It will make it tractable to understand =
<br>
and appreciate the extensions as we grapple with them. <br>
<br>
Thanks, <br>
<br>
[1] <a href=3D"http://www.ietf.org/proceedings/87/minutes/minutes-87-alto#a=
d-hoc" target=3D"_blank">
http://www.ietf.org/proceedings/87/minutes/minutes-87-alto#ad-hoc</a> <br>
<br>
- vijay <br>
</blockquote>
<br>
<br>
<pre cols=3D"72">--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
Dr Greg Bernstein, Grotto Networking <a href=3D"tel:%28510%29%20573-2237" v=
alue=3D"+15105732237" target=3D"_blank">(510) 573-2237</a>

</pre>
</div>
</div>
</div></div></span>
</div>

<br>_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
<br></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div dir=
=3D"ltr"><div><font face=3D"courier new, monospace">--=A0</font></div><div>=
<font face=3D"courier new, monospace">=A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</font></div>
<div><font face=3D"courier new, monospace">| Y. Richard Yang &lt;<a href=3D=
"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&gt; =A0 |</f=
ont></div><div><font face=3D"courier new, monospace">| Professor of Compute=
r Science =A0 =A0 =A0 |</font></div>
<div><font face=3D"courier new, monospace">| <a href=3D"http://www.cs.yale.=
edu/~yry/" target=3D"_blank">http://www.cs.yale.edu/~yry/</a> =A0 =A0 =A0 =
=A0|</font></div><div><font face=3D"courier new, monospace">=A0=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D</font></div>
</div>
</div></div>

--047d7b15aef9e1be1904e9d91c68--

From repenno@cisco.com  Mon Oct 28 21:14:04 2013
Return-Path: <repenno@cisco.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 68A8111E820C for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 21:14:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.548
X-Spam-Level: 
X-Spam-Status: No, score=-10.548 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DodHUS8AuSWl for <alto@ietfa.amsl.com>; Mon, 28 Oct 2013 21:14:00 -0700 (PDT)
Received: from rcdn-iport-5.cisco.com (rcdn-iport-5.cisco.com [173.37.86.76]) by ietfa.amsl.com (Postfix) with ESMTP id BE91611E820B for <alto@ietf.org>; Mon, 28 Oct 2013 21:13:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=18609; q=dns/txt; s=iport; t=1383020039; x=1384229639; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=R0ZZWlWyVF5QkoBJthxXtM38XvTJSyLr8/EsUPu1VZY=; b=Bvh3GboLXZ+jYvXPcUd1AQLihn/U/ibBjjqCa7IMykwQ2xDXREdh/fHm 75O3XzrkBcqOZEsOygxqrX0/gPZTiM03alHt6ysmcWO7L+95hr6OuAnXq i5Tsgz39QtambqdOeWDwQEV1cHKl/sRYuROHpPKhIfarVeMTVVlv6QgKH g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AnIGAKs0b1KtJXG+/2dsb2JhbABWAw4Igi1EOFS2JYhMgS0WdIIlAQEBAgIBAQFpAgsSAQgRAwECCx0uCxQJCAIEDgUIAYd+DbhljxYgAQwEBwkIgw6BDQOZOYslhTSCZz+CKg
X-IronPort-AV: E=Sophos;i="4.93,590,1378857600";  d="scan'208,217";a="277831185"
Received: from rcdn-core2-3.cisco.com ([173.37.113.190]) by rcdn-iport-5.cisco.com with ESMTP; 29 Oct 2013 04:13:58 +0000
Received: from xhc-rcd-x05.cisco.com (xhc-rcd-x05.cisco.com [173.37.183.79]) by rcdn-core2-3.cisco.com (8.14.5/8.14.5) with ESMTP id r9T4DvSm001036 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 29 Oct 2013 04:13:57 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.27]) by xhc-rcd-x05.cisco.com ([173.37.183.79]) with mapi id 14.02.0318.004; Mon, 28 Oct 2013 23:13:57 -0500
From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: [alto] extension questions and comments
Thread-Index: AQHO1Fn9zR3QdVf+CUKlMp267GkViZoK8FWA
Date: Tue, 29 Oct 2013 04:13:57 +0000
Message-ID: <45A697A8FFD7CF48BCF2BE7E106F06040B7402C6@xmb-rcd-x04.cisco.com>
In-Reply-To: <CANUuoLr-OM3xBnONe9tx2WKB8QjV_oH4Vq5ghBidhauUQnq_Hw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.3.120616
x-originating-ip: [10.21.147.112]
Content-Type: multipart/alternative; boundary="_000_45A697A8FFD7CF48BCF2BE7E106F06040B7402C6xmbrcdx04ciscoc_"
MIME-Version: 1.0
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] extension questions and comments
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 29 Oct 2013 04:14:04 -0000

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B7402C6xmbrcdx04ciscoc_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Inline

From: "Y. Yang" <yry@cs.yale.edu<mailto:yry@cs.yale.edu>>
Date: Monday, October 28, 2013 8:50 PM
To: Cisco Employee <repenno@cisco.com<mailto:repenno@cisco.com>>
Cc: Greg Bernstein <gregb@grotto-networking.com<mailto:gregb@grotto-network=
ing.com>>, "alto@ietf.org<mailto:alto@ietf.org>" <alto@ietf.org<mailto:alto=
@ietf.org>>
Subject: Re: [alto] extension questions and comments


On Mon, Oct 28, 2013 at 1:54 PM, Reinaldo Penno (repenno) <repenno@cisco.co=
m<mailto:repenno@cisco.com>> wrote:
I also think seedorf-lmap is a very interesting draft.


Share the opinion. It is quite interesting indeed! At a first quick look, i=
t defines another set of metrics (http://data.fcc.gov/download/measuring-br=
oadband-america/2013/Technical-Appendix-feb-2013.pdf Page 26, which the te-=
metrics doc may need to look into as well).

It looks like that the draft is still evolving. I can see several possibili=
ties in defining network maps: one is the geo-location already well defined=
 in the draft; Table 5 of the Technical-Appendix-feb-2013.pdf suggests that=
 many maps can be constructed. This is interesting and also shows that we w=
ill need to think more on how to handle a wealth of such information. Good =
work!

But what I'm most interested in a way to make maps writable.  I want an app=
 to be be able to write to a map therefore influencing its own cost and att=
ributes.

In the particular fcc MBA context, a concrete example is to change the subs=
criber tier (end point property). But since you mentioned map, I guess you =
are saying e2e (e.g.,  more narrowly bounded app flow).

[RP] hummm=85Not necessarily e2e. If I write to a map and change the cost o=
f reaching  the IP address associated with my application,  I need to be pu=
t in a different PID.  I believe the same is true for endpoint properties i=
f you want to actually influence the cost map.

In addition to flow meta data, Lingli pointed out OneAPI in the context of =
mobile devices as another related work: http://www.gsma.com/oneapi/faq/rest=
ful-api-specifications

[RP] My impression is that a lot of the oneapi is already encapsulated by A=
ndroid and iPhone SDKs.  There is also http://cordova.apache.org which IMO =
is extremely interesting. Of course, you know, Javascript is like the Borg.

Richard


From: Greg Bernstein <gregb@grotto-networking.com<mailto:gregb@grotto-netwo=
rking.com>>
Date: Monday, October 28, 2013 10:48 AM
To: "alto@ietf.org<mailto:alto@ietf.org>" <alto@ietf.org<mailto:alto@ietf.o=
rg>>
Subject: [alto] extension questions and comments

Hi ALTO extension folks, as I'll not be making it up to Vancouver :-( , her=
e are some questions/comments.
These comments/questions are from the perspective of creating an ALTO topol=
ogy service (suitable for large bandwidth and SDN applications).

http://tools.ietf.org/html/draft-scharf-alto-vpn-service-01
ALTO for VPNs: Way back when we started talking about "topology" like exten=
sions. The concept of ALTO for "controlled or partially controlled" environ=
ments was floated. It seems that a VPN type of service would be the exempla=
r of such an environment and hence pave the way for "restricted environment=
" use of ALTO.  Questions:  Are there specific additions to the REST API to=
 offer this some kind of security, i.e., to keep others from gaining inform=
ation about a customers VPN? Or would a general approach to security of thi=
s interface be specified?
http://tools.ietf.org/html/draft-song-alto-overlay-routing-00
Extensions for Multiple path choices: In our large bandwidth work we consid=
ered both path representations as well as graph representations. This propo=
sal would extend ALTO by reporting costs on multiple possible paths between=
 a source and destination. Hence could also work for the large bandwidth ca=
se with appropriate extensions.  Both in this draft and the VPN draft, we m=
ay have the situation where the client uses ALTO information to not only ma=
ke a choice but then relay that choice back to the network via some type of=
 "reservation interface".
http://tools.ietf.org/html/draft-wu-alto-te-metrics-00
Defines costs metrics based on OSPF-TE. We would need for such metrics for =
the "general" topology service.
http://tools.ietf.org/html/draft-roome-alto-pid-properties-00
PID properties -- Comments: This is a step on the way to a "NID" that we wo=
uld use in a graph topology (multi-switch) representation, i.e., where we'd=
 define a Node with Id and properties.
http://tools.ietf.org/html/draft-seedorf-lmap-alto-02, http://tools.ietf.or=
g/html/draft-seedorf-cdni-fci-alto-00
Very interesting applications. Any interest from the authors of these draft=
s in bandwidth/topology type information?

Best Regards

Greg B.


On 10/22/2013 1:02 PM, Vijay K. Gurbani wrote:
Folks: As you prepare slides, etc. for your ALTO extensions, please
consult the latest institutional memory on how to taxonomize or classify
the extensions; this was captured rather succinctly and successfully
during the Berlin IETF side meeting [1].

Enrico and I will be looking to see how we can group the various
extensions under this ontology.  It will make it tractable to understand
and appreciate the extensions as we grapple with them.

Thanks,

[1] http://www.ietf.org/proceedings/87/minutes/minutes-87-alto#ad-hoc

- vijay



--
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
Dr Greg Bernstein, Grotto Networking (510) 573-2237<tel:%28510%29%20573-223=
7>

_______________________________________________
alto mailing list
alto@ietf.org<mailto:alto@ietf.org>
https://www.ietf.org/mailman/listinfo/alto




--
--
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
| Y. Richard Yang <yry@cs.yale.edu<mailto:yry@cs.yale.edu>>   |
| Professor of Computer Science       |
| http://www.cs.yale.edu/~yry/        |
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B7402C6xmbrcdx04ciscoc_
Content-Type: text/html; charset="Windows-1252"
Content-ID: <9FC2F6794ABEE848A5409077A0BBE984@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div>Inline</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>&quot;Y. Yang&quot; &lt;<a hr=
ef=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Monday, October 28, 2013 8:50=
 PM<br>
<span style=3D"font-weight:bold">To: </span>Cisco Employee &lt;<a href=3D"m=
ailto:repenno@cisco.com">repenno@cisco.com</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>Greg Bernstein &lt;<a href=3D"m=
ailto:gregb@grotto-networking.com">gregb@grotto-networking.com</a>&gt;, &qu=
ot;<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a>&quot; &lt;<a href=3D"=
mailto:alto@ietf.org">alto@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] extension quest=
ions and comments<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir=3D"ltr"><br>
<div class=3D"gmail_extra">
<div class=3D"gmail_quote">On Mon, Oct 28, 2013 at 1:54 PM, Reinaldo Penno =
(repenno)
<span dir=3D"ltr">&lt;<a href=3D"mailto:repenno@cisco.com" target=3D"_blank=
">repenno@cisco.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div>I also think seedorf-lmap is a very interesting draft.&nbsp;</div>
<div><br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Share the opinion. It is quite interesting indeed! At a first quick lo=
ok, it defines another set of metrics (<a href=3D"http://data.fcc.gov/downl=
oad/measuring-broadband-america/2013/Technical-Appendix-feb-2013.pdf">http:=
//data.fcc.gov/download/measuring-broadband-america/2013/Technical-Appendix=
-feb-2013.pdf</a>
 Page 26, which the te-metrics doc may need to look into as well).</div>
<div><br>
</div>
<div>It looks like that the draft is still evolving. I can see several poss=
ibilities in defining network maps: one is the geo-location already well de=
fined in the draft; Table 5 of the Technical-Appendix-feb-2013.pdf suggests=
 that many maps can be constructed.
 This is interesting and also shows that we will need to think more on how =
to handle a wealth of such information. Good work!</div>
<div>&nbsp;</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div></div>
<div>But what I'm most interested in a way to make maps writable. &nbsp;I w=
ant an app to be be able to write to a map therefore influencing its own co=
st and attributes.</div>
</div>
</blockquote>
<div><br>
</div>
<div>In the particular fcc MBA context, a concrete example is to change the=
 subscriber tier (end point property). But since you mentioned map, I guess=
 you are saying e2e (e.g., &nbsp;more narrowly bounded app flow).
</div>
</div>
</div>
</div>
</div>
</div>
</span>
<div><br>
</div>
<div>[RP] hummm=85Not necessarily e2e. If I write to a map and change the c=
ost of reaching &nbsp;the&nbsp;IP address associated with my application, &=
nbsp;I need to be put in a different PID. &nbsp;I believe the same is true =
for endpoint properties if you want to actually influence
 the cost map.&nbsp;</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div>
<div>
<div dir=3D"ltr">
<div class=3D"gmail_extra">
<div class=3D"gmail_quote">
<div>In addition to flow meta data, Lingli pointed out OneAPI in the contex=
t of mobile devices as another related work:&nbsp;<a href=3D"http://www.gsm=
a.com/oneapi/faq/restful-api-specifications">http://www.gsma.com/oneapi/faq=
/restful-api-specifications</a></div>
</div>
</div>
</div>
</div>
</div>
</span>
<div><br>
</div>
<div>[RP] My impression is that a lot of the oneapi is already encapsulated=
 by Android and iPhone SDKs. &nbsp;There is also&nbsp;<a href=3D"http://cor=
dova.apache.org">http://cordova.apache.org</a>&nbsp;which IMO is extremely =
interesting. Of course, you know, Javascript is like
 the Borg.&nbsp;</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div>
<div>
<div dir=3D"ltr">
<div class=3D"gmail_extra">
<div class=3D"gmail_quote">
<div><br>
</div>
<div>Richard</div>
<div>&nbsp;</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word">
<div><br>
</div>
<span>
<div style=3D"border-width:1pt medium medium;border-style:solid none none;p=
adding:3pt 0in 0in;text-align:left;font-size:11pt;font-family:Calibri;borde=
r-top-color:rgb(181,196,223)">
<span style=3D"font-weight:bold">From: </span>Greg Bernstein &lt;<a href=3D=
"mailto:gregb@grotto-networking.com" target=3D"_blank">gregb@grotto-network=
ing.com</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Monday, October 28, 2013 10:4=
8 AM<br>
<span style=3D"font-weight:bold">To: </span>&quot;<a href=3D"mailto:alto@ie=
tf.org" target=3D"_blank">alto@ietf.org</a>&quot; &lt;<a href=3D"mailto:alt=
o@ietf.org" target=3D"_blank">alto@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>[alto] extension questions=
 and comments<br>
</div>
<div>
<div class=3D"h5">
<div><br>
</div>
<div>
<div bgcolor=3D"#FFFFFF" text=3D"#000000">
<div>Hi ALTO extension folks, as I'll not be making it up to Vancouver <spa=
n><span>:-(
</span></span>, here are some questions/comments.<br>
These comments/questions are from the perspective of creating an ALTO topol=
ogy service (suitable for large bandwidth and SDN applications).<br>
<dl><dt><a href=3D"http://tools.ietf.org/html/draft-scharf-alto-vpn-service=
-01" target=3D"_blank">http://tools.ietf.org/html/draft-scharf-alto-vpn-ser=
vice-01
</a></dt><dd>ALTO for VPNs: Way back when we started talking about &quot;to=
pology&quot; like extensions. The concept of ALTO for &quot;controlled or p=
artially controlled&quot; environments was floated. It seems that a VPN typ=
e of service would be the exemplar of such an environment and
 hence pave the way for &quot;restricted environment&quot; use of ALTO.&nbs=
p; <strong>Questions</strong>:&nbsp;<em> Are there specific additions to th=
e REST API to offer this some kind of security, i.e., to keep others from g=
aining information about a customers VPN? Or would a
 general approach to security of this interface be specified?</em> </dd><dt=
><span><a href=3D"http://tools.ietf.org/html/draft-song-alto-overlay-routin=
g-00" target=3D"_blank">http://tools.ietf.org/html/draft-song-alto-overlay-=
routing-00</a><br>
</span></dt><dd><span>Extensions for Multiple path choices: In our large ba=
ndwidth work we considered both path representations as well as graph repre=
sentations. This proposal would extend ALTO by reporting costs on multiple =
possible paths between a source and destination.
 Hence could also work for the large bandwidth case with appropriate extens=
ions.&nbsp; Both in this draft and the VPN draft, we may have the situation=
 where the client uses ALTO information to not only make a choice but then =
relay that choice back to the network
 via some type of &quot;reservation interface&quot;.</span></dd><dt><a href=
=3D"http://tools.ietf.org/html/draft-wu-alto-te-metrics-00" target=3D"_blan=
k">http://tools.ietf.org/html/draft-wu-alto-te-metrics-00</a></dt><dd>Defin=
es costs metrics based on OSPF-TE. We would need for such metrics for the &=
quot;general&quot; topology service.
</dd><dt><a href=3D"http://tools.ietf.org/html/draft-roome-alto-pid-propert=
ies-00" target=3D"_blank">http://tools.ietf.org/html/draft-roome-alto-pid-p=
roperties-00</a></dt><dd>PID properties -- <strong>Comments</strong>: This =
is a step on the way to a &quot;NID&quot; that we would use in a graph topo=
logy (multi-switch) representation, i.e., where we'd define a Node with Id =
and properties.
</dd><dt><a href=3D"http://tools.ietf.org/html/draft-seedorf-lmap-alto-02" =
target=3D"_blank">http://tools.ietf.org/html/draft-seedorf-lmap-alto-02</a>=
,
<a href=3D"http://tools.ietf.org/html/draft-seedorf-cdni-fci-alto-00" targe=
t=3D"_blank">
http://tools.ietf.org/html/draft-seedorf-cdni-fci-alto-00</a></dt><dd>Very =
interesting applications. Any interest from the authors of these drafts in =
bandwidth/topology type information?
</dd></dl>
<p>Best Regards<br>
</p>
<p>Greg B.<br>
</p>
<dl><dt><br>
</dt></dl>
<br>
On 10/22/2013 1:02 PM, Vijay K. Gurbani wrote:<br>
</div>
<blockquote type=3D"cite">Folks: As you prepare slides, etc. for your ALTO =
extensions, please
<br>
consult the latest institutional memory on how to taxonomize or classify <b=
r>
the extensions; this was captured rather succinctly and successfully <br>
during the Berlin IETF side meeting [1]. <br>
<br>
Enrico and I will be looking to see how we can group the various <br>
extensions under this ontology.&nbsp; It will make it tractable to understa=
nd <br>
and appreciate the extensions as we grapple with them. <br>
<br>
Thanks, <br>
<br>
[1] <a href=3D"http://www.ietf.org/proceedings/87/minutes/minutes-87-alto#a=
d-hoc" target=3D"_blank">
http://www.ietf.org/proceedings/87/minutes/minutes-87-alto#ad-hoc</a> <br>
<br>
- vijay <br>
</blockquote>
<br>
<br>
<pre cols=3D"72">--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
Dr Greg Bernstein, Grotto Networking <a href=3D"tel:%28510%29%20573-2237" v=
alue=3D"&#43;15105732237" target=3D"_blank">(510) 573-2237</a></pre>
</div>
</div>
</div>
</div>
</span></div>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
<br>
</blockquote>
</div>
<br>
<br clear=3D"all">
<div><br>
</div>
-- <br>
<div dir=3D"ltr">
<div><font face=3D"courier new,monospace">--&nbsp;</font></div>
<div><font face=3D"courier new,monospace">&nbsp;=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D</font></div>
<div><font face=3D"courier new,monospace">| Y. Richard Yang &lt;<a href=3D"=
mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&gt; &nbsp; |<=
/font></div>
<div><font face=3D"courier new,monospace">| Professor of Computer Science &=
nbsp; &nbsp; &nbsp; |</font></div>
<div><font face=3D"courier new,monospace">| <a href=3D"http://www.cs.yale.e=
du/~yry/" target=3D"_blank">
http://www.cs.yale.edu/~yry/</a> &nbsp; &nbsp; &nbsp; &nbsp;|</font></div>
<div><font face=3D"courier new,monospace">&nbsp;=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D</font></div>
</div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B7402C6xmbrcdx04ciscoc_--

From bill.wu@huawei.com  Tue Oct 29 02:48:04 2013
Return-Path: <bill.wu@huawei.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 DDEC211E8221 for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 02:48:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.456
X-Spam-Level: 
X-Spam-Status: No, score=-6.456 tagged_above=-999 required=5 tests=[AWL=0.142,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ojNjiIwOvkYx for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 02:47:59 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id DD10C11E821E for <alto@ietf.org>; Tue, 29 Oct 2013 02:47:58 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml204-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AXI19873; Tue, 29 Oct 2013 09:47:57 +0000 (GMT)
Received: from LHREML401-HUB.china.huawei.com (10.201.5.240) by lhreml204-edg.china.huawei.com (172.18.7.223) with Microsoft SMTP Server (TLS) id 14.3.158.1; Tue, 29 Oct 2013 09:47:31 +0000
Received: from nkgeml407-hub.china.huawei.com (10.98.56.38) by lhreml401-hub.china.huawei.com (10.201.5.240) with Microsoft SMTP Server (TLS) id 14.3.158.1; Tue, 29 Oct 2013 09:47:47 +0000
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.75]) by nkgeml407-hub.china.huawei.com ([10.98.56.38]) with mapi id 14.03.0158.001; Tue, 29 Oct 2013 17:47:39 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: [alto] ALTO Extension: Defining a Cost Metrics document?
Thread-Index: AQHOyGq3gKD/pIh4mkKRiMotazW0EJnzu3IggAomdICACHp0QIACN+4AgALtvyA=
Date: Tue, 29 Oct 2013 09:47:39 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA43C2AF23@nkgeml501-mbs.china.huawei.com>
References: <CANUuoLpy5Budcx+tJCeExeYC_yTcQ9J2gC7HsXcjCvhOi7p_Vg@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0ACE7@nkgeml501-mbs.china.huawei.com> <CANUuoLoj3r_94VVMaTkeDFXzTjwC4qxqy57CQ81aHuH49yz_wQ@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0F907@nkgeml501-mbs.china.huawei.com> <CANUuoLqbMpkEyStkZLL12SwLAU_xaYR-ZpEZ5BXpCu0cHdvApg@mail.gmail.com>
In-Reply-To: <CANUuoLqbMpkEyStkZLL12SwLAU_xaYR-ZpEZ5BXpCu0cHdvApg@mail.gmail.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.138.41.149]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA43C2AF23nkgeml501mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: "choits@etri.re.kr" <choits@etri.re.kr>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 29 Oct 2013 09:48:04 -0000

--_000_B8F9A780D330094D99AF023C5877DABA43C2AF23nkgeml501mbschi_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi, Richard:

From: yang.r.yang@gmail.com [mailto:yang.r.yang@gmail.com] On Behalf Of Y. =
Richard Yang
Sent: Monday, October 28, 2013 4:47 AM
To: Qin Wu
Cc: choits@etri.re.kr; IETF ALTO
Subject: RE: [alto] ALTO Extension: Defining a Cost Metrics document?


Hi Qin,

On Oct 25, 2013 11:14 PM, "Qin Wu" <bill.wu@huawei.com<mailto:bill.wu@huawe=
i.com>> wrote:
>
> Hi,Richard:
>
> Thank for bring these examples.
>
> I see these examples from two perspectives:
>
> 1.       What cost metrics we should define?
>
> 2.       When, where and how to calculate these metrics (i.e., methodolog=
y ).
>
> I think we can not define these cost metrics from scratch, we can not def=
ine all the metrics we think useful. Instead, we should define them mostly =
based on standardized work,
>
> AT&T have a good practice for measuring these metrics. But I believe AT&T=
 also doing a good job in standardizing these metrics and associated method=
ology,e.g.,
>
> in IETF IPPM WG.
>
> Therefore I think we should try to reuse the existing methodology associa=
ted metrics defined somewhere.

It may not be necessary to limit ALTO to metrics only defined by other WGs.=
 In other words, limiting ALTO to the representation layer. But as a first =
step, this can be fine. I am not very familiar with IPPM. Here is a questio=
n. How does IPPM handle parameterized metrics, e.g., 15-min vs 5-min measur=
ement interval of latency? I see two problems:

- How does a network expose the parameters available (e.g., a network says =
I can support 5 or 15 min intervals)? ALTO IRD allows exposures of such cap=
abilities.

[Qin]: IPPM defines methodology for each metric. In the methodology, it inc=
lude parameters like source address, dst address, time to measure this metr=
ic.

However IPPM don't give default value for interval. IPPM didn't define how =
to report those metrics.  Routing protocol can be extended to report those =
metrics. However Routing protocol didn't report measurement interval direct=
ly in the routing message. Instead, such value of interval can be pre-confi=
gured.

-How does a client specify the parameter chosen or desired?

[Qin]: Is a client referred to "ALTO server" that gathers metrics from Rout=
ing protocol, or ALTO client that request information from ALTO server?

If it is the former, I think ALTO server has its own local policy to decide=
 how to gather those metrics and in which frequency to gather those metrics=
.

If it is the latter, I think ALTO client only care about which endpoint he =
can connect and which path he can traverse. He does not need to care about

Whether this metric is latest measured or measured one hour ago. He can jus=
t assume the metric he get is the latest update.

Does IPPM have the mechanisms that ALTO can use?

[Qin]: IPPM does define Delay Metric, Packet loss metric, Jitter Metric, ba=
ndwidth metrics, see RFC5136, RFC2681, RFC2679,RFC3393,RFC2680.

We can consider to use them as a reference when we follow RFC6390 performan=
ce template.



>
>
>
> Also I believe we are not intending to design ALTO as the whole measureme=
nt system or measurement platform.
>
> What ALTO server should do is to gather/aggregate/abstract/filter useful =
metrics in a standard way and  provide them
>
> to the alto client or use them as filtering to choose appropriate endpoin=
t to connect.

Agree. The measurement infrastructure might collect data at 1 min interval,=
 and ALTO exposes only hourly data to certain clients? It is policy control=
led.

Richard
>
>
>
> Regards!
>
> -Qin
>
> From: yang.r.yang@gmail.com<mailto:yang.r.yang@gmail.com> [mailto:yang.r.=
yang@gmail.com<mailto:yang.r.yang@gmail.com>] On Behalf Of Y. Richard Yang
> Sent: Monday, October 21, 2013 9:25 AM
> To: Qin Wu
> Cc: IETF ALTO; choits@etri.re.kr<mailto:choits@etri.re.kr>
> Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?
>
>
>
> Hi all,
>
>
>
> Just a thought, some networks already provide public performance metrics,=
 and ALTO should be able to provide such info in a standard way and cover t=
hese metrics, if we agree:
>
>
>
> -AT&T
>
>  - http://ipnetwork.bgtmo.ip.att.net/pws/averages.html
>
>  - http://ipnetwork.bgtmo.ip.att.net/pws/network_delay.html
>
>    shows latency, loss, jitter, reliability, modem success rate
>
>
>
>  - In particular, the link provides a methodology page (http://ipnetwork.=
bgtmo.ip.att.net/pws/glossary.html), which points to a major challenge in d=
efining the metrics: metrics have parameters (e.g., the AT&T link specifies=
 15-min interval for latency), and I assume that ALTO cannot work with a si=
ngle interval, but then how do we handle parameters?
>
>
>
> - CenturyLink (formerly Qwest):
>
>   - https://kai04.centurylink.com/PtapRpts/Public/BackboneReport.aspx
>
>     shows jitter, latency, pkt delivery rate, availability
>
>
>
> ...
>
>
>
> And we could think that ALTO could be extended to be used as a standard w=
ay to check on the service outage of an endpoint (http://customer.comcast.c=
om/help-and-support/cable-tv/outages-in-your-area/), which may imply perfor=
mance metrics as well...
>
>
>
> Thanks.
>
>
>
> Richard
>
>
>
> On Mon, Oct 14, 2013 at 2:30 AM, Qin Wu <bill.wu@huawei.com<mailto:bill.w=
u@huawei.com>> wrote:
>
> From: alto-bounces@ietf.org<mailto:alto-bounces@ietf.org> [mailto:alto-bo=
unces@ietf.org<mailto:alto-bounces@ietf.org>] On Behalf Of Y. Richard Yang
> Sent: Monday, October 14, 2013 7:20 AM
> To: IETF ALTO
> Cc: choits@etri.re.kr<mailto:choits@etri.re.kr>; Qin Wu
> Subject: [alto] ALTO Extension: Defining a Cost Metrics document?
>
>
>
> Dear all,
>
>
>
> I am reading up on the documents that define cost metrics.
>
>
>
> The motivation is that the base ALTO protocol (http://www.ietf.org/id/dra=
ft-ietf-alto-protocol-20.txt) has defined only one Cost Metric: 'routingcos=
t':
>
>
>
> - Defined the semantics at Sec. 6.1.1.1 of , and then listed it at Table =
3.
>
>
>
> - Used "hopcount" in examples of Sec. 9.2.3 and 9.2.4, but the semantics =
of not formally defined.
>
>
>
> Given the aforementioned state of the base protocol, I see good value in =
that the WG produces a WG document that defines a relatively complete set o=
f Cost Metrics.
>
>
>
> I particular, I read the following:
>
>
>
> - http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02
>
>   (Sec. 3.4 introduced three metrics: hopcount, latency, pktcost, and cos=
t)
>
>
>
> - http://tools.ietf.org/html/draft-wu-alto-json-te-01
>
>   Defined a set of metrics: in Sec. 4. This work, as stated in the docume=
nt, is motivated by
>
>
>
> - http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt
>
>
>
> During the review of ALTO base protocol, we are suggested to document per=
formance metrics (cost metrics) per the guideline of
>
> - RFC 6390 Guidelines for Considering New Performance Metric Development.=
 A. Clark, B. Claise. October 2011. (Format: TXT=3D49930 bytes) (Also BCP01=
70) (Status: BEST CURRENT PRACTICE)
>
>
>
> Here a first question, I have, is whether the authors will produce a "sim=
ple" document, at the upcoming IETF, whose only purpose is to:
>
>
>
>   define a set of cost metrics, including the nameing, the semantics, ...=
 following the guideline per RFC 6390, that can benefit the base protocol.
>
>
>
> [Qin] This is exactly what I we are doing in draft-wu-alto-json-te. We ar=
e checking if we can give a complete list of cost metrics that are built ba=
sed on
>
> draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp,draft-i=
etf-ospf-te-metric-extensions-04, draft-ietf-isis-te-metric-extensions-01.
>
> We will further generalize them to firstly have some base metrics that ca=
n applied either to the whole path or any link in the path and then have
>
> Derived metrics that are link specific.
>
>
>
> The update (v-02) will come in a few days.
>
>
>
>
>
> I feel that such a document is focused, and has good value by itself.
>
>
>
> The implications of the introducing multiple cost metrics can be explored=
 in another document, which I will send in another email shortly.
>
>
>
> Thanks.
>
>
>
> Richard
>
>
>
>

--_000_B8F9A780D330094D99AF023C5877DABA43C2AF23nkgeml501mbschi_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi, Richard:<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> yang.r.y=
ang@gmail.com [mailto:yang.r.yang@gmail.com]
<b>On Behalf Of </b>Y. Richard Yang<br>
<b>Sent:</b> Monday, October 28, 2013 4:47 AM<br>
<b>To:</b> Qin Wu<br>
<b>Cc:</b> choits@etri.re.kr; IETF ALTO<br>
<b>Subject:</b> RE: [alto] ALTO Extension: Defining a Cost Metrics document=
?<o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p>Hi Qin,<o:p></o:p></p>
<p>On Oct 25, 2013 11:14 PM, &quot;Qin Wu&quot; &lt;<a href=3D"mailto:bill.=
wu@huawei.com">bill.wu@huawei.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi,Richard:<br>
&gt;<br>
&gt; Thank for bring these examples.<br>
&gt;<br>
&gt; I see these examples from two perspectives:<br>
&gt;<br>
&gt; 1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; What cost metrics we should def=
ine?<br>
&gt;<br>
&gt; 2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When, where and how to calculat=
e these metrics (i.e., methodology ).<br>
&gt;<br>
&gt; I think we can not define these cost metrics from scratch, we can not =
define all the metrics we think useful. Instead, we should define them most=
ly based on standardized work,<br>
&gt;<br>
&gt; AT&amp;T have a good practice for measuring these metrics. But I belie=
ve AT&amp;T also doing a good job in standardizing these metrics and associ=
ated methodology,e.g.,<br>
&gt;<br>
&gt; in IETF IPPM WG.<br>
&gt;<br>
&gt; Therefore I think we should try to reuse the existing methodology asso=
ciated metrics defined somewhere.<o:p></o:p></p>
<p>It may not be necessary to limit ALTO to metrics only defined by other W=
Gs. In other words, limiting ALTO to the representation layer. But as a fir=
st step, this can be fine. I am not very familiar with IPPM. Here is a ques=
tion. How does IPPM handle parameterized
 metrics, e.g., 15-min vs 5-min measurement interval of latency? I see two =
problems:<o:p></o:p></p>
<p>- How does a network expose the parameters available (e.g., a network sa=
ys I can support 5 or 15 min intervals)? ALTO IRD allows exposures of such =
capabilities.<o:p></o:p></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1F497D">[Qin]: IPPM defines methodology for each metr=
ic. In the methodology, it include parameters like source address, dst addr=
ess, time to measure this metric.<o:p></o:p></span></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1F497D">However IPPM don&#8217;t give default value f=
or interval. IPPM didn&#8217;t define how to report those metrics. &nbsp;Ro=
uting protocol can be extended to report those metrics. However Routing
 protocol didn&#8217;t report measurement interval directly in the routing =
message. Instead, such value of interval can be pre-configured.<o:p></o:p><=
/span></p>
<p>-How does a client specify the parameter chosen or desired?<o:p></o:p></=
p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1F497D">[Qin]: Is a client referred to &#8220;ALTO se=
rver&#8221; that gathers metrics from Routing protocol, or ALTO client that=
 request information from ALTO server?<o:p></o:p></span></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1F497D">If it is the former, I think ALTO server has =
its own local policy to decide how to gather those metrics and in which fre=
quency to gather those metrics.<o:p></o:p></span></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1F497D">If it is the latter, I think ALTO client only=
 care about which endpoint he can connect and which path he can traverse. H=
e does not need to care about
<o:p></o:p></span></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1F497D">Whether this metric is latest measured or mea=
sured one hour ago. He can just assume the metric he get is the latest upda=
te.<o:p></o:p></span></p>
<p>Does IPPM have the mechanisms that ALTO can use?<span style=3D"color:#1F=
497D"><o:p></o:p></span></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1F497D">[Qin]: IPPM does define Delay Metric, Packet =
loss metric, Jitter Metric, bandwidth metrics, see RFC5136, RFC2681, RFC267=
9,RFC3393,RFC2680.<o:p></o:p></span></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1F497D">We can consider to use them as a reference wh=
en we follow RFC6390 performance template.<o:p></o:p></span></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p><br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Also I believe we are not intending to design ALTO as the whole measur=
ement system or measurement platform.<br>
&gt;<br>
&gt; What ALTO server should do is to gather/aggregate/abstract/filter usef=
ul metrics in a standard way and &nbsp;provide them<br>
&gt;<br>
&gt; to the alto client or use them as filtering to choose appropriate endp=
oint to connect.<o:p></o:p></p>
<p>Agree. The measurement infrastructure might collect data at 1 min interv=
al, and ALTO exposes only hourly data to certain clients? It is policy cont=
rolled.
<o:p></o:p></p>
<p>Richard<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Regards!<br>
&gt;<br>
&gt; -Qin<br>
&gt;<br>
&gt; From: <a href=3D"mailto:yang.r.yang@gmail.com">yang.r.yang@gmail.com</=
a> [mailto:<a href=3D"mailto:yang.r.yang@gmail.com">yang.r.yang@gmail.com</=
a>] On Behalf Of Y. Richard Yang<br>
&gt; Sent: Monday, October 21, 2013 9:25 AM<br>
&gt; To: Qin Wu<br>
&gt; Cc: IETF ALTO; <a href=3D"mailto:choits@etri.re.kr">choits@etri.re.kr<=
/a><br>
&gt; Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?<=
br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Just a thought, some networks already provide public performance metri=
cs, and ALTO should be able to provide such info in a standard way and cove=
r these metrics, if we agree:<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; -AT&amp;T&nbsp;<br>
&gt;<br>
&gt; &nbsp;- <a href=3D"http://ipnetwork.bgtmo.ip.att.net/pws/averages.html=
">http://ipnetwork.bgtmo.ip.att.net/pws/averages.html</a><br>
&gt;<br>
&gt; &nbsp;-&nbsp;<a href=3D"http://ipnetwork.bgtmo.ip.att.net/pws/network_=
delay.html">http://ipnetwork.bgtmo.ip.att.net/pws/network_delay.html</a><br=
>
&gt;<br>
&gt; &nbsp; &nbsp;shows latency, loss, jitter, reliability, modem success r=
ate<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; &nbsp;- In particular, the link provides a methodology page (<a href=
=3D"http://ipnetwork.bgtmo.ip.att.net/pws/glossary.html">http://ipnetwork.b=
gtmo.ip.att.net/pws/glossary.html</a>), which points to a major challenge i=
n defining the metrics: metrics have parameters
 (e.g., the AT&amp;T link specifies 15-min interval for latency), and I ass=
ume that ALTO cannot work with a single interval, but then how do we handle=
 parameters?<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; - CenturyLink (formerly Qwest):<br>
&gt;<br>
&gt; &nbsp; -&nbsp;<a href=3D"https://kai04.centurylink.com/PtapRpts/Public=
/BackboneReport.aspx">https://kai04.centurylink.com/PtapRpts/Public/Backbon=
eReport.aspx</a><br>
&gt;<br>
&gt; &nbsp; &nbsp; shows jitter, latency, pkt delivery rate, availability<b=
r>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; ...<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; And we could think that ALTO could be extended to be used as a standar=
d way to check on the service outage of an endpoint (<a href=3D"http://cust=
omer.comcast.com/help-and-support/cable-tv/outages-in-your-area/">http://cu=
stomer.comcast.com/help-and-support/cable-tv/outages-in-your-area/</a>),
 which may imply performance metrics as well...<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Richard<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; On Mon, Oct 14, 2013 at 2:30 AM, Qin Wu &lt;<a href=3D"mailto:bill.wu@=
huawei.com">bill.wu@huawei.com</a>&gt; wrote:<br>
&gt;<br>
&gt; From: <a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</=
a> [mailto:<a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</=
a>] On Behalf Of Y. Richard Yang<br>
&gt; Sent: Monday, October 14, 2013 7:20 AM<br>
&gt; To: IETF ALTO<br>
&gt; Cc: <a href=3D"mailto:choits@etri.re.kr">choits@etri.re.kr</a>; Qin Wu=
<br>
&gt; Subject: [alto] ALTO Extension: Defining a Cost Metrics document?<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Dear all,<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; I am reading up on the documents that define cost metrics.&nbsp;<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; The motivation is that the base ALTO protocol (<a href=3D"http://www.i=
etf.org/id/draft-ietf-alto-protocol-20.txt">http://www.ietf.org/id/draft-ie=
tf-alto-protocol-20.txt</a>) has defined only one Cost Metric: 'routingcost=
':<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; - Defined the semantics at Sec. 6.1.1.1 of , and then listed it at Tab=
le 3.<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; - Used &quot;hopcount&quot; in examples of Sec. 9.2.3 and 9.2.4, but t=
he semantics of not formally defined.<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Given the aforementioned state of the base protocol, I see good value =
in that the WG produces a WG document that defines a relatively complete se=
t of Cost Metrics.<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; I particular, I read the following:<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; -&nbsp;<a href=3D"http://tools.ietf.org/html/draft-lee-alto-app-net-in=
fo-exchange-02">http://tools.ietf.org/html/draft-lee-alto-app-net-info-exch=
ange-02</a><br>
&gt;<br>
&gt; &nbsp; (Sec. 3.4 introduced three metrics: hopcount, latency, pktcost,=
 and cost)<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; -&nbsp;<a href=3D"http://tools.ietf.org/html/draft-wu-alto-json-te-01"=
>http://tools.ietf.org/html/draft-wu-alto-json-te-01</a><br>
&gt;<br>
&gt; &nbsp; Defined a set of metrics: in Sec. 4. This work, as stated in th=
e document, is motivated by&nbsp;<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; -&nbsp;<a href=3D"http://www.ietf.org/id/draft-ietf-ospf-te-metric-ext=
ensions-04.txt">http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensions=
-04.txt</a><br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; During the review of ALTO base protocol, we are suggested to document =
performance metrics (cost metrics) per the guideline of&nbsp;<br>
&gt;<br>
&gt; - RFC&nbsp;6390 Guidelines for Considering New Performance Metric Deve=
lopment. A. Clark, B. Claise. October 2011. (Format: TXT=3D49930 bytes) (Al=
so BCP0170) (Status: BEST CURRENT PRACTICE)<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Here a first question, I have, is whether the authors will produce a &=
quot;simple&quot; document, at the upcoming IETF, whose only purpose is to:=
<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; &nbsp; define a set of cost metrics, including the nameing, the semant=
ics, ... following the guideline per RFC 6390, that can benefit the base pr=
otocol.<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; [Qin] This is exactly what I we are doing in draft-wu-alto-json-te. We=
 are checking if we can give a complete list of cost metrics that are built=
 based on<br>
&gt;<br>
&gt; draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp,draf=
t-ietf-ospf-te-metric-extensions-04, draft-ietf-isis-te-metric-extensions-0=
1.<br>
&gt;<br>
&gt; We will further generalize them to firstly have some base metrics that=
 can applied either to the whole path or any link in the path and then have=
<br>
&gt;<br>
&gt; Derived metrics that are link specific.<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; The update (v-02) will come in a few days. <br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; I feel that such a document is focused, and has good value by itself.<=
br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; The implications of the introducing multiple cost metrics can be explo=
red in another document, which I will send in another email shortly.<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; &nbsp;<br>
&gt;<br>
&gt; Richard<br>
&gt;<br>
&gt; &nbsp;&nbsp;<br>
&gt;<br>
&gt; <o:p></o:p></p>
</div>
</body>
</html>

--_000_B8F9A780D330094D99AF023C5877DABA43C2AF23nkgeml501mbschi_--

From vkg@bell-labs.com  Tue Oct 29 08:53:18 2013
Return-Path: <vkg@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 C887C11E8311 for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 08:53:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.489
X-Spam-Level: 
X-Spam-Status: No, score=-110.489 tagged_above=-999 required=5 tests=[AWL=0.110, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OChLQ3n7rNtw for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 08:53:13 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id AEAB311E817F for <alto@ietf.org>; Tue, 29 Oct 2013 08:53:09 -0700 (PDT)
Received: from usnavsmail3.ndc.alcatel-lucent.com (usnavsmail3.ndc.alcatel-lucent.com [135.3.39.11]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r9TFr6ir014752 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 29 Oct 2013 10:53:06 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail3.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9TFr57r015174 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 29 Oct 2013 10:53:05 -0500
Received: from shoonya.ih.lucent.com (shoonya.ih.lucent.com [135.185.237.229]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9TFr4Hk028882; Tue, 29 Oct 2013 10:53:05 -0500 (CDT)
Message-ID: <526FD9D2.4080901@bell-labs.com>
Date: Tue, 29 Oct 2013 10:52:50 -0500
From: "Vijay K. Gurbani" <vkg@bell-labs.com>
Organization: Bell Laboratories, Alcatel-Lucent
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130805 Thunderbird/17.0.8
MIME-Version: 1.0
To: "Y. Richard Yang" <yry@cs.yale.edu>
References: <526EA379.308@grotto-networking.com> <45A697A8FFD7CF48BCF2BE7E106F06040B740087@xmb-rcd-x04.cisco.com> <CANUuoLr-OM3xBnONe9tx2WKB8QjV_oH4Vq5ghBidhauUQnq_Hw@mail.gmail.com>
In-Reply-To: <CANUuoLr-OM3xBnONe9tx2WKB8QjV_oH4Vq5ghBidhauUQnq_Hw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.11
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] extension questions and comments
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 29 Oct 2013 15:53:18 -0000

On 10/28/2013 10:50 PM, Y. Richard Yang wrote:
> It looks like that the draft is still evolving. I can see several
> possibilities in defining network maps: one is the geo-location already
> well defined in the draft; Table 5 of the
> Technical-Appendix-feb-2013.pdf suggests that many maps can be
> constructed. This is interesting and also shows that we will need to
> think more on how to handle a wealth of such information. Good work!

Richard: Indeed; we forsee multiple maps coming out from this data once
the approximate locations of the devices has been determined (which is
what Section 6 of the draft is all about).

Some of these maps are fairly esoteric and some of the work we are doing
looks at various "what if" scenarios using the maps we have constructed.
We plan to publish these evolutions as our thinking further coalesces.

Let's chat more in Vancouver.

Thanks,

- vijay
-- 
Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)
Email: vkg@{bell-labs.com,acm.org} / vijay.gurbani@alcatel-lucent.com
Web: http://ect.bell-labs.com/who/vkg/  | Calendar: http://goo.gl/x3Ogq

From vkg@bell-labs.com  Tue Oct 29 09:02:27 2013
Return-Path: <vkg@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 ADC1D21F9FC3 for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 09:02:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.498
X-Spam-Level: 
X-Spam-Status: No, score=-110.498 tagged_above=-999 required=5 tests=[AWL=0.101, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VXuyB8jMpKdX for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 09:02:22 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id 9316811E8197 for <alto@ietf.org>; Tue, 29 Oct 2013 09:01:30 -0700 (PDT)
Received: from usnavsmail1.ndc.alcatel-lucent.com (usnavsmail1.ndc.alcatel-lucent.com [135.3.39.9]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r9TG1QOi020424 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 29 Oct 2013 11:01:26 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail1.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9TG1QgL025921 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 29 Oct 2013 11:01:26 -0500
Received: from shoonya.ih.lucent.com (shoonya.ih.lucent.com [135.185.237.229]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9TG1PB5004121; Tue, 29 Oct 2013 11:01:25 -0500 (CDT)
Message-ID: <526FDBC7.2090802@bell-labs.com>
Date: Tue, 29 Oct 2013 11:01:11 -0500
From: "Vijay K. Gurbani" <vkg@bell-labs.com>
Organization: Bell Laboratories, Alcatel-Lucent
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130805 Thunderbird/17.0.8
MIME-Version: 1.0
To: "Reinaldo Penno (repenno)" <repenno@cisco.com>
References: <45A697A8FFD7CF48BCF2BE7E106F06040B7402C6@xmb-rcd-x04.cisco.com>
In-Reply-To: <45A697A8FFD7CF48BCF2BE7E106F06040B7402C6@xmb-rcd-x04.cisco.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.9
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] extension questions and comments
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 29 Oct 2013 16:02:27 -0000

On 10/28/2013 11:13 PM, Reinaldo Penno (repenno) wrote:
> In the particular fcc MBA context, a concrete example is to change the
> subscriber tier (end point property). But since you mentioned map, I
> guess you are saying e2e (e.g.,  more narrowly bounded app flow).
>
> [RP] hummm…Not necessarily e2e. If I write to a map and change the cost
> of reaching  the IP address associated with my application,  I need to
> be put in a different PID.  I believe the same is true for endpoint
> properties if you want to actually influence the cost map.

Reinaldo: Interesting ... you are proposing an alto.put() mutator,
whereas what we have now is mostly alto.get() accessors.

Once we do this, we are perilously close to sdn/i2rs type of thinking
(I think).  However, if I understand you correctly, you are advocating
a bounded alto.put() functionality ... perhaps an endpoint migrating to
a different PID.  I don't think you are advocating a wholesale
application-specified state insertion into the network.

The use of ALTO in scenarios that require changing the basic networking
plumbing has been discussed in academic papers, at least (at the cost of
a self reference, see [1]).  There has been some discussion in the ALTO
mailing list of such functionality as well, but to date my impression
is that such discussion has been limited due to the overlap between
sdn/i2rs type of work.

[1] Gurbani, V.K., Scharf, M., Lakshman, T.V. and Hilt, V.,
  "Abstracting network state in Software Defined Networks (SDN) for
  rendezvous services," accepted for publication. In Workshop on
  Software Defined Networks (SDN), held in conjunction with IEEE
  International Conference on Communications (ICC), pp. 6627-6632, June
  2012.

Thanks,

- vijay
-- 
Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)
Email: vkg@{bell-labs.com,acm.org} / vijay.gurbani@alcatel-lucent.com
Web: http://ect.bell-labs.com/who/vkg/  | Calendar: http://goo.gl/x3Ogq

From repenno@cisco.com  Tue Oct 29 10:10:19 2013
Return-Path: <repenno@cisco.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 573A411E826C for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 10:10:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.553
X-Spam-Level: 
X-Spam-Status: No, score=-10.553 tagged_above=-999 required=5 tests=[AWL=0.046, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wq5Ujp1H-3Ac for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 10:10:00 -0700 (PDT)
Received: from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72]) by ietfa.amsl.com (Postfix) with ESMTP id 46D9F21E80B9 for <alto@ietf.org>; Tue, 29 Oct 2013 10:03:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2365; q=dns/txt; s=iport; t=1383066208; x=1384275808; h=from:to:cc:subject:date:message-id:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=iCyBWkbbUDh5YsXMchfmOo9wTkLtp6MKVJvGDa0f73Y=; b=IMO/4BDJGa4KXccpEx9/tv1iW4rMOpgxKZru0QQ4f2fXoihfAvsJfjno 10wnxvSP/uHCBIOItztFH5W+FhnBbS0u4mfQBiTyGxpCdYyEdlH2eRBjY mn1oGv+OhybJ41OuCllbOpCbTnhK4BbT7ZhntdJXtWyimIVjs9y9+0tWm s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AiAFAJ7pb1KtJXG+/2dsb2JhbABZgwc4Tga/NYErFnSCJQEBAQRoBgsSAQgYClYlAgQOBQiHfwgFuh+NcwsKgQwCMQeDH4ENA6ReAYUzgyZxAQF1CRci
X-IronPort-AV: E=Sophos;i="4.93,594,1378857600"; d="scan'208";a="277884108"
Received: from rcdn-core2-3.cisco.com ([173.37.113.190]) by rcdn-iport-1.cisco.com with ESMTP; 29 Oct 2013 17:03:20 +0000
Received: from xhc-rcd-x14.cisco.com (xhc-rcd-x14.cisco.com [173.37.183.88]) by rcdn-core2-3.cisco.com (8.14.5/8.14.5) with ESMTP id r9TH3Jnt020638 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 29 Oct 2013 17:03:19 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.27]) by xhc-rcd-x14.cisco.com ([173.37.183.88]) with mapi id 14.02.0318.004; Tue, 29 Oct 2013 12:03:19 -0500
From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
To: "Vijay K. Gurbani" <vkg@bell-labs.com>
Thread-Topic: [alto] extension questions and comments
Thread-Index: AQHO1Fn9zR3QdVf+CUKlMp267GkViZoK8FWAgAE69ID//5wAAA==
Date: Tue, 29 Oct 2013 17:03:18 +0000
Message-ID: <45A697A8FFD7CF48BCF2BE7E106F06040B740B6A@xmb-rcd-x04.cisco.com>
In-Reply-To: <526FDBC7.2090802@bell-labs.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.3.120616
x-originating-ip: [10.21.145.157]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <6FB0FE7CE8FDD946A48AFDF93005837F@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] extension questions and comments
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 29 Oct 2013 17:10:19 -0000
X-List-Received-Date: Tue, 29 Oct 2013 17:10:19 -0000

On 10/29/13 9:01 AM, "Vijay K. Gurbani" <vkg@bell-labs.com> wrote:

>On 10/28/2013 11:13 PM, Reinaldo Penno (repenno) wrote:
>> In the particular fcc MBA context, a concrete example is to change the
>> subscriber tier (end point property). But since you mentioned map, I
>> guess you are saying e2e (e.g.,  more narrowly bounded app flow).
>>
>> [RP] hummm=8ANot necessarily e2e. If I write to a map and change the cos=
t
>> of reaching  the IP address associated with my application,  I need to
>> be put in a different PID.  I believe the same is true for endpoint
>> properties if you want to actually influence the cost map.
>
>Reinaldo: Interesting ... you are proposing an alto.put() mutator,
>whereas what we have now is mostly alto.get() accessors.
>
>Once we do this, we are perilously close to sdn/i2rs type of thinking
>(I think). =20

Right

>However, if I understand you correctly, you are advocating
>a bounded alto.put() functionality ... perhaps an endpoint migrating to
>a different PID.  I don't think you are advocating a wholesale
>application-specified state insertion into the network.

Something like that: "Is there a PID with low latency? I want to be
there". The app itself does not need to know anything about the network
per se.=20

>
>The use of ALTO in scenarios that require changing the basic networking
>plumbing has been discussed in academic papers, at least (at the cost of
>a self reference, see [1]).  There has been some discussion in the ALTO
>mailing list of such functionality as well, but to date my impression
>is that such discussion has been limited due to the overlap between
>sdn/i2rs type of work.
>
>[1] Gurbani, V.K., Scharf, M., Lakshman, T.V. and Hilt, V.,
>  "Abstracting network state in Software Defined Networks (SDN) for
>  rendezvous services," accepted for publication. In Workshop on
>  Software Defined Networks (SDN), held in conjunction with IEEE
>  International Conference on Communications (ICC), pp. 6627-6632, June
>  2012.


Will read it sir.

>
>Thanks,
>
>- vijay
>--=20
>Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
>1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)
>Email: vkg@{bell-labs.com,acm.org} / vijay.gurbani@alcatel-lucent.com
>Web: http://ect.bell-labs.com/who/vkg/  | Calendar: http://goo.gl/x3Ogq


From yang.r.yang@gmail.com  Tue Oct 29 15:08:42 2013
Return-Path: <yang.r.yang@gmail.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 F1A3811E81B6 for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 15:08:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.799
X-Spam-Level: 
X-Spam-Status: No, score=-1.799 tagged_above=-999 required=5 tests=[AWL=0.178,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FsAUrWkYqfEg for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 15:08:40 -0700 (PDT)
Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) by ietfa.amsl.com (Postfix) with ESMTP id BAB9D21E8087 for <alto@ietf.org>; Tue, 29 Oct 2013 15:08:32 -0700 (PDT)
Received: by mail-pa0-f46.google.com with SMTP id rd3so2156pab.5 for <alto@ietf.org>; Tue, 29 Oct 2013 15:08:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=bROHa4iFsgfHFMeTeWDJkP90k45xKryYeXjPqp5MjuY=; b=mCpEeS6Z1eBb06mzXMMgqiJpS0JoC0Ynsb0Bmhibe5BvuAjur7DOLCNNMBFKK24Lhf wlWj6AfP+O2jnCg8I45xsHp9UBFTPFMIxCV17NSX3ueelt2cQp3Y16SSBCQFeUnWsAGr 1qDYL9eclPdLmrVK1WoAXn13Fth/vd3vYbfRNrGynbBj3gEN3lIkn8ERJmkS35LMDUf0 sgRZJLLrQ5pp6+TEftay/vrUOiBEM3mFH8UzPCDFZb3lfhpzGF9aOMF7ozSTu5QwDXcR HSwgVv83pdmr5dCcH1uLbs1vA2AmQqfy4gXE3H0xekKMRGdschU5UmW5VLcGaxwsOGs6 xyjg==
MIME-Version: 1.0
X-Received: by 10.67.21.226 with SMTP id hn2mr2621071pad.69.1383084505452; Tue, 29 Oct 2013 15:08:25 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Tue, 29 Oct 2013 15:08:25 -0700 (PDT)
Received: by 10.68.47.195 with HTTP; Tue, 29 Oct 2013 15:08:25 -0700 (PDT)
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA43C2AF23@nkgeml501-mbs.china.huawei.com>
References: <CANUuoLpy5Budcx+tJCeExeYC_yTcQ9J2gC7HsXcjCvhOi7p_Vg@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0ACE7@nkgeml501-mbs.china.huawei.com> <CANUuoLoj3r_94VVMaTkeDFXzTjwC4qxqy57CQ81aHuH49yz_wQ@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C0F907@nkgeml501-mbs.china.huawei.com> <CANUuoLqbMpkEyStkZLL12SwLAU_xaYR-ZpEZ5BXpCu0cHdvApg@mail.gmail.com> <B8F9A780D330094D99AF023C5877DABA43C2AF23@nkgeml501-mbs.china.huawei.com>
Date: Tue, 29 Oct 2013 18:08:25 -0400
X-Google-Sender-Auth: 6ECF1XgE-x2w7679Q2324wIUmsg
Message-ID: <CANUuoLoqa9cXN5o6smK8w1YyDbQMjxgJJX99EhiV0osxksM=Jg@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: Qin Wu <bill.wu@huawei.com>
Content-Type: multipart/alternative; boundary=001a11333020a458e904e9e874e6
Cc: choits@etri.re.kr, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 29 Oct 2013 22:08:42 -0000

--001a11333020a458e904e9e874e6
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Oct 29, 2013 6:01 AM, "Qin Wu" <bill.wu@huawei.com> wrote:
>
> Hi, Richard:
>
>
>
> From: yang.r.yang@gmail.com [mailto:yang.r.yang@gmail.com] On Behalf Of
Y. Richard Yang
> Sent: Monday, October 28, 2013 4:47 AM
> To: Qin Wu
> Cc: choits@etri.re.kr; IETF ALTO
> Subject: RE: [alto] ALTO Extension: Defining a Cost Metrics document?
>
>
>
> Hi Qin,
>
> On Oct 25, 2013 11:14 PM, "Qin Wu" <bill.wu@huawei.com> wrote:
> >
> > Hi,Richard:
> >
> > Thank for bring these examples.
> >
> > I see these examples from two perspectives:
> >
> > 1.       What cost metrics we should define?
> >
> > 2.       When, where and how to calculate these metrics (i.e.,
methodology ).
> >
> > I think we can not define these cost metrics from scratch, we can not
define all the metrics we think useful. Instead, we should define them
mostly based on standardized work,
> >
> > AT&T have a good practice for measuring these metrics. But I believe
AT&T also doing a good job in standardizing these metrics and associated
methodology,e.g.,
> >
> > in IETF IPPM WG.
> >
> > Therefore I think we should try to reuse the existing methodology
associated metrics defined somewhere.
>
> It may not be necessary to limit ALTO to metrics only defined by other
WGs. In other words, limiting ALTO to the representation layer. But as a
first step, this can be fine. I am not very familiar with IPPM. Here is a
question. How does IPPM handle parameterized metrics, e.g., 15-min vs 5-min
measurement interval of latency? I see two problems:
>
> - How does a network expose the parameters available (e.g., a network
says I can support 5 or 15 min intervals)? ALTO IRD allows exposures of
such capabilities.
>
> [Qin]: IPPM defines methodology for each metric. In the methodology, it
include parameters like source address, dst address, time to measure this
metric.
>
> However IPPM don=92t give default value for interval. IPPM didn=92t defin=
e
how to report those metrics.  Routing protocol can be extended to report
those metrics. However Routing protocol didn=92t report measurement interva=
l
directly in the routing message. Instead, such value of interval can be
pre-configured.

So we have a problem here? Hence, we need to include more fields in
CostType: CostMetric, CostMode, CostParams? Then IRD needs to expose the
parameters?

> -How does a client specify the parameter chosen or desired?
>
> [Qin]: Is a client referred to =93ALTO server=94 that gathers metrics fro=
m
Routing protocol, or ALTO client that request information from ALTO server?
>
> If it is the former, I think ALTO server has its own local policy to
decide how to gather those metrics and in which frequency to gather those
metrics.

I meant the client. But thank you for pointing out that the ALTO Server can
be the client of the Routing system. So we go back to manual configuration?

> If it is the latter, I think ALTO client only care about which endpoint
he can connect and which path he can traverse. He does not need to care
about
>
> Whether this metric is latest measured or measured one hour ago. He can
just assume the metric he get is the latest update.

Not sure about this. The latest assumption assumes real-time operation.
Also, the measurement interval can have large impact on interpreting the
results. For example, jitter is essentially variance and can go through
substantial smoothing (law of large numbers) if the interval is long.
Hence, the client can benefit knowing it.
>
> Does IPPM have the mechanisms that ALTO can use?
>
> [Qin]: IPPM does define Delay Metric, Packet loss metric, Jitter Metric,
bandwidth metrics, see RFC5136, RFC2681, RFC2679,RFC3393,RFC2680.
>
> We can consider to use them as a reference when we follow RFC6390
performance template.

Good to know.

Thanks!

Richard
>
>
>
>
> >
> >
> >
> > Also I believe we are not intending to design ALTO as the whole
measurement system or measurement platform.
> >
> > What ALTO server should do is to gather/aggregate/abstract/filter
useful metrics in a standard way and  provide them
> >
> > to the alto client or use them as filtering to choose appropriate
endpoint to connect.
>
> Agree. The measurement infrastructure might collect data at 1 min
interval, and ALTO exposes only hourly data to certain clients? It is
policy controlled.
>
> Richard
> >
> >
> >
> > Regards!
> >
> > -Qin
> >
> > From: yang.r.yang@gmail.com [mailto:yang.r.yang@gmail.com] On Behalf Of
Y. Richard Yang
> > Sent: Monday, October 21, 2013 9:25 AM
> > To: Qin Wu
> > Cc: IETF ALTO; choits@etri.re.kr
> > Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics document?
> >
> >
> >
> > Hi all,
> >
> >
> >
> > Just a thought, some networks already provide public performance
metrics, and ALTO should be able to provide such info in a standard way and
cover these metrics, if we agree:
> >
> >
> >
> > -AT&T
> >
> >  - http://ipnetwork.bgtmo.ip.att.net/pws/averages.html
> >
> >  - http://ipnetwork.bgtmo.ip.att.net/pws/network_delay.html
> >
> >    shows latency, loss, jitter, reliability, modem success rate
> >
> >
> >
> >  - In particular, the link provides a methodology page (
http://ipnetwork.bgtmo.ip.att.net/pws/glossary.html), which points to a
major challenge in defining the metrics: metrics have parameters (e.g., the
AT&T link specifies 15-min interval for latency), and I assume that ALTO
cannot work with a single interval, but then how do we handle parameters?
> >
> >
> >
> > - CenturyLink (formerly Qwest):
> >
> >   - https://kai04.centurylink.com/PtapRpts/Public/BackboneReport.aspx
> >
> >     shows jitter, latency, pkt delivery rate, availability
> >
> >
> >
> > ...
> >
> >
> >
> > And we could think that ALTO could be extended to be used as a standard
way to check on the service outage of an endpoint (
http://customer.comcast.com/help-and-support/cable-tv/outages-in-your-area/=
),
which may imply performance metrics as well...
> >
> >
> >
> > Thanks.
> >
> >
> >
> > Richard
> >
> >
> >
> > On Mon, Oct 14, 2013 at 2:30 AM, Qin Wu <bill.wu@huawei.com> wrote:
> >
> > From: alto-bounces@ietf.org [mailto:alto-bounces@ietf.org] On Behalf Of
Y. Richard Yang
> > Sent: Monday, October 14, 2013 7:20 AM
> > To: IETF ALTO
> > Cc: choits@etri.re.kr; Qin Wu
> > Subject: [alto] ALTO Extension: Defining a Cost Metrics document?
> >
> >
> >
> > Dear all,
> >
> >
> >
> > I am reading up on the documents that define cost metrics.
> >
> >
> >
> > The motivation is that the base ALTO protocol (
http://www.ietf.org/id/draft-ietf-alto-protocol-20.txt) has defined only
one Cost Metric: 'routingcost':
> >
> >
> >
> > - Defined the semantics at Sec. 6.1.1.1 of , and then listed it at
Table 3.
> >
> >
> >
> > - Used "hopcount" in examples of Sec. 9.2.3 and 9.2.4, but the
semantics of not formally defined.
> >
> >
> >
> > Given the aforementioned state of the base protocol, I see good value
in that the WG produces a WG document that defines a relatively complete
set of Cost Metrics.
> >
> >
> >
> > I particular, I read the following:
> >
> >
> >
> > - http://tools.ietf.org/html/draft-lee-alto-app-net-info-exchange-02
> >
> >   (Sec. 3.4 introduced three metrics: hopcount, latency, pktcost, and
cost)
> >
> >
> >
> > - http://tools.ietf.org/html/draft-wu-alto-json-te-01
> >
> >   Defined a set of metrics: in Sec. 4. This work, as stated in the
document, is motivated by
> >
> >
> >
> > - http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensions-04.txt
> >
> >
> >
> > During the review of ALTO base protocol, we are suggested to document
performance metrics (cost metrics) per the guideline of
> >
> > - RFC 6390 Guidelines for Considering New Performance Metric
Development. A. Clark, B. Claise. October 2011. (Format: TXT=3D49930 bytes)
(Also BCP0170) (Status: BEST CURRENT PRACTICE)
> >
> >
> >
> > Here a first question, I have, is whether the authors will produce a
"simple" document, at the upcoming IETF, whose only purpose is to:
> >
> >
> >
> >   define a set of cost metrics, including the nameing, the semantics,
... following the guideline per RFC 6390, that can benefit the base
protocol.
> >
> >
> >
> > [Qin] This is exactly what I we are doing in draft-wu-alto-json-te. We
are checking if we can give a complete list of cost metrics that are built
based on
> >
> > draft-ietf-idr-ls-distribution-03,RFC5305,
draft-wu-idr-te-pm-bgp,draft-ietf-ospf-te-metric-extensions-04,
draft-ietf-isis-te-metric-extensions-01.
> >
> > We will further generalize them to firstly have some base metrics that
can applied either to the whole path or any link in the path and then have
> >
> > Derived metrics that are link specific.
> >
> >
> >
> > The update (v-02) will come in a few days.
> >
> >
> >
> >
> >
> > I feel that such a document is focused, and has good value by itself.
> >
> >
> >
> > The implications of the introducing multiple cost metrics can be
explored in another document, which I will send in another email shortly.
> >
> >
> >
> > Thanks.
> >
> >
> >
> > Richard
> >
> >
> >
> >

--001a11333020a458e904e9e874e6
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Oct 29, 2013 6:01 AM, &quot;Qin Wu&quot; &lt;<a href=3D"mailto:bill.wu@h=
uawei.com">bill.wu@huawei.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi, Richard:<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; From: <a href=3D"mailto:yang.r.yang@gmail.com">yang.r.yang@gmail.com</=
a> [mailto:<a href=3D"mailto:yang.r.yang@gmail.com">yang.r.yang@gmail.com</=
a>] On Behalf Of Y. Richard Yang<br>
&gt; Sent: Monday, October 28, 2013 4:47 AM<br>
&gt; To: Qin Wu<br>
&gt; Cc: <a href=3D"mailto:choits@etri.re.kr">choits@etri.re.kr</a>; IETF A=
LTO<br>
&gt; Subject: RE: [alto] ALTO Extension: Defining a Cost Metrics document?<=
br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt; Hi Qin,<br>
&gt;<br>
&gt; On Oct 25, 2013 11:14 PM, &quot;Qin Wu&quot; &lt;<a href=3D"mailto:bil=
l.wu@huawei.com">bill.wu@huawei.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; Hi,Richard:<br>
&gt; &gt;<br>
&gt; &gt; Thank for bring these examples.<br>
&gt; &gt;<br>
&gt; &gt; I see these examples from two perspectives:<br>
&gt; &gt;<br>
&gt; &gt; 1.=A0=A0=A0=A0=A0=A0 What cost metrics we should define?<br>
&gt; &gt;<br>
&gt; &gt; 2.=A0=A0=A0=A0=A0=A0 When, where and how to calculate these metri=
cs (i.e., methodology ).<br>
&gt; &gt;<br>
&gt; &gt; I think we can not define these cost metrics from scratch, we can=
 not define all the metrics we think useful. Instead, we should define them=
 mostly based on standardized work,<br>
&gt; &gt;<br>
&gt; &gt; AT&amp;T have a good practice for measuring these metrics. But I =
believe AT&amp;T also doing a good job in standardizing these metrics and a=
ssociated methodology,e.g.,<br>
&gt; &gt;<br>
&gt; &gt; in IETF IPPM WG.<br>
&gt; &gt;<br>
&gt; &gt; Therefore I think we should try to reuse the existing methodology=
 associated metrics defined somewhere.<br>
&gt;<br>
&gt; It may not be necessary to limit ALTO to metrics only defined by other=
 WGs. In other words, limiting ALTO to the representation layer. But as a f=
irst step, this can be fine. I am not very familiar with IPPM. Here is a qu=
estion. How does IPPM handle parameterized metrics, e.g., 15-min vs 5-min m=
easurement interval of latency? I see two problems:<br>

&gt;<br>
&gt; - How does a network expose the parameters available (e.g., a network =
says I can support 5 or 15 min intervals)? ALTO IRD allows exposures of suc=
h capabilities.<br>
&gt;<br>
&gt; [Qin]: IPPM defines methodology for each metric. In the methodology, i=
t include parameters like source address, dst address, time to measure this=
 metric.<br>
&gt;<br>
&gt; However IPPM don=92t give default value for interval. IPPM didn=92t de=
fine how to report those metrics. =A0Routing protocol can be extended to re=
port those metrics. However Routing protocol didn=92t report measurement in=
terval directly in the routing message. Instead, such value of interval can=
 be pre-configured.</p>

<p dir=3D"ltr">So we have a problem here? Hence, we need to include more fi=
elds in CostType: CostMetric, CostMode, CostParams? Then IRD needs to expos=
e the parameters?<br></p>
<p dir=3D"ltr">&gt; -How does a client specify the parameter chosen or desi=
red?<br>
&gt;<br>
&gt; [Qin]: Is a client referred to =93ALTO server=94 that gathers metrics =
from Routing protocol, or ALTO client that request information from ALTO se=
rver?<br>
&gt;<br>
&gt; If it is the former, I think ALTO server has its own local policy to d=
ecide how to gather those metrics and in which frequency to gather those me=
trics.</p>
<p dir=3D"ltr">I meant the client. But thank you for pointing out that the =
ALTO Server can be the client of the Routing system. So we go back to manua=
l configuration?</p>
<p dir=3D"ltr">&gt; If it is the latter, I think ALTO client only care abou=
t which endpoint he can connect and which path he can traverse. He does not=
 need to care about<br>
&gt;<br>
&gt; Whether this metric is latest measured or measured one hour ago. He ca=
n just assume the metric he get is the latest update.</p>
<p dir=3D"ltr">Not sure about this. The latest assumption assumes real-time=
 operation. Also, the measurement interval can have large impact on interpr=
eting the results. For example, jitter is essentially variance and can go t=
hrough substantial smoothing (law of large numbers) if the interval is long=
. Hence, the client can benefit knowing it.<br>

&gt;<br>
&gt; Does IPPM have the mechanisms that ALTO can use?<br>
&gt;<br>
&gt; [Qin]: IPPM does define Delay Metric, Packet loss metric, Jitter Metri=
c, bandwidth metrics, see RFC5136, RFC2681, RFC2679,RFC3393,RFC2680.<br>
&gt;<br>
&gt; We can consider to use them as a reference when we follow RFC6390 perf=
ormance template.</p>
<p dir=3D"ltr">Good to know. </p>
<p dir=3D"ltr">Thanks!</p>
<p dir=3D"ltr">Richard<br>
&gt;<br>
&gt; =A0<br>
&gt;<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; Also I believe we are not intending to design ALTO as the whole m=
easurement system or measurement platform.<br>
&gt; &gt;<br>
&gt; &gt; What ALTO server should do is to gather/aggregate/abstract/filter=
 useful metrics in a standard way and =A0provide them<br>
&gt; &gt;<br>
&gt; &gt; to the alto client or use them as filtering to choose appropriate=
 endpoint to connect.<br>
&gt;<br>
&gt; Agree. The measurement infrastructure might collect data at 1 min inte=
rval, and ALTO exposes only hourly data to certain clients? It is policy co=
ntrolled.<br>
&gt;<br>
&gt; Richard<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; Regards!<br>
&gt; &gt;<br>
&gt; &gt; -Qin<br>
&gt; &gt;<br>
&gt; &gt; From: <a href=3D"mailto:yang.r.yang@gmail.com">yang.r.yang@gmail.=
com</a> [mailto:<a href=3D"mailto:yang.r.yang@gmail.com">yang.r.yang@gmail.=
com</a>] On Behalf Of Y. Richard Yang<br>
&gt; &gt; Sent: Monday, October 21, 2013 9:25 AM<br>
&gt; &gt; To: Qin Wu<br>
&gt; &gt; Cc: IETF ALTO; <a href=3D"mailto:choits@etri.re.kr">choits@etri.r=
e.kr</a><br>
&gt; &gt; Subject: Re: [alto] ALTO Extension: Defining a Cost Metrics docum=
ent?<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; Just a thought, some networks already provide public performance =
metrics, and ALTO should be able to provide such info in a standard way and=
 cover these metrics, if we agree:<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; -AT&amp;T=A0<br>
&gt; &gt;<br>
&gt; &gt; =A0- <a href=3D"http://ipnetwork.bgtmo.ip.att.net/pws/averages.ht=
ml">http://ipnetwork.bgtmo.ip.att.net/pws/averages.html</a><br>
&gt; &gt;<br>
&gt; &gt; =A0-=A0<a href=3D"http://ipnetwork.bgtmo.ip.att.net/pws/network_d=
elay.html">http://ipnetwork.bgtmo.ip.att.net/pws/network_delay.html</a><br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0shows latency, loss, jitter, reliability, modem success ra=
te<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; =A0- In particular, the link provides a methodology page (<a href=
=3D"http://ipnetwork.bgtmo.ip.att.net/pws/glossary.html">http://ipnetwork.b=
gtmo.ip.att.net/pws/glossary.html</a>), which points to a major challenge i=
n defining the metrics: metrics have parameters (e.g., the AT&amp;T link sp=
ecifies 15-min interval for latency), and I assume that ALTO cannot work wi=
th a single interval, but then how do we handle parameters?<br>

&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; - CenturyLink (formerly Qwest):<br>
&gt; &gt;<br>
&gt; &gt; =A0 -=A0<a href=3D"https://kai04.centurylink.com/PtapRpts/Public/=
BackboneReport.aspx">https://kai04.centurylink.com/PtapRpts/Public/Backbone=
Report.aspx</a><br>
&gt; &gt;<br>
&gt; &gt; =A0 =A0 shows jitter, latency, pkt delivery rate, availability<br=
>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; ...<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; And we could think that ALTO could be extended to be used as a st=
andard way to check on the service outage of an endpoint (<a href=3D"http:/=
/customer.comcast.com/help-and-support/cable-tv/outages-in-your-area/">http=
://customer.comcast.com/help-and-support/cable-tv/outages-in-your-area/</a>=
), which may imply performance metrics as well...<br>

&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; Thanks.<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; Richard<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; On Mon, Oct 14, 2013 at 2:30 AM, Qin Wu &lt;<a href=3D"mailto:bil=
l.wu@huawei.com">bill.wu@huawei.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt; From: <a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.=
org</a> [mailto:<a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.=
org</a>] On Behalf Of Y. Richard Yang<br>
&gt; &gt; Sent: Monday, October 14, 2013 7:20 AM<br>
&gt; &gt; To: IETF ALTO<br>
&gt; &gt; Cc: <a href=3D"mailto:choits@etri.re.kr">choits@etri.re.kr</a>; Q=
in Wu<br>
&gt; &gt; Subject: [alto] ALTO Extension: Defining a Cost Metrics document?=
<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; Dear all,<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; I am reading up on the documents that define cost metrics.=A0<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; The motivation is that the base ALTO protocol (<a href=3D"http://=
www.ietf.org/id/draft-ietf-alto-protocol-20.txt">http://www.ietf.org/id/dra=
ft-ietf-alto-protocol-20.txt</a>) has defined only one Cost Metric: &#39;ro=
utingcost&#39;:<br>

&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; - Defined the semantics at Sec. 6.1.1.1 of , and then listed it a=
t Table 3.<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; - Used &quot;hopcount&quot; in examples of Sec. 9.2.3 and 9.2.4, =
but the semantics of not formally defined.<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; Given the aforementioned state of the base protocol, I see good v=
alue in that the WG produces a WG document that defines a relatively comple=
te set of Cost Metrics.<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; I particular, I read the following:<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; -=A0<a href=3D"http://tools.ietf.org/html/draft-lee-alto-app-net-=
info-exchange-02">http://tools.ietf.org/html/draft-lee-alto-app-net-info-ex=
change-02</a><br>
&gt; &gt;<br>
&gt; &gt; =A0 (Sec. 3.4 introduced three metrics: hopcount, latency, pktcos=
t, and cost)<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; -=A0<a href=3D"http://tools.ietf.org/html/draft-wu-alto-json-te-0=
1">http://tools.ietf.org/html/draft-wu-alto-json-te-01</a><br>
&gt; &gt;<br>
&gt; &gt; =A0 Defined a set of metrics: in Sec. 4. This work, as stated in =
the document, is motivated by=A0<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; -=A0<a href=3D"http://www.ietf.org/id/draft-ietf-ospf-te-metric-e=
xtensions-04.txt">http://www.ietf.org/id/draft-ietf-ospf-te-metric-extensio=
ns-04.txt</a><br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; During the review of ALTO base protocol, we are suggested to docu=
ment performance metrics (cost metrics) per the guideline of=A0<br>
&gt; &gt;<br>
&gt; &gt; - RFC=A06390 Guidelines for Considering New Performance Metric De=
velopment. A. Clark, B. Claise. October 2011. (Format: TXT=3D49930 bytes) (=
Also BCP0170) (Status: BEST CURRENT PRACTICE)<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; Here a first question, I have, is whether the authors will produc=
e a &quot;simple&quot; document, at the upcoming IETF, whose only purpose i=
s to:<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; =A0 define a set of cost metrics, including the nameing, the sema=
ntics, ... following the guideline per RFC 6390, that can benefit the base =
protocol.<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; [Qin] This is exactly what I we are doing in draft-wu-alto-json-t=
e. We are checking if we can give a complete list of cost metrics that are =
built based on<br>
&gt; &gt;<br>
&gt; &gt; draft-ietf-idr-ls-distribution-03,RFC5305, draft-wu-idr-te-pm-bgp=
,draft-ietf-ospf-te-metric-extensions-04, draft-ietf-isis-te-metric-extensi=
ons-01.<br>
&gt; &gt;<br>
&gt; &gt; We will further generalize them to firstly have some base metrics=
 that can applied either to the whole path or any link in the path and then=
 have<br>
&gt; &gt;<br>
&gt; &gt; Derived metrics that are link specific.<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; The update (v-02) will come in a few days. <br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; I feel that such a document is focused, and has good value by its=
elf.<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; The implications of the introducing multiple cost metrics can be =
explored in another document, which I will send in another email shortly.<b=
r>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; Thanks.<br>
&gt; &gt;<br>
&gt; &gt; =A0<br>
&gt; &gt;<br>
&gt; &gt; Richard<br>
&gt; &gt;<br>
&gt; &gt; =A0=A0<br>
&gt; &gt;<br>
&gt; &gt;</p>

--001a11333020a458e904e9e874e6--

From yang.r.yang@gmail.com  Tue Oct 29 15:59:30 2013
Return-Path: <yang.r.yang@gmail.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 D065711E81BD for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 15:59:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.803
X-Spam-Level: 
X-Spam-Status: No, score=-1.803 tagged_above=-999 required=5 tests=[AWL=0.174,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zyHQUfyO+i1L for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 15:59:28 -0700 (PDT)
Received: from mail-pd0-x22a.google.com (mail-pd0-x22a.google.com [IPv6:2607:f8b0:400e:c02::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 7C19211E82A1 for <alto@ietf.org>; Tue, 29 Oct 2013 15:59:24 -0700 (PDT)
Received: by mail-pd0-f170.google.com with SMTP id v10so99699pde.1 for <alto@ietf.org>; Tue, 29 Oct 2013 15:59:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=gw9HpavabFsGIcUt6LW/LtCivRx+lEBx0LE3hsmhjc4=; b=019YRHu2Zr0etGuUVO6Qyom2GzYzV971ivundzuQGB8ZhtzeYGCYRzwo11oJ79xqas otHXsJ6hpDKkN6/0UPH7pn8GsT4Z8DJ39FJzdsOmyrApRMB20p5hSqtHDT9DdgCJtvRB WjiD76r6OMyRCgNUtx4DRgrbdbGOe2/PfEnH3kpE21NSNsrzLdmo7xnXgt18l6z+3wG6 YX6kUf9qGmqVXYY86LcccI2o/C4rDJ+KEUEWkuREYJGt+tE/s1VN3Ui3Z8ZzGeuATSHb RxgGnmKDCGq5Jwj8rDnkIutLeux+m8qo86u4iBsYMQvXDmt6twnZLAe/A2eDaJsmc/Gu Y+yw==
MIME-Version: 1.0
X-Received: by 10.66.118.129 with SMTP id km1mr2680341pab.127.1383087548460; Tue, 29 Oct 2013 15:59:08 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Tue, 29 Oct 2013 15:59:08 -0700 (PDT)
Received: by 10.68.47.195 with HTTP; Tue, 29 Oct 2013 15:59:08 -0700 (PDT)
In-Reply-To: <A7A5844EB93EB94AB22C2068B10AD65A48BC1892@FR711WXCHMBA03.zeu.alcatel-lucent.com>
References: <B8F9A780D330094D99AF023C5877DABA43C0E5CF@nkgeml501-mbs.china.huawei.com> <B6D287BF58D35D4B882E012AD3E1756167A767E4@ONWVEXCHMB04.ciena.com> <A7A5844EB93EB94AB22C2068B10AD65A48BC1892@FR711WXCHMBA03.zeu.alcatel-lucent.com>
Date: Tue, 29 Oct 2013 18:59:08 -0400
X-Google-Sender-Auth: -FcuToUKfuK8tcZamn4L6IJ-jQ8
Message-ID: <CANUuoLpALthTm6Z6Kcyqqc6La=_syDWh=4Fm8MSvhYEKmUHtEg@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
Content-Type: multipart/alternative; boundary=e89a8ffbab6b04f82e04e9e92a5c
Cc: Qin Wu <bill.wu@huawei.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Tue, 29 Oct 2013 22:59:30 -0000

--e89a8ffbab6b04f82e04e9e92a5c
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Sabine,

I found the "schedule" concept very interesting and can be quite useful,
for applications to schedule large traffic. I read that this is not defined
in the draft in -te-metrics. Will you and Qin discuss this design in your
slot?

Thanks!

Richard
On Oct 28, 2013 7:56 AM, "RANDRIAMASY, SABINE (SABINE)" <
sabine.randriamasy@alcatel-lucent.com> wrote:

>
>
> -----Message d'origine-----
> De : alto-bounces@ietf.org [mailto:alto-bounces@ietf.org] De la part de
> He, Peng
> Envoy=E9 : mercredi 23 octobre 2013 15:09
> =C0 : Qin Wu; IETF ALTO
> Objet : Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt
>
>
> [     ] Hi Peng,
> Please see below and let me know if this would meet your request,
> Best regards
> Sabine
>
>
>
> Another side question: is there a 'cost' parameter that can show/represen=
t
> the 'schedule' of the network links, e.g., before 12pm this link/tunnel
> will have say 100Mbps available, after 12pm, only 50mbps available, i.e.,
> bandwidth scheduling or similar? Or this is more a management
> system/controller/server related data?
>
> [     ] There is a protocol extension proposal draft that proposes to
> provide cost values w.r.t. time and is called "ALTO Cost Schedule". ALTO
> Cost Schedule is specified as a cost mode where the ALTO Cost values are
> provided in the form of an array, where each array element corresponds to=
 a
> given time period and has a value applicable to this period. The
> granularity of the time period, the number of provided values and other
> attributes are specified in the IRD. Note that the transaction format in
> this draft is compliant with the ALTO protocol version issued before the
> ALTO format changes in the Cost Type specification.
>
> In your example, the granularity may be 12 hours slots or say 1 hour slot=
s
> to allow finer grain cost valuation. If we assume 1 hour slots and the
> availability of a metric called "availbw" expressed in mbps, where values
> can be provided both in regular 'numerical' mode with "permanent" validit=
y
> and in 'schedule' mode:
>
> In the IRD we would have: (please forgive the possible mismatch of
> brackets)
>
>    {
>
>       ... usual ALTO resources ...
>
>     "resources" : [
>      .......
>
>       {
>          "uri" : "
> http://custom.alto.example.com/endpointcost/schedule/lookup",
>          "media-types" : [ "application/alto-endpointcost+json" ],
>          "accepts" : [ "application/alto-endpointcostparams+json" ],
>          "capabilities" : {
>            "cost-constraints" : true,
>            "cost-modes" : [ "numerical", "schedule" ],
>            "cost-types" : [ "availbw", "availbw" ],
>            "cost-scope":  [ "permanent",
>                             {"unit": ["hour", 1], "size": 24, "begin": 0,
>                              "time zone": "UTC",
>                              "lastupdate": mm/hh/dd/mm/yyyy,
>                              "nextupdate": mm/hh/dd/mm/yyyy}
>            ]
>          }
>        }
>      ]
>    }
>
> If the ALTO Servers provides availbw =3D 100mbps for the first 12 hours a=
nd
> 50mbps for the next 12 hours on the tunnel with example endpoints
> (192.0.2.2, 192.0.2.89), the ALTO request and response in schedule mode
> would look like:
>
> POST /endpointcost/lookup HTTP/1.1
>   Host: alto.example.com
>   Content-Length: [TODO]
>   Content-Type: application/alto-endpointcostparams+json
>   Accept: application/alto-endpointcost+json,application/alto-error+json
>
>   {
>     "cost-type" : ["availbw"],
>     "cost-mode" : ["schedule"],
>     "endpoints" : {
>       "srcs": [ "ipv4:192.0.2.2" ],
>       "dsts": [
>         "ipv4:192.0.2.89",
>         "ipv4:198.51.100.34",
>         "ipv4:203.0.113.45"
>       ]
>     }
>   }
>
>
>   HTTP/1.1 200 OK
>   Content-Length: [TODO]
>   Content-Type: application/alto-endpointcost+json
>
>   {
>     "meta" : {},
>     "data" : {
>       "cost-type" : ["availbw "],
>       "cost-mode" : ["schedule"],
>       "map" : {
>         "ipv4:192.0.2.2": {
>           "ipv4:192.0.2.89"    : [100, 100, 100, 100, 100, 100, 100, 100,
> 100, 100, 100, 100, 50 ... (12 same values)],
>           "ipv4:198.51.100.34" : [... (24 values) ...],
>           "ipv4:203.0.113.45"  : [... (24 values) ...]
>         }
>       }
>     }
>   }
>
> The proposal is documented in
> http://tools.ietf.org/html/draft-randriamasy-alto-cost-schedule-02 where
> Section 3.3 provides an example on the Schedule attributes in the IRD, an=
d
> section 3.3.1 provides example transactions with the Schedule mode.
>
>
> [     ]
> Regards,
> Peng
>
>
>
> -----Original Message-----
> From: alto-bounces@ietf.org [mailto:alto-bounces@ietf.org] On Behalf Of
> Qin Wu
> Sent: Tuesday, October 22, 2013 9:17 PM
> To: IETF ALTO
> Subject: [alto] FW: I-D Action: draft-wu-alto-te-metrics-00.txt
>
> Hi, all:
> We have posted a new draft to define a set of new cost metrics that are
> related to traffic engineering performance information.
>
> http://tools.ietf.org/html/draft-wu-alto-te-metrics-00
>
> Please review the draft and provide your feedback and comments.
>
> Regards!
> -Qin
> -----Original Message-----
> From: i-d-announce-bounces@ietf.org [mailto:i-d-announce-bounces@ietf.org=
]
> On Behalf Of internet-drafts@ietf.org
> Sent: Monday, October 21, 2013 2:08 PM
> To: i-d-announce@ietf.org
> Subject: I-D Action: draft-wu-alto-te-metrics-00.txt
>
>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>
>
>         Title           : ALTO Traffic Engineering Cost Metrics
>         Author(s)       : Qin Wu
>                           Young Lee
>                           Dhruv Dhody
>                           Sabine Randriamasy
>         Filename        : draft-wu-alto-te-metrics-00.txt
>         Pages           : 26
>         Date            : 2013-10-20
>
> Abstract:
>    Cost Metric is a basic concept in Application-Layer Traffic
>    Optimization (ALTO).  It is used in both the Cost Map Service and the
>    Endpoint Cost Service.  Future extensions to ALTO may also use Cost
>    Metric.
>
>    Different applications may benefit from different Cost Metrics.  For
>    example, a Resource Consumer may prefer Resource Providers that have
>    low latency to the Resource Consumer.  However the base ALTO protocol
>    [ALTO] has defined only a single cost metric, i.e., the generic
>    "routingcost" metric (Sec. 14.2 of ALTO base specification [ALTO]).
>
>    In this document, we define XXX Cost Metrics, derived from OSPF-TE
>    and ISIS-TE, to measure network delay, jitter, packet loss, hop
>    count, and bandwidth.  The metrics defined in this document provide a
>    relatively comprehensive set of Cost Metrics for ALTO focusing on
>    traffic engineering.  Additional Cost Metrics such as financial cost
>    metrics may be defined in other documents.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics
>
> There's also a htmlized version available at:
> http://tools.ietf.org/html/draft-wu-alto-te-metrics-00
>
>
> Please note that it may take a couple of minutes from the time of
> submission until the htmlized version and diff are available at
> tools.ietf.org.
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> _______________________________________________
> I-D-Announce mailing list
> I-D-Announce@ietf.org
> https://www.ietf.org/mailman/listinfo/i-d-announce
> Internet-Draft directories: http://www.ietf.org/shadow.html or
> ftp://ftp.ietf.org/ietf/1shadow-sites.txt
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>

--e89a8ffbab6b04f82e04e9e92a5c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">Hi Sabine,</p>
<p dir=3D"ltr">I found the &quot;schedule&quot; concept very interesting an=
d can be quite useful, for applications to schedule large traffic. I read t=
hat this is not defined in the draft in -te-metrics. Will you and Qin discu=
ss this design in your slot?</p>

<p dir=3D"ltr">Thanks!</p>
<p dir=3D"ltr">Richard</p>
<div class=3D"gmail_quote">On Oct 28, 2013 7:56 AM, &quot;RANDRIAMASY, SABI=
NE (SABINE)&quot; &lt;<a href=3D"mailto:sabine.randriamasy@alcatel-lucent.c=
om">sabine.randriamasy@alcatel-lucent.com</a>&gt; wrote:<br type=3D"attribu=
tion">
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>
<br>
-----Message d&#39;origine-----<br>
De=A0: <a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a> [=
mailto:<a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a>] =
De la part de He, Peng<br>
Envoy=E9=A0: mercredi 23 octobre 2013 15:09<br>
=C0=A0: Qin Wu; IETF ALTO<br>
Objet=A0: Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt<br>
<br>
<br>
[ =A0 =A0 ] Hi Peng,<br>
Please see below and let me know if this would meet your request,<br>
Best regards<br>
Sabine<br>
<br>
<br>
<br>
Another side question: is there a &#39;cost&#39; parameter that can show/re=
present the &#39;schedule&#39; of the network links, e.g., before 12pm this=
 link/tunnel will have say 100Mbps available, after 12pm, only 50mbps avail=
able, i.e., bandwidth scheduling or similar? Or this is more a management s=
ystem/controller/server related data?<br>

<br>
[ =A0 =A0 ] There is a protocol extension proposal draft that proposes to p=
rovide cost values w.r.t. time and is called &quot;ALTO Cost Schedule&quot;=
. ALTO Cost Schedule is specified as a cost mode where the ALTO Cost values=
 are provided in the form of an array, where each array element corresponds=
 to a given time period and has a value applicable to this period. The gran=
ularity of the time period, the number of provided values and other attribu=
tes are specified in the IRD. Note that the transaction format in this draf=
t is compliant with the ALTO protocol version issued before the ALTO format=
 changes in the Cost Type specification.<br>

<br>
In your example, the granularity may be 12 hours slots or say 1 hour slots =
to allow finer grain cost valuation. If we assume 1 hour slots and the avai=
lability of a metric called &quot;availbw&quot; expressed in mbps, where va=
lues can be provided both in regular &#39;numerical&#39; mode with &quot;pe=
rmanent&quot; validity and in &#39;schedule&#39; mode:<br>

<br>
In the IRD we would have: (please forgive the possible mismatch of brackets=
)<br>
<br>
=A0 =A0{<br>
<br>
=A0 =A0 =A0 ... usual ALTO resources ...<br>
<br>
=A0 =A0 &quot;resources&quot; : [<br>
=A0 =A0 =A0.......<br>
<br>
=A0 =A0 =A0 {<br>
=A0 =A0 =A0 =A0 =A0&quot;uri&quot; : &quot;<a href=3D"http://custom.alto.ex=
ample.com/endpointcost/schedule/lookup" target=3D"_blank">http://custom.alt=
o.example.com/endpointcost/schedule/lookup</a>&quot;,<br>
=A0 =A0 =A0 =A0 =A0&quot;media-types&quot; : [ &quot;application/alto-endpo=
intcost+json&quot; ],<br>
=A0 =A0 =A0 =A0 =A0&quot;accepts&quot; : [ &quot;application/alto-endpointc=
ostparams+json&quot; ],<br>
=A0 =A0 =A0 =A0 =A0&quot;capabilities&quot; : {<br>
=A0 =A0 =A0 =A0 =A0 =A0&quot;cost-constraints&quot; : true,<br>
=A0 =A0 =A0 =A0 =A0 =A0&quot;cost-modes&quot; : [ &quot;numerical&quot;, &q=
uot;schedule&quot; ],<br>
=A0 =A0 =A0 =A0 =A0 =A0&quot;cost-types&quot; : [ &quot;availbw&quot;, &quo=
t;availbw&quot; ],<br>
=A0 =A0 =A0 =A0 =A0 =A0&quot;cost-scope&quot;: =A0[ &quot;permanent&quot;,<=
br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 {&quot;unit&quot;: =
[&quot;hour&quot;, 1], &quot;size&quot;: 24, &quot;begin&quot;: 0,<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&quot;time zone&=
quot;: &quot;UTC&quot;,<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&quot;lastupdate=
&quot;: mm/hh/dd/mm/yyyy,<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0&quot;nextupdate=
&quot;: mm/hh/dd/mm/yyyy}<br>
=A0 =A0 =A0 =A0 =A0 =A0]<br>
=A0 =A0 =A0 =A0 =A0}<br>
=A0 =A0 =A0 =A0}<br>
=A0 =A0 =A0]<br>
=A0 =A0}<br>
<br>
If the ALTO Servers provides availbw =3D 100mbps for the first 12 hours and=
 50mbps for the next 12 hours on the tunnel with example endpoints (192.0.2=
.2, 192.0.2.89), the ALTO request and response in schedule mode would look =
like:<br>

<br>
POST /endpointcost/lookup HTTP/1.1<br>
=A0 Host: <a href=3D"http://alto.example.com" target=3D"_blank">alto.exampl=
e.com</a><br>
=A0 Content-Length: [TODO]<br>
=A0 Content-Type: application/alto-endpointcostparams+json<br>
=A0 Accept: application/alto-endpointcost+json,application/alto-error+json<=
br>
<br>
=A0 {<br>
=A0 =A0 &quot;cost-type&quot; : [&quot;availbw&quot;],<br>
=A0 =A0 &quot;cost-mode&quot; : [&quot;schedule&quot;],<br>
=A0 =A0 &quot;endpoints&quot; : {<br>
=A0 =A0 =A0 &quot;srcs&quot;: [ &quot;ipv4:192.0.2.2&quot; ],<br>
=A0 =A0 =A0 &quot;dsts&quot;: [<br>
=A0 =A0 =A0 =A0 &quot;ipv4:192.0.2.89&quot;,<br>
=A0 =A0 =A0 =A0 &quot;ipv4:198.51.100.34&quot;,<br>
=A0 =A0 =A0 =A0 &quot;ipv4:203.0.113.45&quot;<br>
=A0 =A0 =A0 ]<br>
=A0 =A0 }<br>
=A0 }<br>
<br>
<br>
=A0 HTTP/1.1 200 OK<br>
=A0 Content-Length: [TODO]<br>
=A0 Content-Type: application/alto-endpointcost+json<br>
<br>
=A0 {<br>
=A0 =A0 &quot;meta&quot; : {},<br>
=A0 =A0 &quot;data&quot; : {<br>
=A0 =A0 =A0 &quot;cost-type&quot; : [&quot;availbw &quot;],<br>
=A0 =A0 =A0 &quot;cost-mode&quot; : [&quot;schedule&quot;],<br>
=A0 =A0 =A0 &quot;map&quot; : {<br>
=A0 =A0 =A0 =A0 &quot;ipv4:192.0.2.2&quot;: {<br>
=A0 =A0 =A0 =A0 =A0 &quot;ipv4:192.0.2.89&quot; =A0 =A0: [100, 100, 100, 10=
0, 100, 100, 100, 100, 100, 100, 100, 100, 50 ... (12 same values)],<br>
=A0 =A0 =A0 =A0 =A0 &quot;ipv4:198.51.100.34&quot; : [... (24 values) ...],=
<br>
=A0 =A0 =A0 =A0 =A0 &quot;ipv4:203.0.113.45&quot; =A0: [... (24 values) ...=
]<br>
=A0 =A0 =A0 =A0 }<br>
=A0 =A0 =A0 }<br>
=A0 =A0 }<br>
=A0 }<br>
<br>
The proposal is documented in <a href=3D"http://tools.ietf.org/html/draft-r=
andriamasy-alto-cost-schedule-02" target=3D"_blank">http://tools.ietf.org/h=
tml/draft-randriamasy-alto-cost-schedule-02</a> where Section 3.3 provides =
an example on the Schedule attributes in the IRD, and section 3.3.1 provide=
s example transactions with the Schedule mode.<br>

<br>
<br>
[ =A0 =A0 ]<br>
Regards,<br>
Peng<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a> [m=
ailto:<a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a>] O=
n Behalf Of Qin Wu<br>
Sent: Tuesday, October 22, 2013 9:17 PM<br>
To: IETF ALTO<br>
Subject: [alto] FW: I-D Action: draft-wu-alto-te-metrics-00.txt<br>
<br>
Hi, all:<br>
We have posted a new draft to define a set of new cost metrics that are rel=
ated to traffic engineering performance information.<br>
<br>
<a href=3D"http://tools.ietf.org/html/draft-wu-alto-te-metrics-00" target=
=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-te-metrics-00</a><br>
<br>
Please review the draft and provide your feedback and comments.<br>
<br>
Regards!<br>
-Qin<br>
-----Original Message-----<br>
From: <a href=3D"mailto:i-d-announce-bounces@ietf.org">i-d-announce-bounces=
@ietf.org</a> [mailto:<a href=3D"mailto:i-d-announce-bounces@ietf.org">i-d-=
announce-bounces@ietf.org</a>] On Behalf Of <a href=3D"mailto:internet-draf=
ts@ietf.org">internet-drafts@ietf.org</a><br>

Sent: Monday, October 21, 2013 2:08 PM<br>
To: <a href=3D"mailto:i-d-announce@ietf.org">i-d-announce@ietf.org</a><br>
Subject: I-D Action: draft-wu-alto-te-metrics-00.txt<br>
<br>
<br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
<br>
<br>
=A0 =A0 =A0 =A0 Title =A0 =A0 =A0 =A0 =A0 : ALTO Traffic Engineering Cost M=
etrics<br>
=A0 =A0 =A0 =A0 Author(s) =A0 =A0 =A0 : Qin Wu<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Young Lee<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Dhruv Dhody<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Sabine Randriamasy<br>
=A0 =A0 =A0 =A0 Filename =A0 =A0 =A0 =A0: draft-wu-alto-te-metrics-00.txt<b=
r>
=A0 =A0 =A0 =A0 Pages =A0 =A0 =A0 =A0 =A0 : 26<br>
=A0 =A0 =A0 =A0 Date =A0 =A0 =A0 =A0 =A0 =A0: 2013-10-20<br>
<br>
Abstract:<br>
=A0 =A0Cost Metric is a basic concept in Application-Layer Traffic<br>
=A0 =A0Optimization (ALTO). =A0It is used in both the Cost Map Service and =
the<br>
=A0 =A0Endpoint Cost Service. =A0Future extensions to ALTO may also use Cos=
t<br>
=A0 =A0Metric.<br>
<br>
=A0 =A0Different applications may benefit from different Cost Metrics. =A0F=
or<br>
=A0 =A0example, a Resource Consumer may prefer Resource Providers that have=
<br>
=A0 =A0low latency to the Resource Consumer. =A0However the base ALTO proto=
col<br>
=A0 =A0[ALTO] has defined only a single cost metric, i.e., the generic<br>
=A0 =A0&quot;routingcost&quot; metric (Sec. 14.2 of ALTO base specification=
 [ALTO]).<br>
<br>
=A0 =A0In this document, we define XXX Cost Metrics, derived from OSPF-TE<b=
r>
=A0 =A0and ISIS-TE, to measure network delay, jitter, packet loss, hop<br>
=A0 =A0count, and bandwidth. =A0The metrics defined in this document provid=
e a<br>
=A0 =A0relatively comprehensive set of Cost Metrics for ALTO focusing on<br=
>
=A0 =A0traffic engineering. =A0Additional Cost Metrics such as financial co=
st<br>
=A0 =A0metrics may be defined in other documents.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics" targe=
t=3D"_blank">https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics</a><=
br>
<br>
There&#39;s also a htmlized version available at:<br>
<a href=3D"http://tools.ietf.org/html/draft-wu-alto-te-metrics-00" target=
=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-te-metrics-00</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n until the htmlized version and diff are available at <a href=3D"http://to=
ols.ietf.org" target=3D"_blank">tools.ietf.org</a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" target=3D"_blank">ftp://ftp=
.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
I-D-Announce mailing list<br>
<a href=3D"mailto:I-D-Announce@ietf.org">I-D-Announce@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft" target=3D"_blank">https://www.ietf.org/mailman/listinfo/i-d=
-announce<br>
Internet-Draft</a> directories: <a href=3D"http://www.ietf.org/shadow.html"=
 target=3D"_blank">http://www.ietf.org/shadow.html</a> or <a href=3D"ftp://=
ftp.ietf.org/ietf/1shadow-sites.txt" target=3D"_blank">ftp://ftp.ietf.org/i=
etf/1shadow-sites.txt</a><br>

_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</blockquote></div>

--e89a8ffbab6b04f82e04e9e92a5c--

From yang.r.yang@gmail.com  Tue Oct 29 17:53:44 2013
Return-Path: <yang.r.yang@gmail.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 570C811E81E0 for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 17:53:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.807
X-Spam-Level: 
X-Spam-Status: No, score=-1.807 tagged_above=-999 required=5 tests=[AWL=0.170,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qLspO1K3yebD for <alto@ietfa.amsl.com>; Tue, 29 Oct 2013 17:53:43 -0700 (PDT)
Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [IPv6:2607:f8b0:400e:c03::22c]) by ietfa.amsl.com (Postfix) with ESMTP id C7DC511E82B6 for <alto@ietf.org>; Tue, 29 Oct 2013 17:53:42 -0700 (PDT)
Received: by mail-pa0-f44.google.com with SMTP id fb1so149502pad.31 for <alto@ietf.org>; Tue, 29 Oct 2013 17:53:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=QlqgO5V61PGn0+QS47U+KOG5rXcFeOKw5IHdSJKG2Go=; b=Yj472xl3EVfqcKeOSW2BNi9fvHZ241JchkLQxSkoYIcY0n6Jx9C1NrLyVl+p+XDN6B C5PV/tNpZAWSBD8fb/WOwwHWI8cmBXyfsOgf9SIl2i/FJe6wCdrZ8/uzfXerqQeupGkf XI0aXXjeFnixcostKEzUl7el8BzyuJ0Eg9EjFQtDtpTAC0SVHyb3zF8x5jJMpJS2lf3+ CWqxqTvblhf0wGWkRT4Z9xdD8FC99687Tf3s1NJleivDUvPpOiHc3VRlYZ0oVm6UVHhp 0T0U/+X/zSX/YRIEiq7j516qHD11hKEAiiQOKGUuCGk4zn449W+dEr+pWXlJiMBhAV4q vI4w==
MIME-Version: 1.0
X-Received: by 10.68.215.38 with SMTP id of6mr2464952pbc.14.1383094419479; Tue, 29 Oct 2013 17:53:39 -0700 (PDT)
Sender: yang.r.yang@gmail.com
Received: by 10.68.47.195 with HTTP; Tue, 29 Oct 2013 17:53:39 -0700 (PDT)
In-Reply-To: <45A697A8FFD7CF48BCF2BE7E106F06040B740B6A@xmb-rcd-x04.cisco.com>
References: <526FDBC7.2090802@bell-labs.com> <45A697A8FFD7CF48BCF2BE7E106F06040B740B6A@xmb-rcd-x04.cisco.com>
Date: Tue, 29 Oct 2013 20:53:39 -0400
X-Google-Sender-Auth: dqTpUuKMYlhAWBv-NzbUfmyBl6E
Message-ID: <CANUuoLr4gCOmn-C+m=V+RJp3hvFax0SqowY=ApoXOQA_21vbBg@mail.gmail.com>
From: "Y. Richard Yang" <yry@cs.yale.edu>
To: "Reinaldo Penno (repenno)" <repenno@cisco.com>
Content-Type: multipart/alternative; boundary=001a1134663890619404e9eac36e
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] extension questions and comments
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 30 Oct 2013 00:53:44 -0000

--001a1134663890619404e9eac36e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 29, 2013 at 1:03 PM, Reinaldo Penno (repenno) <repenno@cisco.co=
m
> wrote:

>
>
> On 10/29/13 9:01 AM, "Vijay K. Gurbani" <vkg@bell-labs.com> wrote:
>
> >On 10/28/2013 11:13 PM, Reinaldo Penno (repenno) wrote:
> >> In the particular fcc MBA context, a concrete example is to change the
> >> subscriber tier (end point property). But since you mentioned map, I
> >> guess you are saying e2e (e.g.,  more narrowly bounded app flow).
> >>
> >> [RP] hummm=C5=A0Not necessarily e2e. If I write to a map and change th=
e cost
> >> of reaching  the IP address associated with my application,  I need to
> >> be put in a different PID.  I believe the same is true for endpoint
> >> properties if you want to actually influence the cost map.
> >
> >Reinaldo: Interesting ... you are proposing an alto.put() mutator,
> >whereas what we have now is mostly alto.get() accessors.
> >
> >Once we do this, we are perilously close to sdn/i2rs type of thinking
> >(I think).
>
> Right
>
>
I wonder how far we can get close to sdn/i2rs and still be safe. It is an
issue that the WG may need to discuss. As someone who works in both ALTO
but also in SDN (a bit self promotion: our Maple SDN controller is getting
attention), I see ALTO as a good place to contribute to SDN, not the whole
SDN space, but a good part of the North Bound API.


> >However, if I understand you correctly, you are advocating
> >a bounded alto.put() functionality ... perhaps an endpoint migrating to
> >a different PID.  I don't think you are advocating a wholesale
> >application-specified state insertion into the network.
>
> Something like that: "Is there a PID with low latency? I want to be
> there". The app itself does not need to know anything about the network
> per se.
>
>
This can be a base for an interesting API, and choosing-PID can be more
general than writing to endpoint properties in settings. Here is a sketch
of a use case, in the decision instead of search formulation (using NP
terms) and what the API might look like:

- We define two sets of PIDs, candidate assignment PIDs say cPIDs
(implemented by priority, or rate limit, ... or whatever non-disclosed
internal mechanism), and target PIDs (defining country blocks, ASes, bw
tiers, well-known service blocks...) say tPIDs.

- The ALTO Server announces the metrics, in particular, from cPIDs to tPIDs=
.

- Client requests an assignment to its cPIDs.

Hence, the preceding ties ALTO Cost Map to a menu based service selection
API. This is quite interesting!

Richard

>The use of ALTO in scenarios that require changing the basic networking
> >plumbing has been discussed in academic papers, at least (at the cost of
> >a self reference, see [1]).  There has been some discussion in the ALTO
> >mailing list of such functionality as well, but to date my impression
> >is that such discussion has been limited due to the overlap between
> >sdn/i2rs type of work.
> >
> >[1] Gurbani, V.K., Scharf, M., Lakshman, T.V. and Hilt, V.,
> >  "Abstracting network state in Software Defined Networks (SDN) for
> >  rendezvous services," accepted for publication. In Workshop on
> >  Software Defined Networks (SDN), held in conjunction with IEEE
> >  International Conference on Communications (ICC), pp. 6627-6632, June
> >  2012.
>
>
> Will read it sir.
>
> >
> >Thanks,
> >
> >- vijay
> >--
> >Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
> >1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)
> >Email: vkg@{bell-labs.com,acm.org} / vijay.gurbani@alcatel-lucent.com
> >Web: http://ect.bell-labs.com/who/vkg/  | Calendar: http://goo.gl/x3Ogq
>
> _______________________________________________
> alto mailing list
> alto@ietf.org
> https://www.ietf.org/mailman/listinfo/alto
>



--=20
--=20
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
| Y. Richard Yang <yry@cs.yale.edu>   |
| Professor of Computer Science       |
| http://www.cs.yale.edu/~yry/        |
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

--001a1134663890619404e9eac36e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
On Tue, Oct 29, 2013 at 1:03 PM, Reinaldo Penno (repenno) <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:repenno@cisco.com" target=3D"_blank">repenno@cisco.c=
om</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im"><br>
<br>
On 10/29/13 9:01 AM, &quot;Vijay K. Gurbani&quot; &lt;<a href=3D"mailto:vkg=
@bell-labs.com">vkg@bell-labs.com</a>&gt; wrote:<br>
<br>
&gt;On 10/28/2013 11:13 PM, Reinaldo Penno (repenno) wrote:<br>
&gt;&gt; In the particular fcc MBA context, a concrete example is to change=
 the<br>
&gt;&gt; subscriber tier (end point property). But since you mentioned map,=
 I<br>
&gt;&gt; guess you are saying e2e (e.g., =C2=A0more narrowly bounded app fl=
ow).<br>
&gt;&gt;<br>
</div>&gt;&gt; [RP] hummm=C5=A0Not necessarily e2e. If I write to a map and=
 change the cost<br>
<div class=3D"im">&gt;&gt; of reaching =C2=A0the IP address associated with=
 my application, =C2=A0I need to<br>
&gt;&gt; be put in a different PID. =C2=A0I believe the same is true for en=
dpoint<br>
&gt;&gt; properties if you want to actually influence the cost map.<br>
&gt;<br>
&gt;Reinaldo: Interesting ... you are proposing an alto.put() mutator,<br>
&gt;whereas what we have now is mostly alto.get() accessors.<br>
&gt;<br>
&gt;Once we do this, we are perilously close to sdn/i2rs type of thinking<b=
r>
&gt;(I think).<br>
<br>
</div>Right<br>
<div class=3D"im"><br></div></blockquote><div><br></div><div>I wonder how f=
ar we can get close to sdn/i2rs and still be safe. It is an issue that the =
WG may need to discuss. As someone who works in both ALTO but also in SDN (=
a bit self promotion: our Maple SDN controller is getting attention), I see=
 ALTO as a good place to contribute to SDN, not the whole SDN space, but a =
good part of the North Bound API.</div>
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"im">
&gt;However, if I understand you correctly, you are advocating<br>
&gt;a bounded alto.put() functionality ... perhaps an endpoint migrating to=
<br>
&gt;a different PID. =C2=A0I don&#39;t think you are advocating a wholesale=
<br>
&gt;application-specified state insertion into the network.<br>
<br>
</div>Something like that: &quot;Is there a PID with low latency? I want to=
 be<br>
there&quot;. The app itself does not need to know anything about the networ=
k<br>
per se.<br>
<div class=3D"im"><br></div></blockquote><div><br></div><div>This can be a =
base for an interesting API, and choosing-PID can be more general than writ=
ing to endpoint properties in settings. Here is a sketch of a use case, in =
the decision instead of search formulation (using NP terms) and what the AP=
I might look like:</div>
<div><br></div><div>- We define two sets of PIDs, candidate assignment PIDs=
 say cPIDs (implemented by priority, or rate limit, ... or whatever non-dis=
closed internal mechanism), and target PIDs (defining country blocks, ASes,=
 bw tiers, well-known service blocks...) say tPIDs.</div>
<div><br></div><div>- The ALTO Server announces the metrics, in particular,=
 from cPIDs to tPIDs.</div><div><br></div><div>- Client requests an assignm=
ent to its cPIDs.</div><div><br></div><div>Hence, the preceding ties ALTO C=
ost Map to a menu based service selection API. This is quite interesting!</=
div>
<div>=C2=A0</div><div>Richard</div><div><br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><div class=3D"im">
&gt;The use of ALTO in scenarios that require changing the basic networking=
<br>
&gt;plumbing has been discussed in academic papers, at least (at the cost o=
f<br>
&gt;a self reference, see [1]). =C2=A0There has been some discussion in the=
 ALTO<br>
&gt;mailing list of such functionality as well, but to date my impression<b=
r>
&gt;is that such discussion has been limited due to the overlap between<br>
&gt;sdn/i2rs type of work.<br>
&gt;<br>
&gt;[1] Gurbani, V.K., Scharf, M., Lakshman, T.V. and Hilt, V.,<br>
&gt; =C2=A0&quot;Abstracting network state in Software Defined Networks (SD=
N) for<br>
&gt; =C2=A0rendezvous services,&quot; accepted for publication. In Workshop=
 on<br>
&gt; =C2=A0Software Defined Networks (SDN), held in conjunction with IEEE<b=
r>
&gt; =C2=A0International Conference on Communications (ICC), pp. 6627-6632,=
 June<br>
&gt; =C2=A02012.<br>
<br>
<br>
</div>Will read it sir.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
&gt;<br>
&gt;Thanks,<br>
&gt;<br>
&gt;- vijay<br>
&gt;--<br>
&gt;Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent<br>
&gt;1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)<br>
&gt;Email: vkg@{<a href=3D"http://bell-labs.com" target=3D"_blank">bell-lab=
s.com</a>,<a href=3D"http://acm.org" target=3D"_blank">acm.org</a>} / <a hr=
ef=3D"mailto:vijay.gurbani@alcatel-lucent.com">vijay.gurbani@alcatel-lucent=
.com</a><br>

&gt;Web: <a href=3D"http://ect.bell-labs.com/who/vkg/" target=3D"_blank">ht=
tp://ect.bell-labs.com/who/vkg/</a> =C2=A0| Calendar: <a href=3D"http://goo=
.gl/x3Ogq" target=3D"_blank">http://goo.gl/x3Ogq</a><br>
<br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div dir=3D"ltr"><div><font face=3D"courier new, monospace">--=C2=A0</font>=
</div><div><font face=3D"courier new, monospace">=C2=A0=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D</font></div>
<div><font face=3D"courier new, monospace">| Y. Richard Yang &lt;<a href=3D=
"mailto:yry@cs.yale.edu" target=3D"_blank">yry@cs.yale.edu</a>&gt; =C2=A0 |=
</font></div><div><font face=3D"courier new, monospace">| Professor of Comp=
uter Science =C2=A0 =C2=A0 =C2=A0 |</font></div>
<div><font face=3D"courier new, monospace">| <a href=3D"http://www.cs.yale.=
edu/~yry/" target=3D"_blank">http://www.cs.yale.edu/~yry/</a> =C2=A0 =C2=A0=
 =C2=A0 =C2=A0|</font></div><div><font face=3D"courier new, monospace">=C2=
=A0=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</font></div>
</div>
</div></div>

--001a1134663890619404e9eac36e--

From w.roome@alcatel-lucent.com  Wed Oct 30 07:31:37 2013
Return-Path: <w.roome@alcatel-lucent.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 00F1A11E8236 for <alto@ietfa.amsl.com>; Wed, 30 Oct 2013 07:31:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.004
X-Spam-Level: 
X-Spam-Status: No, score=-10.004 tagged_above=-999 required=5 tests=[AWL=0.595, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yTIvPNlYP4BX for <alto@ietfa.amsl.com>; Wed, 30 Oct 2013 07:31:30 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id 0D1F811E824E for <alto@ietf.org>; Wed, 30 Oct 2013 07:31:05 -0700 (PDT)
Received: from usnavsmail2.ndc.alcatel-lucent.com (usnavsmail2.ndc.alcatel-lucent.com [135.3.39.10]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r9UEV2Em026116 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 30 Oct 2013 09:31:03 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail2.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9UEV21Y019977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 30 Oct 2013 09:31:02 -0500
Received: from [135.222.152.198] (wdr-i7mbp.mh.lucent.com [135.222.152.198]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9UEUu07011749; Wed, 30 Oct 2013 09:30:57 -0500 (CDT)
User-Agent: Microsoft-MacOutlook/14.3.8.130913
Date: Wed, 30 Oct 2013 10:30:56 -0400
From: Wendy Roome <w.roome@alcatel-lucent.com>
To: Sebastian Kiesel <ietf-alto@skiesel.de>, "Reinaldo Penno (repenno)" <repenno@cisco.com>
Message-ID: <CE968B6E.B43A6%w.roome@alcatel-lucent.com>
Thread-Topic: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
In-Reply-To: <20131028154814.GJ4845@gw01.ehlo.wurstkaes.de>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.10
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] Problem with "longest prefix" rule for mapping endpoints to PIDs
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 30 Oct 2013 14:31:37 -0000

I agree with Sebastian.  This discussion is about IP addresses, not
abstract services/applications. If an application runs on a box with
multiple interfaces, and hence has multiple IP addresses, then those IP
addresses may be in different PIDs, with different costs. A client can use
the cost map to select one of the application's IP addresses.

But at any given time, each of the application's IP addresses is in one,
and only one, PID.

The concept of an application as an entity with a number of different IP
addresses, possibly with different costs, is interesting, but so far is
beyond the scope of ALTO. BTW, that also raises the question of whether
those N addresses go to the same host, or whether they go to different
hosts that cooperate to provide a consistent service. And the next
question is whether a client would know -- or care -- whether an
application is distributed over a number of cooperating hosts.

	- Wendy Roome

On 10/28/2013 11:48, "Sebastian Kiesel" <ietf-alto@skiesel.de> wrote:

>On Mon, Oct 28, 2013 at 03:08:51PM +0000, Reinaldo Penno (repenno) wrote:
>> [RP] And endpoint is an application, not an IP.  So, an endpoint can be
>>in many PIDs.
>
>True in general. but for that we probably would have to define a new
>endpoint type.  This discussion is about the type IP prefix.
>
>Sebastian



From repenno@cisco.com  Wed Oct 30 10:30:36 2013
Return-Path: <repenno@cisco.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 BDE9421E8152 for <alto@ietfa.amsl.com>; Wed, 30 Oct 2013 10:30:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PMRcjd+aSg6Z for <alto@ietfa.amsl.com>; Wed, 30 Oct 2013 10:30:30 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) by ietfa.amsl.com (Postfix) with ESMTP id 6C61221E8162 for <alto@ietf.org>; Wed, 30 Oct 2013 10:30:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7849; q=dns/txt; s=iport; t=1383154200; x=1384363800; h=from:to:cc:subject:date:message-id:in-reply-to: mime-version; bh=hQW7SnO0Nqp9Lv/vJW5UK7pgQeoz6mBK9e5dwr045h4=; b=A5pZWg+ZjRl++dMD8CyScguQZv23wM/4sGB5IVEIG0v1BoApRjY5BFY/ FsKx7fGAooB6FWJ4jE0i9BYlcnnLfuIzef2A5KBbR0S6uQ+mQPlQOF7Ct sGfakShb/x5i5Uuf3Y8ZhplXN7K88FzQ3zAx+DyCOelBG3fr1aUrolnq5 E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgQFADdBcVKtJXG//2dsb2JhbABZDoI1RIEMv1GBJxZ0giUBAQEEeRIBCBEDAQILHTkUCQgCBA4FCId/qimQS44RgQ0gEQeDH4ENA6oTgmc/gWlB
X-IronPort-AV: E=Sophos;i="4.93,602,1378857600";  d="scan'208,217";a="278575447"
Received: from rcdn-core2-4.cisco.com ([173.37.113.191]) by rcdn-iport-7.cisco.com with ESMTP; 30 Oct 2013 17:30:00 +0000
Received: from xhc-aln-x06.cisco.com (xhc-aln-x06.cisco.com [173.36.12.80]) by rcdn-core2-4.cisco.com (8.14.5/8.14.5) with ESMTP id r9UHTx5E007286 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 30 Oct 2013 17:29:59 GMT
Received: from xmb-rcd-x04.cisco.com ([169.254.8.27]) by xhc-aln-x06.cisco.com ([173.36.12.80]) with mapi id 14.02.0318.004; Wed, 30 Oct 2013 12:29:59 -0500
From: "Reinaldo Penno (repenno)" <repenno@cisco.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: [alto] extension questions and comments
Thread-Index: AQHO1Fn9zR3QdVf+CUKlMp267GkViZoK8FWAgAE69ID//5wAAIAA+MWAgAChBYA=
Date: Wed, 30 Oct 2013 17:29:58 +0000
Message-ID: <45A697A8FFD7CF48BCF2BE7E106F06040B742A78@xmb-rcd-x04.cisco.com>
In-Reply-To: <CANUuoLr4gCOmn-C+m=V+RJp3hvFax0SqowY=ApoXOQA_21vbBg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.2.3.120616
x-originating-ip: [10.21.94.177]
Content-Type: multipart/alternative; boundary="_000_45A697A8FFD7CF48BCF2BE7E106F06040B742A78xmbrcdx04ciscoc_"
MIME-Version: 1.0
Cc: "alto@ietf.org" <alto@ietf.org>
Subject: Re: [alto] extension questions and comments
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 30 Oct 2013 17:30:36 -0000

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B742A78xmbrcdx04ciscoc_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable



From: "Y. Yang" <yry@cs.yale.edu<mailto:yry@cs.yale.edu>>
Date: Tuesday, October 29, 2013 5:53 PM
To: Cisco Employee <repenno@cisco.com<mailto:repenno@cisco.com>>
Cc: Vijay Gurbani <vkg@bell-labs.com<mailto:vkg@bell-labs.com>>, "alto@ietf=
.org<mailto:alto@ietf.org>" <alto@ietf.org<mailto:alto@ietf.org>>
Subject: Re: [alto] extension questions and comments

>However, if I understand you correctly, you are advocating
>a bounded alto.put() functionality ... perhaps an endpoint migrating to
>a different PID.  I don't think you are advocating a wholesale
>application-specified state insertion into the network.

Something like that: "Is there a PID with low latency? I want to be
there". The app itself does not need to know anything about the network
per se.


This can be a base for an interesting API, and choosing-PID can be more gen=
eral than writing to endpoint properties in settings.

[RP] right, I believe we discussed this in the beginning but there is just =
too much opportunity for ratholing.  My guess is the the majority of app de=
veloper will not care about end property  fine grained control.  App would =
basically say "I want to be on the high bandwidth PID".


Here is a sketch of a use case, in the decision instead of search formulati=
on (using NP terms) and what the API might look like:

- We define two sets of PIDs, candidate assignment PIDs say cPIDs (implemen=
ted by priority, or rate limit, ... or whatever non-disclosed internal mech=
anism), and target PIDs (defining country blocks, ASes, bw tiers, well-know=
n service blocks...) say tPIDs.

- The ALTO Server announces the metrics, in particular, from cPIDs to tPIDs=
.

- Client requests an assignment to its cPIDs.

Hence, the preceding ties ALTO Cost Map to a menu based service selection A=
PI. This is quite interesting!

[RP] Exactly!

Richard


--_000_45A697A8FFD7CF48BCF2BE7E106F06040B742A78xmbrcdx04ciscoc_
Content-Type: text/html; charset="us-ascii"
Content-ID: <89653C1DC5E04147AA2238AA9352F091@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div><br>
</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION">
<div style=3D"font-family:Calibri; font-size:11pt; text-align:left; color:b=
lack; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM:=
 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;=
 BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style=3D"font-weight:bold">From: </span>&quot;Y. Yang&quot; &lt;<a hr=
ef=3D"mailto:yry@cs.yale.edu">yry@cs.yale.edu</a>&gt;<br>
<span style=3D"font-weight:bold">Date: </span>Tuesday, October 29, 2013 5:5=
3 PM<br>
<span style=3D"font-weight:bold">To: </span>Cisco Employee &lt;<a href=3D"m=
ailto:repenno@cisco.com">repenno@cisco.com</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span>Vijay Gurbani &lt;<a href=3D"ma=
ilto:vkg@bell-labs.com">vkg@bell-labs.com</a>&gt;, &quot;<a href=3D"mailto:=
alto@ietf.org">alto@ietf.org</a>&quot; &lt;<a href=3D"mailto:alto@ietf.org"=
>alto@ietf.org</a>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span>Re: [alto] extension quest=
ions and comments<br>
</div>
<div><br>
</div>
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; color:=
 rgb(0, 0, 0); font-family: Calibri; font-style: normal; font-variant: norm=
al; font-weight: normal; letter-spacing: normal; line-height: normal; orpha=
ns: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; wh=
ite-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-=
spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decoration=
s-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-widt=
h: 0px; font-size: medium; ">
<blockquote class=3D"gmail_quote" style=3D"margin-top: 0px; margin-right: 0=
px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-=
left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex=
; ">
<div class=3D"im">&gt;However, if I understand you correctly, you are advoc=
ating<br>
&gt;a bounded alto.put() functionality ... perhaps an endpoint migrating to=
<br>
&gt;a different PID. &nbsp;I don't think you are advocating a wholesale<br>
&gt;application-specified state insertion into the network.<br>
<br>
</div>
Something like that: &quot;Is there a PID with low latency? I want to be<br=
>
there&quot;. The app itself does not need to know anything about the networ=
k<br>
per se.<br>
<div class=3D"im"><br>
</div>
</blockquote>
<div><br>
</div>
<div>This can be a base for an interesting API, and choosing-PID can be mor=
e general than writing to endpoint properties in settings.
</div>
</span></span>
<div><br>
</div>
<div>[RP] right, I believe we discussed this in the beginning but there is =
just too much opportunity for ratholing. &nbsp;My guess is the the majority=
 of app developer will not care about end property &nbsp;fine grained contr=
ol. &nbsp;App would basically say &quot;I want to be
 on the high bandwidth PID&quot;.&nbsp;</div>
<div><br>
</div>
<div><br>
</div>
<span id=3D"OLK_SRC_BODY_SECTION"><span class=3D"Apple-style-span" style=3D=
"border-collapse: separate; color: rgb(0, 0, 0); font-family: Calibri; font=
-style: normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-ind=
ent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacin=
g: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spa=
cing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adju=
st: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div>Here is a sketch of a use case, in the decision instead of search form=
ulation (using NP terms) and what the API might look like:</div>
<div><br>
</div>
<div>- We define two sets of PIDs, candidate assignment PIDs say cPIDs (imp=
lemented by priority, or rate limit, ... or whatever non-disclosed internal=
 mechanism), and target PIDs (defining country blocks, ASes, bw tiers, well=
-known service blocks...) say tPIDs.</div>
<div><br>
</div>
<div>- The ALTO Server announces the metrics, in particular, from cPIDs to =
tPIDs.</div>
<div><br>
</div>
<div>- Client requests an assignment to its cPIDs.</div>
<div><br>
</div>
<div>Hence, the preceding ties ALTO Cost Map to a menu based service select=
ion API. This is quite interesting!</div>
</span></span>
<div><br>
</div>
<div>[RP] Exactly!</div>
<span id=3D"OLK_SRC_BODY_SECTION"><span class=3D"Apple-style-span" style=3D=
"border-collapse: separate; color: rgb(0, 0, 0); font-family: Calibri; font=
-style: normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-ind=
ent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacin=
g: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spa=
cing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adju=
st: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">
<div>&nbsp;</div>
<div>Richard</div>
</span><br class=3D"Apple-interchange-newline">
</span>
</body>
</html>

--_000_45A697A8FFD7CF48BCF2BE7E106F06040B742A78xmbrcdx04ciscoc_--

From sabine.randriamasy@alcatel-lucent.com  Wed Oct 30 16:57:22 2013
Return-Path: <sabine.randriamasy@alcatel-lucent.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 26DF411E81B1 for <alto@ietfa.amsl.com>; Wed, 30 Oct 2013 16:57:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.486
X-Spam-Level: 
X-Spam-Status: No, score=-10.486 tagged_above=-999 required=5 tests=[AWL=0.112, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V-S0vQ-m7opB for <alto@ietfa.amsl.com>; Wed, 30 Oct 2013 16:57:16 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id 25FBC21E809C for <alto@ietf.org>; Wed, 30 Oct 2013 16:57:13 -0700 (PDT)
Received: from fr711usmtp1.zeu.alcatel-lucent.com (h135-239-2-122.lucent.com [135.239.2.122]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r9UNv4WU028221 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 30 Oct 2013 18:57:06 -0500 (CDT)
Received: from FR711WXCHHUB02.zeu.alcatel-lucent.com (fr711wxchhub02.zeu.alcatel-lucent.com [135.239.2.112]) by fr711usmtp1.zeu.alcatel-lucent.com (GMO) with ESMTP id r9UNv4KN021173 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 31 Oct 2013 00:57:04 +0100
Received: from FR711WXCHMBA03.zeu.alcatel-lucent.com ([169.254.3.70]) by FR711WXCHHUB02.zeu.alcatel-lucent.com ([135.239.2.112]) with mapi id 14.02.0247.003; Thu, 31 Oct 2013 00:57:04 +0100
From: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt
Thread-Index: AQHOziP6+J+FdtG9skmCafux6L7Mo5oBflNwgADGUaCAB7mdMIACSaUAgAFPngA=
Date: Wed, 30 Oct 2013 23:57:03 +0000
Message-ID: <A7A5844EB93EB94AB22C2068B10AD65A48BC308B@FR711WXCHMBA03.zeu.alcatel-lucent.com>
References: <B8F9A780D330094D99AF023C5877DABA43C0E5CF@nkgeml501-mbs.china.huawei.com> <B6D287BF58D35D4B882E012AD3E1756167A767E4@ONWVEXCHMB04.ciena.com> <A7A5844EB93EB94AB22C2068B10AD65A48BC1892@FR711WXCHMBA03.zeu.alcatel-lucent.com> <CANUuoLpALthTm6Z6Kcyqqc6La=_syDWh=4Fm8MSvhYEKmUHtEg@mail.gmail.com>
In-Reply-To: <CANUuoLpALthTm6Z6Kcyqqc6La=_syDWh=4Fm8MSvhYEKmUHtEg@mail.gmail.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.239.27.38]
Content-Type: multipart/alternative; boundary="_000_A7A5844EB93EB94AB22C2068B10AD65A48BC308BFR711WXCHMBA03z_"
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
Cc: Qin Wu <bill.wu@huawei.com>, IETF ALTO <alto@ietf.org>
Subject: Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 30 Oct 2013 23:57:22 -0000

--_000_A7A5844EB93EB94AB22C2068B10AD65A48BC308BFR711WXCHMBA03z_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Richard,

The ALTO Cost Schedule was not discussed in the draft because, rather than =
as a Cost Metric, it is proposed as a Cost Mode applicable to metrics that =
have values changing in a predictable way.

Definitely, except nominal capacity, TE metrics do have changing values, so=
metimes in a predicable way so that their ALTO abstraction can be exposed i=
n the schedule mode.

As you pointed in thread "Re: [alto] ALTO Extension: Defining a Cost Metric=
s document?" (your e-mail dated 27/10/2013)
> The measurement infrastructure might collect data at 1 min interval, and =
ALTO exposes only hourly data to certain clients? It is policy controlled.

In such a case, the "unit" member describing the time intervals of the "cos=
t-scope" of the schedule capability specified in the IRD would be: ["hour",=
 1]. One interpretation of this is that the network provider operating the =
ALTO Server considers that there is no significant variations in the value =
observed and that the application using the ALTO Client can rely on this in=
formation to schedule its connections.

Ideally, a Cost Schedule should support the provision of information in tim=
e "units" with lengths guaranteeing that the underlying measurements have h=
omogeneous values.

The "unit" information could be completed with the attribute "Measurement i=
nterval", which indicates on which duration measurements are made or estima=
ted, in your example, 1 minute, and give a hint on the accuracy and reliabi=
lity of the provided ALTO information.  Besides, as you pointed, different =
network and ALTO Server operators may support different measurement interva=
ls.

Last, I believe that the more abstraction there is in an ALTO TE metric, th=
e closer the "Measurement interval" can be to the Schedule "unit" length, i=
f necessary of course.

Interested people may look at the Cost Schedule presentation on http://tool=
s.ietf.org/agenda/85/slides/slides-85-alto-4.pdf

Thanks,
Sabine



De : yang.r.yang@gmail.com<mailto:yang.r.yang@gmail.com> [mailto:yang.r.yan=
g@gmail.com] De la part de Y. Richard Yang
Envoy=E9 : mardi 29 octobre 2013 23:59
=C0 : RANDRIAMASY, SABINE (SABINE)
Cc : Qin Wu; He, Peng; IETF ALTO
Objet : Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt


Hi Sabine,

I found the "schedule" concept very interesting and can be quite useful, fo=
r applications to schedule large traffic. I read that this is not defined i=
n the draft in -te-metrics. Will you and Qin discuss this design in your sl=
ot?

Thanks!

Richard
On Oct 28, 2013 7:56 AM, "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy=
@alcatel-lucent.com<mailto:sabine.randriamasy@alcatel-lucent.com>> wrote:


-----Message d'origine-----
De : alto-bounces@ietf.org<mailto:alto-bounces@ietf.org> [mailto:alto-bounc=
es@ietf.org<mailto:alto-bounces@ietf.org>] De la part de He, Peng
Envoy=E9 : mercredi 23 octobre 2013 15:09
=C0 : Qin Wu; IETF ALTO
Objet : Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt


[     ] Hi Peng,
Please see below and let me know if this would meet your request,
Best regards
Sabine



Another side question: is there a 'cost' parameter that can show/represent =
the 'schedule' of the network links, e.g., before 12pm this link/tunnel wil=
l have say 100Mbps available, after 12pm, only 50mbps available, i.e., band=
width scheduling or similar? Or this is more a management system/controller=
/server related data?

[     ] There is a protocol extension proposal draft that proposes to provi=
de cost values w.r.t. time and is called "ALTO Cost Schedule". ALTO Cost Sc=
hedule is specified as a cost mode where the ALTO Cost values are provided =
in the form of an array, where each array element corresponds to a given ti=
me period and has a value applicable to this period. The granularity of the=
 time period, the number of provided values and other attributes are specif=
ied in the IRD. Note that the transaction format in this draft is compliant=
 with the ALTO protocol version issued before the ALTO format changes in th=
e Cost Type specification.

In your example, the granularity may be 12 hours slots or say 1 hour slots =
to allow finer grain cost valuation. If we assume 1 hour slots and the avai=
lability of a metric called "availbw" expressed in mbps, where values can b=
e provided both in regular 'numerical' mode with "permanent" validity and i=
n 'schedule' mode:

In the IRD we would have: (please forgive the possible mismatch of brackets=
)

   {

      ... usual ALTO resources ...

    "resources" : [
     .......

      {
         "uri" : "http://custom.alto.example.com/endpointcost/schedule/look=
up",
         "media-types" : [ "application/alto-endpointcost+json" ],
         "accepts" : [ "application/alto-endpointcostparams+json" ],
         "capabilities" : {
           "cost-constraints" : true,
           "cost-modes" : [ "numerical", "schedule" ],
           "cost-types" : [ "availbw", "availbw" ],
           "cost-scope":  [ "permanent",
                            {"unit": ["hour", 1], "size": 24, "begin": 0,
                             "time zone": "UTC",
                             "lastupdate": mm/hh/dd/mm/yyyy,
                             "nextupdate": mm/hh/dd/mm/yyyy}
           ]
         }
       }
     ]
   }

If the ALTO Servers provides availbw =3D 100mbps for the first 12 hours and=
 50mbps for the next 12 hours on the tunnel with example endpoints (192.0.2=
.2, 192.0.2.89), the ALTO request and response in schedule mode would look =
like:

POST /endpointcost/lookup HTTP/1.1
  Host: alto.example.com<http://alto.example.com>
  Content-Length: [TODO]
  Content-Type: application/alto-endpointcostparams+json
  Accept: application/alto-endpointcost+json,application/alto-error+json

  {
    "cost-type" : ["availbw"],
    "cost-mode" : ["schedule"],
    "endpoints" : {
      "srcs": [ "ipv4:192.0.2.2" ],
      "dsts": [
        "ipv4:192.0.2.89",
        "ipv4:198.51.100.34",
        "ipv4:203.0.113.45"
      ]
    }
  }


  HTTP/1.1 200 OK
  Content-Length: [TODO]
  Content-Type: application/alto-endpointcost+json

  {
    "meta" : {},
    "data" : {
      "cost-type" : ["availbw "],
      "cost-mode" : ["schedule"],
      "map" : {
        "ipv4:192.0.2.2": {
          "ipv4:192.0.2.89"    : [100, 100, 100, 100, 100, 100, 100, 100, 1=
00, 100, 100, 100, 50 ... (12 same values)],
          "ipv4:198.51.100.34" : [... (24 values) ...],
          "ipv4:203.0.113.45"  : [... (24 values) ...]
        }
      }
    }
  }

The proposal is documented in http://tools.ietf.org/html/draft-randriamasy-=
alto-cost-schedule-02 where Section 3.3 provides an example on the Schedule=
 attributes in the IRD, and section 3.3.1 provides example transactions wit=
h the Schedule mode.


[     ]
Regards,
Peng



-----Original Message-----
From: alto-bounces@ietf.org<mailto:alto-bounces@ietf.org> [mailto:alto-boun=
ces@ietf.org<mailto:alto-bounces@ietf.org>] On Behalf Of Qin Wu
Sent: Tuesday, October 22, 2013 9:17 PM
To: IETF ALTO
Subject: [alto] FW: I-D Action: draft-wu-alto-te-metrics-00.txt

Hi, all:
We have posted a new draft to define a set of new cost metrics that are rel=
ated to traffic engineering performance information.

http://tools.ietf.org/html/draft-wu-alto-te-metrics-00

Please review the draft and provide your feedback and comments.

Regards!
-Qin
-----Original Message-----
From: i-d-announce-bounces@ietf.org<mailto:i-d-announce-bounces@ietf.org> [=
mailto:i-d-announce-bounces@ietf.org<mailto:i-d-announce-bounces@ietf.org>]=
 On Behalf Of internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>
Sent: Monday, October 21, 2013 2:08 PM
To: i-d-announce@ietf.org<mailto:i-d-announce@ietf.org>
Subject: I-D Action: draft-wu-alto-te-metrics-00.txt


A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.


        Title           : ALTO Traffic Engineering Cost Metrics
        Author(s)       : Qin Wu
                          Young Lee
                          Dhruv Dhody
                          Sabine Randriamasy
        Filename        : draft-wu-alto-te-metrics-00.txt
        Pages           : 26
        Date            : 2013-10-20

Abstract:
   Cost Metric is a basic concept in Application-Layer Traffic
   Optimization (ALTO).  It is used in both the Cost Map Service and the
   Endpoint Cost Service.  Future extensions to ALTO may also use Cost
   Metric.

   Different applications may benefit from different Cost Metrics.  For
   example, a Resource Consumer may prefer Resource Providers that have
   low latency to the Resource Consumer.  However the base ALTO protocol
   [ALTO] has defined only a single cost metric, i.e., the generic
   "routingcost" metric (Sec. 14.2 of ALTO base specification [ALTO]).

   In this document, we define XXX Cost Metrics, derived from OSPF-TE
   and ISIS-TE, to measure network delay, jitter, packet loss, hop
   count, and bandwidth.  The metrics defined in this document provide a
   relatively comprehensive set of Cost Metrics for ALTO focusing on
   traffic engineering.  Additional Cost Metrics such as financial cost
   metrics may be defined in other documents.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-wu-alto-te-metrics-00


Please note that it may take a couple of minutes from the time of submissio=
n until the htmlized version and diff are available at tools.ietf.org<http:=
//tools.ietf.org>.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org<mailto:I-D-Announce@ietf.org>
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html or ftp://ftp.ie=
tf.org/ietf/1shadow-sites.txt
_______________________________________________
alto mailing list
alto@ietf.org<mailto:alto@ietf.org>
https://www.ietf.org/mailman/listinfo/alto
_______________________________________________
alto mailing list
alto@ietf.org<mailto:alto@ietf.org>
https://www.ietf.org/mailman/listinfo/alto
_______________________________________________
alto mailing list
alto@ietf.org<mailto:alto@ietf.org>
https://www.ietf.org/mailman/listinfo/alto

--_000_A7A5844EB93EB94AB22C2068B10AD65A48BC308BFR711WXCHMBA03z_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
pre
	{mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Texte de bulles Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.PrformatHTMLCar
	{mso-style-name:"Pr=E9format=E9 HTML Car";
	mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML";
	font-family:"Courier New";}
span.TextedebullesCar
	{mso-style-name:"Texte de bulles Car";
	mso-style-priority:99;
	mso-style-link:"Texte de bulles";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle22
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Richard,<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">The ALTO Cost Schedule wa=
s not discussed in the draft because, rather than as a Cost Metric, it is p=
roposed as a Cost Mode applicable to metrics that have values
 changing in a predictable way.&nbsp; <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Definitely, except nomina=
l capacity, TE metrics do have changing values, sometimes in a predicable w=
ay so that their ALTO abstraction can be exposed in the
 schedule mode. <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">As you pointed in thread =
&quot;Re: [alto] ALTO Extension: Defining a Cost Metrics document?&quot; (y=
our e-mail dated 27/10/2013)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&gt; The measurement infr=
astructure might collect data at 1 min interval, and ALTO exposes only hour=
ly data to certain clients? It is policy controlled.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">In such a case, the &quot=
;unit&quot; member describing the time intervals of the &quot;cost-scope&qu=
ot; of the schedule capability specified in the IRD would be: [&quot;hour&q=
uot;, 1]. One
 interpretation of this is that the network provider operating the ALTO Ser=
ver considers that there is no significant variations in the value observed=
 and that the application using the ALTO Client can rely on this informatio=
n to schedule its connections.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Ideally, a Cost Schedule =
should support the provision of information in time &quot;units&quot; with =
lengths guaranteeing that the underlying measurements have homogeneous
 values. <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">The &quot;unit&quot; info=
rmation could be completed with the attribute &quot;Measurement interval&qu=
ot;, which indicates on which duration measurements are made or estimated, =
in
 your example, 1 minute, and give a hint on the accuracy and reliability of=
 the provided ALTO information. &nbsp;Besides, as you pointed, different ne=
twork and ALTO Server operators may support different measurement intervals=
. &nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Last, I believe that the =
more abstraction there is in an ALTO TE metric, the closer the &quot;Measur=
ement interval&quot; can be to the Schedule &quot;unit&quot; length, if nec=
essary
 of course. <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Interested people may loo=
k at the Cost Schedule presentation on
<a href=3D"http://tools.ietf.org/agenda/85/slides/slides-85-alto-4.pdf">htt=
p://tools.ietf.org/agenda/85/slides/slides-85-alto-4.pdf</a><o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks,
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sabine<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href=3D"mailto:yang.r.yang@gmail.com">yang.r.yang@gmail.com</a> [<a href=
=3D"mailto:yang.r.yang@gmail.com">mailto:yang.r.yang@gmail.com</a>]
<b>De la part de</b> Y. Richard Yang<br>
<b>Envoy=E9&nbsp;:</b> mardi 29 octobre 2013 23:59<br>
<b>=C0&nbsp;:</b> RANDRIAMASY, SABINE (SABINE)<br>
<b>Cc&nbsp;:</b> Qin Wu; He, Peng; IETF ALTO<br>
<b>Objet&nbsp;:</b> Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt<=
o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span lang=3D"FR"><o:p>=
&nbsp;</o:p></span></p>
<p style=3D"margin-left:36.0pt">Hi Sabine,<o:p></o:p></p>
<p style=3D"margin-left:36.0pt">I found the &quot;schedule&quot; concept ve=
ry interesting and can be quite useful, for applications to schedule large =
traffic. I read that this is not defined in the draft in -te-metrics. Will =
you and Qin discuss this design in your slot?<o:p></o:p></p>
<p style=3D"margin-left:36.0pt">Thanks!<o:p></o:p></p>
<p style=3D"margin-left:36.0pt">Richard<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">On Oct 28, 2013 7:56 AM=
, &quot;RANDRIAMASY, SABINE (SABINE)&quot; &lt;<a href=3D"mailto:sabine.ran=
driamasy@alcatel-lucent.com">sabine.randriamasy@alcatel-lucent.com</a>&gt; =
wrote:<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><br>
<br>
-----Message d'origine-----<br>
De&nbsp;: <a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a=
> [mailto:<a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a=
>] De la part de He, Peng<br>
Envoy=E9&nbsp;: mercredi 23 octobre 2013 15:09<br>
=C0&nbsp;: Qin Wu; IETF ALTO<br>
Objet&nbsp;: Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt<br>
<br>
<br>
[ &nbsp; &nbsp; ] Hi Peng,<br>
Please see below and let me know if this would meet your request,<br>
Best regards<br>
Sabine<br>
<br>
<br>
<br>
Another side question: is there a 'cost' parameter that can show/represent =
the 'schedule' of the network links, e.g., before 12pm this link/tunnel wil=
l have say 100Mbps available, after 12pm, only 50mbps available, i.e., band=
width scheduling or similar? Or
 this is more a management system/controller/server related data?<br>
<br>
[ &nbsp; &nbsp; ] There is a protocol extension proposal draft that propose=
s to provide cost values w.r.t. time and is called &quot;ALTO Cost Schedule=
&quot;. ALTO Cost Schedule is specified as a cost mode where the ALTO Cost =
values are provided in the form of an array, where each
 array element corresponds to a given time period and has a value applicabl=
e to this period. The granularity of the time period, the number of provide=
d values and other attributes are specified in the IRD. Note that the trans=
action format in this draft is compliant
 with the ALTO protocol version issued before the ALTO format changes in th=
e Cost Type specification.<br>
<br>
In your example, the granularity may be 12 hours slots or say 1 hour slots =
to allow finer grain cost valuation. If we assume 1 hour slots and the avai=
lability of a metric called &quot;availbw&quot; expressed in mbps, where va=
lues can be provided both in regular 'numerical'
 mode with &quot;permanent&quot; validity and in 'schedule' mode:<br>
<br>
In the IRD we would have: (please forgive the possible mismatch of brackets=
)<br>
<br>
&nbsp; &nbsp;{<br>
<br>
&nbsp; &nbsp; &nbsp; ... usual ALTO resources ...<br>
<br>
&nbsp; &nbsp; &quot;resources&quot; : [<br>
&nbsp; &nbsp; &nbsp;.......<br>
<br>
&nbsp; &nbsp; &nbsp; {<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;uri&quot; : &quot;<a href=3D"http:/=
/custom.alto.example.com/endpointcost/schedule/lookup" target=3D"_blank">ht=
tp://custom.alto.example.com/endpointcost/schedule/lookup</a>&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;media-types&quot; : [ &quot;applica=
tion/alto-endpointcost&#43;json&quot; ],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;accepts&quot; : [ &quot;application=
/alto-endpointcostparams&#43;json&quot; ],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;capabilities&quot; : {<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cost-constraints&quot; : tru=
e,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cost-modes&quot; : [ &quot;n=
umerical&quot;, &quot;schedule&quot; ],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cost-types&quot; : [ &quot;a=
vailbw&quot;, &quot;availbw&quot; ],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cost-scope&quot;: &nbsp;[ &q=
uot;permanent&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; {&quot;unit&quot;: [&quot;hour&quot;, 1], &quot;size=
&quot;: 24, &quot;begin&quot;: 0,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp;&quot;time zone&quot;: &quot;UTC&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp;&quot;lastupdate&quot;: mm/hh/dd/mm/yyyy,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp;&quot;nextupdate&quot;: mm/hh/dd/mm/yyyy}<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;]<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>
&nbsp; &nbsp; &nbsp; &nbsp;}<br>
&nbsp; &nbsp; &nbsp;]<br>
&nbsp; &nbsp;}<br>
<br>
If the ALTO Servers provides availbw =3D 100mbps for the first 12 hours and=
 50mbps for the next 12 hours on the tunnel with example endpoints (192.0.2=
.2, 192.0.2.89), the ALTO request and response in schedule mode would look =
like:<br>
<br>
POST /endpointcost/lookup HTTP/1.1<br>
&nbsp; Host: <a href=3D"http://alto.example.com" target=3D"_blank">alto.exa=
mple.com</a><br>
&nbsp; Content-Length: [TODO]<br>
&nbsp; Content-Type: application/alto-endpointcostparams&#43;json<br>
&nbsp; Accept: application/alto-endpointcost&#43;json,application/alto-erro=
r&#43;json<br>
<br>
&nbsp; {<br>
&nbsp; &nbsp; &quot;cost-type&quot; : [&quot;availbw&quot;],<br>
&nbsp; &nbsp; &quot;cost-mode&quot; : [&quot;schedule&quot;],<br>
&nbsp; &nbsp; &quot;endpoints&quot; : {<br>
&nbsp; &nbsp; &nbsp; &quot;srcs&quot;: [ &quot;ipv4:192.0.2.2&quot; ],<br>
&nbsp; &nbsp; &nbsp; &quot;dsts&quot;: [<br>
&nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:192.0.2.89&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:198.51.100.34&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:203.0.113.45&quot;<br>
&nbsp; &nbsp; &nbsp; ]<br>
&nbsp; &nbsp; }<br>
&nbsp; }<br>
<br>
<br>
&nbsp; HTTP/1.1 200 OK<br>
&nbsp; Content-Length: [TODO]<br>
&nbsp; Content-Type: application/alto-endpointcost&#43;json<br>
<br>
&nbsp; {<br>
&nbsp; &nbsp; &quot;meta&quot; : {},<br>
&nbsp; &nbsp; &quot;data&quot; : {<br>
&nbsp; &nbsp; &nbsp; &quot;cost-type&quot; : [&quot;availbw &quot;],<br>
&nbsp; &nbsp; &nbsp; &quot;cost-mode&quot; : [&quot;schedule&quot;],<br>
&nbsp; &nbsp; &nbsp; &quot;map&quot; : {<br>
&nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:192.0.2.2&quot;: {<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:192.0.2.89&quot; &nbsp; &nbsp=
;: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 50 ... (12 =
same values)],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:198.51.100.34&quot; : [... (2=
4 values) ...],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:203.0.113.45&quot; &nbsp;: [.=
.. (24 values) ...]<br>
&nbsp; &nbsp; &nbsp; &nbsp; }<br>
&nbsp; &nbsp; &nbsp; }<br>
&nbsp; &nbsp; }<br>
&nbsp; }<br>
<br>
The proposal is documented in <a href=3D"http://tools.ietf.org/html/draft-r=
andriamasy-alto-cost-schedule-02" target=3D"_blank">
http://tools.ietf.org/html/draft-randriamasy-alto-cost-schedule-02</a> wher=
e Section 3.3 provides an example on the Schedule attributes in the IRD, an=
d section 3.3.1 provides example transactions with the Schedule mode.<br>
<br>
<br>
[ &nbsp; &nbsp; ]<br>
Regards,<br>
Peng<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a> [m=
ailto:<a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a>] O=
n Behalf Of Qin Wu<br>
Sent: Tuesday, October 22, 2013 9:17 PM<br>
To: IETF ALTO<br>
Subject: [alto] FW: I-D Action: draft-wu-alto-te-metrics-00.txt<br>
<br>
Hi, all:<br>
We have posted a new draft to define a set of new cost metrics that are rel=
ated to traffic engineering performance information.<br>
<br>
<a href=3D"http://tools.ietf.org/html/draft-wu-alto-te-metrics-00" target=
=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-te-metrics-00</a><br>
<br>
Please review the draft and provide your feedback and comments.<br>
<br>
Regards!<br>
-Qin<br>
-----Original Message-----<br>
From: <a href=3D"mailto:i-d-announce-bounces@ietf.org">i-d-announce-bounces=
@ietf.org</a> [mailto:<a href=3D"mailto:i-d-announce-bounces@ietf.org">i-d-=
announce-bounces@ietf.org</a>] On Behalf Of
<a href=3D"mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a><br=
>
Sent: Monday, October 21, 2013 2:08 PM<br>
To: <a href=3D"mailto:i-d-announce@ietf.org">i-d-announce@ietf.org</a><br>
Subject: I-D Action: draft-wu-alto-te-metrics-00.txt<br>
<br>
<br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; Title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : ALTO=
 Traffic Engineering Cost Metrics<br>
&nbsp; &nbsp; &nbsp; &nbsp; Author(s) &nbsp; &nbsp; &nbsp; : Qin Wu<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; Young Lee<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; Dhruv Dhody<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; Sabine Randriamasy<br>
&nbsp; &nbsp; &nbsp; &nbsp; Filename &nbsp; &nbsp; &nbsp; &nbsp;: draft-wu-=
alto-te-metrics-00.txt<br>
&nbsp; &nbsp; &nbsp; &nbsp; Pages &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 26<b=
r>
&nbsp; &nbsp; &nbsp; &nbsp; Date &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:=
 2013-10-20<br>
<br>
Abstract:<br>
&nbsp; &nbsp;Cost Metric is a basic concept in Application-Layer Traffic<br=
>
&nbsp; &nbsp;Optimization (ALTO). &nbsp;It is used in both the Cost Map Ser=
vice and the<br>
&nbsp; &nbsp;Endpoint Cost Service. &nbsp;Future extensions to ALTO may als=
o use Cost<br>
&nbsp; &nbsp;Metric.<br>
<br>
&nbsp; &nbsp;Different applications may benefit from different Cost Metrics=
. &nbsp;For<br>
&nbsp; &nbsp;example, a Resource Consumer may prefer Resource Providers tha=
t have<br>
&nbsp; &nbsp;low latency to the Resource Consumer. &nbsp;However the base A=
LTO protocol<br>
&nbsp; &nbsp;[ALTO] has defined only a single cost metric, i.e., the generi=
c<br>
&nbsp; &nbsp;&quot;routingcost&quot; metric (Sec. 14.2 of ALTO base specifi=
cation [ALTO]).<br>
<br>
&nbsp; &nbsp;In this document, we define XXX Cost Metrics, derived from OSP=
F-TE<br>
&nbsp; &nbsp;and ISIS-TE, to measure network delay, jitter, packet loss, ho=
p<br>
&nbsp; &nbsp;count, and bandwidth. &nbsp;The metrics defined in this docume=
nt provide a<br>
&nbsp; &nbsp;relatively comprehensive set of Cost Metrics for ALTO focusing=
 on<br>
&nbsp; &nbsp;traffic engineering. &nbsp;Additional Cost Metrics such as fin=
ancial cost<br>
&nbsp; &nbsp;metrics may be defined in other documents.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics" targe=
t=3D"_blank">https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics</a><=
br>
<br>
There's also a htmlized version available at:<br>
<a href=3D"http://tools.ietf.org/html/draft-wu-alto-te-metrics-00" target=
=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-te-metrics-00</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n until the htmlized version and diff are available at
<a href=3D"http://tools.ietf.org" target=3D"_blank">tools.ietf.org</a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" target=3D"_blank">ftp://ftp=
.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
I-D-Announce mailing list<br>
<a href=3D"mailto:I-D-Announce@ietf.org">I-D-Announce@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/i-d-announceInternet-Draft=
" target=3D"_blank">https://www.ietf.org/mailman/listinfo/i-d-announce<br>
Internet-Draft</a> directories: <a href=3D"http://www.ietf.org/shadow.html"=
 target=3D"_blank">
http://www.ietf.org/shadow.html</a> or <a href=3D"ftp://ftp.ietf.org/ietf/1=
shadow-sites.txt" target=3D"_blank">
ftp://ftp.ietf.org/ietf/1shadow-sites.txt</a><br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><o:p></o:p></p>
</div>
</div>
</body>
</html>

--_000_A7A5844EB93EB94AB22C2068B10AD65A48BC308BFR711WXCHMBA03z_--

From bill.wu@huawei.com  Thu Oct 31 02:48:28 2013
Return-Path: <bill.wu@huawei.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 0EB0211E811B for <alto@ietfa.amsl.com>; Thu, 31 Oct 2013 02:48:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.398
X-Spam-Level: 
X-Spam-Status: No, score=-6.398 tagged_above=-999 required=5 tests=[AWL=0.200,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RYJe7zu2Ohk7 for <alto@ietfa.amsl.com>; Thu, 31 Oct 2013 02:48:20 -0700 (PDT)
Received: from lhrrgout.huawei.com (lhrrgout.huawei.com [194.213.3.17]) by ietfa.amsl.com (Postfix) with ESMTP id 22B1821E80B8 for <alto@ietf.org>; Thu, 31 Oct 2013 02:48:15 -0700 (PDT)
Received: from 172.18.7.190 (EHLO lhreml203-edg.china.huawei.com) ([172.18.7.190]) by lhrrg02-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id AXK36220; Thu, 31 Oct 2013 09:48:08 +0000 (GMT)
Received: from LHREML406-HUB.china.huawei.com (10.201.5.243) by lhreml203-edg.huawei.com (172.18.7.221) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 31 Oct 2013 09:47:11 +0000
Received: from nkgeml407-hub.china.huawei.com (10.98.56.38) by lhreml406-hub.china.huawei.com (10.201.5.243) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 31 Oct 2013 09:47:35 +0000
Received: from NKGEML501-MBS.china.huawei.com ([169.254.2.75]) by nkgeml407-hub.china.huawei.com ([10.98.56.38]) with mapi id 14.03.0158.001; Thu, 31 Oct 2013 17:47:26 +0800
From: Qin Wu <bill.wu@huawei.com>
To: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>, "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt
Thread-Index: AQHOziP6+J+FdtG9skmCafux6L7Mo5oBflNwgADGUaCAB7mdMIAB1E0AgAGig4CAASYqQA==
Date: Thu, 31 Oct 2013 09:47:26 +0000
Message-ID: <B8F9A780D330094D99AF023C5877DABA43C30E2C@nkgeml501-mbs.china.huawei.com>
References: <B8F9A780D330094D99AF023C5877DABA43C0E5CF@nkgeml501-mbs.china.huawei.com> <B6D287BF58D35D4B882E012AD3E1756167A767E4@ONWVEXCHMB04.ciena.com> <A7A5844EB93EB94AB22C2068B10AD65A48BC1892@FR711WXCHMBA03.zeu.alcatel-lucent.com> <CANUuoLpALthTm6Z6Kcyqqc6La=_syDWh=4Fm8MSvhYEKmUHtEg@mail.gmail.com> <A7A5844EB93EB94AB22C2068B10AD65A48BC308B@FR711WXCHMBA03.zeu.alcatel-lucent.com>
In-Reply-To: <A7A5844EB93EB94AB22C2068B10AD65A48BC308B@FR711WXCHMBA03.zeu.alcatel-lucent.com>
Accept-Language: zh-CN, en-US
Content-Language: zh-CN
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.138.41.149]
Content-Type: multipart/alternative; boundary="_000_B8F9A780D330094D99AF023C5877DABA43C30E2Cnkgeml501mbschi_"
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 31 Oct 2013 09:48:28 -0000

--_000_B8F9A780D330094D99AF023C5877DABA43C30E2Cnkgeml501mbschi_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi, Richard, Sabine:
I think it is a very good idea to discuss schedule of TE metric as open iss=
ue to draft-wu-alto-te-metrics in ALTO session.
Please see my reply inline below.

Regards!
-Qin

From: RANDRIAMASY, SABINE (SABINE) [mailto:sabine.randriamasy@alcatel-lucen=
t.com]
Sent: Thursday, October 31, 2013 7:57 AM
To: Y. Richard Yang
Cc: Qin Wu; He, Peng; IETF ALTO
Subject: RE: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt

Hi Richard,

The ALTO Cost Schedule was not discussed in the draft because, rather than =
as a Cost Metric, it is proposed as a Cost Mode applicable to metrics that =
have values changing in a predictable way.

Definitely, except nominal capacity, TE metrics do have changing values, so=
metimes in a predicable way so that their ALTO abstraction can be exposed i=
n the schedule mode.

[Qin]: I agree TE metrics change over time, reporting TE metrics in a sched=
ule mode is very interesting idea.
However I am not sure each time when we provide TE metrics to alto client, =
we also MUST provide the schedule time associated with TE metrics.
In some cases, the alto client only care about TE metrics rather than sched=
ule time associated TE metrics.
In some case, alto server only use new cost metrics as constraint attribute=
 when return routingcost value to the alt client and does not need to retur=
n other TE Metrics besides routing cost.

So supporting schedule of TE metric may not be a mandatory feature.

As you pointed in thread "Re: [alto] ALTO Extension: Defining a Cost Metric=
s document?" (your e-mail dated 27/10/2013)
> The measurement infrastructure might collect data at 1 min interval, and =
ALTO exposes only hourly data to certain clients? It is policy controlled.

In such a case, the "unit" member describing the time intervals of the "cos=
t-scope" of the schedule capability specified in the IRD would be: ["hour",=
 1]. One interpretation of this is that the network provider operating the =
ALTO Server considers that there is no significant variations in the value =
observed and that the application using the ALTO Client can rely on this in=
formation to schedule its connections.

Ideally, a Cost Schedule should support the provision of information in tim=
e "units" with lengths guaranteeing that the underlying measurements have h=
omogeneous values.

The "unit" information could be completed with the attribute "Measurement i=
nterval", which indicates on which duration measurements are made or estima=
ted, in your example, 1 minute, and give a hint on the accuracy and reliabi=
lity of the provided ALTO information.  Besides, as you pointed, different =
network and ALTO Server operators may support different measurement interva=
ls.

Last, I believe that the more abstraction there is in an ALTO TE metric, th=
e closer the "Measurement interval" can be to the Schedule "unit" length, i=
f necessary of course.

[Qin]:  It is not clear to me whether the time is referred to the time when=
 TE metrics are sent or the time when TE metrics are received by ALTO serve=
r. This should be clear.
Also it is better we don't mix measurement unit with measurement interval, =
they are two different things.


Interested people may look at the Cost Schedule presentation on http://tool=
s.ietf.org/agenda/85/slides/slides-85-alto-4.pdf

Thanks,
Sabine



De : yang.r.yang@gmail.com<mailto:yang.r.yang@gmail.com> [mailto:yang.r.yan=
g@gmail.com] De la part de Y. Richard Yang
Envoy=E9 : mardi 29 octobre 2013 23:59
=C0 : RANDRIAMASY, SABINE (SABINE)
Cc : Qin Wu; He, Peng; IETF ALTO
Objet : Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt


Hi Sabine,

I found the "schedule" concept very interesting and can be quite useful, fo=
r applications to schedule large traffic. I read that this is not defined i=
n the draft in -te-metrics. Will you and Qin discuss this design in your sl=
ot?

Thanks!

Richard
On Oct 28, 2013 7:56 AM, "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy=
@alcatel-lucent.com<mailto:sabine.randriamasy@alcatel-lucent.com>> wrote:


-----Message d'origine-----
De : alto-bounces@ietf.org<mailto:alto-bounces@ietf.org> [mailto:alto-bounc=
es@ietf.org<mailto:alto-bounces@ietf.org>] De la part de He, Peng
Envoy=E9 : mercredi 23 octobre 2013 15:09
=C0 : Qin Wu; IETF ALTO
Objet : Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt


[     ] Hi Peng,
Please see below and let me know if this would meet your request,
Best regards
Sabine



Another side question: is there a 'cost' parameter that can show/represent =
the 'schedule' of the network links, e.g., before 12pm this link/tunnel wil=
l have say 100Mbps available, after 12pm, only 50mbps available, i.e., band=
width scheduling or similar? Or this is more a management system/controller=
/server related data?

[     ] There is a protocol extension proposal draft that proposes to provi=
de cost values w.r.t. time and is called "ALTO Cost Schedule". ALTO Cost Sc=
hedule is specified as a cost mode where the ALTO Cost values are provided =
in the form of an array, where each array element corresponds to a given ti=
me period and has a value applicable to this period. The granularity of the=
 time period, the number of provided values and other attributes are specif=
ied in the IRD. Note that the transaction format in this draft is compliant=
 with the ALTO protocol version issued before the ALTO format changes in th=
e Cost Type specification.

In your example, the granularity may be 12 hours slots or say 1 hour slots =
to allow finer grain cost valuation. If we assume 1 hour slots and the avai=
lability of a metric called "availbw" expressed in mbps, where values can b=
e provided both in regular 'numerical' mode with "permanent" validity and i=
n 'schedule' mode:

In the IRD we would have: (please forgive the possible mismatch of brackets=
)

   {

      ... usual ALTO resources ...

    "resources" : [
     .......

      {
         "uri" : "http://custom.alto.example.com/endpointcost/schedule/look=
up",
         "media-types" : [ "application/alto-endpointcost+json" ],
         "accepts" : [ "application/alto-endpointcostparams+json" ],
         "capabilities" : {
           "cost-constraints" : true,
           "cost-modes" : [ "numerical", "schedule" ],
           "cost-types" : [ "availbw", "availbw" ],
           "cost-scope":  [ "permanent",
                            {"unit": ["hour", 1], "size": 24, "begin": 0,
                             "time zone": "UTC",
                             "lastupdate": mm/hh/dd/mm/yyyy,
                             "nextupdate": mm/hh/dd/mm/yyyy}
           ]
         }
       }
     ]
   }

If the ALTO Servers provides availbw =3D 100mbps for the first 12 hours and=
 50mbps for the next 12 hours on the tunnel with example endpoints (192.0.2=
.2, 192.0.2.89), the ALTO request and response in schedule mode would look =
like:

POST /endpointcost/lookup HTTP/1.1
  Host: alto.example.com<http://alto.example.com>
  Content-Length: [TODO]
  Content-Type: application/alto-endpointcostparams+json
  Accept: application/alto-endpointcost+json,application/alto-error+json

  {
    "cost-type" : ["availbw"],
    "cost-mode" : ["schedule"],
    "endpoints" : {
      "srcs": [ "ipv4:192.0.2.2" ],
      "dsts": [
        "ipv4:192.0.2.89",
        "ipv4:198.51.100.34",
        "ipv4:203.0.113.45"
      ]
    }
  }


  HTTP/1.1 200 OK
  Content-Length: [TODO]
  Content-Type: application/alto-endpointcost+json

  {
    "meta" : {},
    "data" : {
      "cost-type" : ["availbw "],
      "cost-mode" : ["schedule"],
      "map" : {
        "ipv4:192.0.2.2": {
          "ipv4:192.0.2.89"    : [100, 100, 100, 100, 100, 100, 100, 100, 1=
00, 100, 100, 100, 50 ... (12 same values)],
          "ipv4:198.51.100.34" : [... (24 values) ...],
          "ipv4:203.0.113.45"  : [... (24 values) ...]
        }
      }
    }
  }

The proposal is documented in http://tools.ietf.org/html/draft-randriamasy-=
alto-cost-schedule-02 where Section 3.3 provides an example on the Schedule=
 attributes in the IRD, and section 3.3.1 provides example transactions wit=
h the Schedule mode.


[     ]
Regards,
Peng



-----Original Message-----
From: alto-bounces@ietf.org<mailto:alto-bounces@ietf.org> [mailto:alto-boun=
ces@ietf.org<mailto:alto-bounces@ietf.org>] On Behalf Of Qin Wu
Sent: Tuesday, October 22, 2013 9:17 PM
To: IETF ALTO
Subject: [alto] FW: I-D Action: draft-wu-alto-te-metrics-00.txt

Hi, all:
We have posted a new draft to define a set of new cost metrics that are rel=
ated to traffic engineering performance information.

http://tools.ietf.org/html/draft-wu-alto-te-metrics-00

Please review the draft and provide your feedback and comments.

Regards!
-Qin
-----Original Message-----
From: i-d-announce-bounces@ietf.org<mailto:i-d-announce-bounces@ietf.org> [=
mailto:i-d-announce-bounces@ietf.org<mailto:i-d-announce-bounces@ietf.org>]=
 On Behalf Of internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>
Sent: Monday, October 21, 2013 2:08 PM
To: i-d-announce@ietf.org<mailto:i-d-announce@ietf.org>
Subject: I-D Action: draft-wu-alto-te-metrics-00.txt


A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.


        Title           : ALTO Traffic Engineering Cost Metrics
        Author(s)       : Qin Wu
                          Young Lee
                          Dhruv Dhody
                          Sabine Randriamasy
        Filename        : draft-wu-alto-te-metrics-00.txt
        Pages           : 26
        Date            : 2013-10-20

Abstract:
   Cost Metric is a basic concept in Application-Layer Traffic
   Optimization (ALTO).  It is used in both the Cost Map Service and the
   Endpoint Cost Service.  Future extensions to ALTO may also use Cost
   Metric.

   Different applications may benefit from different Cost Metrics.  For
   example, a Resource Consumer may prefer Resource Providers that have
   low latency to the Resource Consumer.  However the base ALTO protocol
   [ALTO] has defined only a single cost metric, i.e., the generic
   "routingcost" metric (Sec. 14.2 of ALTO base specification [ALTO]).

   In this document, we define XXX Cost Metrics, derived from OSPF-TE
   and ISIS-TE, to measure network delay, jitter, packet loss, hop
   count, and bandwidth.  The metrics defined in this document provide a
   relatively comprehensive set of Cost Metrics for ALTO focusing on
   traffic engineering.  Additional Cost Metrics such as financial cost
   metrics may be defined in other documents.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-wu-alto-te-metrics-00


Please note that it may take a couple of minutes from the time of submissio=
n until the htmlized version and diff are available at tools.ietf.org<http:=
//tools.ietf.org>.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org<mailto:I-D-Announce@ietf.org>
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html or ftp://ftp.ie=
tf.org/ietf/1shadow-sites.txt
_______________________________________________
alto mailing list
alto@ietf.org<mailto:alto@ietf.org>
https://www.ietf.org/mailman/listinfo/alto
_______________________________________________
alto mailing list
alto@ietf.org<mailto:alto@ietf.org>
https://www.ietf.org/mailman/listinfo/alto
_______________________________________________
alto mailing list
alto@ietf.org<mailto:alto@ietf.org>
https://www.ietf.org/mailman/listinfo/alto

--_000_B8F9A780D330094D99AF023C5877DABA43C30E2Cnkgeml501mbschi_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:m=3D"http://schema=
s.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html=
40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"\6279\6CE8\6846\6587\672C Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.HTMLChar
	{mso-style-name:"HTML \9884\8BBE\683C\5F0F Char";
	mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F";
	font-family:Consolas;}
span.Char
	{mso-style-name:"\6279\6CE8\6846\6587\672C Char";
	mso-style-priority:99;
	mso-style-link:\6279\6CE8\6846\6587\672C;
	font-family:SimSun;}
p.PrformatHTML, li.PrformatHTML, div.PrformatHTML
	{mso-style-name:"Pr\00E9format\00E9 HTML";
	mso-style-link:"Pr\00E9format\00E9 HTML Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.PrformatHTMLCar
	{mso-style-name:"Pr\00E9format\00E9 HTML Car";
	mso-style-priority:99;
	mso-style-link:"Pr\00E9format\00E9 HTML";
	font-family:"Courier New";}
p.Textedebulles, li.Textedebulles, div.Textedebulles
	{mso-style-name:"Texte de bulles";
	mso-style-link:"Texte de bulles Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.TextedebullesCar
	{mso-style-name:"Texte de bulles Car";
	mso-style-priority:99;
	mso-style-link:"Texte de bulles";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle26
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle27
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi, Richard, Sabine:<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">I think it is a very good=
 idea to discuss schedule of TE metric as open issue to draft-wu-alto-te-me=
trics in ALTO session.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Please see my reply inlin=
e below.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Regards!<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">-Qin<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> RANDRIAM=
ASY, SABINE (SABINE) [mailto:sabine.randriamasy@alcatel-lucent.com]
<br>
<b>Sent:</b> Thursday, October 31, 2013 7:57 AM<br>
<b>To:</b> Y. Richard Yang<br>
<b>Cc:</b> Qin Wu; He, Peng; IETF ALTO<br>
<b>Subject:</b> RE: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt<o:p>=
</o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Richard,<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">The ALTO Cost Schedule wa=
s not discussed in the draft because, rather than as a Cost Metric, it is p=
roposed as a Cost Mode applicable to metrics that have values
 changing in a predictable way.&nbsp; <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Definitely, except nomina=
l capacity, TE metrics do have changing values, sometimes in a predicable w=
ay so that their ALTO abstraction can be exposed in the
 schedule mode. <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">[Qin]: I agree TE metrics=
 change over time, reporting TE metrics in a schedule mode is very interest=
ing idea.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">However I am not sure eac=
h time when we provide TE metrics to alto client, we also MUST provide the =
schedule time associated with TE metrics.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">In some cases, the alto c=
lient only care about TE metrics rather than schedule time associated TE me=
trics.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">In some case, alto server=
 only use new cost metrics as constraint attribute when return routingcost =
value to the alt client and does not need to return other
 TE Metrics besides routing cost. <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">So supporting schedule of=
 TE metric may not be a mandatory feature.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">As you pointed in thread =
&quot;Re: [alto] ALTO Extension: Defining a Cost Metrics document?&quot; (y=
our e-mail dated 27/10/2013)<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">&gt; The measurement infr=
astructure might collect data at 1 min interval, and ALTO exposes only hour=
ly data to certain clients? It is policy controlled.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">In such a case, the &quot=
;unit&quot; member describing the time intervals of the &quot;cost-scope&qu=
ot; of the schedule capability specified in the IRD would be: [&quot;hour&q=
uot;, 1]. One
 interpretation of this is that the network provider operating the ALTO Ser=
ver considers that there is no significant variations in the value observed=
 and that the application using the ALTO Client can rely on this informatio=
n to schedule its connections.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Ideally, a Cost Schedule =
should support the provision of information in time &quot;units&quot; with =
lengths guaranteeing that the underlying measurements have homogeneous
 values. <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">The &quot;unit&quot; info=
rmation could be completed with the attribute &quot;Measurement interval&qu=
ot;, which indicates on which duration measurements are made or estimated, =
in
 your example, 1 minute, and give a hint on the accuracy and reliability of=
 the provided ALTO information. &nbsp;Besides, as you pointed, different ne=
twork and ALTO Server operators may support different measurement intervals=
. &nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Last, I believe that the =
more abstraction there is in an ALTO TE metric, the closer the &quot;Measur=
ement interval&quot; can be to the Schedule &quot;unit&quot; length, if nec=
essary
 of course. <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">[Qin]: &nbsp;It is not cl=
ear to me whether the time is referred to the time when TE metrics are sent=
 or the time when TE metrics are received by ALTO server. This
 should be clear.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Also it is better we don&=
#8217;t mix measurement unit with measurement interval, they are two differ=
ent things.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Interested people may loo=
k at the Cost Schedule presentation on
<a href=3D"http://tools.ietf.org/agenda/85/slides/slides-85-alto-4.pdf">htt=
p://tools.ietf.org/agenda/85/slides/slides-85-alto-4.pdf</a><o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks,
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sabine<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href=3D"mailto:yang.r.yang@gmail.com">yang.r.yang@gmail.com</a> [<a href=
=3D"mailto:yang.r.yang@gmail.com">mailto:yang.r.yang@gmail.com</a>]
<b>De la part de</b> Y. Richard Yang<br>
<b>Envoy=E9&nbsp;:</b> mardi 29 octobre 2013 23:59<br>
<b>=C0&nbsp;:</b> RANDRIAMASY, SABINE (SABINE)<br>
<b>Cc&nbsp;:</b> Qin Wu; He, Peng; IETF ALTO<br>
<b>Objet&nbsp;:</b> Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt<=
o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span lang=3D"FR"><o:p>=
&nbsp;</o:p></span></p>
<p style=3D"margin-left:36.0pt">Hi Sabine,<o:p></o:p></p>
<p style=3D"margin-left:36.0pt">I found the &quot;schedule&quot; concept ve=
ry interesting and can be quite useful, for applications to schedule large =
traffic. I read that this is not defined in the draft in -te-metrics. Will =
you and Qin discuss this design in your slot?<o:p></o:p></p>
<p style=3D"margin-left:36.0pt">Thanks!<o:p></o:p></p>
<p style=3D"margin-left:36.0pt">Richard<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">On Oct 28, 2013 7:56 AM=
, &quot;RANDRIAMASY, SABINE (SABINE)&quot; &lt;<a href=3D"mailto:sabine.ran=
driamasy@alcatel-lucent.com">sabine.randriamasy@alcatel-lucent.com</a>&gt; =
wrote:<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><br>
<br>
-----Message d'origine-----<br>
De&nbsp;: <a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a=
> [mailto:<a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a=
>] De la part de He, Peng<br>
Envoy=E9&nbsp;: mercredi 23 octobre 2013 15:09<br>
=C0&nbsp;: Qin Wu; IETF ALTO<br>
Objet&nbsp;: Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt<br>
<br>
<br>
[ &nbsp; &nbsp; ] Hi Peng,<br>
Please see below and let me know if this would meet your request,<br>
Best regards<br>
Sabine<br>
<br>
<br>
<br>
Another side question: is there a 'cost' parameter that can show/represent =
the 'schedule' of the network links, e.g., before 12pm this link/tunnel wil=
l have say 100Mbps available, after 12pm, only 50mbps available, i.e., band=
width scheduling or similar? Or
 this is more a management system/controller/server related data?<br>
<br>
[ &nbsp; &nbsp; ] There is a protocol extension proposal draft that propose=
s to provide cost values w.r.t. time and is called &quot;ALTO Cost Schedule=
&quot;. ALTO Cost Schedule is specified as a cost mode where the ALTO Cost =
values are provided in the form of an array, where each
 array element corresponds to a given time period and has a value applicabl=
e to this period. The granularity of the time period, the number of provide=
d values and other attributes are specified in the IRD. Note that the trans=
action format in this draft is compliant
 with the ALTO protocol version issued before the ALTO format changes in th=
e Cost Type specification.<br>
<br>
In your example, the granularity may be 12 hours slots or say 1 hour slots =
to allow finer grain cost valuation. If we assume 1 hour slots and the avai=
lability of a metric called &quot;availbw&quot; expressed in mbps, where va=
lues can be provided both in regular 'numerical'
 mode with &quot;permanent&quot; validity and in 'schedule' mode:<br>
<br>
In the IRD we would have: (please forgive the possible mismatch of brackets=
)<br>
<br>
&nbsp; &nbsp;{<br>
<br>
&nbsp; &nbsp; &nbsp; ... usual ALTO resources ...<br>
<br>
&nbsp; &nbsp; &quot;resources&quot; : [<br>
&nbsp; &nbsp; &nbsp;.......<br>
<br>
&nbsp; &nbsp; &nbsp; {<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;uri&quot; : &quot;<a href=3D"http:/=
/custom.alto.example.com/endpointcost/schedule/lookup" target=3D"_blank">ht=
tp://custom.alto.example.com/endpointcost/schedule/lookup</a>&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;media-types&quot; : [ &quot;applica=
tion/alto-endpointcost&#43;json&quot; ],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;accepts&quot; : [ &quot;application=
/alto-endpointcostparams&#43;json&quot; ],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;capabilities&quot; : {<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cost-constraints&quot; : tru=
e,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cost-modes&quot; : [ &quot;n=
umerical&quot;, &quot;schedule&quot; ],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cost-types&quot; : [ &quot;a=
vailbw&quot;, &quot;availbw&quot; ],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cost-scope&quot;: &nbsp;[ &q=
uot;permanent&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; {&quot;unit&quot;: [&quot;hour&quot;, 1], &quot;size=
&quot;: 24, &quot;begin&quot;: 0,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp;&quot;time zone&quot;: &quot;UTC&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp;&quot;lastupdate&quot;: mm/hh/dd/mm/yyyy,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp;&quot;nextupdate&quot;: mm/hh/dd/mm/yyyy}<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;]<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>
&nbsp; &nbsp; &nbsp; &nbsp;}<br>
&nbsp; &nbsp; &nbsp;]<br>
&nbsp; &nbsp;}<br>
<br>
If the ALTO Servers provides availbw =3D 100mbps for the first 12 hours and=
 50mbps for the next 12 hours on the tunnel with example endpoints (192.0.2=
.2, 192.0.2.89), the ALTO request and response in schedule mode would look =
like:<br>
<br>
POST /endpointcost/lookup HTTP/1.1<br>
&nbsp; Host: <a href=3D"http://alto.example.com" target=3D"_blank">alto.exa=
mple.com</a><br>
&nbsp; Content-Length: [TODO]<br>
&nbsp; Content-Type: application/alto-endpointcostparams&#43;json<br>
&nbsp; Accept: application/alto-endpointcost&#43;json,application/alto-erro=
r&#43;json<br>
<br>
&nbsp; {<br>
&nbsp; &nbsp; &quot;cost-type&quot; : [&quot;availbw&quot;],<br>
&nbsp; &nbsp; &quot;cost-mode&quot; : [&quot;schedule&quot;],<br>
&nbsp; &nbsp; &quot;endpoints&quot; : {<br>
&nbsp; &nbsp; &nbsp; &quot;srcs&quot;: [ &quot;ipv4:192.0.2.2&quot; ],<br>
&nbsp; &nbsp; &nbsp; &quot;dsts&quot;: [<br>
&nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:192.0.2.89&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:198.51.100.34&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:203.0.113.45&quot;<br>
&nbsp; &nbsp; &nbsp; ]<br>
&nbsp; &nbsp; }<br>
&nbsp; }<br>
<br>
<br>
&nbsp; HTTP/1.1 200 OK<br>
&nbsp; Content-Length: [TODO]<br>
&nbsp; Content-Type: application/alto-endpointcost&#43;json<br>
<br>
&nbsp; {<br>
&nbsp; &nbsp; &quot;meta&quot; : {},<br>
&nbsp; &nbsp; &quot;data&quot; : {<br>
&nbsp; &nbsp; &nbsp; &quot;cost-type&quot; : [&quot;availbw &quot;],<br>
&nbsp; &nbsp; &nbsp; &quot;cost-mode&quot; : [&quot;schedule&quot;],<br>
&nbsp; &nbsp; &nbsp; &quot;map&quot; : {<br>
&nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:192.0.2.2&quot;: {<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:192.0.2.89&quot; &nbsp; &nbsp=
;: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 50 ... (12 =
same values)],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:198.51.100.34&quot; : [... (2=
4 values) ...],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:203.0.113.45&quot; &nbsp;: [.=
.. (24 values) ...]<br>
&nbsp; &nbsp; &nbsp; &nbsp; }<br>
&nbsp; &nbsp; &nbsp; }<br>
&nbsp; &nbsp; }<br>
&nbsp; }<br>
<br>
The proposal is documented in <a href=3D"http://tools.ietf.org/html/draft-r=
andriamasy-alto-cost-schedule-02" target=3D"_blank">
http://tools.ietf.org/html/draft-randriamasy-alto-cost-schedule-02</a> wher=
e Section 3.3 provides an example on the Schedule attributes in the IRD, an=
d section 3.3.1 provides example transactions with the Schedule mode.<br>
<br>
<br>
[ &nbsp; &nbsp; ]<br>
Regards,<br>
Peng<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a> [m=
ailto:<a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a>] O=
n Behalf Of Qin Wu<br>
Sent: Tuesday, October 22, 2013 9:17 PM<br>
To: IETF ALTO<br>
Subject: [alto] FW: I-D Action: draft-wu-alto-te-metrics-00.txt<br>
<br>
Hi, all:<br>
We have posted a new draft to define a set of new cost metrics that are rel=
ated to traffic engineering performance information.<br>
<br>
<a href=3D"http://tools.ietf.org/html/draft-wu-alto-te-metrics-00" target=
=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-te-metrics-00</a><br>
<br>
Please review the draft and provide your feedback and comments.<br>
<br>
Regards!<br>
-Qin<br>
-----Original Message-----<br>
From: <a href=3D"mailto:i-d-announce-bounces@ietf.org">i-d-announce-bounces=
@ietf.org</a> [mailto:<a href=3D"mailto:i-d-announce-bounces@ietf.org">i-d-=
announce-bounces@ietf.org</a>] On Behalf Of
<a href=3D"mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a><br=
>
Sent: Monday, October 21, 2013 2:08 PM<br>
To: <a href=3D"mailto:i-d-announce@ietf.org">i-d-announce@ietf.org</a><br>
Subject: I-D Action: draft-wu-alto-te-metrics-00.txt<br>
<br>
<br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; Title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : ALTO=
 Traffic Engineering Cost Metrics<br>
&nbsp; &nbsp; &nbsp; &nbsp; Author(s) &nbsp; &nbsp; &nbsp; : Qin Wu<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; Young Lee<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; Dhruv Dhody<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; Sabine Randriamasy<br>
&nbsp; &nbsp; &nbsp; &nbsp; Filename &nbsp; &nbsp; &nbsp; &nbsp;: draft-wu-=
alto-te-metrics-00.txt<br>
&nbsp; &nbsp; &nbsp; &nbsp; Pages &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 26<b=
r>
&nbsp; &nbsp; &nbsp; &nbsp; Date &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:=
 2013-10-20<br>
<br>
Abstract:<br>
&nbsp; &nbsp;Cost Metric is a basic concept in Application-Layer Traffic<br=
>
&nbsp; &nbsp;Optimization (ALTO). &nbsp;It is used in both the Cost Map Ser=
vice and the<br>
&nbsp; &nbsp;Endpoint Cost Service. &nbsp;Future extensions to ALTO may als=
o use Cost<br>
&nbsp; &nbsp;Metric.<br>
<br>
&nbsp; &nbsp;Different applications may benefit from different Cost Metrics=
. &nbsp;For<br>
&nbsp; &nbsp;example, a Resource Consumer may prefer Resource Providers tha=
t have<br>
&nbsp; &nbsp;low latency to the Resource Consumer. &nbsp;However the base A=
LTO protocol<br>
&nbsp; &nbsp;[ALTO] has defined only a single cost metric, i.e., the generi=
c<br>
&nbsp; &nbsp;&quot;routingcost&quot; metric (Sec. 14.2 of ALTO base specifi=
cation [ALTO]).<br>
<br>
&nbsp; &nbsp;In this document, we define XXX Cost Metrics, derived from OSP=
F-TE<br>
&nbsp; &nbsp;and ISIS-TE, to measure network delay, jitter, packet loss, ho=
p<br>
&nbsp; &nbsp;count, and bandwidth. &nbsp;The metrics defined in this docume=
nt provide a<br>
&nbsp; &nbsp;relatively comprehensive set of Cost Metrics for ALTO focusing=
 on<br>
&nbsp; &nbsp;traffic engineering. &nbsp;Additional Cost Metrics such as fin=
ancial cost<br>
&nbsp; &nbsp;metrics may be defined in other documents.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics" targe=
t=3D"_blank">https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics</a><=
br>
<br>
There's also a htmlized version available at:<br>
<a href=3D"http://tools.ietf.org/html/draft-wu-alto-te-metrics-00" target=
=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-te-metrics-00</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n until the htmlized version and diff are available at
<a href=3D"http://tools.ietf.org" target=3D"_blank">tools.ietf.org</a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" target=3D"_blank">ftp://ftp=
.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
I-D-Announce mailing list<br>
<a href=3D"mailto:I-D-Announce@ietf.org">I-D-Announce@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/i-d-announceInternet-Draft=
" target=3D"_blank">https://www.ietf.org/mailman/listinfo/i-d-announce<br>
Internet-Draft</a> directories: <a href=3D"http://www.ietf.org/shadow.html"=
 target=3D"_blank">
http://www.ietf.org/shadow.html</a> or <a href=3D"ftp://ftp.ietf.org/ietf/1=
shadow-sites.txt" target=3D"_blank">
ftp://ftp.ietf.org/ietf/1shadow-sites.txt</a><br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><o:p></o:p></p>
</div>
</div>
</body>
</html>

--_000_B8F9A780D330094D99AF023C5877DABA43C30E2Cnkgeml501mbschi_--

From sabine.randriamasy@alcatel-lucent.com  Thu Oct 31 05:06:04 2013
Return-Path: <sabine.randriamasy@alcatel-lucent.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 6650511E8151 for <alto@ietfa.amsl.com>; Thu, 31 Oct 2013 05:06:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.498
X-Spam-Level: 
X-Spam-Status: No, score=-10.498 tagged_above=-999 required=5 tests=[AWL=0.100, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id baNleBg9S-7h for <alto@ietfa.amsl.com>; Thu, 31 Oct 2013 05:05:56 -0700 (PDT)
Received: from ihemail4.lucent.com (ihemail4.lucent.com [135.245.0.39]) by ietfa.amsl.com (Postfix) with ESMTP id 2D56111E8263 for <alto@ietf.org>; Thu, 31 Oct 2013 05:05:46 -0700 (PDT)
Received: from fr711usmtp1.zeu.alcatel-lucent.com (h135-239-2-122.lucent.com [135.239.2.122]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id r9VC5VCx006324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 31 Oct 2013 07:05:32 -0500 (CDT)
Received: from FR712WXCHHUB03.zeu.alcatel-lucent.com (fr712wxchhub03.zeu.alcatel-lucent.com [135.239.2.74]) by fr711usmtp1.zeu.alcatel-lucent.com (GMO) with ESMTP id r9VC5UEx017049 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 31 Oct 2013 13:05:31 +0100
Received: from FR711WXCHMBA03.zeu.alcatel-lucent.com ([169.254.3.70]) by FR712WXCHHUB03.zeu.alcatel-lucent.com ([135.239.2.74]) with mapi id 14.02.0247.003; Thu, 31 Oct 2013 13:05:31 +0100
From: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
To: Qin Wu <bill.wu@huawei.com>, "Y. Richard Yang" <yry@cs.yale.edu>
Thread-Topic: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt
Thread-Index: AQHOziP6+J+FdtG9skmCafux6L7Mo5oBflNwgADGUaCAB7mdMIACSaUAgAFPngCAAPfZAIAALjXw
Date: Thu, 31 Oct 2013 12:05:30 +0000
Message-ID: <A7A5844EB93EB94AB22C2068B10AD65A48BC3217@FR711WXCHMBA03.zeu.alcatel-lucent.com>
References: <B8F9A780D330094D99AF023C5877DABA43C0E5CF@nkgeml501-mbs.china.huawei.com> <B6D287BF58D35D4B882E012AD3E1756167A767E4@ONWVEXCHMB04.ciena.com> <A7A5844EB93EB94AB22C2068B10AD65A48BC1892@FR711WXCHMBA03.zeu.alcatel-lucent.com> <CANUuoLpALthTm6Z6Kcyqqc6La=_syDWh=4Fm8MSvhYEKmUHtEg@mail.gmail.com> <A7A5844EB93EB94AB22C2068B10AD65A48BC308B@FR711WXCHMBA03.zeu.alcatel-lucent.com> <B8F9A780D330094D99AF023C5877DABA43C30E2C@nkgeml501-mbs.china.huawei.com>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABA43C30E2C@nkgeml501-mbs.china.huawei.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [135.239.27.38]
Content-Type: multipart/alternative; boundary="_000_A7A5844EB93EB94AB22C2068B10AD65A48BC3217FR711WXCHMBA03z_"
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39
Cc: IETF ALTO <alto@ietf.org>
Subject: Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 31 Oct 2013 12:06:04 -0000

--_000_A7A5844EB93EB94AB22C2068B10AD65A48BC3217FR711WXCHMBA03z_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Qin,

Please see my comments inline, I hope it addressed your questions
Best regards
Sabine


De : Qin Wu [mailto:bill.wu@huawei.com]
Envoy=E9 : jeudi 31 octobre 2013 10:47
=C0 : RANDRIAMASY, SABINE (SABINE); Y. Richard Yang
Cc : He, Peng; IETF ALTO
Objet : RE: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt

Hi, Richard, Sabine:
I think it is a very good idea to discuss schedule of TE metric as open iss=
ue to draft-wu-alto-te-metrics in ALTO session.
Please see my reply inline below.

Regards!
-Qin

From: RANDRIAMASY, SABINE (SABINE) [mailto:sabine.randriamasy@alcatel-lucen=
t.com]
Sent: Thursday, October 31, 2013 7:57 AM
To: Y. Richard Yang
Cc: Qin Wu; He, Peng; IETF ALTO
Subject: RE: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt

Hi Richard,

The ALTO Cost Schedule was not discussed in the draft because, rather than =
as a Cost Metric, it is proposed as a Cost Mode applicable to metrics that =
have values changing in a predictable way.

Definitely, except nominal capacity, TE metrics do have changing values, so=
metimes in a predicable way so that their ALTO abstraction can be exposed i=
n the schedule mode.

[Qin]: I agree TE metrics change over time, reporting TE metrics in a sched=
ule mode is very interesting idea.
However I am not sure each time when we provide TE metrics to alto client, =
we also MUST provide the schedule time associated with TE metrics.
[     ] The schedule time and other Schedule Mode attributes are only speci=
fied in the IRD. If you look at the example request/response in section 3.3=
.1 of http://tools.ietf.org/html/draft-randriamasy-alto-cost-schedule-02 th=
e client requests "cost metric" with "cost mode" (=3D schedule) and just ge=
ts a value array to be interpreted as specified in the IRD.
In some cases, the alto client only care about TE metrics rather than sched=
ule time associated TE metrics.
In some case, alto server only use new cost metrics as constraint attribute=
 when return routingcost value to the alt client and does not need to retur=
n other TE Metrics besides routing cost.

So supporting schedule of TE metric may not be a mandatory feature.
[     ] it does not need to. It is meant for applications (i) that are not =
real time and (ii) can schedule their connection at optimal times (iii) and=
 therefore would like to have value in the form of a schedule. The schedule=
 mode can co-exist with other modes such as numerical and ordinal, see IRD =
example in section 3.3.

As you pointed in thread "Re: [alto] ALTO Extension: Defining a Cost Metric=
s document?" (your e-mail dated 27/10/2013)
> The measurement infrastructure might collect data at 1 min interval, and =
ALTO exposes only hourly data to certain clients? It is policy controlled.

In such a case, the "unit" member describing the time intervals of the "cos=
t-scope" of the schedule capability specified in the IRD would be: ["hour",=
 1]. One interpretation of this is that the network provider operating the =
ALTO Server considers that there is no significant variations in the value =
observed and that the application using the ALTO Client can rely on this in=
formation to schedule its connections.

Ideally, a Cost Schedule should support the provision of information in tim=
e "units" with lengths guaranteeing that the underlying measurements have h=
omogeneous values.

The "unit" information could be completed with the attribute "Measurement i=
nterval", which indicates on which duration measurements are made or estima=
ted, in your example, 1 minute, and give a hint on the accuracy and reliabi=
lity of the provided ALTO information.  Besides, as you pointed, different =
network and ALTO Server operators may support different measurement interva=
ls.

Last, I believe that the more abstraction there is in an ALTO TE metric, th=
e closer the "Measurement interval" can be to the Schedule "unit" length, i=
f necessary of course.

[Qin]:  It is not clear to me whether the time is referred to the time when=
 TE metrics are sent or the time when TE metrics are received by ALTO serve=
r. This should be clear.
[     ] I don't really consider the time where ALTO Server receives informa=
tion as I think that if the ALTO Client trusts the Server,  it  is not supp=
osed to know it. On the other hand, the Server IRD exposes the dates of the=
 last and next update, and by the way the following other information on th=
e Schedule, see again IRD example.  (Again, this is the ancient cost-mode &=
 cost type encoding)

.............
"cost-constraints" : true,
           "cost-modes" : [ "numerical", "numerical", "schedule" ],
           "cost-types" : [ "routingcost", "hopcount", "pathoccupationcost"=
 ],
           "cost-scope":  [ "permanent", "permanent",
                            {"unit": ["hour", 1], "size": 24, "begin": 0,
                             "time zone": "UTC",
                             "lastupdate": mm/hh/dd/mm/yyyy,
                             "nextupdate": mm/hh/dd/mm/yyyy}
.............


The schedule mode only applies to metric "pathoccupationcost". In that case=
, values are provided in an array of 24 values, each representing a time in=
terval of 1 hour and the provided information starts at hour 0 (midnight).

Also it is better we don't mix measurement unit with measurement interval, =
they are two different things.

The unit here describes how to interpret the duration of the time interval =
on which each value of the array is provided.

Interested people may look at the Cost Schedule presentation on http://tool=
s.ietf.org/agenda/85/slides/slides-85-alto-4.pdf

Thanks,
Sabine



De : yang.r.yang@gmail.com<mailto:yang.r.yang@gmail.com> [mailto:yang.r.yan=
g@gmail.com] De la part de Y. Richard Yang
Envoy=E9 : mardi 29 octobre 2013 23:59
=C0 : RANDRIAMASY, SABINE (SABINE)
Cc : Qin Wu; He, Peng; IETF ALTO
Objet : Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt


Hi Sabine,

I found the "schedule" concept very interesting and can be quite useful, fo=
r applications to schedule large traffic. I read that this is not defined i=
n the draft in -te-metrics. Will you and Qin discuss this design in your sl=
ot?

Thanks!

Richard
On Oct 28, 2013 7:56 AM, "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy=
@alcatel-lucent.com<mailto:sabine.randriamasy@alcatel-lucent.com>> wrote:


-----Message d'origine-----
De : alto-bounces@ietf.org<mailto:alto-bounces@ietf.org> [mailto:alto-bounc=
es@ietf.org<mailto:alto-bounces@ietf.org>] De la part de He, Peng
Envoy=E9 : mercredi 23 octobre 2013 15:09
=C0 : Qin Wu; IETF ALTO
Objet : Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt


[     ] Hi Peng,
Please see below and let me know if this would meet your request,
Best regards
Sabine



Another side question: is there a 'cost' parameter that can show/represent =
the 'schedule' of the network links, e.g., before 12pm this link/tunnel wil=
l have say 100Mbps available, after 12pm, only 50mbps available, i.e., band=
width scheduling or similar? Or this is more a management system/controller=
/server related data?

[     ] There is a protocol extension proposal draft that proposes to provi=
de cost values w.r.t. time and is called "ALTO Cost Schedule". ALTO Cost Sc=
hedule is specified as a cost mode where the ALTO Cost values are provided =
in the form of an array, where each array element corresponds to a given ti=
me period and has a value applicable to this period. The granularity of the=
 time period, the number of provided values and other attributes are specif=
ied in the IRD. Note that the transaction format in this draft is compliant=
 with the ALTO protocol version issued before the ALTO format changes in th=
e Cost Type specification.

In your example, the granularity may be 12 hours slots or say 1 hour slots =
to allow finer grain cost valuation. If we assume 1 hour slots and the avai=
lability of a metric called "availbw" expressed in mbps, where values can b=
e provided both in regular 'numerical' mode with "permanent" validity and i=
n 'schedule' mode:

In the IRD we would have: (please forgive the possible mismatch of brackets=
)

   {

      ... usual ALTO resources ...

    "resources" : [
     .......

      {
         "uri" : "http://custom.alto.example.com/endpointcost/schedule/look=
up",
         "media-types" : [ "application/alto-endpointcost+json" ],
         "accepts" : [ "application/alto-endpointcostparams+json" ],
         "capabilities" : {
           "cost-constraints" : true,
           "cost-modes" : [ "numerical", "schedule" ],
           "cost-types" : [ "availbw", "availbw" ],
           "cost-scope":  [ "permanent",
                            {"unit": ["hour", 1], "size": 24, "begin": 0,
                             "time zone": "UTC",
                             "lastupdate": mm/hh/dd/mm/yyyy,
                             "nextupdate": mm/hh/dd/mm/yyyy}
           ]
         }
       }
     ]
   }

If the ALTO Servers provides availbw =3D 100mbps for the first 12 hours and=
 50mbps for the next 12 hours on the tunnel with example endpoints (192.0.2=
.2, 192.0.2.89), the ALTO request and response in schedule mode would look =
like:

POST /endpointcost/lookup HTTP/1.1
  Host: alto.example.com<http://alto.example.com>
  Content-Length: [TODO]
  Content-Type: application/alto-endpointcostparams+json
  Accept: application/alto-endpointcost+json,application/alto-error+json

  {
    "cost-type" : ["availbw"],
    "cost-mode" : ["schedule"],
    "endpoints" : {
      "srcs": [ "ipv4:192.0.2.2" ],
      "dsts": [
        "ipv4:192.0.2.89",
        "ipv4:198.51.100.34",
        "ipv4:203.0.113.45"
      ]
    }
  }


  HTTP/1.1 200 OK
  Content-Length: [TODO]
  Content-Type: application/alto-endpointcost+json

  {
    "meta" : {},
    "data" : {
      "cost-type" : ["availbw "],
      "cost-mode" : ["schedule"],
      "map" : {
        "ipv4:192.0.2.2": {
          "ipv4:192.0.2.89"    : [100, 100, 100, 100, 100, 100, 100, 100, 1=
00, 100, 100, 100, 50 ... (12 same values)],
          "ipv4:198.51.100.34" : [... (24 values) ...],
          "ipv4:203.0.113.45"  : [... (24 values) ...]
        }
      }
    }
  }

The proposal is documented in http://tools.ietf.org/html/draft-randriamasy-=
alto-cost-schedule-02 where Section 3.3 provides an example on the Schedule=
 attributes in the IRD, and section 3.3.1 provides example transactions wit=
h the Schedule mode.


[     ]
Regards,
Peng



-----Original Message-----
From: alto-bounces@ietf.org<mailto:alto-bounces@ietf.org> [mailto:alto-boun=
ces@ietf.org<mailto:alto-bounces@ietf.org>] On Behalf Of Qin Wu
Sent: Tuesday, October 22, 2013 9:17 PM
To: IETF ALTO
Subject: [alto] FW: I-D Action: draft-wu-alto-te-metrics-00.txt

Hi, all:
We have posted a new draft to define a set of new cost metrics that are rel=
ated to traffic engineering performance information.

http://tools.ietf.org/html/draft-wu-alto-te-metrics-00

Please review the draft and provide your feedback and comments.

Regards!
-Qin
-----Original Message-----
From: i-d-announce-bounces@ietf.org<mailto:i-d-announce-bounces@ietf.org> [=
mailto:i-d-announce-bounces@ietf.org<mailto:i-d-announce-bounces@ietf.org>]=
 On Behalf Of internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>
Sent: Monday, October 21, 2013 2:08 PM
To: i-d-announce@ietf.org<mailto:i-d-announce@ietf.org>
Subject: I-D Action: draft-wu-alto-te-metrics-00.txt


A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.


        Title           : ALTO Traffic Engineering Cost Metrics
        Author(s)       : Qin Wu
                          Young Lee
                          Dhruv Dhody
                          Sabine Randriamasy
        Filename        : draft-wu-alto-te-metrics-00.txt
        Pages           : 26
        Date            : 2013-10-20

Abstract:
   Cost Metric is a basic concept in Application-Layer Traffic
   Optimization (ALTO).  It is used in both the Cost Map Service and the
   Endpoint Cost Service.  Future extensions to ALTO may also use Cost
   Metric.

   Different applications may benefit from different Cost Metrics.  For
   example, a Resource Consumer may prefer Resource Providers that have
   low latency to the Resource Consumer.  However the base ALTO protocol
   [ALTO] has defined only a single cost metric, i.e., the generic
   "routingcost" metric (Sec. 14.2 of ALTO base specification [ALTO]).

   In this document, we define XXX Cost Metrics, derived from OSPF-TE
   and ISIS-TE, to measure network delay, jitter, packet loss, hop
   count, and bandwidth.  The metrics defined in this document provide a
   relatively comprehensive set of Cost Metrics for ALTO focusing on
   traffic engineering.  Additional Cost Metrics such as financial cost
   metrics may be defined in other documents.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-wu-alto-te-metrics-00


Please note that it may take a couple of minutes from the time of submissio=
n until the htmlized version and diff are available at tools.ietf.org<http:=
//tools.ietf.org>.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
I-D-Announce mailing list
I-D-Announce@ietf.org<mailto:I-D-Announce@ietf.org>
https://www.ietf.org/mailman/listinfo/i-d-announce
Internet-Draft directories: http://www.ietf.org/shadow.html or ftp://ftp.ie=
tf.org/ietf/1shadow-sites.txt
_______________________________________________
alto mailing list
alto@ietf.org<mailto:alto@ietf.org>
https://www.ietf.org/mailman/listinfo/alto
_______________________________________________
alto mailing list
alto@ietf.org<mailto:alto@ietf.org>
https://www.ietf.org/mailman/listinfo/alto
_______________________________________________
alto mailing list
alto@ietf.org<mailto:alto@ietf.org>
https://www.ietf.org/mailman/listinfo/alto

--_000_A7A5844EB93EB94AB22C2068B10AD65A48BC3217FR711WXCHMBA03z_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
pre
	{mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Texte de bulles Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.PrformatHTMLCar
	{mso-style-name:"Pr=E9format=E9 HTML Car";
	mso-style-priority:99;
	mso-style-link:"Pr=E9format=E9 HTML";
	font-family:"Courier New";}
span.TextedebullesCar
	{mso-style-name:"Texte de bulles Car";
	mso-style-priority:99;
	mso-style-link:"Texte de bulles";
	font-family:"Tahoma","sans-serif";}
span.HTMLChar
	{mso-style-name:"HTML \9884\8BBE\683C\5F0F Char";
	mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F";
	font-family:Consolas;}
p.HTML, li.HTML, div.HTML
	{mso-style-name:"HTML \9884\8BBE\683C\5F0F";
	mso-style-priority:99;
	mso-style-link:"HTML \9884\8BBE\683C\5F0F Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.Char
	{mso-style-name:"\6279\6CE8\6846\6587\672C Char";
	mso-style-priority:99;
	mso-style-link:\6279\6CE8\6846\6587\672C;
	font-family:SimSun;}
p.a, li.a, div.a
	{mso-style-name:\6279\6CE8\6846\6587\672C;
	mso-style-priority:99;
	mso-style-link:"\6279\6CE8\6846\6587\672C Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle26
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle27
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle28
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Qin,<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Please see my comments in=
line, I hope it addressed your questions<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Best regards<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Sabine<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Qin Wu [<a href=3D"mailto:=
bill.wu@huawei.com">mailto:bill.wu@huawei.com</a>]
<br>
<b>Envoy=E9&nbsp;:</b> jeudi 31 octobre 2013 10:47<br>
<b>=C0&nbsp;:</b> RANDRIAMASY, SABINE (SABINE); Y. Richard Yang<br>
<b>Cc&nbsp;:</b> He, Peng; IETF ALTO<br>
<b>Objet&nbsp;:</b> RE: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt<=
o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span lang=3D"FR"><o:p>=
&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">Hi, Richard, Sabine:<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">I think it is a very good idea to discuss schedule of TE metric as open=
 issue to draft-wu-alto-te-metrics in ALTO session.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">Please see my reply inline below.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">Regards!<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">-Qin<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><b><span style=3D"font-=
size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</s=
pan></b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quo=
t;sans-serif&quot;"> RANDRIAMASY, SABINE (SABINE) [<a href=3D"mailto:sabine=
.randriamasy@alcatel-lucent.com">mailto:sabine.randriamasy@alcatel-lucent.c=
om</a>]
<br>
<b>Sent:</b> Thursday, October 31, 2013 7:57 AM<br>
<b>To:</b> Y. Richard Yang<br>
<b>Cc:</b> Qin Wu; He, Peng; IETF ALTO<br>
<b>Subject:</b> RE: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt<o:p>=
</o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">Hi Richard,<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">The ALTO Cost Schedule was not discussed in the draft because, rather t=
han as a Cost Metric, it is proposed as a Cost Mode applicable
 to metrics that have values changing in a predictable way.&nbsp; <o:p></o:=
p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">Definitely, except nominal capacity, TE metrics do have changing values=
, sometimes in a predicable way so that their ALTO abstraction
 can be exposed in the schedule mode. <o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">[Qin]: I agree TE metrics change over time, reporting TE metrics in a s=
chedule mode is very interesting idea.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">However I am not sure each time when we provide TE metrics to alto clie=
nt, we also MUST provide the schedule time associated with
 TE metrics.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] The schedule time and other Schedule Mode attributes are only spec=
ified in the IRD. If you look at the example request/response in section 3.=
3.1
 of <a href=3D"http://tools.ietf.org/html/draft-randriamasy-alto-cost-sched=
ule-02">
http://tools.ietf.org/html/draft-randriamasy-alto-cost-schedule-02</a> the =
client requests &#8220;cost metric&#8221; with &#8220;cost mode&#8221; (=3D=
 schedule) and just gets a value array to be interpreted as specified in th=
e IRD.</span></i></b><span style=3D"font-size:11.0pt;font-family:&quot;Cali=
bri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">In some cases, the alto client only care about TE metrics rather than s=
chedule time associated TE metrics.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">In some case, alto server only use new cost metrics as constraint attri=
bute when return routingcost value to the alt client and does
 not need to return other TE Metrics besides routing cost. <o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">So supporting schedule of TE metric may not be a mandatory feature.<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] it does not need to. It is meant for applications (i) that are not=
 real time and (ii) can schedule their connection at optimal times (iii) an=
d
 therefore would like to have value in the form of a schedule. The schedule=
 mode can co-exist with other modes such as numerical and ordinal, see IRD =
example in section 3.3.
</span></i></b><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&qu=
ot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">As you pointed in thread &quot;Re: [alto] ALTO Extension: Defining a Co=
st Metrics document?&quot; (your e-mail dated 27/10/2013)<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">&gt; The measurement infrastructure might collect data at 1 min interva=
l, and ALTO exposes only hourly data to certain clients? It is
 policy controlled.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">In such a case, the &quot;unit&quot; member describing the time interva=
ls of the &quot;cost-scope&quot; of the schedule capability specified in th=
e IRD
 would be: [&quot;hour&quot;, 1]. One interpretation of this is that the ne=
twork provider operating the ALTO Server considers that there is no signifi=
cant variations in the value observed and that the application using the AL=
TO Client can rely on this information to
 schedule its connections. <o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">Ideally, a Cost Schedule should support the provision of information in=
 time &quot;units&quot; with lengths guaranteeing that the underlying
 measurements have homogeneous values. <o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">The &quot;unit&quot; information could be completed with the attribute =
&quot;Measurement interval&quot;, which indicates on which duration measure=
ments
 are made or estimated, in your example, 1 minute, and give a hint on the a=
ccuracy and reliability of the provided ALTO information. &nbsp;Besides, as=
 you pointed, different network and ALTO Server operators may support diffe=
rent measurement intervals. &nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">Last, I believe that the more abstraction there is in an ALTO TE metric=
, the closer the &quot;Measurement interval&quot; can be to the Schedule
 &quot;unit&quot; length, if necessary of course. <o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">[Qin]: &nbsp;It is not clear to me whether the time is referred to the =
time when TE metrics are sent or the time when TE metrics are received
 by ALTO server. This should be clear.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">[&nbsp;&nbsp;&nbsp;=
&nbsp; ] I don&#8217;t really consider the time where ALTO Server receives =
information as I think that if the ALTO Client trusts the Server,&nbsp; it&=
nbsp; is not supposed
 to know it. On the other hand, the Server IRD exposes the dates of the las=
t and next update, and by the way the following other information on the Sc=
hedule, see again IRD example. &nbsp;(Again, this is the ancient cost-mode =
&amp; cost type encoding)<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></=
span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&#8230;&#8230;&#823=
0;&#8230;.<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;">&quot;cost-constraints&quot; : true,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; &quot;cost-modes&quot; : [ &quot;numerical&quot;, &quot;numerical&quot;,=
 &quot;schedule&quot; ],<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; &quot;cost-types&quot; : [ &quot;routingcost&quot;, &quot;hopcount&quot;=
, &quot;pathoccupationcost&quot; ],<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; &quot;cost-scope&quot;:&nbsp; [ &quot;permanent&quot;, &quot;permanent&q=
uot;,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&quot;unit&quot;: [&quot;hour&quot;, 1], &qu=
ot;size&quot;: 24, &quot;begin&quot;: 0,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;time zone&quot;: &quot;UTC&quot;,=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;lastupdate&quot;: mm/hh/dd/mm/yyy=
y,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;nextupdate&quot;: mm/hh/dd/mm/yyy=
y}<o:p></o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&#8230;&#8230;&#823=
0;&#8230;.<o:p></o:p></span></i></b></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></=
span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The schedule mode o=
nly applies to metric &#8220;pathoccupationcost&#8221;. In that case, value=
s are provided in an array of 24 values, each representing a time interval
 of 1 hour and the provided information starts at hour 0 (midnight). <o:p><=
/o:p></span></i></b></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></=
span></i></b></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">Also it is better we don&#8217;t mix measurement unit with measurement =
interval, they are two different things.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><b><i><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">The unit here descr=
ibes how to interpret the duration of the time interval on which each value=
 of the array is provided.</span></i></b><span style=3D"font-size:11.0pt;fo=
nt-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D">Interested people may look at the Cost Schedule presentation on
<a href=3D"http://tools.ietf.org/agenda/85/slides/slides-85-alto-4.pdf">htt=
p://tools.ietf.org/agenda/85/slides/slides-85-alto-4.pdf</a><o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F49=
7D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span lang=3D"FR" style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D">Thanks,
<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span lang=3D"FR" style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D">Sabine<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span lang=3D"FR" style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span lang=3D"FR" style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span lang=3D"FR" style=
=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;=
;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><b><span lang=3D"FR" st=
yle=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quo=
t;">De&nbsp;:</span></b><span lang=3D"FR" style=3D"font-size:10.0pt;font-fa=
mily:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href=3D"mailto:yang.r.yang@gmail.com">yang.r.yang@gmail.com</a> [<a href=
=3D"mailto:yang.r.yang@gmail.com">mailto:yang.r.yang@gmail.com</a>]
<b>De la part de</b> Y. Richard Yang<br>
<b>Envoy=E9&nbsp;:</b> mardi 29 octobre 2013 23:59<br>
<b>=C0&nbsp;:</b> RANDRIAMASY, SABINE (SABINE)<br>
<b>Cc&nbsp;:</b> Qin Wu; He, Peng; IETF ALTO<br>
<b>Objet&nbsp;:</b> Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt<=
o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><span lang=3D"FR"><o:p>=
&nbsp;</o:p></span></p>
<p style=3D"margin-left:72.0pt">Hi Sabine,<o:p></o:p></p>
<p style=3D"margin-left:72.0pt">I found the &quot;schedule&quot; concept ve=
ry interesting and can be quite useful, for applications to schedule large =
traffic. I read that this is not defined in the draft in -te-metrics. Will =
you and Qin discuss this design in your slot?<o:p></o:p></p>
<p style=3D"margin-left:72.0pt">Thanks!<o:p></o:p></p>
<p style=3D"margin-left:72.0pt">Richard<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt">On Oct 28, 2013 7:56 AM=
, &quot;RANDRIAMASY, SABINE (SABINE)&quot; &lt;<a href=3D"mailto:sabine.ran=
driamasy@alcatel-lucent.com">sabine.randriamasy@alcatel-lucent.com</a>&gt; =
wrote:<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:72.0pt"><br>
<br>
-----Message d'origine-----<br>
De&nbsp;: <a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a=
> [mailto:<a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a=
>] De la part de He, Peng<br>
Envoy=E9&nbsp;: mercredi 23 octobre 2013 15:09<br>
=C0&nbsp;: Qin Wu; IETF ALTO<br>
Objet&nbsp;: Re: [alto] I-D Action: draft-wu-alto-te-metrics-00.txt<br>
<br>
<br>
[ &nbsp; &nbsp; ] Hi Peng,<br>
Please see below and let me know if this would meet your request,<br>
Best regards<br>
Sabine<br>
<br>
<br>
<br>
Another side question: is there a 'cost' parameter that can show/represent =
the 'schedule' of the network links, e.g., before 12pm this link/tunnel wil=
l have say 100Mbps available, after 12pm, only 50mbps available, i.e., band=
width scheduling or similar? Or
 this is more a management system/controller/server related data?<br>
<br>
[ &nbsp; &nbsp; ] There is a protocol extension proposal draft that propose=
s to provide cost values w.r.t. time and is called &quot;ALTO Cost Schedule=
&quot;. ALTO Cost Schedule is specified as a cost mode where the ALTO Cost =
values are provided in the form of an array, where each
 array element corresponds to a given time period and has a value applicabl=
e to this period. The granularity of the time period, the number of provide=
d values and other attributes are specified in the IRD. Note that the trans=
action format in this draft is compliant
 with the ALTO protocol version issued before the ALTO format changes in th=
e Cost Type specification.<br>
<br>
In your example, the granularity may be 12 hours slots or say 1 hour slots =
to allow finer grain cost valuation. If we assume 1 hour slots and the avai=
lability of a metric called &quot;availbw&quot; expressed in mbps, where va=
lues can be provided both in regular 'numerical'
 mode with &quot;permanent&quot; validity and in 'schedule' mode:<br>
<br>
In the IRD we would have: (please forgive the possible mismatch of brackets=
)<br>
<br>
&nbsp; &nbsp;{<br>
<br>
&nbsp; &nbsp; &nbsp; ... usual ALTO resources ...<br>
<br>
&nbsp; &nbsp; &quot;resources&quot; : [<br>
&nbsp; &nbsp; &nbsp;.......<br>
<br>
&nbsp; &nbsp; &nbsp; {<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;uri&quot; : &quot;<a href=3D"http:/=
/custom.alto.example.com/endpointcost/schedule/lookup" target=3D"_blank">ht=
tp://custom.alto.example.com/endpointcost/schedule/lookup</a>&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;media-types&quot; : [ &quot;applica=
tion/alto-endpointcost&#43;json&quot; ],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;accepts&quot; : [ &quot;application=
/alto-endpointcostparams&#43;json&quot; ],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;capabilities&quot; : {<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cost-constraints&quot; : tru=
e,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cost-modes&quot; : [ &quot;n=
umerical&quot;, &quot;schedule&quot; ],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cost-types&quot; : [ &quot;a=
vailbw&quot;, &quot;availbw&quot; ],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;cost-scope&quot;: &nbsp;[ &q=
uot;permanent&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; {&quot;unit&quot;: [&quot;hour&quot;, 1], &quot;size=
&quot;: 24, &quot;begin&quot;: 0,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp;&quot;time zone&quot;: &quot;UTC&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp;&quot;lastupdate&quot;: mm/hh/dd/mm/yyyy,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp;&quot;nextupdate&quot;: mm/hh/dd/mm/yyyy}<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;]<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br>
&nbsp; &nbsp; &nbsp; &nbsp;}<br>
&nbsp; &nbsp; &nbsp;]<br>
&nbsp; &nbsp;}<br>
<br>
If the ALTO Servers provides availbw =3D 100mbps for the first 12 hours and=
 50mbps for the next 12 hours on the tunnel with example endpoints (192.0.2=
.2, 192.0.2.89), the ALTO request and response in schedule mode would look =
like:<br>
<br>
POST /endpointcost/lookup HTTP/1.1<br>
&nbsp; Host: <a href=3D"http://alto.example.com" target=3D"_blank">alto.exa=
mple.com</a><br>
&nbsp; Content-Length: [TODO]<br>
&nbsp; Content-Type: application/alto-endpointcostparams&#43;json<br>
&nbsp; Accept: application/alto-endpointcost&#43;json,application/alto-erro=
r&#43;json<br>
<br>
&nbsp; {<br>
&nbsp; &nbsp; &quot;cost-type&quot; : [&quot;availbw&quot;],<br>
&nbsp; &nbsp; &quot;cost-mode&quot; : [&quot;schedule&quot;],<br>
&nbsp; &nbsp; &quot;endpoints&quot; : {<br>
&nbsp; &nbsp; &nbsp; &quot;srcs&quot;: [ &quot;ipv4:192.0.2.2&quot; ],<br>
&nbsp; &nbsp; &nbsp; &quot;dsts&quot;: [<br>
&nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:192.0.2.89&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:198.51.100.34&quot;,<br>
&nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:203.0.113.45&quot;<br>
&nbsp; &nbsp; &nbsp; ]<br>
&nbsp; &nbsp; }<br>
&nbsp; }<br>
<br>
<br>
&nbsp; HTTP/1.1 200 OK<br>
&nbsp; Content-Length: [TODO]<br>
&nbsp; Content-Type: application/alto-endpointcost&#43;json<br>
<br>
&nbsp; {<br>
&nbsp; &nbsp; &quot;meta&quot; : {},<br>
&nbsp; &nbsp; &quot;data&quot; : {<br>
&nbsp; &nbsp; &nbsp; &quot;cost-type&quot; : [&quot;availbw &quot;],<br>
&nbsp; &nbsp; &nbsp; &quot;cost-mode&quot; : [&quot;schedule&quot;],<br>
&nbsp; &nbsp; &nbsp; &quot;map&quot; : {<br>
&nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:192.0.2.2&quot;: {<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:192.0.2.89&quot; &nbsp; &nbsp=
;: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 50 ... (12 =
same values)],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:198.51.100.34&quot; : [... (2=
4 values) ...],<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;ipv4:203.0.113.45&quot; &nbsp;: [.=
.. (24 values) ...]<br>
&nbsp; &nbsp; &nbsp; &nbsp; }<br>
&nbsp; &nbsp; &nbsp; }<br>
&nbsp; &nbsp; }<br>
&nbsp; }<br>
<br>
The proposal is documented in <a href=3D"http://tools.ietf.org/html/draft-r=
andriamasy-alto-cost-schedule-02" target=3D"_blank">
http://tools.ietf.org/html/draft-randriamasy-alto-cost-schedule-02</a> wher=
e Section 3.3 provides an example on the Schedule attributes in the IRD, an=
d section 3.3.1 provides example transactions with the Schedule mode.<br>
<br>
<br>
[ &nbsp; &nbsp; ]<br>
Regards,<br>
Peng<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: <a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a> [m=
ailto:<a href=3D"mailto:alto-bounces@ietf.org">alto-bounces@ietf.org</a>] O=
n Behalf Of Qin Wu<br>
Sent: Tuesday, October 22, 2013 9:17 PM<br>
To: IETF ALTO<br>
Subject: [alto] FW: I-D Action: draft-wu-alto-te-metrics-00.txt<br>
<br>
Hi, all:<br>
We have posted a new draft to define a set of new cost metrics that are rel=
ated to traffic engineering performance information.<br>
<br>
<a href=3D"http://tools.ietf.org/html/draft-wu-alto-te-metrics-00" target=
=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-te-metrics-00</a><br>
<br>
Please review the draft and provide your feedback and comments.<br>
<br>
Regards!<br>
-Qin<br>
-----Original Message-----<br>
From: <a href=3D"mailto:i-d-announce-bounces@ietf.org">i-d-announce-bounces=
@ietf.org</a> [mailto:<a href=3D"mailto:i-d-announce-bounces@ietf.org">i-d-=
announce-bounces@ietf.org</a>] On Behalf Of
<a href=3D"mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a><br=
>
Sent: Monday, October 21, 2013 2:08 PM<br>
To: <a href=3D"mailto:i-d-announce@ietf.org">i-d-announce@ietf.org</a><br>
Subject: I-D Action: draft-wu-alto-te-metrics-00.txt<br>
<br>
<br>
A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.<br>
<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; Title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : ALTO=
 Traffic Engineering Cost Metrics<br>
&nbsp; &nbsp; &nbsp; &nbsp; Author(s) &nbsp; &nbsp; &nbsp; : Qin Wu<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; Young Lee<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; Dhruv Dhody<br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; Sabine Randriamasy<br>
&nbsp; &nbsp; &nbsp; &nbsp; Filename &nbsp; &nbsp; &nbsp; &nbsp;: draft-wu-=
alto-te-metrics-00.txt<br>
&nbsp; &nbsp; &nbsp; &nbsp; Pages &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 26<b=
r>
&nbsp; &nbsp; &nbsp; &nbsp; Date &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:=
 2013-10-20<br>
<br>
Abstract:<br>
&nbsp; &nbsp;Cost Metric is a basic concept in Application-Layer Traffic<br=
>
&nbsp; &nbsp;Optimization (ALTO). &nbsp;It is used in both the Cost Map Ser=
vice and the<br>
&nbsp; &nbsp;Endpoint Cost Service. &nbsp;Future extensions to ALTO may als=
o use Cost<br>
&nbsp; &nbsp;Metric.<br>
<br>
&nbsp; &nbsp;Different applications may benefit from different Cost Metrics=
. &nbsp;For<br>
&nbsp; &nbsp;example, a Resource Consumer may prefer Resource Providers tha=
t have<br>
&nbsp; &nbsp;low latency to the Resource Consumer. &nbsp;However the base A=
LTO protocol<br>
&nbsp; &nbsp;[ALTO] has defined only a single cost metric, i.e., the generi=
c<br>
&nbsp; &nbsp;&quot;routingcost&quot; metric (Sec. 14.2 of ALTO base specifi=
cation [ALTO]).<br>
<br>
&nbsp; &nbsp;In this document, we define XXX Cost Metrics, derived from OSP=
F-TE<br>
&nbsp; &nbsp;and ISIS-TE, to measure network delay, jitter, packet loss, ho=
p<br>
&nbsp; &nbsp;count, and bandwidth. &nbsp;The metrics defined in this docume=
nt provide a<br>
&nbsp; &nbsp;relatively comprehensive set of Cost Metrics for ALTO focusing=
 on<br>
&nbsp; &nbsp;traffic engineering. &nbsp;Additional Cost Metrics such as fin=
ancial cost<br>
&nbsp; &nbsp;metrics may be defined in other documents.<br>
<br>
<br>
The IETF datatracker status page for this draft is:<br>
<a href=3D"https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics" targe=
t=3D"_blank">https://datatracker.ietf.org/doc/draft-wu-alto-te-metrics</a><=
br>
<br>
There's also a htmlized version available at:<br>
<a href=3D"http://tools.ietf.org/html/draft-wu-alto-te-metrics-00" target=
=3D"_blank">http://tools.ietf.org/html/draft-wu-alto-te-metrics-00</a><br>
<br>
<br>
Please note that it may take a couple of minutes from the time of submissio=
n until the htmlized version and diff are available at
<a href=3D"http://tools.ietf.org" target=3D"_blank">tools.ietf.org</a>.<br>
<br>
Internet-Drafts are also available by anonymous FTP at:<br>
<a href=3D"ftp://ftp.ietf.org/internet-drafts/" target=3D"_blank">ftp://ftp=
.ietf.org/internet-drafts/</a><br>
<br>
_______________________________________________<br>
I-D-Announce mailing list<br>
<a href=3D"mailto:I-D-Announce@ietf.org">I-D-Announce@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/i-d-announceInternet-Draft=
" target=3D"_blank">https://www.ietf.org/mailman/listinfo/i-d-announce<br>
Internet-Draft</a> directories: <a href=3D"http://www.ietf.org/shadow.html"=
 target=3D"_blank">
http://www.ietf.org/shadow.html</a> or <a href=3D"ftp://ftp.ietf.org/ietf/1=
shadow-sites.txt" target=3D"_blank">
ftp://ftp.ietf.org/ietf/1shadow-sites.txt</a><br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><br>
_______________________________________________<br>
alto mailing list<br>
<a href=3D"mailto:alto@ietf.org">alto@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/alto" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/alto</a><o:p></o:p></p>
</div>
</div>
</body>
</html>

--_000_A7A5844EB93EB94AB22C2068B10AD65A48BC3217FR711WXCHMBA03z_--

From vkg@bell-labs.com  Thu Oct 31 05:38:12 2013
Return-Path: <vkg@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 C6FC121E8092 for <alto@ietfa.amsl.com>; Thu, 31 Oct 2013 05:38:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.524
X-Spam-Level: 
X-Spam-Status: No, score=-110.524 tagged_above=-999 required=5 tests=[AWL=0.075, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5SE7BuS3ur9I for <alto@ietfa.amsl.com>; Thu, 31 Oct 2013 05:38:08 -0700 (PDT)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by ietfa.amsl.com (Postfix) with ESMTP id D34BC11E8138 for <alto@ietf.org>; Thu, 31 Oct 2013 05:38:07 -0700 (PDT)
Received: from usnavsmail4.ndc.alcatel-lucent.com (usnavsmail4.ndc.alcatel-lucent.com [135.3.39.12]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id r9VCc68x011135 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <alto@ietf.org>; Thu, 31 Oct 2013 07:38:06 -0500 (CDT)
Received: from umail.lucent.com (umail.ndc.lucent.com [135.3.40.61]) by usnavsmail4.ndc.alcatel-lucent.com (8.14.3/8.14.3/GMO) with ESMTP id r9VCc5XC005754 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <alto@ietf.org>; Thu, 31 Oct 2013 07:38:05 -0500
Received: from shoonya.ih.lucent.com (shoonya.ih.lucent.com [135.185.237.229]) by umail.lucent.com (8.13.8/TPES) with ESMTP id r9VCc5PA000064 for <alto@ietf.org>; Thu, 31 Oct 2013 07:38:05 -0500 (CDT)
Message-ID: <52724F1F.9050206@bell-labs.com>
Date: Thu, 31 Oct 2013 07:37:51 -0500
From: "Vijay K. Gurbani" <vkg@bell-labs.com>
Organization: Bell Laboratories, Alcatel-Lucent
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130805 Thunderbird/17.0.8
MIME-Version: 1.0
To: alto <alto@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
X-Scanned-By: MIMEDefang 2.64 on 135.3.39.12
Subject: [alto] Reminder: Slides for discussion in Vancouver
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 31 Oct 2013 12:38:12 -0000

The folks who are presenting in Vancouver, this is a gentle reminder to
get your slides to me and Enrico preferably by the weekend.  As of
right now, the ALTO WG is scheduled during the Mon PM slot.

Please convert your presentations to PDF before sending it to us.

Thanks,

- vijay
-- 
Vijay K. Gurbani, Bell Laboratories, Alcatel-Lucent
1960 Lucent Lane, Rm. 9C-533, Naperville, Illinois 60563 (USA)
Email: vkg@{bell-labs.com,acm.org} / vijay.gurbani@alcatel-lucent.com
Web: http://ect.bell-labs.com/who/vkg/  | Calendar: http://goo.gl/x3Ogq
