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

Ted Lemon <Ted.Lemon@nominum.com> Tue, 20 December 2011 14:31 UTC

Return-Path: <Ted.Lemon@nominum.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 D311E21F89BA for <mif@ietfa.amsl.com>; Tue, 20 Dec 2011 06:31:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.357
X-Spam-Level:
X-Spam-Status: No, score=-106.357 tagged_above=-999 required=5 tests=[AWL=0.241, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 OXiE5r1IWmjS for <mif@ietfa.amsl.com>; Tue, 20 Dec 2011 06:31:59 -0800 (PST)
Received: from exprod7og124.obsmtp.com (exprod7og124.obsmtp.com [64.18.2.26]) by ietfa.amsl.com (Postfix) with ESMTP id CF06A21F8906 for <mif@ietf.org>; Tue, 20 Dec 2011 06:31:58 -0800 (PST)
Received: from shell-too.nominum.com ([64.89.228.229]) (using TLSv1) by exprod7ob124.postini.com ([64.18.6.12]) with SMTP ID DSNKTvCcQ3cHbVeEvwHTQhgg2Zo+yhlNgyYV@postini.com; Tue, 20 Dec 2011 06:31:58 PST
Received: from archivist.nominum.com (archivist.nominum.com [64.89.228.108]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.nominum.com", Issuer "Go Daddy Secure Certification Authority" (verified OK)) by shell-too.nominum.com (Postfix) with ESMTP id CAA541B8062 for <mif@ietf.org>; Tue, 20 Dec 2011 06:31:30 -0800 (PST)
Received: from webmail.nominum.com (cas-01.win.nominum.com [64.89.228.131]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.nominum.com", Issuer "Go Daddy Secure Certification Authority" (verified OK)) by archivist.nominum.com (Postfix) with ESMTPS id 35FB9190052; Tue, 20 Dec 2011 06:31:28 -0800 (PST) (envelope-from Ted.Lemon@nominum.com)
Received: from MBX-02.WIN.NOMINUM.COM ([64.89.228.134]) by CAS-01.WIN.NOMINUM.COM ([64.89.228.131]) with mapi id 14.01.0339.001; Tue, 20 Dec 2011 06:31:28 -0800
From: Ted Lemon <Ted.Lemon@nominum.com>
To: "<pierrick.seite@orange.com> <pierrick.seite@orange.com>" <pierrick.seite@orange.com>
Thread-Topic: [mif] Adoption of API document as the MIF WG document
Thread-Index: AQHMuyJrBXZGqHrIRk6m9t2t9A95k5XfLl6AgABKEACABFZmAIAACzCAgAABiwCAAAmzgIAAAiMAgADlfwCAAH8igIAAC+0A
Date: Tue, 20 Dec 2011 14:31:27 +0000
Message-ID: <0158B512-7C05-4F3D-8816-872035534E87@nominum.com>
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>
In-Reply-To: <843DA8228A1BA74CA31FB4E111A5C46202169D56@ftrdmel0.rd.francetelecom.fr>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [192.168.1.10]
Content-Type: multipart/alternative; boundary="_000_0158B5127C054F3D8816872035534E87nominumcom_"
MIME-Version: 1.0
Cc: "<mif@ietf.org>" <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:32:00 -0000

Are we on the same page?

The high-level API probably shouldn't expose interfaces—it should simply attempt to make a connection when you hand it a name.   Two proposals for a high-level interface that have been discussed are the MIF Happy Eyeballs API, and the connect_to_name API.   With both APIs, you basically hand the API a name and it hands you back a socket connected to the host addressed by that name.   It does all the fiddling under the covers to figure out which interface to use and which DNS servers to use and which protocol to use.

What you described is more like the low-level API.   One distinction that you didn't mention in your description is that we intend have a lower level of granularity than the interface.   Because it's possible for more than one address family to be attached to an interface, and because it's possible for an interface to be attached to a multi-homed network, we've defined a "provisioning domain" which is the place where things like DNS server configuration happen.   There can be more than one provisioning domain per interface; provisioning domains never span interfaces.

You mention an additional concept in your summary: a routing table per type of traffic.   We have not talked about this, and I don't know that it's in scope.   I would very much like to know what other participants think about this, and how it might be used.   It's not really on my radar, but this is good: I'm by no means an expert on this problem space, and my hope was that people would read the MIF API doc and notice what's missing and bring it up here on the mailing list.