RFC 0000 | MAMS | December 2019 |
Kanugovi, et al. | Informational | [Page] |
In multiconnectivity scenarios, the clients can simultaneously connect to multiple networks based on different access technologies and network architectures like Wi-Fi, LTE, and DSL. Both the quality of experience of the users and the overall network utilization and efficiency may be improved through the smart selection and combination of access and core network paths that can dynamically adapt to changing network conditions.¶
This document presents a unified problem statement and introduces a solution for managing multiconnectivity. The solution has been developed by the authors based on their experiences in multiple standards bodies, including the IETF and the 3GPP. However, this document is not an Internet Standards Track specification, and it does not represent the consensus opinion of the IETF.¶
This document describes requirements, solution principles, and the architecture of the Multi‑Access Management Services (MAMS) framework. The MAMS framework aims to provide best performance while being easy to implement in a wide variety of multiconnectivity deployments. It specifies the protocol for (1) flexibly selecting the best combination of access and core network paths for the uplink and downlink, and (2) determining the user-plane treatment (e.g., tunneling, encryption) and traffic distribution over the selected links, to ensure network efficiency and the best possible application performance.¶
This document is not an Internet Standards Track specification; it is published for informational purposes.¶
This is a contribution to the RFC Series, independently of any other RFC stream. The RFC Editor has chosen to publish this document at its discretion and makes no statement about its value for implementation or deployment. Documents approved for publication by the RFC Editor are not candidates for any level of Internet Standard; see Section 2 of RFC 7841.¶
Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at https://www.rfc-editor.org/info/rfc0000.¶
Copyright (c) 2019 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.¶
Multi-Access Management Services (MAMS) is a programmable framework that provides mechanisms for the flexible selection of network paths in a multi‑access (MX) communication environment, based on the application's needs. The MAMS framework leverages network intelligence and policies to dynamically adapt traffic distribution across selected paths and user‑plane treatments (e.g., encryption needed for transport over Wi-Fi, or tunneling needed to overcome a NAT between client and multipath proxy) to changing network/link conditions. The network path selection and configuration messages are carried as user‑plane data between the functional elements in the network and the client, and thus without any impact on the control‑plane signaling schemes of the underlying access networks. For example, in a multi-access network with LTE and Wi‑Fi technologies, existing LTE and Wi‑Fi signaling procedures will be used to set up the LTE and Wi‑Fi connections, respectively, and MAMS-specific control‑plane messages are carried as LTE or Wi‑Fi user‑plane data. The MAMS framework defined in this document provides the capability to make a smart selection of a flexible combination of access paths and core network paths, as well as to choose the user‑plane treatment when the traffic is distributed across the selected paths. Thus, it is a broad programmable framework that provides functions beyond the simple sharing of network policies such as those provided by the Access Network Discovery and Selection Function (ANDSF) [ANDSF], which offers policies and rules for assisting 3GPP clients to discover and select available access networks. Further, it allows the choice and configuration of user‑plane treatment for the traffic over the paths, depending on the application's needs.¶
The MAMS framework mechanisms are not dependent on any specific access network types or user‑plane protocols (e.g., TCP, UDP, Generic Routing Encapsulation (GRE) [RFC2784] [RFC2890], Multipath TCP (MPTCP) [RFC6824]). The MAMS framework coexists and complements the existing protocols by providing a way to negotiate and configure those protocols to match their use to a given multi‑access scenario based on client and network capabilities, and the specific needs of each access network path. Further, the MAMS framework allows load balancing of the traffic flows across the selected access network paths, and the exchange of network state information to be used for network intelligence to optimize the performance of such protocols.¶
This document presents the requirements, solution principles, functional architecture, and protocols for realizing the MAMS framework. An important goal for the MAMS framework is to ensure that it requires either minimum dependency or (better) no dependency on the actual access technologies of the participating links, beyond the fact that MAMS functional elements form an IP overlay across the multiple paths. This allows the scheme to be "future proof" by allowing independent technology evolution of the existing access and core networks as well as seamless integration of new access technologies.¶
The solution described in this document has been developed by the authors, based on their experiences in multiple standards bodies, including the IETF and the 3GPP. However, this document is not an Internet Standards Track specification, and it does not represent the consensus opinion of the IETF.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
Typically, a client has access to multiple communication networks based on different technologies for accessing application services, for example, LTE, Wi‑Fi, DSL, or MulteFire. Different technologies exhibit benefits and limitations in different scenarios. For example, Wi‑Fi provides high throughput for end users when their Wi‑Fi coverage is good, but the throughput degrades significantly as a given user moves closer to the edge of its Wi‑Fi coverage area (typically in the range of a few tens of meters) or if the user population is large (due to a contention-based Wi‑Fi access scheme). In LTE networks, the capacity is often constrained by the limited availability of licensed spectrum. However, the quality of the service is predictable even in multi‑user scenarios, due to controlled scheduling and licensed-spectrum usage.¶
Additionally, the use of a particular access network path is often coupled with the use of its associated core network and the services that are offered by that network. For example, in an enterprise that has deployed both Wi‑Fi and LTE networks, the enterprise services, such as printers and corporate audio/video conferencing, are accessible only via Wi‑Fi access connected to the enterprise-hosted (Wi‑Fi) core, whereas the LTE access can be used to get operator services, including access to the public Internet.¶
Thus, application performance in different scenarios becomes dependent on the choice of access networks (e.g., Wi‑Fi, LTE) and the network and transport protocols used (e.g., VPN, MPTCP, GRE). Therefore, to achieve the best possible application performance in a wide range of scenarios, a framework is needed that allows the selection and flexible combination of access and core network paths as well as the protocols used for uplink and downlink data delivery.¶
For example, in uncongested scenarios and when the user's Wi‑Fi coverage is good, to ensure best performance for enterprise applications at all times, it would be beneficial to use Wi‑Fi access for both the uplink and downlink for connecting to enterprise applications. However, in congested scenarios or when the user is getting close to the edge of its Wi‑Fi coverage area, the use of Wi‑Fi in the uplink by multiple users can lead to degraded capacity and increased delays due to contention. In this case, it would be beneficial to at least use the LTE access for increased uplink coverage, while Wi‑Fi may still continue to be used for the downlink.¶
The requirements set out in this section define the behavior of the MAMS mechanism and the related functional elements.¶
The access nodes MAY use different technology types (LTE, Wi‑Fi, etc.). The framework, however, MUST be agnostic about the type of underlying technology used by the access network.¶
The network path selection and user data distribution MUST work transparently across various transport deployments that include end‑to‑end IPsec, VPNs, and middleboxes like NATs and proxies.¶
A client SHOULD be able to transmit on the uplink and receive on the downlink, using one or more access networks. The selections of the access paths for the uplink and downlink SHOULD happen independently.¶
A client SHOULD flexibly select the core independently of the access paths used to reach the core, depending on the application's needs, local policies, and the result of MAMS control‑plane negotiation.¶
The framework MUST have the ability to determine the quality of each of the network paths, e.g., access link delay and capacity. This information regarding network path quality needs to be considered in the logic for the selection of the combination of network paths to be used for transporting user data. The path selection algorithm can use the information regarding network path quality, in addition to other considerations like network policies, for optimizing network usage and enhancing the Quality of Experience (QoE) delivered to the user.¶
The framework MUST support the distribution and aggregation of user data across multiple network paths at the IP layer. The client SHOULD be able to leverage the combined capacity of the multiple network connections by enabling the simultaneous transport of user data over multiple network paths. If required, packet reordering needs to be done at the receiver. The framework MUST allow the flexibility to choose the flow‑steering and aggregation protocols based on capabilities supported by the client and the network user‑plane entities. The multiconnection aggregation solution MUST support existing transport and network‑layer protocols like TCP, UDP, and GRE. The framework MUST allow the use and configuration of existing aggregation protocols such as MPTCP and the Stream Control Transmission Protocol (SCTP) [RFC4960].¶
The framework MUST leverage commonly available transport, routing, and tunneling capabilities to provide user‑plane interworking functionality. The addition of functional elements in the user‑plane path between the client and the network MUST NOT impact the access‑technology-specific procedures. This makes the solution easy to deploy and scale when different networks are added and removed.¶
The client MUST use the control-plane protocol to negotiate the following with the network: (1) the choice of access and core network paths for both the uplink and downlink, and (2) the user‑plane protocol treatment. The control plane MUST configure the actual user‑plane data distribution function per this negotiation. A common control protocol SHOULD allow the creation of multiple user‑plane function instances with potentially different user‑plane (e.g., tunneling) protocol types. This enables maintaining a clear separation between the control‑plane and user‑plane functions, allowing the framework to be scalable and extensible, e.g., using Software-Defined Networking (SDN)‑based architectures and implementations.¶
When switching data traffic from one path (connection) to another, packets may be lost or delivered out of order; this will have negative impact on the performance of higher‑layer protocols, e.g., TCP. The framework SHOULD provide the necessary mechanisms to ensure in‑order delivery at the receiver, e.g., during path switching. The framework MUST NOT cause any packet loss beyond losses that access network mobility functions may cause.¶
Different network paths may have different security and middlebox (e.g., NAT) configurations. These configurations will lead to the use of different tunneling protocols for the transport of data between the network user‑plane function and the client. As a result, different effective payload sizes per network path are possible (e.g., due to variable encapsulation header overheads). Hence, the MAMS framework SHOULD support the fragmentation of a single payload across MTU‑sized IP packets to avoid IP packet fragmentation when aggregating packets from different paths. Further, the concatenation of multiple IP packets into a single IP packet to improve efficiency in packing the MTU size SHOULD also be supported.¶
The framework SHOULD enable the identification of optimal parameters that may be used for configuring the middleboxes, like radio link dormancy timers, binding expiry times, and supported MTUs, for efficient operation of the user‑plane protocols, based on parameters negotiated between the client and the network, e.g., configuring a longer binding expiry time in NATs when UDP transport is used, in contrast to the scenario where TCP is configured at the transport layer.¶
The framework MUST support both the implementation of policies at the client and guidance from the network for network path selection that will address different application requirements.¶
The control-plane signaling MUST NOT be dependent on the underlying access technology procedures, i.e., it is carried transparently, like application data, on the user plane. The MAMS framework SHOULD support the delivery of control-plane signaling over existing Internet protocols, e.g., TCP or UDP.¶
There can be multiple instances of the control-plane and user‑plane functional elements of the framework, either collocated or hosted on separate network elements and reachable via any of the available user‑plane paths. The client MUST have the flexibility to choose the appropriate control‑plane instance in the network and use the control‑plane signaling to choose the desired user‑plane functional element instances. The client's choice can be based on considerations such as, but not limited to, the quality of the link through which the network function is reachable, client preferences, preconfiguration, etc.¶
This document describes the Multi‑Access Management Services (MAMS) framework for dynamic selection of a flexible combination of access and core network paths for the uplink and downlink, as well as the user‑plane treatment for the traffic spread across the selected links. The user-plane paths, and access and core network connections, can be selected independently for the uplink and downlink. For example, the network paths chosen for the uplink do not apply any constraints on the choice of paths for the downlink. The uplink and downlink network paths can be chosen based on the application needs and on the characteristics and available resources on different network connections. For example, a Wi‑Fi connection can be chosen for the downlink for transporting high-bandwidth data from the network to the client, whereas an LTE connection can be chosen to carry the low-bandwidth feedback to the application server.¶
Also, depending on the characteristics of the access network link, different processing would be needed on the user‑plane packets on different network paths. Encryption would be needed on a Wi‑Fi link to secure user‑plane packets, but not on an LTE link. Tunneling would be needed to ensure client and network end‑point reachability over NATs. Such differentiated user‑plane treatment can be accomplished by configuration of user plane‑protocols (e.g., IPsec) specific to each link.¶
The MAMS framework consists of clearly separated control‑ and user‑plane functions in the network and the client. The control‑plane protocol allows the configuration of the user‑plane protocols and desired network paths for the transport of application traffic. The control‑plane messages are carried as user‑plane data over any of the available network paths between the peer control‑plane functional elements in the client and the network. Multiple user‑plane paths are dynamically distributed across multiple access networks and aggregated in the network (by the N-MADP). The access network's diversity is not exposed to the application servers, but is kept within the scope of the elements defined in this framework. This reduces the burden placed on application servers that would otherwise have to react to access link changes caused by mobility events or changing link characteristics.¶
The selection of paths and user‑plane treatment of the traffic is based on (1) the negotiation of client and network capabilities, and (2) link probing (i.e., checking the quality of links between the user-plane functional elements at the client and the network). This framework enables leveraging network intelligence to set up and dynamically configure the best access network path combination based on client and network capabilities, an application's needs, and knowledge of the network state.¶
Figure 1 illustrates the MAMS architecture for the scenario where a client is served by multiple (n) networks. It also introduces the following functional elements:¶
The NCM is the functional element in the network that handles the MAMS control‑plane procedures. It configures the network (N-MADP) and client (C-MADP) user‑plane functions, such as negotiating with the client for the use of available access network paths, protocols, and rules for processing the user‑plane traffic, as well as link‑monitoring procedures. The control‑plane messages between the NCM and the CCM are transported as an overlay on the user plane, without any impact on the underlying access networks.¶
The CCM is the peer functional element in the client for handling MAMS control‑plane procedures. It manages multiple network connections at the client. It is responsible for the exchange of MAMS signaling messages with the NCM for supporting such functions as UL and DL user network path configuration for transporting user data packets, link probing, and reporting to support adaptive network path selection by the NCM. In the downlink, for user data received by the client, it configures the C-MADP such that application data packets can be received over any access link so that the packets will reach the appropriate application on the client. In the uplink, for the data transmitted by the client, it configures the C-MADP to determine the best access links to be used for uplink data based on a combination of local and network policies delivered by the NCM.¶
The N-MADP is the functional element in the network that handles the forwarding of user data traffic across multiple network paths, as well as other user‑plane functionalities (e.g., encapsulation, fragmentation, concatenation, reordering, retransmission). The N-MADP is the distribution node that routes (1) the uplink user‑plane traffic to the appropriate anchor connection toward the core network, and (2) the downlink user traffic to the client over the appropriate delivery connections. In the downlink, the NCM configures the use of delivery connections and user‑plane protocols at the N‑MADP for transporting user data traffic. The N‑MADP SHOULD implement ECMP support for the downlink traffic. Alternatively, it MAY be connected to a router with ECMP functionality. The load‑balancing algorithm at the N‑MADP is configured by the NCM, based on static and/or dynamic network policies like assigning access and core paths for a specific user data traffic type, user‑volume-based percentage distribution, and link availability and feedback information from the exchange of MAMS signaling messages with the CCM at the client. The N‑MADP can be configured with appropriate user‑plane protocols to support both per‑flow and per‑packet traffic distribution across the delivery connections. In the uplink, the N‑MADP selects the appropriate anchor connection over which to forward the user data traffic received from the client (via the delivery connections). The forwarding rules in the uplink at the N‑MADP are configured by the NCM based on application requirements, e.g., enterprise-hosted application flows via a Wi‑Fi anchor or mobile-operator-hosted applications via the cellular core.¶
The C-MADP is the functional element in the client that handles the MAMS user‑plane data procedures. The C-MADP is configured by the CCM, based on the signaling exchange with the NCM and local policies at the client. The CCM configures the selection of delivery connections and the user‑plane protocols to be used for uplink user data traffic based on the signaling messages exchanged with the NCM. The C-MADP entity handles the forwarding of user‑plane data across multiple delivery connections and associated user‑plane functions (e.g., encapsulation, fragmentation, concatenation, reordering, retransmissions).¶
The NCM and N-MADP can be either collocated or instantiated on different network nodes. The NCM can set up multiple N-MADP instances in the network. The NCM controls the selection of the N‑MADP instance by the client and the rules for the distribution of user traffic across the N‑MADP instances. This is beneficial in multiple deployment scenarios, like the following examples:¶
Thus, the MAMS architecture flexibly addresses multiple network deployments.¶
This section describes the protocol structure for the MAMS user‑plane and control‑plane functional elements.¶
Figure 2 shows the default MAMS control‑plane protocol stack. WebSocket [RFC6455] is used for transporting management and control messages between the NCM and the CCM.¶
Figure 3 shows the MAMS user‑plane protocol stack for transporting the user payload, e.g., an IP Protocol Data Unit (PDU).¶
The MAMS user-plane protocol consists of the following two layers:¶
The CCM and NCM exchange signaling messages to configure the user‑plane functions via the C-MADP and the N-MADP at the client and the network, respectively. The means for the CCM to obtain the NCM credentials (Fully Qualified Domain Name (FQDN) or IP address) for sending the initial discovery messages are out of scope for this document. As an example, the client can obtain the NCM credentials by using such methods as provisioning or DNS queries. Once the discovery process is successful, the (initial) NCM can update and assign additional NCM addresses, e.g., based on Mobile Country Code (MCC) / Mobile Network Code (MNC) tuple information received in the MX Discover message, for sending subsequent control‑plane messages.¶
The CCM discovers and exchanges capabilities with the NCM. The NCM provides the credentials of the N‑MADP endpoint and negotiates the parameters for the user plane with the CCM. The CCM configures the C‑MADP to set up the user‑plane path (e.g., MPTCP/UDP Proxy connection) with the N‑MADP, based on the credentials (e.g., (MPTCP/UDP) Proxy IP address and port, associated core network path), and the parameters exchanged with the NCM. Further, the NCM and CCM exchange link status information to adapt traffic steering and user‑plane treatment to dynamic network conditions. The key procedures are described in detail in the following subsections.¶
Each MAMS control message consists of the following common fields:¶
This section describes the common procedures for MAMS control messages.¶
After sending a MAMS control message, the MAMS control‑plane peer (NCM or CCM) waits for a duration of MAMS_TIMEOUT ms before timing out in cases where a response was expected. The sender of the message will retransmit the message for MAMS_RETRY times before declaring failure if no response is received. A failure implies that the MAMS peer is dead or unreachable, and the sender reverts to native non‑multi‑access / single-path mode. The CCM may initiate the MAMS discovery procedure for re‑establishing the MAMS session.¶
MAMS control-plane peers execute the keep-alive procedures to ensure that the other peers are reachable and to recover from dead-peer scenarios. Each MAMS control‑plane endpoint maintains a Keep‑Alive timer that is set for a duration of MAMS_KEEP_ALIVE_TIMEOUT. The Keep‑Alive timer is reset whenever the peer receives a MAMS control message. When the Keep‑Alive timer expires, an MX Keep‑Alive Request is sent.¶
The values for MAMS_RETRY and MAMS_KEEP_ALIVE_TIMEOUT parameters used in keep‑alive procedures are deployment dependent, and the means for obtaining them are out of scope for this document. As an example, the client and network can obtain the values using provisioning. On receipt of an MX Keep‑Alive Request, the receiver responds with an MX Keep‑Alive Response. If the sender does not receive a MAMS control message in response to MAMS_RETRY retries of the MX Keep‑Alive Request, the MAMS peer declares that the peer is dead or unreachable. The CCM MAY initiate the MAMS discovery procedure for re‑establishing the MAMS session.¶
Additionally, the CCM SHALL immediately send an MX Keep‑Alive Request to the NCM whenever it detects a handover from one base station / access point to another. During this time, the client SHALL stop using MAMS user‑plane functionality in the uplink direction until it receives an MX Keep‑Alive Response from the NCM.¶
The MX Keep‑Alive Request includes the following information:¶
Figure 5 shows the MAMS discovery and capability exchange procedure.¶
This procedure consists of the following key steps:¶
Step 1 (discovery): The CCM periodically sends an MX Discover message to a predefined (NCM) IP address/port until an MX System Info message is received in acknowledgment.¶
The MX Discover message includes the following information:¶
The MX System Info message includes the following information:¶
Step 2 (capability exchange): The CCM learns the IP address and port from the MX System Info message. It then sends the MX Capability REQ message, which includes the following parameters:¶
Number of Anchor Connections (core networks).¶
For each anchor connection, the following parameters are included:¶
Number of Delivery Connections (access links).¶
For each delivery connection, the following parameters are included:¶
MX Convergence Method Support List:¶
MX Adaptation Method Support List:¶
In response, the NCM creates a unique identity for the CCM session and sends the MX Capability Response, including the following information:¶
Number of Anchor Connections (core networks):¶
For each anchor connection, the following parameters are included:¶
Number of Delivery Connections (access links):¶
For each delivery connection, the following parameters are included:¶
MX Convergence Method Support List:¶
MX Adaptation Method Support List:¶
Unique Session ID: Unique session identifier for the CCM that set up the connection. If the session already exists, then the existing unique session identifier is returned.¶
In response to the MX Capability Response, the CCM sends a confirmation (or rejection) in the MX Capability Acknowledge. The MX Capability Acknowledge includes the following parameters:¶
Acknowledgment: An indication of whether the client has accepted or rejected the capability exchange phase.¶
If the NCM receives an MX_REJECT, the current MAMS session will be terminated.¶
If the CCM can no longer continue with the current capabilities, it SHOULD send an MX Session Termination Request to terminate the MAMS session. In response, the NCM SHOULD send an MX Session Termination Response to confirm the termination.¶
Figure 6 shows the user-plane (UP) configuration procedure.¶
This procedure consists of the following two key steps:¶
These steps are elaborated as follows.¶
Reconfiguration: When the client detects that the link is up/down or the IP address changes (e.g., via APIs provided by the client OS), the CCM sends an MX Reconfiguration Request to set up, update, or release the connection. The message SHOULD include the following information:¶
If the Reconfiguration Action type is set to "setup" or "update", then the message includes the following parameters:¶
At the beginning of a connection setup, the CCM informs the NCM of the connection status using the MX Reconfiguration Request with the Reconfiguration Action type set to "setup". The NCM acknowledges the connection setup status and exchanges parameters with the CCM for user‑plane setup, as described below.¶
Setup of User-Plane Protocols: Based on the negotiated capabilities, the NCM sets up the user‑plane (Adaptation Layer and Convergence Layer) protocols at the N‑MADP and informs the CCM of the user‑plane protocols to be set up at the client (C‑MADP) and the parameters for the C‑MADP to connect to the N‑MADP.¶
The MX UP Setup Configuration Request is used to create (multiple) MADP instances, with each anchor connection having one or more configurations, namely MX Configurations. The MX UP Setup Configuration Request consists of the following parameters:¶
Number of Anchor Connections (core networks).¶
For each anchor connection, the following parameters are included:¶
Number of Active MX Configurations (included only if more than one MX configuration is active for the anchor connection).¶
For each active MX configuration, the following parameters are included:¶
MX Convergence Method. One of the following:¶
MX Convergence Method Parameters:¶
MX Convergence Control Parameters (included if any MX Control PDU types (e.g., Probe-REQ/ACK) are supported):¶
Number of Delivery Connections.¶
For each delivery connection, include the following:¶
For example, when LTE and Wi-Fi are the two user‑plane accesses, the NCM conveys to the CCM that IPsec needs to be set up as the MX Adaptation Layer over the Wi-Fi access, using the following parameters: IPsec endpoint IP address, and Pre-Shared Key. No Adaptation Layer is needed if it is considered secure with no NAT, or a Client NAT may be used over the LTE access.¶
Similarly, as an example of the MX Convergence Method, the configuration indicates the convergence method as the MPTCP proxy, along with parameters for a connection to the MPTCP proxy: namely the IP address and port of the MPTCP proxy for TCP applications.¶
Once the user‑plane protocols are configured, the CCM informs the NCM of the status via the MX UP Setup Confirmation. The MX UP Setup Confirmation consists of the following parameters:¶
Path quality estimations can be done either passively or actively. Traffic measurements in the network can be performed passively by comparing the real-time data throughput of the client with the capacity available in the network. In special deployments where the NCM has interfaces with access nodes, direct interfaces can be used to gather information regarding path quality. For example, the utilization of the LTE access node (also known as enhanced Node B), to which the client is attached, could be used as an indicator for path quality estimations without creating any extra traffic overhead. Active measurements by the client provide an alternative way to estimate path quality.¶
The NCM sends the following configuration parameters in the MX Path Estimation Request to the CCM:¶
The CCM configures the C-MADP for probe receipt based on these parameters and for collection of the statistics according to the following configuration.¶
Init Probe Results Configuration:¶
Active Probe Results Configuration:¶
The user‑plane probing is divided into two phases: the Initialization phase and the Active phase.¶
During the Initialization phase, the NCM configures the N-MADP to send an Idle Probe-REQ message. The CCM collects the Idle Probe statistics from the C‑MADP and sends the MX Path Estimation Results message to the NCM per the Initialization Probe Results configuration.¶
During the Active phase, the NCM configures the N-MADP to send an Active Probe-REQ message. The C-MADP calculates the metrics as specified by the Active Probe Results configuration. The CCM collects the Active Probe statistics from the C‑MADP and sends the MX Path Estimation Results message to the NCM per the Active Probe Results configuration.¶
The following subsections define the control PDU encoding for Keep-Alive and Probe-REQ/ACK messages to support path quality estimation.¶
Control PDUs are sent as UDP messages between the C-MADP and the N‑MADP to exchange control messages for keep-alive or path quality estimation. MX probe parameters are negotiated during the user-plane setup phase (MX UP Setup Configuration Request and MX UP Setup Confirmation). Figure 8 shows the MX Control PDU format with the following fields:¶
Type (1 byte): The type of the MX Control message.¶
The MX Control PDU is sent as a normal user‑plane packet over the desired delivery connection whose quality and reachability need to be determined.¶
The "Type" field is set to "0" for Keep-Alive messages. The C-MADP may periodically send a Keep-Alive message over one or multiple delivery connections, especially if UDP tunneling is used as the adaptation method for the delivery connection with a NAT function on the path.¶
A Keep-Alive message is 2 bytes long and consists of the following field:¶
The "Type" field is set to "1" for Probe-REQ/ACK messages. The N-MADP may send the Probe-REQ message for path quality estimation. In response, the C-MADP may return the Probe-ACK message.¶
A Probe-REQ message consists of the following fields:¶
Probing Flag (1 byte):¶
The "R-CID" field is only present if both Bit 0 and Bit 2 of the "Probing Flag" field are set to "1". Moreover, Bit 2 of the "Probing Flag" field SHOULD be set to "0" if Bit 0 is "0", indicating that the Probe-ACK message is not expected.¶
If the "R-CID" field is not present, but Bit 0 of the "Probing Flag" field is set to "1", the Probe-ACK message SHOULD be sent over the same delivery connection as the Probe-REQ message.¶
The "Padding" field is used to control the length of the Probe-REQ message.¶
The C-MADP SHOULD send the Probe-ACK message in response to a Probe-REQ message with the Probe-ACK flag set to "1".¶
A Probe-ACK message is 3 bytes long and consists of the following field:¶
The NCM sends an MX Traffic Steering Request to steer data traffic. It is also possible to send data traffic over multiple connections simultaneously, i.e., aggregation. The message includes the following information:¶
For the number of specific UL traffic templates, the message includes the following:¶
In response, the CCM sends an MX Traffic Steering Response, including the following information:¶
The CCM sends an MX Application MADP Association Request to request the association of a specific application flow with a specific MADP instance ID for the anchor connection with multiple active MX configurations. The MADP Instance ID is a tuple (Anchor Connection ID, MX Configuration ID). This provides the capability for the client to indicate the user‑plane processing that needs to be associated with different application flows depending on the needs of those flows. The application flow is identified by its associated Traffic Flow Template.¶
The MX Application MADP Association Request includes the following information:¶
In response, the NCM sends an MX Application MADP Association Response, including the following information:¶
The NCM indicates the preferred network list to the CCM to guide the client regarding networks that it should connect to. To indicate preferred Wi-Fi networks, the NCM sends the list of WLANs, each represented by an SSID (Service Set Identifier)/BSSID (Basic Service Set Identifier)/HESSID (Homogeneous Extended Service Set Identifier) as defined in [IEEE-80211]), available in the MX SSID Indication.¶
The NCM configures the CCM with the different parameters (e.g., radio link information), with the associated thresholds to be reported by the client. The MX Measurement Configuration message contains the following parameters for each delivery connection:¶
If the connection type is Wi-Fi:¶
If the connection type is LTE:¶
If the connection type is 5G NR:¶
The MX Measurement Report contains the following parameters:¶
For each delivery connection, include the following:¶
If the connection type is Wi-Fi:¶
If the connection type is LTE:¶
If the connection type is 5G NR:¶
At any point in MAMS processing, if the CCM or NCM is no longer able to support the MAMS functions, then either of them can initiate a termination procedure by sending an MX Session Termination Request to the peer. The peer SHALL acknowledge the termination by sending an MX Session Termination Response message. After the session is disconnected, the CCM SHALL start a new procedure with an MX Discover message. An MX Session Termination Request shall contain a Unique Session ID and the reason for the termination. Possible reasons for termination are:¶
The CCM sends the MX Network Analytics Request to the NCM to request information related to such network parameters as bandwidth, latency, jitter, and signal quality, based on the application of analytics at the network (utilizing the received path measurements and client measurement reporting).¶
The MX Network Analytics Request consists of the following parameters:¶
The NCM sends the MX Network Analytics Response to convey analytics information that might be of interest to the CCM. This message will include network parameters with their predicted likelihoods.¶
The MX Network Analytics Response consists of the following parameters:¶
Number of Delivery Connections.¶
For each delivery connection, include the following:¶
Access Link Identifier:¶
Link Quality Indicator:¶
Bandwidth:¶
Jitter:¶
Latency:¶
Signal Quality:¶
Figure 16 illustrates the MAMS signaling mechanism for negotiation of network paths and flow protocols between the client and the network. In this example scenario, the client is connected to two networks (LTE and Wi‑Fi).¶
The CCM and NCM negotiate capabilities and parameters for establishing network paths. The negotiated capabilities and parameters are then used to configure user‑plane functions, i.e., the N‑MADP at the network and the C‑MADP at the client.¶
The CCM and NCM can further exchange messages containing access link measurements for link maintenance by the NCM. The NCM evaluates the link conditions in the UL and DL across LTE and Wi‑Fi, based on link measurements reported by the CCM and/or link‑probing techniques, and determines the policy for UL and DL user data distribution. The NCM and CCM also negotiate application‑level policies for categorizing applications, e.g., based on the Differentiated Services Code Point (DSCP), destination IP address, and determination of which available network path needs to be used for transporting data of that category of applications. The NCM configures the N-MADP, and the CCM configures the C-MADP, based on the negotiated application policies. The CCM may apply local application policies, in addition to the application policy conveyed by the NCM.¶
The MAMS framework leverages technologies developed in the IETF (such as MPTCP and GRE) and enables a control‑plane framework to negotiate the use of these protocols between the client and the network. It also addresses the limitations in scope of other multihoming protocols. For example, the IKEv2 Mobility and Multihoming Protocol (MOBIKE [RFC4555]) scope indicates that it is limited to multihoming between IPsec clients (tunnel mode IPsec Security Associations) and does not support load balancing. To address this limitation regarding how the multihoming scenario is handled, the MAMS framework supports load balancing with the simultaneous use of multiple access paths by negotiating the use of protocols like MPTCP. Unlike MOBIKE, which only applies to endpoints connected with an IPsec tunnel mode Security Association, the MAMS framework allows the flexibility to use a wide range of tunneling protocols in the Adaptation Layer.¶
If the NCM determines that the N-MADP is to be instantiated with MPTCP as the MX Convergence Protocol, it exchanges the MPTCP capability support in the discovery and capability exchange procedures. An MPTCP proxy (e.g., see [TCPM-CONVERTERS]) is configured to be the N-MADP instance. The NCM then provides the credentials of the MPTCP Proxy instance, along with related parameters, to the CCM. The CCM configures the C-MADP with these parameters to connect to this MPTCP proxy instance.¶
Figure 17 illustrates the user‑plane protocol layering when MPTCP is configured to be the "MX Convergence Layer" protocol. MPTCP manages traffic distribution and aggregation over multiple delivery connections.¶
The client (C-MADP) sets up an MPTCP connection with the N-MADP to begin with. The MAMS control procedures are then applied to do the following:¶
Figure 18 shows the call flow describing MAMS control procedures applied to configure the user plane and dynamic optimal path selection in a scenario with the MPTCP proxy as the convergence protocol in the user plane.¶
The salient steps described in the call flow are as follows. The client connects to the LTE network and obtains an IP address (assume that LTE is the first connection). It then initiates the NCM discovery procedures and exchanges capabilities, including the support for MPTCP as the convergence protocol at both the network and the client.¶
The CCM provides the LTE connection parameters to the NCM. The NCM provides the parameters like MPTCP proxy IP address/port, and MPTCP Client Key for configuring the Convergence Layer. This is useful if the N‑MADP is reachable, via a different IP address or/and port, from different access networks. The current MPTCP signaling can't identify or differentiate the MPTCP proxy IP address and port from multiple access networks. The client uses the MPTCP Client Key during the subflow creation, and this enables the N-MADP to uniquely identify the client, even if a NAT is present. The N-MADP can then inform the NCM of the subflow creation and parameters related to creating additional subflows. Since LTE is the only connection, the user‑plane traffic flows over the single TCP subflow over the LTE connection. Optionally, the NCM provides assistance information to the client on the neighboring/preferred Wi-Fi networks that it can associate with.¶
Figure 19 describes the steps where the client establishes a Wi-Fi connection. The CCM informs the NCM of the Wi-Fi connection, along with such parameters as the Wi-Fi IP address or the SSID. The NCM determines that the Wi-Fi connection needs to be secured, configures the Adaptation Layer to use IPsec, and provides the required parameters to the CCM. In addition, the NCM provides the information for configuring the Convergence Layer (e.g., MPTCP proxy IP address) and provides the MX Traffic Steering Request to indicate that the client SHOULD use only the LTE access. The NCM may do this, for example, on determining from the measurements that the Wi-Fi link is not consistently good enough. As the Wi-Fi link conditions improve, the NCM sends an MX Traffic Steering Request to use Wi-Fi access as well. This triggers the client to establish the TCP subflow over the Wi-Fi link with the MPTCP proxy.¶
Figure 20 describes the steps where the client reports that Wi-Fi link conditions degrade in UL. The MAMS control plane is used to continuously monitor the access link conditions on Wi-Fi and LTE connections. The NCM may at some point determine an increase in UL traffic on the Wi-Fi network, and trigger the client to use only LTE in the UL via a MX Traffic Steering Request to improve UL performance.¶
Figure 21 describes the steps where the client reports that Wi-Fi link conditions have degraded in both the UL and DL. As the Wi-Fi link conditions deteriorate further, the NCM may decide to send a MX Traffic Steering Request that instructs the client to stop using Wi-Fi and to use only the LTE access in both the UL and DL. This condition may be maintained until the NCM determines, based on reported measurements, that the Wi‑Fi link has again become usable.¶
Figure 22 shows the call flow describing MAMS control procedures applied for dynamic optimal path selection in a scenario where Convergence and Adaptation Layer protocols are omitted. This scenario indicates the applicability of a solution for only the MAMS control plane.¶
In the capability exchange messages, the NCM and CCM negotiate that Convergence-Layer and Adaptation-Layer protocols are not needed (or supported). The CCM informs the NCM of the availability of the LTE and Wi-Fi links. The NCM determines the access links, Wi-Fi, or LTE to be used dynamically, based on the reported link quality measurements.¶
The MAMS user plane supports multiple instances and combinations of protocols to be used at the MX Adaptation and the Convergence Layer.¶
For example, one instance of the MX Convergence Layer can be MPTCP Proxy and another instance can be GMA. The MX Adaptation for each can be either a UDP tunnel or IPsec. IPsec may be set up when the network path needs to be secured, e.g., to protect the TCP subflow traversing the network path between the client and the MPTCP proxy.¶
Each instance of the MAMS user plane, i.e., the combination of MX Convergence-Layer and MX Adaptation-Layer protocols, can coexist simultaneously and independently handle different traffic types.¶
The NCM functional element is hosted on a network node that is assumed to be within a secure network, e.g., within the operator's network, and is assumed to be protected against hijack attacks.¶
For deployment scenarios where the client is configured (e.g., by the network operator) to use a specific network path for exchanging control‑plane messages, and if the network path is assumed to be secure, MAMS control messages will rely on security provided by the underlying network.¶
For deployment scenarios where the security of the network path cannot be assumed, NCM and CCM implementations MUST support the "wss" URI scheme [RFC6455] and Transport Layer Security (TLS) [RFC8446] to secure the exchange of control‑plane messages between the NCM and the CCM.¶
For deployment scenarios where client authentication is desired, the WebSocket server can use any client authentication mechanisms available to a generic HTTP server, such as cookies, HTTP authentication, or TLS authentication.¶
User data in the MAMS framework relies on the security of the underlying network transport paths. When this security cannot be assumed, the NCM configures the use of protocols (e.g., IPsec [RFC4301] [RFC3948]) in the MX Adaptation Layer, for security.¶
The MAMS architecture builds on commonly available functions on clients, where these functions can be used to deliver software updates over popular client operating systems, thereby enabling rapid deployment and addressing the large base of deployed clients.¶
Multi-access Edge Computing (MEC), previously known as Mobile Edge Computing, is an access-edge cloud platform being considered at the European Telecommunications Standards Institute (ETSI) [ETSIMEC], whose initial focus was to improve the QoE by leveraging intelligence at the cellular (e.g., 3GPP technologies like LTE) access edge, and the scope is now being extended to support access technologies beyond 3GPP. The applicability of the framework described in this document to the MEC platform has been evaluated and tested in different network configurations by the authors.¶
The NCM can be hosted on a MEC cloud server that is located in the user‑plane path at the edge of the multi-technology access network. The NCM and CCM can negotiate the network path combinations based on an application's needs and the necessary user‑plane protocols to be used across the multiple paths. The network conditions reported by the CCM to the NCM can be complemented by a Radio Analytics application [ETSIRNIS] residing at the MEC cloud server to configure the uplink and downlink access paths according to changing radio and congestion conditions.¶
The user‑plane functional element, N-MADP, can either be collocated with the NCM at the MEC cloud server (e.g., MEC‑hosted applications) or placed at a separate network element like a common user‑plane gateway across the multiple networks.¶
Also, even in scenarios where an N-MADP is not deployed, the NCM can be used to augment the traffic-steering decisions at the client.¶
The aim of these enhancements is to improve the end user's QoE by leveraging the best network path based on an application's needs and network conditions, and building on the advantages of significantly reduced latency and the dynamic and real-time exposure of radio network information available at the MEC.¶
The MAMS framework described in this document has been incorporated or is proposed for incorporation as a solution to address multi‑access integration in multiple industry forums and standards. This section describes the related work in other industry forums and the standards organizations.¶
Wireless Broadband Alliance industry partners have published a white paper that describes the applicability of different technologies for multi‑access integration to different deployments as part of their "Unlicensed Integration with 5G Networks" project [WBAUnl5G]. The white paper includes the MAMS framework described in this document as a technology for integrating unlicensed (Wi‑Fi) networks with 5G networks above the 5G core network.¶
The 3GPP is developing a technical report as part of its work item Study on Access Traffic Steering, Switching, and Splitting (ATSSS). That report, TR 23.793 [ATSSS-3GPP-TR-23793], contains a number of potential solutions; Solution 1 in [ATSSS-3GPP-TR-23793] utilizes a separate control plane for the flexible negotiation of user‑plane protocols and path measurements in a way that is similar to the MAMS architecture described in this document.¶
The Small Cell Forum (SCF) [SCFTECH5G] plans to develop a white paper as part of its work item on LTE/5G and Wi‑Fi. There is a proposal to include MAMS in this white paper.¶
The ETSI Multi-access Edge Computing Phase 2 technical work is examining many aspects of this work, including use cases for optimizing QoE and resource utilization. The MAMS architecture and procedures outlined in this document are included in the ETSI's use cases and requirements document [ETSIMAMS].¶
This document has no IANA actions.¶
This appendix is informative, and provides indicative information about how MAMS operates.¶
If the connection between the CCM and the NCM over which the MAMS control‑plane messages are transported is assumed to be secure, UDP is used as the transport for management and control messages between the NCM and the CCM (see Figure 23).¶
This appendix describes the MAMS Application Interface. It does not provide normative text for the definition of the MAMS framework or protocols, but offers additional information that may be used to construct a system based on the MAMS framework.¶
The CCM hosts an HTTPS server for applications to communicate and request services. This document assumes, from a security point of view, that all CCMs and the communicating application instances are hosted in a single administrative domain.¶
The content of messages is described in JavaScript Object Notation (JSON) format. They offer RESTful APIs for communication.¶
The exact mechanism regarding how the application knows about the endpoint of the CCM is out of scope for this document. This mechanism may instead be provided as part of the application settings.¶
The documentation of APIs is provided in the OpenAPI format, using Swagger v2.0. See Appendix D.¶
For every API, there could be an error response if the objective of the API could not be met; see [RFC2616].¶
The following subsections describe the APIs exposed by the CCM to the applications.¶
The CCM provides an HTTPS GET interface as "/ccm/v1.0/capabilities" for the application to query the capabilities supported by the CCM instance.¶
The CCM shall provide information regarding its capabilities as follows:¶
The CCM provides an HTTPS POST interface as "/ccm/v1.0/app_requirements" for the application to post the needs of the application data streams to the CCM instance.¶
The CCM shall provide for the application to post the following requirements for its different data streams:¶
The CCM provides an HTTPS GET interface as "/ccm/v1.0/predictive_link_params" for the application to get the predicted link parameters from the CCM instance.¶
The CCM asks the NCM for link parameters via the MAMS Network Analytics Request Procedure (Section 8.12) and includes the information in response to the API invocation.¶
Number of Delivery Connections.¶
For each delivery connection, include the following:¶
Access Link Identifier:¶
Link Quality Indicator¶
Bandwidth:¶
Jitter:¶
Latency:¶
Signal Quality¶
MAMS control-plane messages are exchanged between the CCM and the NCM. This non-normative appendix describes the format and content of messages using JSON [RFC8259].¶
This document uses JSONString, JSONNumber, and JSONBool to indicate the JSON string, number, and boolean types, respectively.¶
This document uses an adaptation of the C-style struct notation to describe JSON objects. A JSON object consists of name/value pairs. This document refers to each pair as a field. In some contexts, this document also refers to a field as an attribute. The name of a field/attribute may be referred to as the key. An optional field is enclosed by "[ ]". In the definitions, the JSON names of the fields are case sensitive. An array is indicated by two numbers in angle brackets, <m..n>, where m indicates the minimal number of values and n is the maximum. When this document uses * for n, it means no upper bound.¶
For example, the text below describes a new type Type4, with three fields: "name1", "name2", and "name3", respectively. The "name3" field is optional, and the "name2" field is an array of at least one value.¶
object { Type1 name1; Type2 name2 <1..*>; [Type3 name3;] } Type4;¶
This document uses subtyping to denote that one type is derived from another type. The example below denotes that TypeDerived is derived from TypeBase. TypeDerived includes all fields defined in TypeBase. If TypeBase does not have a "name1" field, TypeDerived will have a new field called "name1". If TypeBase already has a field called "name1" but with a different type, TypeDerived will have a field called "name1" with the type defined in TypeDerived (i.e., Type1 in the example).¶
object { Type1 name1; } TypeDerived : TypeBase;¶
Note that, despite the notation, no standard, machine-readable interface definition or schema is provided in this document. Extension documents may describe these as necessary.¶
For compatibility with publishing requirements, line breaks have been inserted inside long JSON strings, with the following continuation lines indented. To form the valid JSON example, any line breaks inside a string must be replaced with a space and any other white space after the line break removed.¶
This message is the first message sent by the CCM to discover the presence of NCM in the network. It contains only the base information as described in Appendix C.2.1 with message_type set as mx_discover.¶
The representation of the message is as follows:¶
object { [JSONString MCC_MNC_Tuple;] } MXDiscover : MXBase;¶
This message is sent by the NCM to the CCM to inform the endpoints that the NCM supports MAMS functionality. In addition to the base information (Appendix C.2.1), it contains the following information:¶
The representation of the message is as follows:¶
object { NCMConnections ncm_connections; } MXSystemInfo : MXBase;¶
This message is sent by the CCM to the NCM to indicate the capabilities of the CCM instance available to the NCM indicated in the System Info message earlier. In addition to the base information (Appendix C.2.1), it contains the following information:¶
The representation of the message is as follows:¶
object { FeaturesActive feature_active; JSONNumber num_anchor_connections; AnchorConnections anchor_connections; JSONNumber num_delivery_connections; DeliveryConnections delivery_connections; ConvergenceMethods convergence_methods; AdaptationMethods adaptation_methods } MXCapabilityReq : MXBase;¶
This message is sent by the NCM to the CCM to indicate the capabilities of the NCM instance and unique session identifier for the CCM. In addition to the base information (Appendix C.2.1), it contains the following information:¶
The representation of the message is as follows:¶
object { FeaturesActive feature_active; JSONNumber num_anchor_connections; AnchorConnections anchor_connections; JSONNumber num_delivery_connections; DeliveryConnections delivery_connections; ConvergenceMethods convergence_methods; AdaptationMethods adaptation_methods UniqueSessionId unique_session_id; } MXCapabilityRsq : MXBase;¶
This message is sent by the CCM to the NCM to indicate acceptance of capabilities advertised by the NCM in an earlier MX Capability Response message. In addition to the base information (Appendix C.2.1), it contains the following information:¶
The representation of the message is as follows:¶
object { UniqueSessionId unique_session_id; JSONString capability_ack; } MXCapabilityAck : MXBase;¶
This message is sent by the NCM to the CCM to configure the user plane for MAMS. In addition to the base information (Appendix C.2.1), it contains the following information:¶
The representation of the message is as follows:¶
object { JSONNumber num_anchor_connections; SetupAnchorConns anchor_connections; } MXUPSetupConfigReq : MXBase;¶
This message is the confirmation of the user‑plane setup message sent from the CCM after successfully configuring the user plane on the client. This message contains the following information:¶
MX probe parameters (included if probing is supported).¶
The following information is required for each delivery connection:¶
The representation of the message is as follows:¶
object { UniqueSessionId unique_session_id; [ProbeParam probe_param;] JSONNumber num_delivery_conn; ClientParam client_params <1...*>; } MXUPSetupConfigCnf : MXBase;¶
Where ProbeParam is defined as follows:¶
object { JSONNumber probe_port; JSONNumber anchor_conn_id; [JSONNumber mx_configuration_id;] } ProbeParam;¶
Where ClientParam is defined as follows:¶
object { JSONNumber connection_id; [AdaptationParam adapt_param;] } ClientParam;¶
Where AdaptationParam is defined as follows:¶
object { JSONNumber udp_adapt_port; } AdaptationParam;¶
This message is sent by the CCM to the NCM in the case of reconfiguration of any of the connections from the client's side. In addition to the base information (Appendix C.2.1), it contains the following information:¶
The representation of the message is as follows:¶
object { UniqueSessionId unique_session_id; JSONString reconf_action; JSONNumber connection_id; JSONString ip_address; JSONString ssid; JSONNumber mtu_size; JSONString connection_status; [JSONString delivery_node_id;] } MXReconfReq : MXBase;¶
This message is sent by the NCM to the CCM as a confirmation of the received MX Reconfiguration Request and contains only the base information (as defined in Appendix C.2.1).¶
The representation of the message is as follows:¶
object { } MXReconfRsp : MXBase;¶
This message is sent by the NCM toward the CCM to configure the CCM to send MX Path Estimation Results. In addition to the base information (Appendix C.2.1), it contains the following information:¶
The representation of the message is as follows:¶
object { JSONNumber connection_id; JSONNumber init_probe_test_duration_ms; JSONNumber init_probe_test_rate_Mbps; JSONNumber init_probe_size_bytes; JSONString init_probe_ack_req; JSONNumber active_probe_freq_ms; JSONNumber active_probe_size_bytes; JSONNumber active_probe_duration_sec; JSONString active_probe_ack_req; } MXPathEstReq : MXBase;¶
This message is sent by the CCM to the NCM to report on the probe estimation configured by the NCM. In addition to the base information (Appendix C.2.1), it contains the following information:¶
The representation of the message is as follows:¶
object { JSONNumber connection_id; UniqueSessionId unique_session_id; [InitProbeResults init_probe_results;] [ActiveProbeResults active_probe_results;] } MXPathEstResults : MXBase;¶
This message is sent by the NCM to the CCM to enable traffic steering on the delivery side in uplink and downlink configurations. In addition to the base information (Appendix C.2.1), it contains the following information:¶
The representation of the message is as follows:¶
object { JSONNumber connection_id; [JSONNumber mx_configuration_id;] DLDelivery downlink_delivery; JSONNumber default_uplink_delivery; ULDelivery uplink_delivery; FeaturesActive feature_active; } MXTrafficSteeringReq : MXBase;¶
This message is a response to an MX Traffic Steering Request from the CCM to the NCM. In addition to the base information (Appendix C.2.1), it contains the following information:¶
The representation of the message is as follows:¶
object { UniqueSessionId unique_session_id; FeaturesActive feature_active; } MXTrafficSteeringResp : MXBase;¶
This message is sent by the CCM to the NCM to select MADP instances provided earlier in the MX UP Setup Configuration Request, based on requirements for the applications.¶
In addition to the base information (Appendix C.2.1), it contains the following:¶
A list of MX Application MADP Associations, with each entry as follows:¶
The representation of the message is as follows:¶
object { UniqueSessionId unique_session_id; MXAppMADPAssoc app_madp_assoc_list <1..*>; } MXAppMADPAssocReq : MXBase;¶
Where each measurement MXAppMADPAssoc is represented by the following:¶
object { JSONNumber connection_id; JSONNumber mx_configuration_id TrafficFlowTemplate tft_ul_list <1..*>; TrafficFlowTemplate tft_dl_list <1..*>; } MXAppMADPAssoc;¶
This message is sent by the NCM to the CCM to confirm the selected MADP instances provided in the MX Application MADP Association Request by the CCM.¶
In addition to the base information (Appendix C.2.1), it contains information if the request has been successful.¶
The representation of the message is as follows:¶
object { JSONBool is_success; } MXAppMADPAssocResp : MXBase;¶
This message is sent by the NCM to the CCM to indicate the list of allowed SSIDs that are supported by the MAMS entity on the network side. It contains the list of SSIDs.¶
Each SSID consists of the type of SSID (which can be one of the following: SSID, BSSID, or HESSID) and the SSID itself.¶
The representation of the message is as follows:¶
object { SSID ssid_list <1..*>; } MXSSIDIndication : MXBase;¶
Where each SSID is defined as follows:¶
object { JSONString ssid_type; JSONString ssid; } SSID;¶
This message is sent from the NCM to the CCM to configure the period measurement reporting at the CCM. The message contains a list of measurement configurations, with each element containing the following information:¶
The representation of the message is as follows:¶
object { MeasReportConf measurement_configuration <1..*>; } MXMeasReportConf : MXBase;¶
Where each measurement MeasReportConf is represented by the following:¶
object { JSONNumber connection_id; JSONString connection_type; MeasReportConfs meas_rep_conf <1..*>; } MeasReportConf;¶
This message is periodically sent by the CCM to the NCM after measurement configuration. In addition to the base information, it contains the following information:¶
The representation of the message is as follows:¶
object { UniqueSessionId unique_session_id; MXMeasRep measurement_reports <1..*>; } MXMeasurementReport : MXBase;¶
An MX Keep‑Alive Request can be sent from either the NCM or the CCM on expiry of the MAMS_KEEP_ALIVE timer or a handover event. The peer shall respond to this request with an MX Keep‑Alive Response. In the case of no response from the peer, the MAMS connection shall be assumed to be broken, and the CCM shall establish a new connection by sending MX Discover messages.¶
In addition to the base information, it contains the following information:¶
The representation of the message is as follows:¶
object { JSONString keep_alive_reason; UniqueSessionId unique_session_id; JSONNumber connection_id; JSONString delivery_node_id; } MXKeepAliveReq : MXBase;¶
On receiving an MX Keep‑Alive Request from a peer, the NCM/CCM shall immediately respond with an MX Keep‑Alive Response on the same delivery path from where the request arrived. In addition to the base information, it contains the unique session identifier for the CCM-NCM association (defined in Appendix C.2.2)¶
The representation of the message is as follows:¶
object { UniqueSessionId unique_session_id; } MXKeepAliveResp : MXBase;¶
In the event where the NCM or CCM can no longer handle MAMS for any reason, it can send an MX Session Termination Request to the peer. In addition to the base information, it contains a Unique Session ID and the reason for the termination; this can be "MX_NORMAL_RELEASE", "MX_NO_RESPONSE", or "INTERNAL_ERROR".¶
The representation of the message is as follows:¶
object { UniqueSessionId unique_session_id; JSONString reason; } MXSessionTerminationReq : MXBase;¶
On receipt of an MX Session Termination Request from a peer, the NCM/CCM shall respond with MX Session Termination Response on the same delivery path where the request arrived and clean up the MAMS‑related resources and settings. The CCM shall reinitiate a new session with MX Discover messages.¶
The representation of the message is as follows:¶
object { UniqueSessionId unique_session_id; } MXSessionTerminationResp : MXBase;¶
This message is sent by the CCM to the NCM to request parameters like bandwidth, jitter, latency, and signal quality predicted by the network analytics function. In addition to the base information, it contains the following parameter:¶
The representation of the message is as follows:¶
object { UniqueSessionId unique_session_id; JSONString params <1..*>; } MXNetAnalyticsReq : MXBase;¶
Where the params object can take one or more of the following values:¶
"bandwidth" "jitter" "latency" "signal_quality"¶
This message is sent by the NCM to the CCM in response to the MX Network Analytics Request. For each delivery connection that the client has, the NCM reports the requested parameter predictions and their respective likelihoods (between 1 and 100 percent).¶
In addition to the base information, it contains the following parameters:¶
The following information is provided for each delivery connection:¶
List of Parameters for which Prediction is requested, where each of the predicted parameters consists of the following:¶
The representation of the message is as follows:¶
object { MXAnalyticsList param_list <1..*>; } MXNetAnalyticsResp : MXBase;¶
Where MXAnalyticsList is defined as follows:¶
object { JSONNumber connection_id; JSONString connection_type; ParamPredictions predictions <1..*>; } MXAnalyticsList;¶
Where each ParamPredictions item is defined as:¶
object { JSONString param_name; [JSONString additional_param;] JSONNumber prediction; JSONNumber likelihood; JSONNumber validity_time; } ParamPredictions;¶
This is the base information that every message between the CCM and NCM exchanges shall have as mandatory information. It contains the following information:¶
Message Type: Message type being sent, where the following are considered valid values:¶
"mx_discover" "mx_system_info" "mx_capability_req" "mx_capability_rsp" "mx_capability_ack" "mx_up_setup_conf_req" "mx_up_setup_cnf" "mx_reconf_req" "mx_reconf_rsp" "mx_path_est_req" "mx_path_est_results" "mx_traffic_steering_req" "mx_traffic_steering_rsp" "mx_ssid_indication" "mx_keep_alive_req" "mx_keep_alive_rsp" "mx_measurement_conf" "mx_measurement_report" "mx_session_termination_req" "mx_session_termination_rsp" "mx_app_madp_assoc_req" "mx_app_madp_assoc_rsp" "mx_network_analytics_req" "mx_network_analytics_rsp"¶
The representation of this data type is as follows:¶
object { JSONString version; JSONString message_type; JSONNumber sequence_num; } MXBase;¶
This data type represents the unique session ID between a CCM and NCM entity. It contains an NCM ID that is unique in the network and a session ID that is allocated by the NCM for that session. On receipt of the MX Discover message, if the session exists, then the old session ID is returned in the MX System Info message; otherwise, the NCM allocates a new session ID for the CCM and sends the new ID in the MX System Info message.¶
The representation of this data type is as follows:¶
object { JSONNumber ncm_id; JSONNumber session_id; } UniqueSessionId;¶
This data type represents the connection available at the NCM for MAMS connectivity toward the client. It contains a list of NCM connections available, where each connection has the following information:¶
The representation of this data type is as follows:¶
object { NCMConnection items <1..*>; } NCMConnections;¶
where NCMConnection is defined as:¶
object { NCMEndPoint ncm_end_point; } NCMConnection : ConnectionInfo;¶
where NCMEndPoint is defined as:¶
object { JSONString ip_address; JSONNumber port; } NCMEndPoint;¶
This data type provides the mapping of connection ID and connection type. It contains the following information:¶
The representation of this data type is as follows:¶
object { JSONNumber connection_id; JSONString connection_type; } ConnectionInfo;¶
This data type provides the list of all features with their activation status. Each feature status contains the following:¶
"lossless_switching" "fragmentation" "concatenation" "uplink_aggregation" "downlink_aggregation" "measurement"¶
The representation of this data type is as follows:¶
object { FeatureInfo items <1..*>; } FeaturesActive;¶
where FeatureInfo is defined as:¶
object { JSONString feature_name; JSONBool active; } FeatureInfo;¶
This data type contains the list of Connection Information items (Appendix C.2.4) that are supported on the anchor (core) side.¶
The representation of this data type is as follows:¶
object { ConnectionInfo items <1..*>; } AnchorConnections;¶
This data type contains the list of Connection Information (Appendix C.2.4) that are supported on the delivery (access) side.¶
The representation of this data type is as follows:¶
object { ConnectionInfo items <1..*>; } DeliveryConnections;¶
This data type provides the support for a particular convergence or adaptation method. It consists of the following:¶
The representation of this data type is as follows:¶
object { JSONString method; JSONBool supported; } MethodSupport;¶
This data type contains the list of all convergence methods and their support status. The possible convergence methods are:¶
"GMA" "MPTCP_Proxy" "GRE_Aggregation_Proxy" "MPQUIC"¶
The representation of this data type is as follows:¶
object { MethodSupport items <1..*>; } ConvergenceMethods;¶
This data type contains the list of all adaptation methods and their support status. The possible adaptation methods are:¶
"UDP_without_DTLS" "UDP_with_DTLS" "IPsec" "Client_NAT"¶
The representation of this data type is as follows:¶
object { MethodSupport items <1..*>; } AdaptationMethods;¶
This data type represents the setup configuration for each anchor connection that is required on the client's side. It contains the following information, in addition to the connection ID and type of the anchor connection:¶
The following convergence parameters are provided for each active configuration:¶
The representation of this data type is as follows:¶
object { SetupAnchorConn items <1..*>; } SetupAnchorConns;¶
Where each anchor connection configuration is defined as follows:¶
object { [JSONNumber num_active_mx_conf;] ConvergenceConfig convergence_config } SetupAnchorConn : ConnectionInfo;¶
where each Convergence configuration is defined as follows:¶
object { [JSONNumber mx_configuration_id;] JSONString convergence_method; ConvergenceMethodParam convergence_method_params; JSONNumber num_delivery_connections; SetupDeliveryConns delivery_connections; } ConvergenceConfig;¶
This data type represents the parameters used for the convergence method and contains the following:¶
The representation of this data type is as follows:¶
object { JSONString proxy_ip; JSONString proxy_port; JSONString client_key; } ConvergenceMethodParam;¶
This is the list of delivery connections and their parameters to be configured on the client. Each delivery connection defined by its connection information (Appendix C.2.4) optionally contains the following:¶
Adaptation Method Parameters: Depending on the adaptation method, one or more of the following parameters shall be provided.¶
The representation of this data type is as follows:¶
object { SetupDeliveryConn items <1..*>; } SetupDeliveryConns;¶
where each "SetupDeliveryConn" consists of the following:¶
object { [JSONString adaptation_method;] [AdaptationMethodParam adaptation_method_param;] } SetupDeliveryConn : ConnectionInfo;¶
where AdaptationMethodParam is defined as:¶
object { JSONString tunnel_ip_addr; JSONString tunnel_end_port; JSONString shared_secret; [JSONBool mx_header_optimization;] } AdaptationMethodParam;¶
This data type provides the results of the init probe request made by the NCM. It consists of the following information:¶
The representation of this data type is as follows:¶
object { JSONNumber lost_probes_percentage; JSONNumber probe_rate_Mbps; } InitProbeResults;¶
This data type provides the results of the active probe request made by the NCM. It consists of the following information:¶
The representation of this data type is as follows:¶
object { JSONNumber avg_tput_last_probe_duration_Mbps; } ActiveProbeResults;¶
This data type represents the list of connections that are enabled on the delivery side to be used in the downlink direction.¶
The representation of this data type is as follows:¶
object { JSONNumber connection_id <1..*>; } DLDelivery;¶
This data type represents the list of connections and parameters enabled for the delivery side to be used in the uplink direction.¶
The uplink delivery consists of multiple uplink delivery entities, where each entity consists of a Traffic Flow Template (TFT) (Appendix C.2.16) and a list of connection IDs in the uplink, where traffic qualifying for such a Traffic Flow Template can be redirected.¶
The representation of this data type is as follows:¶
object { ULDeliveryEntity ul_del <1..*>; } ULDelivery;¶
Where each uplink delivery entity consists of the following data type:¶
object { TrafficFlowTemplate ul_tft <1..*>; JSONNumber connection_id <1..*>; } ULDeliveryEntity;¶
The Traffic Flow Template generally follows the guidelines specified in [ServDesc3GPP].¶
The Traffic Flow Template in MAMS consists of one or more of the following:¶
The representation of this data type is as follows:¶
object { JSONString remote_addr_mask; JSONString local_addr_mask; JSONNumber protocol_type; PortRange local_port_range; PortRange remote_port_range; JSONNumber traffic_class; JSONNumber flow_label; } TrafficFlowTemplate;¶
Where the port range is defined as follows:¶
object { JSONNumber start; JSONNumber end; } PortRange;¶
This data type represents the configuration done by the NCM toward the CCM for reporting measurement events.¶
Measurement Report Parameter: Parameter that shall be measured and reported. This is dependent on the connection type:¶
The representation of this data type is as follows:¶
object { JSONString meas_rep_param; Threshold meas_threshold; JSONNumber meas_period; } MeasReportConfs;¶
Where "Threshold" is defined as follows:¶
object { JSONNumber high; JSONNumber low; } Threshold;¶
This data type represents the measurements reported by the CCM for each access network measured. This type contains the connection information, the delivery node ID that identifies either the cell (ECGI) or the Wi‑Fi Access Point ID or MAC address (or equivalent identifier in other technologies), and the actual measurement performed by the CCM in the last measurement period.¶
The representation of this data type is as follows:¶
object { JSONNumber connection_id; JSONString connection_type; JSONString delivery_node_id; Measurement measurements <1..*>; } MXMeasRep;¶
Where Measurement is defined as the key-value pair of the measurement type and value. The exact measurement type parameter reported for a given connection depends on its Connection Type. The measurement type parameters, for each Connection Type, are specified in Appendix C.2.17.¶
object { JSONString measurement_type; JSONNumber measurement_value; } Measurement;¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": { "message_type_def": { "enum": [ "mx_discover", "mx_system_info", "mx_capability_req", "mx_capability_rsp", "mx_capability_ack", "mx_up_setup_conf_req", "mx_up_setup_cnf", "mx_reconf_req", "mx_reconf_rsp", "mx_path_est_req", "mx_path_est_results", "mx_traffic_steering_req", "mx_traffic_steering_rsp", "mx_ssid_indication", "mx_keep_alive_req", "mx_keep_alive_rsp", "mx_measurement_conf", "mx_measurement_report", "mx_session_termination_req", "mx_session_termination_rsp", "mx_app_madp_assoc_req", "mx_app_madp_assoc_rsp", "mx_network_analytics_req", "mx_network_analytics_rsp" ], "type": "string" }, "sequence_num_def": { "minimum": 1, "type": "integer" }, "version_def": { "type": "string" } }, "id": "https://example.com/mams/mx_base_def.json" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": { "adapt_method": { "enum": [ "UDP_without_DTLS", "UDP_with_DTLS", "IPsec", "Client_NAT" ], "type": "string" }, "conv_method": { "enum": [ "GMA", "MPTCP_Proxy", "GRE_Aggregation_Proxy", "MPQUIC" ], "type": "string" }, "supported": { "type": "boolean" }, "active": { "type": "boolean" }, "connection_id": { "type": "integer" }, "feature_name": { "enum": [ "lossless_switching", "fragmentation", "concatenation", "uplink_aggregation", "downlink_aggregation", "measurement" "probing" ], "type": "string" }, "connection_type": { "enum": [ "Wi-Fi", "5G_NR", "MulteFire", "LTE" ], "type": "string" }, "ip_address": { "type": "string" }, "port": { "maximum": 65535, "minimum": 1, "type": "integer" }, "adaptation_method": { "allOf" : [ { "$ref": "#/definitions/adapt_method" }, { "$ref": "#/definitions/supported" } ] }, "connection": { "allOf" : [ { "$ref": "#/definitions/connection_id" }, { "$ref": "#/definitions/connection_type" } ] }, "convergence_method": { "allOf": [ { "$ref": "#/definitions/conv_method" }, { "$ref": "#/definitions/supported" } ] }, "feature_status": { "allOf": [ { "$ref": "#/definitions/feature_name" }, { "$ref": "#/definitions/active" } ] }, "ncm_end_point": { "allOf" : [ { "$ref" : "#/definitions/ip_address" }, { "$ref" : "#/definitions/port" } ] }, "capability_acknowledgment" : { "enum" : [ "MX_ACCEPT", "MX_REJECT" ], "type" : "string" }, "threshold" : { "high" : { "type" : "integer" }, "low" : { "type" : "integer" }, "type" : "object" }, "meas_report_param" : { "enum" : [ "WLAN_RSSI", "WLAN_LOAD", "LTE_RSRP", "LTE_RSRQ", "UL_TPUT", "DL_TPUT", "EST_UL_TPUT", "EST_DL_TPUT", "NR_RSRP", "NR_RSRQ" ], "type" : "string" }, "meas_report_conf" : { "meas_rep_param" : { "$ref" : "#definitions/meas_report_param" }, "meas_threshold" : { "$ref" : "#definitions/threshold" }, "meas_period_ms" : { "type" : "integer" }, "type" : "object" }, "ssid_types" : { "enum" : [ "ssid", "bssid", "hessid" ], "type" : "string" }, "ip_addr_mask" : { "type" : "string", "default" : "0.0.0.0/0" }, "port_range" : { "start" : { "type" : "integer", "default" : 0 }, "end" : { "type" : "integer", "default" : 65535 } }, "traffic_flow_template" : { "remote_addr_mask" : { "$ref" : "#definitions/ip_addr_mask" }, "local_addr_mask" : { "$ref" : "#definitions/ip_addr_mask" }, "protocol_type" : { "type" : "integer", "minimum" : 0, "maximum" : 255 }, "local_port_range" : { "$ref" : "#definitions/port_range" }, "remote_port_range" : { "$ref" : "#definitions/port_range" }, "traffic_class" : { "type" : "integer", "default" : 255 }, "flow_label" : { "type" : "integer", "default" : 0 } }, "delivery_node_id" : { "type" : "string" }, "unique_session_id" : { "type" : "object", "ncm_id" : { "type" : "integer" }, "session_id" : { "type" : "integer" } }, "keep_alive_reason" : { "enum" : [ "Timeout", "Handover" ], "type" : "string" }, "connection_status" : { "enum" : [ "disabled", "enabled", "connected" ], "type" : "string", "default" : "connected" }, "adaptation_param" : { "udp_adapt_port" : { "type" : "integer" } }, "probe_param" : { "probe_port" : { "type" : "integer" }, "anchor_conn_id" : { "type" : "integer" }, "mx_configuration_id" : { "type" : "integer" } }, "client_param" : { "connection_id" : { "type" : "integer" }, "adapt_param" : { "type" : {"$ref" : "#definitions/adaptation_param" } } } }, "adapt_param": { "tunnel_ip_addr": { "type": "string" }, "tunnel_end_port": { "type": "integer" }, "shared_secret": { "type": "string" }, "mx_header_optimization": { "type": "boolean", "default": false } }, "delivery_connection": { "connection_id": { "$ref": "#definitions/connection_id" }, "connection_type": { "$ref": "#definitions/connection_type" }, "adaptation_method": { "$ref": "#definitions/adapt_method" }, "adaptation_method_param": { "$ref": "#definitions/adapt_param" } }, "app_madp_assoc": { "anchor_conn_id" : { "type" : "integer" }, "mx_configuration_id" : { "type" : "integer" } "ul_tft_list": { "items": { "$ref": "#definitions/traffic_flow_template" }, "type": "array" }, "dl_tft_list": { "items": { "$ref": "#definitions/traffic_flow_template" }, "type": "array" } }, "predict_param_name": { "enum": [ "validity_time", "bandwidth", "jitter", "latency", "signal_quality" ], "type": "string" }, "predict_add_param_name": { "enum": [ "WLAN_RSSI", "WLAN_LOAD", "LTE_RSRP", "LTE_RSRQ", "NR_RSRP", "NR_RSRQ" ], "type": "string" }, "id": "https://example.com/mams/definitions.json" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "additionalProperties": false, "id": "https://example.com/mams/mx_discover.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"} }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "additionalProperties": false, "id": "https://example.com/mams/mx_system_info.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "ncm_connections": { "type": "array", "items": [ {"$ref": "definitions.json#/connection"}, {"$ref": "definitions.json#/ncm_end_point"} ] } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "additionalProperties": false, "id": "https://example.com/mams/mx_capability_req.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "adaptation_methods": { "items": {"$ref": "definitions.json#/adaptation_method"}, "type": "array" }, "anchor_connections": { "items": {"$ref": "definitions.json#/connection"}, "type": "array" }, "convergence_methods": { "items": {"$ref": "definitions.json#/convergence_method"}, "type": "array" }, "delivery_connections": { "items": {"$ref": "definitions.json#/connection"}, "type": "array" }, "feature_active": { "items": {"$ref": "definitions.json#/feature_status"}, "type": "array" }, "num_anchor_connections": { "type": "integer" }, "num_delivery_connections": { "type": "integer" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "additionalProperties": false, "id": "https://example.com/mams/mx_capability_rsp.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "adaptation_methods": { "items": {"$ref": "definitions.json#/adaptation_method"}, "type": "array" }, "anchor_connections": { "items": {"$ref": "definitions.json#/connection"}, "type": "array" }, "convergence_methods": { "items": {"$ref": "definitions.json#/convergence_method"}, "type": "array" }, "delivery_connections": { "items": {"$ref": "definitions.json#/connection"}, "type": "array" }, "feature_active": { "items": {"$ref": "definitions.json#/feature_status"}, "type": "array" }, "num_anchor_connections": { "type": "integer" }, "num_delivery_connections": { "type": "integer" }, "unique_session_id": { "$ref": "definitions.json#/unique_session_id" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": {}, "id": "https://example.com/mams/mx_capability_ack.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "unique_session_id": { "$ref": "definitions.json#/unique_session_id"}, "capability_ack": { "$ref": "definitions.json#/capability_acknowledgment"} }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": {}, "id": "https://example.com/mams/mx_reconf_req.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "unique_session_id": { "$ref": "definitions.json#/unique_session_id" }, "connection_id": {"$ref": "definitions.json#/connection_id"}, "ip_address": {"$ref": "definitions.json#/ip_address"}, "mtu_size": { "maximum": 65535, "minimum": 1, "type": "integer" }, "ssid": { "type": "string" }, "reconf_action": { "enum": [ "release", "setup", "update" ], "id": "/properties/reconf_action", "type": "string" }, "connection_status": { "$ref": "definitions.json#/connection_status"}, "delivery_node_id": { "$ref": "definitions.json#/delivery_node_id"} }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": {}, "id": "https://example.com/mams/mx_reconf_rsp.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"} }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "convergence_configuration": { "mx_configuration_id": {"type": "integer"}, "convergence_method": { "$ref": "definitions.json#/conv_method"}, "convergence_method_params": { "properties": { "proxy_ip": {"$ref": "definitions.json#/ip_address"}, "proxy_port": {"$ref": "definitions.json#/port"}, "client_key": {"$ref": "definitions.json#/client_key"} }, "type": "object" }, "num_delivery_connections": { "type": "integer" }, "delivery_connections": { "items": { "$ref": "definitions.json#/delivery_connection"}, "type": "array" } } }, "id": "https://example.com/mams/mx_up_setup_conf_req.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "num_anchor_connections": { "type": "integer" }, "anchor_connections": { "items": { "properties": { "connection_id": { "$ref": "definitions.json#/connection_id"}, "connection_type": { "$ref": "definitions.json#/connection_type"}, "num_active_mx_conf": {"type": "integer"}, "convergence_config": { "items": { "$ref": "definitions/convergence_configuration"}, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": {}, "id": "https://example.com/mams/mx_up_setup_cnf.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "unique_session_id": { "$ref": "definitions.json#/unique_session_id"}, "probe_param": {"$ref": "definitions.json#/probe_param"}, "num_delivery_conn": { "type": "integer" }, "client_params": { "type": "array", "items": [ {"$ref": "definitions.json#/client_param"} ] } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": { "conn_list": { "items": {"$ref": "definitions.json#/connection_id"}, "type": "array" }, "ul_delivery": { "ul_tft": { "$ref": "definitions.json#/traffic_flow_template"}, "connection_list": {"$ref": "#definitions/conn_list"} } }, "id": "https://example.com/mams/mx_traffic_steering_req.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "connection_id": {"$ref": "definitions.json#/connection_id"}, "mx_configuration_id": {"type": "integer"}, "downlink_delivery": { "items": {"$ref": "definitions.json#/connection_id"}, "type": "array" }, "feature_active": { "items": {"$ref": "definitions.json#/feature_status"}, "type": "array" }, "default_uplink_delivery": { "type": "integer" }, "uplink_delivery": { "items": {"$ref": "#definitions/ul_delivery"}, "type": "array" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": {}, "id": "https://example.com/example.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "unique_session_id": { "$ref": "definitions.json#/unique_session_id"}, "feature_active": { "items": {"$ref": "definitions.json#/feature_status"}, "type": "array" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": {}, "id": "https://example.com/example.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "unique_session_id": { "$ref": "definitions.json#/unique_session_id"}, "app_madp_assoc_list": { "items": { "$ref": "definitions.json#/app_madp_assoc" }, "type": "array" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": {}, "id": "https://example.com/example.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "unique_session_id": { "$ref": "definitions.json#/unique_session_id"}, "is_success": { "type": "boolean" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": {}, "id": "https://example.com/mams/mx_path_est_req.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "active_probe_ack_req": { "enum": [ "no", "yes" ], "type": "string" }, "active_probe_freq_ms": { "maximum": 10000, "minimum": 100, "type": "integer" }, "active_probe_size_bytes": { "maximum": 1500, "minimum": 100, "type": "integer" }, "active_probe_duration_sec": { "maximum": 100, "minimum": 10, "type": "integer" }, "connection_id": {"$ref": "definitions#/connection_id"}, "init_probe_ack_req": { "enum": [ "no", "yes" ], "type": "string" }, "init_probe_size_bytes": { "maximum": 1500, "minimum": 100, "type": "integer" }, "init_probe_test_duration_ms": { "maximum": 10000, "minimum": 100, "type": "integer" }, "init_probe_test_rate_Mbps": { "maximum": 100, "minimum": 1, "type": "integer" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": {}, "id": "https://example.com/mams/mx_path_est_results.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "unique_session_id": { "$ref": "definitions.json#/unique_session_id"}, "active_probe_results": { "properties": { "avg_tput_last_probe_duration_Mbps": { "maximum":100, "minimum": 1, "type": "number" } }, "type": "object" }, "connection_id": {"$ref": "definitions.json#/connection_id"}, "init_probe_results": { "properties": { "lost_probes_percentage": { "maximum": 100, "minimum": 1, "type": "integer" }, "probe_rate_Mbps": { "maximum": 100, "minimum": 1, "type": "number" } }, "type": "object" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": {}, "id": "https://example.com/mams/mx_ssid_indication.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "ssid_list": { "items": { "properties": { "ssid_type": { "$ref": "definitions.json#/ssid_types"}, "ssid_id": { "type": "integer" } } }, "type": "array" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "meas_conf": { "connection_id" : { "$ref": "definitions.json#/connection_id"}, "connection_type": { "$ref": "definitions.json#/connection_type"}, "meas_rep_conf": { "items": { "$ref": "definitions.json#/meas_report_conf"}, "type": "array" } } }, "id": "https://example.com/mams/mx_measurement_conf.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "measurement_configuration": { "items": {"$ref": "#definitions/meas_conf"}, "type": "array" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "definitions": {}, "id": "https://example.com/mams/mx_measurement_report.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "unique_session_id": { "$ref": "definitions.json#/unique_session_id"}, "measurement_reports": { "items": { "properties": { "connection_id": { "$ref": "definitions.json#/connection_id"}, "connection_type": { "$ref": "definitions.json#/connection_type"}, "delivery_node_id": { "$ref": "definitions.json#/delivery_node_id"}, "measurements": { "items": { "properties": { "measurement_type": { "$ref": "definitions.json#/meas_report_param"}, "measurement_value": { "type": "integer" } }, "type": "object" }, "type": "array" } }, "type": "object" }, "type": "array" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "additionalProperties": false, "id": "https://example.com/mams/mx_keep_alive_req.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "keep_alive_reason": { "$ref": "definitions.json#/keep_alive_reason"}, "unique_session_id": { "$ref": "definitions.json#/unique_session_id"}, "connection_id": { "$ref": "definitions.json#/connection_id"}, "delivery_node_id": { "$ref": "definitions.json#/connection_id"} }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "additionalProperties": false, "id": "https://example.com/mams/mx_keep_alive_rsp.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "unique_session_id": { "$ref": "definitions.json#/unique_session_id"} }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "additionalProperties": false, "id": "https://example.com/mams/mx_keep_alive_req.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "unique_session_id": { "$ref": "definitions.json#/unique_session_id"}, "reason": { "enum": [ "MX_NORMAL_RELEASE", "MX_NO_RESPONSE", "INTERNAL_ERROR" ], "type": "string" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "additionalProperties": false, "id": "https://example.com/mams/mx_session_termination_rsp.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "unique_session_id": { "$ref": "definitions.json#/unique_session_id"} }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "additionalProperties": false, "id": "https://example.com/mams/mx_network_analytics_req.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "unique_session_id": { "$ref": "definitions.json#/unique_session_id"}, "params": { "items": { "$ref": "definitions.json#/predict_param_name"}, "type": "array" } }, "type": "object" }¶
{ "$schema": "https://json-schema.org/draft-04/schema#", "additionalProperties": false, "definitions": { "ParamPredictions": { "param_name": { "$ref": "definitions.json#/predict_param_name"}, "additional_param": { "$ref": "definitions.json#/predict_add_param_name"}, "prediction": {"type": "integer"}, "likelihood": {"type": "integer"}, "validity_time": {"type": "integer"} }, "MXAnalyticsList": { "connection_id": { "$ref": "definitions.json#/connection_id"}, "connection_type": { "$ref": "definitions.json#/connection_type"}, "predictions": { "items": { "$ref": "#definitions/ParamPredictions"}, "type": "array" } } }, "id": "https://example.com/mams/mx_network_analytics_rsp.json", "properties": { "message_type": {"$ref": "mx_base_def.json#/message_type_def"}, "sequence_num": {"$ref": "mx_base_def.json#/sequence_num_def"}, "version": {"$ref": "mx_base_def.json#/version_def"}, "param_list": { "items": { "$ref": "#definitions/MXAnalyticsList"}, "type": "array"} }, "type": "object" }¶
{ "version" : "1.0", "message_type" : "mx_discover", "sequence_num" : 1 }¶
{ "version" : "1.0", "message_type" : "mx_system_info", "sequence_num" : 2, "ncm_connections" : [ { "connection_id" : 0, "connection_type" : "LTE", "ncm_end_point" : { "ip_address" : "192.168.1.10", "port" : 1234 } }, { "connection_id" : 1, "connection_type" : "Wi-Fi", "ncm_end_point" : { "ip_address" : "192.168.1.10", "port" : 1234 } } ] }¶
{ "version" : "1.0", "message_type" : "mx_capability_req", "sequence_num" : 3, "feature_active" : [ { "feature_name" : "lossless_switching", "active" : true }, { "feature_name" : "fragmentation", "active" : false } ], "num_anchor_connections" : 2, "anchor_connections" : [ { "connection_id" : 0, "connection_type" : "LTE" }, { "connection_id" : 1, "connection_type" : "Wi-Fi" } ], "num_delivery_connections" : 2, "delivery_connections" : [ { "connection_id" : 0, "connection_type" : "LTE" }, { "connection_id" : 1, "connection_type" : "Wi-Fi" } ], "convergence_methods" : [ { "method" : "GMA", "supported" : true }, { "method" : "MPTCP_Proxy", "supported" : false } ], "adaptation_methods" : [ { "method" : "UDP_without_DTLS", "supported" : false }, { "method" : "UDP_with_TLS", "supported" : false }, { "method" : "IPsec", "supported" : true }, { "method" : "Client_NAT", "supported" : false } ] }¶
{ "version" : "1.0", "message_type" : "mx_capability_rsp", "sequence_num" : 3, "feature_active" : [ { "feature_name" : "lossless_switching", "active" : true }, { "feature_name" : "fragmentation", "active" : false } ], "num_anchor_connections" : 2, "anchor_connections" : [ { "connection_id" : 0, "connection_type" : "LTE" }, { "connection_id" : 1, "connection_type" : "Wi-Fi" } ], "num_delivery_connections" : 2, "delivery_connections" : [ { "connection_id" : 0, "connection_type" : "LTE" }, { "connection_id" : 1, "connection_type" : "Wi-Fi" } ], "convergence_methods" : [ { "method" : "GMA", "supported" : true }, { "method" : "MPTCP_Proxy", "supported" : false } ], "adaptation_methods" : [ { "method" : "UDP_without_DTLS", "supported" : false }, { "method" : "UDP_with_TLS", "supported" : false }, { "method" : "IPsec", "supported" : true }, { "method" : "Client_NAT", "supported" : false } ], "unique_session_id" : { "ncm_id" : 110, "session_id" : 1111 } }¶
{ "version" : "1.0", "message_type" : "mx_capability_ack", "sequence_num" : 3, "unique_session_id" : { "ncm_id" : 110, "session_id" : 1111 }, "capability_ack" : "MX ACCEPT" }¶
{ "version" : "1.0", "message_type" : "mx_reconf_req", "sequence_num" : 4, "unique_session_id" : { "ncm_id" : 110, "session_id" : 1111 }, "reconf_action" : "setup", "connection_id" : 0, "ip_address" : "192.168.110.1", "ssid" : "SSID_1", "mtu_size" : 1300, "connection_status" : "connected", "delivery_node_id" : "2A12C" }¶
{ "version" : "1.0", "message_type" : "mx_reconf_rsp", "sequence_num" : 4 }¶
{ "version": "1.0", "message_type": "mx_up_setup_conf_req", "sequence_num": 5, "num_anchor_connections": 2, "anchor_connections": [{ "connection_id": 1, "connection_type": "Wi-Fi", "num_active_mx_conf" : 2, "convergence_config" : [ { "mx_configuration_id" : 1, "convergence_method": "GMA", "convergence_method_params": {}, "num_delivery_connections": 2, "delivery_connections": [{ "connection_id": 0, "connection_type": "LTE", "adaptation_method": "UDP_without_DTLS", "adaptation_method_param": { "tunnel_ip_addr": "6.6.6.6", "tunnel_end_port": 9999, "mx_header_optimization": true } }, { "connection_id": 1, "connection_type": "Wi-Fi" } ] }, { "mx_configuration_id" : 2, "convergence_method": "GMA", "convergence_method_params": {}, "num_delivery_connections": 1, "delivery_connections": [{ "connection_id": 0, "connection_type": "LTE", "adaptation_method": "UDP_without_DTLS", "adaptation_method_param": { "tunnel_ip_addr": "6.6.6.6", "tunnel_end_port": 8877 } } ] } ] }, { "connection_id": 0, "connection_type": "LTE", "udp_port": 8888, "num_delivery_connections": 2, "delivery_connections": [{ "connection_id": 0, "connection_type": "LTE" }, { "connection_id": 1, "connection_type": "Wi-Fi", "adaptation_method": "UDP_without_DTLS", "adaptation_method_param": { "tunnel_ip_addr": "192.168.3.3", "tunnel_end_port": "6000" } } ] } ] }¶
{ "version" : "1.0", "message_type" : "mx_up_setup_cnf", "sequence_num" : 5, "unique_session_id" : { "ncm_id" : 110, "session_id" : 1111 }, "probe_param" : { "probe_port" : 48700, "anchor_conn_id" : 0, "mx_configuration_id" : 1 }, "num_delivery_conn" : 2, "client_params" : [ { "connection_id" : 0, "adapt_param" : { "udp_adapt_port" : 51000 } }, { "connection_id" : 1, "adapt_param" : { "udp_adapt_port" : 52000 } } ] }¶
{ "version" : "1.0", "message_type" : "mx_traffic_steering_req", "sequence_num" : 6, "connection_id" : 0, "mx_configuration_id" : 1, "downlink_delivery" : [ { "connection_id" : 0 }, { "connection_id" : 1 } ], "default_uplink_delivery" : 0, "uplink_delivery" : [ { "ul_tft" : { "remote_addr_mask" : "10.10.0.0/24", "local_addr_mask" : "192.168.0.0/24", "protocol_type" : 6, "local_port_range" : { "start" : 100, "end" : 1000 }, "remote_port_range" : { "start" : 100, "end" : 1000 }, "traffic_class" : 20, "flow_label" : 100 }, "conn_list" : [ { "connection_id" : 1 } ] }, { "ul_tft" : { "remote_addr_mask" : "10.10.0.0/24", "local_addr_mask" : "192.168.0.0/24", "protocol_type" : 6, "local_port_range" : { "start" : 2000, "end" : 2000 }, "remote_port_range" : { "start" : 100, "end" : 1000 }, "traffic_class" : 20, "flow_label" : 50 }, "conn_list" : [ { "connection_id" : 1 } ] } ], "feature_active" : [ { "feature_name" : "dl_aggregation", "active" : true }, { "feature_name" : "ul_aggregation", "active" : false } ] }¶
{ "version": "1.0", "message_type": "mx_traffic_steering_rsp", "sequence_num": 6, "unique_session_id": { "ncm_id": 110, "session_id": 1111 }, "feature_active": [{ "feature_name": "lossless_switching", "active": true }, { "feature_name": "fragmentation", "active": false } ] }¶
{ "version": "1.0", "message_type": "mx_app_madp_assoc_req", "sequence_num": 6, "unique_session_id": { "ncm_id": 110, "session_id": 1111 }, "app_madp_assoc_list": [{ "connection_id" : 0, "mx_configuration_id" : 1, "ul_tft_list": [{ "protocol_type": 17, "local_port_range": { "start": 8888, "end": 8888 } }], "dl_tft_list": [{ "protocol_type": 17, "remote_port_range": { "start": 8888, "end": 8888 } }] } ] }¶
{ "version": "1.0", "message_type": "mx_app_madp_assoc_rsp", "sequence_num": 6, "is_success": true }¶
{ "version" : "1.0", "message_type" : "mx_path_est_req", "sequence_num" : 7, "connection_id" : 0, "init_probe_test_duration_ms" : 100, "init_probe_test_rate_Mbps" : 10, "init_probe_size_bytes" : 1000, "init_probe_ack_req" : "yes", "active_probe_freq_ms" : 10000, "active_probe_size_bytes" : 1000, "active_probe_duration_sec" : 10, "active_probe_ack_req" : "no" }¶
{ "version" : "1.0", "message_type" : "mx_path_est_results", "sequence_num" : 8, "unique_session_id" : { "ncm_id" : 110, "session_id" : 1111 }, "connection_id" : 0, "init_probe_results" : { "lost_probes_percentage" : 1, "probe_rate_Mbps" : 9.9 }, "active_probe_results" : { "avg_tput_last_probe_duration_Mbps" : 9.8 } }¶
{ "version" : "1.0", "message_type" : "mx_ssid_indication", "sequence_num" : 9, "ssid_list" : [ { "ssid_type" : "ssid", "ssid_id" : "SSID_1" }, { "ssid_type" : "bssid", "ssid_id" : "xxx-yyy" } ] }¶
{ "version" : "1.0", "message_type" : "mx_measurement_conf", "sequence_num" : 10, "measurement_configuration" : [ { "connection_id" : 0, "connection_type" : "Wi-Fi", "meas_rep_conf" : [ { "meas_rep_param" : "WLAN_RSSI", "meas_threshold" : { "high" : -10, "low" : -15 }, "meas_period_ms" : 500 }, { "meas_rep_param" : "WLAN_LOAD", "meas_threshold" : { "high" : -10, "low" : -15 }, "meas_period_ms" : 500 }, { "meas_rep_param" : "EST_UL_TPUT", "meas_threshold" : { "high" : 100, "low" : 30 }, "meas_period_ms" : 500 } ] }, { "connection_id" : 1, "connection_type" : "LTE", "meas_rep_conf" : [ { "meas_rep_param" : "LTE_RSRP", "meas_threshold" : { "high" : -10, "low" : -15 }, "meas_period_ms" : 500 }, { "meas_rep_param" : "LTE_RSRQ", "meas_threshold" : { "high" : -10, "low" : -15 }, "meas_period_ms" : 500 } ] } }¶
{ "version" : "1.0", "message_type" : "mx_measurement_report", "sequence_num" : 11, "unique_session_id" : { "ncm_id" : 110, "session_id" : 1111 }, "measurement_reports" : [ { "connection_id" : 0, "connection_type" : "Wi-Fi", "delivery_node_id" : "2021A", "measurements" : [ { "measurement_type" : "WLAN_RSSI", "measurement_value" : -12 }, { "measurement_type" : "UL_TPUT", "measurement_value" : 10 }, { "measurement_type" : "EST_UL_TPUT", "measurement_value" : 20 } ] }, { "connection_id" : 1, "connection_type" : "LTE", "delivery_node_id" : "12323", "measurements" : [ { "measurement_type" : "LTE_RSRP", "measurement_value" : -12 }, { "measurement_type" : "LTE_RSRQ", "measurement_value" : -12 } ] } ] }¶
{ "version" : "1.0", "message_type" : "mx_keep_alive_req", "sequence_num" : 12, "keep_alive_reason" : "Handover", "unique_session_id" : { "ncm_id" : 110, "session_id" : 1111 }, "connection_id" : 0, "delivery_node_id" : "2021A" }¶
{ "version" : "1.0", "message_type" : "mx_keep_alive_rsp", "sequence_num" : 12, "unique_session_id" : { "ncm_id" : 110, "session_id" : 1111 } }¶
{ "version" : "1.0", "message_type" : "mx_session_termination_req", "sequence_num" : 13, "unique_session_id" : { "ncm_id" : 110, "session_id" : 1111 }, "reason" : "MX_NORMAL_RELEASE" }¶
{ "version" : "1.0", "message_type" : "mx_session_termination_rsp", "sequence_num" : 13, "unique_session_id" : { "ncm_id" : 110, "session_id" : 1111 } }¶
{ "version" : "1.0", "message_type" : "mx_network_analytics_req", "sequence_num" : 20, "unique_session_id" : { "ncm_id" : 110, "session_id" : 1111 }, "params" : [ "jitter", "latency" ] }¶
{ "version": "1.0", "message_type": "mx_network_analytics_rsp", "sequence_num": 20, "param_list": [{ "connection_id": 1, "connection_type": "Wi-Fi", "predictions": [{ "param_name": "jitter", "prediction": 100, "likelihood": 50, "validity_time": 10 }, { "param_name": "latency", "prediction": 19, "likelihood": 40, "validity_time": 10 } ] }, { "connection_id": 2, "connection_type": "LTE", "predictions": [{ "param_name": "jitter", "prediction": 10, "likelihood": 80, "validity_time": 10 }, { "param_name": "latency", "prediction": 4, "likelihood": 60, "validity_time": 10 } ] } ] }¶
This section provides an example implementation of the APIs exposed by the CCM to the applications on the client, documented with OpenAPI using Swagger 2.0.¶
{ "swagger": "2.0", "info": { "version": "1.0.0", "title": "Client Connection Manager (CCM)", "description": "API provided by the CCM towards the application on a MAMS client." }, "host": "MAMS.ietf.org", "basePath": "/ccm/v1.0", "schemes": [ "https" ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "paths": { "/capabilities": { "get": { "description": "This API can be used by an application to request the capabilities of the CCM.", "produces": [ "application/json", "text/html" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/capability" } }, "default": { "description": "unexpected error", "schema": { "$ref": "#/definitions/errorModel" } } } } }, "/app_requirements": { "post": { "description": "This API is used by the N-MADP to report any types of MAMS user-specific errors to the NCM.", "produces": [ "application/json", "text/html" ], "parameters": [ { "name": "app-requirements", "in": "body", "required": true, "schema": { "$ref": "#/definitions/app-requirements" } } ], "responses": { "200": { "description": "OK" }, "default": { "description": "unexpected error", "schema": { "$ref": "#/definitions/errorModel" } } } } }, "/predictive_link_params": { "get": { "description": "This API is used by applications to get the information about predicted parameters for each delivery connection.", "produces": [ "application/json", "text/html" ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/link-params" } }, "default": { "description": "unexpected error", "schema": { "$ref": "#/definitions/errorModel" } } } } } }, "definitions": { "connection-id": { "type": "integer", "format": "uint8" }, "connection-type": { "enum": [ "Wi-Fi", "5G_NR", "MulteFire", "LTE" ], "type": "string" }, "features": { "enum": [ "lossless_switching", "fragmentation", "concatenation", "uplink_aggregation", "downlink_aggregation", "measurement" "probing" ], "type": "string" }, "adaptation-methods": { "enum": [ "UDP_without_DTLS", "UDP_with_DTLS", "IPsec", "Client_NAT" ], "type": "string" }, "convergence-methods": { "enum": [ "GMA", "MPTCP_Proxy", "GRE_Aggregation_Proxy", "MPQUIC" ], "type": "string" }, "connection": { "type": "object", "properties": { "conn-id": { "$ref": "#/definitions/connection-id" }, "conn-type": { "$ref": "#/definitions/connection-type" } } }, "convergence-parameters": { "type": "object", "properties": { "conv-param-name": { "type": "string" }, "conv-param-value": { "type": "string" } } }, "convergence-details": { "type": "object", "properties": { "conv-method": { "$ref": "#/definitions/convergence-methods" }, "conv-params": { "type": "array", "items": { "$ref": "#/definitions/convergence-parameters" } } } }, "capability": { "type": "object", "properties": { "connections": { "type": "array", "items": { "$ref": "#/definitions/connection" } }, "features": { "type": "array", "items": { "$ref": "#/definitions/features" } }, "adapt-methods": { "type": "array", "items": { "$ref": "#/definitions/adaptation-methods" } }, "conv-methods": { "type": "array", "items": { "$ref": "#/definitions/convergence-details" } } } }, "qos-param-name": { "enum": [ "jitter", "latency", "bandwidth" ], "type": "string" }, "qos-param": { "type": "object", "properties": { "qos-param-name": { "$ref": "#/definitions/qos-param-name" }, "qos-param-value": { "type": "integer" } } }, "port-range": { "type": "object", "properties": { "start": { "type": "integer" }, "end": { "type": "integer" } } }, "protocol-type": { "type": "integer" }, "stream-features": { "type": "object", "properties": { "proto": { "$ref": "#/definitions/protocol-type" }, "port-range": { "$ref": "#/definitions/port-range" }, "traffic-qos": { "$ref": "#/definitions/qos-param" } } }, "app-requirements": { "type": "object", "properties": { "num-streams": { "type": "integer" }, "stream-feature": { "type": "array", "items": { "$ref": "#/definitions/stream-features" } } } }, "param-name": { "enum": [ "bandwidth", "jitter", "latency", "signal_quality" ], "type": "string" }, "additional-param-name": { "enum": [ "lte-rsrp", "lte-rsrq", "nr-rsrp", "nr-rsrq", "wifi-rssi" ], "type": "string" }, "link-parameter": { "type": "object", "properties": { "connection": { "$ref": "#/definitions/connection" }, "param": { "$ref": "#/definitions/param-name" }, "additional-param": { "$ref": "#/definitions/additional-param-name" }, "prediction": { "type": "integer" }, "likelihood": { "type": "integer" }, "validity_time": { "type": "integer" } } }, "link-params": { "type": "array", "items": { "$ref": "#/definitions/link-parameter" } }, "errorModel": { "type": "object", "description": "Error indication containing the error code and message.", "required": [ "code", "message" ], "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string" } } } } }¶
A simple client-side implementation using Python can be as follows:¶
#!/usr/bin/env python import asyncio import websockets import json import ssl import time import sys context = ssl.SSLContext(ssl.PROTOCOL_TLS) context.verify_mode = ssl.CERT_REQUIRED context.set_ciphers("RSA") context.check_hostname = False context.load_verify_locations("/home/mecadmin/certs/rootca.pem") discoverMsg = {'version':'1.0', 'message_type':'mx_discover'} MXCapabilityRes = {'version':'1.0', 'message_type':'mx_capability_res', 'FeatureActive':[{'feature_name':'fragmentation', 'active':'yes'}, {'feature_name':'lossless_switching', 'active':'yes'}], 'num_anchor_connections':1, 'anchor_connections':[{'connection_id':0, 'connection_type':'LTE'}], 'num_delivery_connections':1, 'delivery_connections':[{'connection_id':1, 'connection_type':"Wi-Fi"}], 'convergence_methods':[{'method':'GMA', 'supported':'true'}], 'adaptation_methods':[{'method':'client_nat', 'supported':'false'}] } async def hello(): async with websockets.connect('wss://localhost:8765', ssl=context) as websocket: try: loopFlag=False while True: await websocket.send(json.dumps(discoverMsg)) json_message = await websocket.recv() message = json.loads(json_message) if "message_type" in message.keys(): print("Received message:{}".format(message["message_type"]), "version:{}".format(message["version"])) if message["message_type"] == "mx_capability_req" : await websocket.send(json.dumps(MXCapabilityRes)) loopFlag=True while(loopFlag==True): pass except: print("Client stopped") asyncio.get_event_loop().run_until_complete(hello())¶
A server-side implementation using Python can be as follows:¶
#!/usr/bin/env python import asyncio import websockets import json import ssl ctx = ssl.SSLContext(ssl.PROTOCOL_TLS) #ctx.set_ciphers("RSA-AES256-SHA") ctx.load_verify_locations("/home/mecadmin/certs/rootca.pem") certfile = "/home/mecadmin/certs/server.pem" keyfile = "/home/mecadmin/certs/serverkey.pem" ctx.load_cert_chain(certfile, keyfile, password=None) MXCapabilityReq = {'version':'1.0', 'message_type':'mx_capability_req', 'FeatureActive':[{'feature_name':'fragmentation', 'active':'yes'}, {'feature_name':'lossless_switching', 'active':'yes'}], 'num_anchor_connections':1, 'anchor_connections':[{'connection_id':0, 'connection_type':'LTE'}], 'num_delivery_connections':1, 'delivery_connections':[{'connection_id':1, 'connection_type':"Wi-Fi"}], 'convergence_methods':[{'method':'GMA', 'supported':'true'}], 'adaptation_methods':[{'method':'client_nat', 'supported':'false'}] } async def hello(websocket, path): try: while True: name = await websocket.recv() msg = json.loads(name) if "message_type" in msg.keys(): print("Received message:{}".format(msg["message_type"]), "version:{}".format(msg["version"])) if msg['message_type'] == 'mx_discover': await websocket.send(json.dumps(MXCapabilityReq)) except: print("Client disconnected") try: start_server = websockets.serve(hello, 'localhost', 8765,ssl=ctx) asyncio.get_event_loop().run_until_complete(start_server) asyncio.get_event_loop().run_forever() except: print("Server stopped")¶
This protocol is the outcome of work by many engineers, not just the authors of this document. The people who contributed to this project, listed in alphabetical order by first name, are Barbara Orlandi, Bongho Kim, David Lopez-Perez, Doru Calin, Jonathan Ling, Lohith Nayak, and Michael Scharf.¶
The authors gratefully acknowledge the following additional contributors, in alphabetical order by first name: A Krishna Pramod/Nokia Bell Labs, Hannu Flinck/Nokia Bell Labs, Hema Pentakota/Nokia, Nurit Sprecher/Nokia, Salil Agarwal/Nokia, Shuping Peng/Huawei, and Subramanian Vasudevan/Nokia Bell Labs. Subramanian Vasudevan has been instrumental in conceptualization and development of solution principles for the MAMS framework. Shuping Peng has been a key contributor in refining the framework and control‑plane protocol aspects.¶