Internet-Draft | CDNI Private Features Metadata | September 2024 |
Warshavsky, et al. | Expires 7 March 2025 | [Page] |
This specification defines a mechanism for downstream content delivery networks (dCDNs) to define private extensions to the metadata model that are mutually agreed upon between participating upstream content delivery networks (uCDNs) and dCDNs.¶
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 7 March 2025.¶
Copyright (c) 2024 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 Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
There is a natural tension between standardization and differentiation - all CDNs and Open Caching systems are not identical, and not all content providers use the same methodologies for controlling access to their resources.¶
While [RFC8006] provides the GenericMetadata object as the basis for extensibility, creating a formal structure for private features as a distinct MI object conveys the explicit understanding of the usage context. This document details a private features mechanism that allows for custom configuration metadata to be easily added, enabling rapid development of new features, and allowing companies to mutually agree on a feature that may not be of general interest to the industry.¶
Through the CDNI Footprint & Capabilities Interface [RFC8008], dCDNs advertise their capabilities to uCDNs. This capabilities advertisement allows a dCDN to declare the private features that it supports.¶
Examples of private features include:¶
Custom authentication schemes¶
Definitions of custom scripts to be invoked on the CDN during request processing¶
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 [RFC2119].¶
The dCDN MAY gather a certain number of private features (i.e., not [yet] adopted in a standard or considered marginal) that it MAY want to expose to the content provider and/or the uCDN. Although private, the announcement, selection, and configuration of this private feature can be done through the CDNI interfaces.¶
MI.PrivateFeatureList is a GenericMetadata configuration object used as a base generic object that permits the control of private features.¶
Property: features¶
Description: The list of feature configuration objects.¶
Type: Array of MI.PrivateFeature objects¶
Mandatory-to-Specify: Yes¶
MI.PrivateFeature is a subobject of MI.PrivateFeatureList that defines a single private feature and contains the following properties:¶
Property: feature-oid¶
Description: The feature organization ID is the owner/organization that has specified the feature, typically the name of the company or organization defining the private feature.¶
Type: String¶
Mandatory-to-Specify: Yes¶
Property: feature-type¶
Description: Indicates the type/name of the private feature configuration object, driving the definition of feature-value.¶
Type: String¶
Mandatory-to-Specify: Yes¶
Property: feature-value¶
Description: The feature configuration object.¶
Type: Object. Format and object type is defined by the value of the feature-type property above.¶
Mandatory-to-Specify: Yes¶
Note that the private features exposed by the dCDN can be advertised through a dedicated FCI object.¶
The following example illustrates the Broadpeak S4Streaming feature:¶
Named private features provides an alternative for specifying private features inside the MI.PrivateFeatureList object, allowing them to be specified individually rather than as part of a group under the host match and path match inheritance/override hierarchy.A named private feature corresponding to a feature inside an MI.PrivateFeatureList object in the same generic metadata array, takes precedence and overrides the latter.¶
MI.NamedPrivateFeatureType is a structured string corresponding to the MI.PrivateFeature object by encoding its two identifier properties feature-oid and feature-type into a string that can be incorporated into the extended definition of MI_payloadtype.¶
Property:¶
Description: A string in the form of MI.PrivateFeature.<org id>.<feature id>where org-id consists of alphanumeric characters, and feature-id MAY also contain dots for additional internal namespacing within the feature name.¶
Type: String, of pattern: : ^MI\.PrivateFeature\.[a-z0-9A-Z]+(?:\.[a-z0-9A-Z]+){1,}$¶
The actual structure of the MI.NamedPrivateFeatureValue object is the one defined in the property feature-value of the object MI.PrivateFeature.¶
Type: object¶
This following example illustrates the transformation from an MI.PrivateFeature object residing inside an MI.PrivateFeatureList, into an MI.GenericMetadata object residing in a metadata array of a host or a path match.¶
While the MI objects introduced in this document allow a uCDN to configure private features with any required configuration metadata, FCI.PrivateFeatures enables a dCDN to advertise the set of private features that it supports.¶
Property: features¶
Description: The list of supported private features.¶
Type: Array of nested objects of FCI.PrivateFeature¶
Example:¶
This subobject identifies a specific private feature in the FCI capabilities advertisement, and contains the following properties:¶
Property: feature-oid¶
Description: The owner/organization that has specified the feature.¶
Type: String¶
Mandatory-to-Specify: Yes¶
Property: feature-type¶
The FCI and MI objects defined in the present document are transferred via the interfaces defined in CDNI [RFC8006] which describes how to secure these interfaces protecting integrity and confidentiality while ensuring the authenticity of the dCDN and uCDN.¶
This document requests the registration of the following entries under the "CDNI Payload Types" registry hosted by IANA:¶
Payload Type | Specification |
MI.PrivateFeatureList | RFCthis |
MI.PrivateFeature | RFCthis |
MI.NamedPrivateFeatureType | RFCthis |
MI.NamedPrivateFeatureValue | RFCthis |
FCI.PrivateFeatures | RFCthis |
FCI.PrivateFeature | RFCthis |
The authors would like to express their gratitude to the members of the Streaming Video Technology Alliance [SVTA] Open Caching Working Group for their guidance / contribution / reviews ...)¶
Particulary the following people contribute in one or other way to the content of this draft:¶