Re: [mif] Adoption of API document as the MIF WG document

<pierrick.seite@orange.com> Tue, 20 December 2011 14:26 UTC

Return-Path: <pierrick.seite@orange.com>
X-Original-To: mif@ietfa.amsl.com
Delivered-To: mif@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 47AEF21F8B09 for <mif@ietfa.amsl.com>; Tue, 20 Dec 2011 06:26:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level:
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, HELO_EQ_FR=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9eQz4CB7OSNP for <mif@ietfa.amsl.com>; Tue, 20 Dec 2011 06:26:38 -0800 (PST)
Received: from r-mail2.rd.francetelecom.com (r-mail2.rd.francetelecom.com [217.108.152.42]) by ietfa.amsl.com (Postfix) with ESMTP id 2539421F8B06 for <mif@ietf.org>; Tue, 20 Dec 2011 06:26:38 -0800 (PST)
Received: from r-mail2.rd.francetelecom.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 0F3815D88BD; Tue, 20 Dec 2011 15:26:36 +0100 (CET)
Received: from ftrdsmtp2.rd.francetelecom.fr (unknown [10.192.128.47]) by r-mail2.rd.francetelecom.com (Postfix) with ESMTP id 040585D88D2; Tue, 20 Dec 2011 15:26:36 +0100 (CET)
Received: from ftrdmel0.rd.francetelecom.fr ([10.192.128.56]) by ftrdsmtp2.rd.francetelecom.fr with Microsoft SMTPSVC(6.0.3790.4675); Tue, 20 Dec 2011 15:25:35 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 20 Dec 2011 15:25:34 +0100
Message-ID: <843DA8228A1BA74CA31FB4E111A5C46202169D71@ftrdmel0.rd.francetelecom.fr>
In-Reply-To: <4EF09766.9090800@viagenie.ca>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [mif] Adoption of API document as the MIF WG document
Thread-Index: Acy/IS4Onz6lcgthQGWbjmcC4hlMHQAAD3Ew
References: <COL118-W224376376AE7A3CC854753B1A30@phx.gbl><4EEB70DF.3070201@viagenie.ca><79DAA562-B463-4D11-A4E5-AEE1325531A0@nominum.com><4EEF5278.8040103@viagenie.ca><50824C2C-A4A8-4E92-A12D-45082B9CF5DC@nominum.com><4EEF5D26.3080203@viagenie.ca><0FECAD9E-E1EB-4849-BF8E-227F49975559@nominum.com><4EEF6714.40804@viagenie.ca> <CANF0JMBt=7rB0++NYxnMrfRLz2XJDg40OLMrgOPj6fYAUTWNYg@mail.gmail.com> <843DA8228A1BA74CA31FB4E111A5C46202169D56@ftrdmel0.rd.francetelecom.fr> <4EF09766.9090800@viagenie.ca>
From: pierrick.seite@orange.com
To: simon.perreault@viagenie.ca
X-OriginalArrivalTime: 20 Dec 2011 14:25:35.0588 (UTC) FILETIME=[3D0C5240:01CCBF23]
Cc: mif@ietf.org
Subject: Re: [mif] Adoption of API document as the MIF WG document
X-BeenThere: mif@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Multiple Interface Discussion List <mif.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mif>, <mailto:mif-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mif>
List-Post: <mailto:mif@ietf.org>
List-Help: <mailto:mif-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mif>, <mailto:mif-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 20 Dec 2011 14:26:39 -0000

> -----Message d'origine-----
> De : Simon Perreault [mailto:simon.perreault@viagenie.ca]
> Envoyé : mardi 20 décembre 2011 15:11
> À : SEITE Pierrick RD-RESA-REN
> Cc : denghui02@gmail.com; mif@ietf.org
> Objet : Re: [mif] Adoption of API document as the MIF WG document
> 
> On 2011-12-20 08:48, pierrick.seite@orange.com wrote:
> > I'm just trying to understand the scope of the MIF API and meaning of
> high/low
> > level API.
> >
> > So, thinking about high-level requirements: IMU, the MIF API should
> address
> > issues from the problem statement : DNS selection, source address
> selection and
> > routing. Right? Considering these problems, the MIF API should be
> able to provide
> > command/services to high level API (e.g. OMA-DM API), or even
> applications (if we
> > imagine application with MIF management capabilities...). Typically,
> I'm thinking
> > to the following requirements for the MIF API:
> >
> > DNS selection:
> >
> > -bound some DNS servers to an interface and suffixes.
> >
> > source address selection:
> >
> > -return the type of IP address (e.g. local, remote, mobile IP
> anchored
> >
> > -provide a valid IP address with a given type on a given interface
> >
> > routing / first-hop selection:
> >
> > -the API should allow to differentiate the traffic (i.e. provide
> capability to
> > configure traffic selector)
> >
> > -associate a routing table per type of traffic
> 
> I think this is all low-level stuff.
> 

Agreed.

> Ideally, an application shouldn't have to deal with this stuff. It
> should be
> handled as automatically as possible by the stack. The high-level API
> should be
> as close to the "use case" as possible. For example, (I'm just
> inventing stuff
> now, not sure it makes sense), with an appropriate high-level API an
> application
> could just pass a flag saying "don't use a cellular interface".
> 
> The idea is that you don't want all apps to have to reimplement similar
> logic
> each time. The similar stuff can be abstracted away and put in the
> platform's stack.
> 


I couldn't agree more :-) Your high-level API is what I use to name "a connection manager"... Whatever the terminology, I think this is the right way to go if want harmonization in the field. At least, it should be the default API model; however, some application developers may want to keep control of the connectivity and may want to have access to low-level API (I'm not sure it is desirable...). Let's see what the WG think.... 

Pierrick

> Simon
> --
> DTN made easy, lean, and smart --> http://postellation.viagenie.ca
> NAT64/DNS64 open-source        --> http://ecdysis.viagenie.ca
> STUN/TURN server               --> http://numb.viagenie.ca