Network Working Group | O. Finkelman |
Internet-Draft | Qwilt |
Intended status: Standards Track | S. Mishra |
Expires: November 17, 2018 | Verizon |
May 16, 2018 |
CDNI SVA Request Routing Extensions
draft-finkelman-cdni-rr-sva-extensions-01
The Open Caching working group of the Streaming Video Alliance is focused on the delegation of video delivery requests from commercial CDNs to a caching layer at the ISP. In that aspect, Open Caching is a specific use case of CDNI, where the commercial CDN is the upstream CDN (uCDN) and the ISP caching layer is the downstream CDN (dCDN).
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."
This Internet-Draft will expire on November 17, 2018.
Copyright (c) 2018 IETF Trust and the persons identified as the document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
This document defines objects needed for Open Caching request routing. For that purpose it extends CDNI metadata [RFC8006] and CDNI Footprint and Capabilities [RFC8008]. For consistency, this document follows the CDNI notation of uCDN (the commercial CDN) and dCDN (the ISP caching layer).
This document also registers CDNI Payload Types [RFC7736] for the defined objects:
This document reuses the terminology defined in [RFC6707], [RFC8006], [RFC8007], and [RFC8008].
Additionally, the following terms are used throughout this document and are defined as follows:
Iterative request redirect as defined in section 1.1 of [RFC7336] requries the provisioning of a redirect target address to be used by the uCDN in order to redirect to the dCDN. The redirect target is defined in this document as part of the Footprint and Capabilities interface.
Use cases
The Redirect Target capability object is used to indicate the target address the uCDN should use in order to redirect a client to the dCDN. A target may be attached to a specific uCDN host, or a list of uCDN hosts, or it can be set globally for all the hosts of the uCDN.
When dCDN is attaching the redirect target to a specific uCDN host or a list of uCDN hosts, the dCDN MUST advertise them within the Redirect Target Capabilty object as "redirecting-hosts". In that case, the uCDN can redirect to that dCDN address, only if the request is of one of these uCDN hosts.
A redirect target for DNS redirection is the FQDN to be used as a CNAME for the uCDN host (see [RFC1034]).
A redirect target for HTTP redirection is the hostname to be used as the first path segment in an absolute URI which is used as the Location header of the HTTP rediret response (see section 7.1.2 of [RFC7231]).
Example of Redirect Target Capability object that advertises a dCDN target address which is attached to a specific list of uCDN "redirecting-hosts". A uCDN host that is included in that list can redirect to the advertised dCDN redirect target.
{ "capabilities": [ { "capability-type": "FCI.RedirectTarget", "capability-value": { "redirecting-hosts": [ "a.service123.ucdn.example.com", "b.service123.ucdn.example.com" ] "dns-target": { "host": "service123.ucdn.example.dcdn.com" } "http-target": { <Properties of an HttpTarget object> } }, "footprints": [ <Footprint objects> ] } ] }
The DnsTarget object is the target address for CNAME delegation from the uCDN to the dCDN.
The HttpTarget object is the target address for http redirection from the uCDN to the dCDN.
Example of HttpTarget object with a path-prefix and include-redirecting-host:
{ "host": "us-east1.dcdn.com", "path-prefix": "/cache/1/", "include-redirecting-host": true }
Example of a HTTP request for content at uCDN host "a.service123.ucdn.example.com" and the corresponding HTTP response with Location header used for redirecting the client to the dCDN using the the http-target in the above example:
Request: GET /vod/1/movie.mp4 HTTP/1.1 Host: a.service123.ucdn.example.com Response: HTTP/1.1 302 Found Location: http://us-east1.dcdn.com/cache/1/ a.service123.ucdn.example.com/vod/1/movie.mp4
Open Caching requires that the uCDN should provide fallback target server to the dCDN to be used in cases where the dCDN cannot properly handle the request. To avoid redirect loops, the fallback target server's address at the uCDN MUST be differnet than the original address at the uCDN from which the client was redirected to the dCDN. The uCDN MUST avoid further redirection when receiving the client request at the fallback target. The fallback target is defined as a generic metadata object (see section 3.2 of [RFC8006])
Use cases
The Fallback target metadata object is used to indicate the target address the dCDN should use in order to redirect a client back to the uCDN. Fallback target is represented as endpoint objects as defined in section 4.3.3 of [RFC8006].
The uCDN fallback target address may be used as a DNS CNAME in case of DNS redirection mode or a host name for HTTP redirect, in the case of HTTP redirection mode.
When using HTTP redirect to route a client request back to the uCDN, it is the dCDN responsibility to use the original URL path as the client would have used for the original uCDN request, stripping, if needed, the dCDN path-prefix and the uCDN host name from the redirect URL which is used for requesting the content from the dCDN.
Example of MI.FallbackTarget Metadata object (which contains two fallback-address objects) that describes which hosts addreses in the uCDN the dCDN should use in order to redirect the client back to a fallback address at the uCDN.
{ "generic-metadata-type": "MI.FallbackTarget", "generic-metadata-value": { "host": "fallback-a.service123.ucdn.example" } }
This document requests the registration of the following CDNI Payload Types under the IANA CDNI Payload Type registry defined in [RFC7736]:
Payload Type | Specification |
---|---|
FCI.RedirectTarget | RFCthis |
MI.FallbackTarget | RFCthis |
[RFC Editor: Please replace RFCthis with the published RFC number for this document.]
Purpose: The purpose of this payload type is to distinguish RedirectTarget FCI objects
Interface: FCI
Encoding: see Section 2
Purpose: The purpose of this payload type is to distinguish FallbackTarget MI objects (and any associated capability advertisement)
Interface: MI/FCI
Encoding: see Section 3
This specification is in accordance with the CDNI Metadata Interface and the CDNI Request Routing: Footprint and Capabilities Semantics. As such, it is subject to the security considerations as defined in [RFC8006] and [RFC8008] respectively.
TBD.
TBD.
[RFC6707] | Niven-Jenkins, B., Le Faucheur, F. and N. Bitar, "Content Distribution Network Interconnection (CDNI) Problem Statement", RFC 6707, DOI 10.17487/RFC6707, September 2012. |
[RFC7336] | Peterson, L., Davie, B. and R. van Brandenburg, "Framework for Content Distribution Network Interconnection (CDNI)", RFC 7336, DOI 10.17487/RFC7336, August 2014. |
[RFC7736] | Ma, K., "Content Delivery Network Interconnection (CDNI) Media Type Registration", RFC 7736, DOI 10.17487/RFC7736, December 2015. |