MIF WG | P. Seite |
Internet-Draft | France Telecom - Orange |
Intended status: Informational | JC. Zuniga |
Expires: August 05, 2013 | InterDigital Communications, LLC |
February 2013 |
MIF API for Connection Management
draft-seite-mif-cm-01.txt
There is currently a need to present a coherent connection management behaviour for different terminal platforms (e.g. mobile phones, PCs, tablets, etc.). This document discusses how a connection manager can use the MIF API to provide this coherent behaviour and enhance the end user's experience when a terminal is able to connect to multiple interfaces. The goal of this document is not to define a connection manager specification, but to focus on the interaction with the MIF API and suggest relevant generic messages for the interface.
This document is for discussion and its intention is to help clarifying the utilization of the MIF API in a connection management context and propose some relevant considerations.
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."
This Internet-Draft will expire on August 05, 2013.
Copyright (c) 2013 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 (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.
[I-D.ietf-mif-api-extension] describes an abstract API that provides commands and services for applications and higher layer APIs running on a terminal with more than one interface. There is currently a need to present a coherent connection management behaviour for different terminal platforms (e.g. mobile phones, PCs, tablets, etc.), as users often experience a very different behaviour when connecting with various platforms to the same networks and for the same purposes (e.g. web browsing, email access, dedicated applications, etc.). This document builds on top of the MIF API and aims to discuss how connection managers can use the MIF API to provide a coherent and constant behaviour to the users. The goal of this document is not to define a connection manager specification, but to focus on the interaction with the MIF API and suggest relevant generic messages for the interface
This document is for discussion and its intention is to help clarifying the utilization of the MIF API in a connection management context.
+------------------------------+ +------------------------------+ | Connection manager | | Application | +------------------------------+ +------------------------------+ /\ || /\ || /\ || || || || || || \/ || || || \/ || || +------------------------+ +-------------------+ || || | MIF API | |Communications API | || || +------------------------+ +-------------------+ || || /\ || /\ || || \/ || || || || +--------------------+ || \/ || \/ +| OS API (Kernel) |-----------------------------------------+ |+--------------------+ Network Link API | +---------------------------------------------------------------+ /\ || /\ || || \/ || \/ +-------------------+ +--------------------+ | Network Interface | | Network Interface | | 1 | | 2 | +-------------------+ +--------------------+
Figure 1: MIF API framework
The terminal's MIF API based architecture is an instantiation of the MIF API model described in [I-D.ietf-mif-api-extension]; main functions and APIs are described below:
Connection Manager MIF API Network Link API OS API | | | | |announce.subscribe | | (1) |------------------>| | | | | subcribe.request | | | |------------------->| | | | subcribe.confirm | | | subscr.confirm |<-------------------| | |<------------------| | | | | | | (2) | | event occurs | | event.announce | event.notif | | (3) |<----------------- |<------------------ | | | | | | | config.get[PID] | | | (4) |------------------>|------------------->| | | config.resp | | | |<----------------- |<-------------------| | | | config-object.get | | (5?) |---------------------------------------------------->| | | config-object.resp | | |<----------------------------------------------------| (6) decision made | | | | | request.config | | (7) |---------------------------------------------------->| | | config.resp | | |<----------------------------------------------------| | request.config | | | or |------------------>| | | | |------------------->| | (8) | |<------------------ | | | |-------------------------------->| both | config.resp |<--------------------------------| 7 and 8?|<----------------- | | | | |
Figure 2: APIs interaction
The presented use-case aims to illustrate the behaviour of the MIF API in a concrete situation. The use-case is as follows: Figure 2. It is assumed that at least one IP communication is running. Then, an interface event occurs and the connection manager decides to move the communication to a different interface.
The interaction between the different APIs is depicted in
This section focuses on the interactions between the connection manager and the MIF API and OS API. The interactions between the connection manager and other complementary APIs, like user preferences and/or ANDSF network operator policies are out of the scope of this document.
A connection manager may also rely on different abstraction layers together with the MIF API. The IEEE 802.21 MIH SAP [IEEE802.21] is an example of such an abstraction layer, which can be seen as a partial instantiation of the MIF API. A companion document [I-D.zuniga-mif-802-21-overview] adresses interaction between IEEE 802.21 and MIF API.
Generic connection manager functions and their relation to the MIF API are described below. The following assumes the MIF API is the unique API for any manipulation of IP objects. However, current MIF API allows to gather information from the IP stack but not to configure it. As a consequence three functions are added to the MIF API: GetIPtype(), ConfigFlowRouting() and SetSourceAddress().
Subscribe(eventID)
UnSubscribe(eventID)
ListInterfaces()
ListProvisioningDomains()
GetStatus(IID)
IPconnectivityCheck(PID, IP[])
GetConfiguration(IID)
SetConfiguration(IID)
GetConfiguration(PID)
SetConfiguration(PID)
GetTheoriticalQoS(IID)
GetAvailableQoS(IID)
GetIPtype(IP address)
ConfigFlowRouting(ROUTE, FlowID)
SetSourceAddress(IP, FlowID)
TBD.
This document has no actions for IANA.
The authors would like to express their gratitude to Ralph Droms, Ted Lemon and Dave Thaler for the fruitful discussions regarding MIF API and connection managers.
[RFC2119] | Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. |
[RFC6088] | Tsirtsis, G., Giarreta, G., Soliman, H. and N. Montavont, "Traffic Selectors for Flow Bindings", RFC 6088, January 2011. |
[RFC6089] | Tsirtsis, G., Soliman, H., Montavont, N., Giaretta, G. and K. Kuladinithi, "Flow Bindings in Mobile IPv6 and Network Mobility (NEMO) Basic Support", RFC 6089, January 2011. |
[I-D.ietf-mif-api-extension] | Liu, D., Lemon, T. and Z. Cao, "MIF API consideration", Internet-Draft draft-ietf-mif-api-extension-03, November 2012. |
[I-D.deng-mif-api-session-continuity-guide] | Deng, H., Krishnan, S., Lemon, T. and M. Wasserman, "Guide for application developers on session continuity by using MIF API", Internet-Draft draft-deng-mif-api-session-continuity-guide-03, October 2012. |
[I-D.ietf-netext-logical-interface-support] | Melia, T. and S. Gundavelli, "Logical Interface Support for multi-mode IP Hosts", Internet-Draft draft-ietf-netext-logical-interface-support-06, October 2012. |
[I-D.korhonen-dmm-prefix-properties] | Korhonen, J., Patil, B., Gundavelli, S., Seite, P. and D. Liu, "IPv6 Prefix Mobility Management Properties", Internet-Draft draft-korhonen-dmm-prefix-properties-03, October 2012. |
[I-D.zuniga-mif-802-21-overview] | Zuniga, J. and P. Seite, "IEEE 802.21 Overview", Internet-Draft draft-zuniga-mif-802-21-overview-00, February 2013. |
[IEEE802.21] | IEEE, "IEEE Standard for Local and Metropolitan Area Networks - Part 21: Media Independent Handover Services", IEEE LAN/MAN Std 802.21-2008, January 2009.", 2009. |