Re: [alto] Ato extension for representing SDN policies

"RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com> Thu, 23 April 2015 08:26 UTC

Return-Path: <sabine.randriamasy@alcatel-lucent.com>
X-Original-To: alto@ietfa.amsl.com
Delivered-To: alto@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1A1E1B2FA3 for <alto@ietfa.amsl.com>; Thu, 23 Apr 2015 01:26:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.31
X-Spam-Level:
X-Spam-Status: No, score=-6.31 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_31=0.6, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0k8muV0mYqFr for <alto@ietfa.amsl.com>; Thu, 23 Apr 2015 01:26:01 -0700 (PDT)
Received: from smtp-fr.alcatel-lucent.com (fr-hpida-esg-02.alcatel-lucent.com [135.245.210.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD5391B2FA8 for <alto@ietf.org>; Thu, 23 Apr 2015 01:25:57 -0700 (PDT)
Received: from fr712usmtp2.zeu.alcatel-lucent.com (unknown [135.239.2.42]) by Websense Email Security Gateway with ESMTPS id 3A345620B2EA9 for <alto@ietf.org>; Thu, 23 Apr 2015 08:25:54 +0000 (GMT)
Received: from FR711WXCHHUB02.zeu.alcatel-lucent.com (fr711wxchhub02.zeu.alcatel-lucent.com [135.239.2.112]) by fr712usmtp2.zeu.alcatel-lucent.com (GMO) with ESMTP id t3N8PtlJ016227 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 23 Apr 2015 10:25:55 +0200
Received: from FR711WXCHMBA01.zeu.alcatel-lucent.com ([169.254.1.99]) by FR711WXCHHUB02.zeu.alcatel-lucent.com ([135.239.2.112]) with mapi id 14.03.0195.001; Thu, 23 Apr 2015 10:25:55 +0200
From: "RANDRIAMASY, SABINE (SABINE)" <sabine.randriamasy@alcatel-lucent.com>
To: "ROOME, Wendy D (Wendy)" <w.roome@alcatel-lucent.com>, "alto@ietf.org" <alto@ietf.org>
Thread-Topic: [alto] Ato extension for representing SDN policies
Thread-Index: AQHQdvKNMjUbVxbxpE2vjQwhAxwj7J1XWZfg
Date: Thu, 23 Apr 2015 08:25:55 +0000
Message-ID: <A7A5844EB93EB94AB22C2068B10AD65A991BD0D2@FR711WXCHMBA01.zeu.alcatel-lucent.com>
References: <D152F112.20052F%w.roome@alcatel-lucent.com>
In-Reply-To: <D152F112.20052F%w.roome@alcatel-lucent.com>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [135.239.27.38]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/alto/faP_jo5WGW2GqQW39oWZuiXX27s>
Subject: Re: [alto] Ato extension for representing SDN policies
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Application-Layer Traffic Optimization \(alto\) WG mailing list" <alto.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/alto>, <mailto:alto-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/alto/>
List-Post: <mailto:alto@ietf.org>
List-Help: <mailto:alto-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/alto>, <mailto:alto-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Apr 2015 08:26:03 -0000

Hi Huaming and Guohai,

Thanks for bringing this case. I've been looking at a way to support your example policy settings with ALTO. Indeed, ALTO is also meant to convey provider policy and preferences terms of values assigned to metrics and properties on end to end paths. In your example "policy" is expressed in terms of a triplet conveying (protocol, port, QoS). 

One issue: QoS and policy as you mention ("These rules maybe include source/destination address, protocols, ports, QoS, actions and so on") can be specified with multiple metrics and properties. So defining it as a specific set of metric is tricky as the set may vary among providers.

Instead, the ALTO protocol and its multi-cost extension allows you specifying your policy in the way proposed below:  

- The client requests and gets every metric of the set that "composes" this policy. All the available metrics of the provider ALTO server are specified in the IRD. 
- If the composition of this set needs to be specified, the IRD may be used in a way to be discussed among the WG.

If as Guohai suggests, one of the metrics is time sensitive, the ALTO Client can get the corresponding calendar, specified in https://datatracker.ietf.org/doc/draft-randriamasy-alto-cost-calendar/ as Wendy proposes.

I'll get back on policy-based EPG overlapping several PIDs is a next mail. 

Any thoughts on the proposal below? 

Thanks,
Sabine



-------------------------------------------------------------
GUOHAI proposal


"multi-cost-types" : [
        {"cost-mode": "policy", "cost-metric": "policy"},
        {"cost-mode": "policy", "cost-metric": "policy"}
      ]
    }
    "cost-map" : {
      "PID1": { "PID1":[null,null],   "PID2":[<TCP,80,10M>,<UDP,120,20M>]},
      "PID2": { "PID1":[<TCP,80,10M>,<UDP,120,20M>], "PID2":[null,null]}
         }

New proposal

"multi-cost-types" : [
        {"cost-mode": "string", "cost-metric": "transport-protocol-id"},
        {"cost-mode": "string", "cost-metric": "port-number"}
        {"cost-mode": "numerical", "cost-metric": "bandwidth"}
      ]
    }
    "cost-map" : {
      "PID1": { "PID1":[null,null],   "PID2":[<TCP,80,10M>,<UDP,120,20M>]},
      "PID2": { "PID1":[<TCP,80,10M>,<UDP,120,20M>], "PID2":[null,null]}
         }

This proposal puts the Port Nb in "string" mode as this is handled as an ID rather than a quantity. 

-------------------------------------------------------------

>>-----Message d'origine-----
>>De : alto [mailto:alto-bounces@ietf.org] De la part de Wendy Roome
>>Envoyé : mardi 14 avril 2015 22:35
>>À : alto@ietf.org
>>Objet : Re: [alto] Ato extension for representing SDN policies
>>
>>Guohai,
>>
>>https://datatracker.ietf.org/doc/draft-randriamasy-alto-cost-calendar/
>>presents an extension to add time-dependency to cost maps. Eg, the
>>extended cost map could say the cost from A->B is 20 from 9:00 to
>>12:00, and 10 from 12:00 to 17:00, etc.
>>
>>Would that solve your problem?
>>
>>	- Wendy Roome
>>
>>On 04/08/2015, 15:00, "alto-request@ietf.org" <alto-request@ietf.org>
>>wrote:
>>
>>>Message: 1
>>>Date: Wed, 8 Apr 2015 13:18:44 +0000
>>>From: ChenGuohai <chenguohai67@outlook.com>
>>>To: ??? <guohuaming@caict.ac>, Richard Yang Y. <yry@cs.yale.edu>
>>>Cc: "alto@ietf.org" <alto@ietf.org>
>>>Subject: Re: [alto] Ato extension for representing SDN policies
>>>Message-ID: <BLU174-W106FDCED76BBC75A71EFA6C0FC0@phx.gbl>
>>>Content-Type: text/plain; charset="gb2312"
>>>
>>>Hi Huaming,All
>>>Getting policy rules does benefit to traffic optimization. In addition
>>>to that it can reduce ALTO request and response.
>>>For example, a policy is that band between a pair of src(A)and dst is
>>>20M between 11:00 to 14:00 and is 10M for other time. And band between
>>>other src(B,C,D ....) and this dst is 15M. The ALTO client can use
>>this
>>>policy in selecting more optimal peers without sending ATLO cost map
>>>request to ALTO server now and then.
>>>ALTO client select src(A) as the peer between 11:00 to 14:00 and one
>>of
>>>src(B,C,D....) at other time.
>>>Make sense?
>>>
>>>BR
>>>Guohai
>>>
>>
>>
>>_______________________________________________
>>alto mailing list
>>alto@ietf.org
>>https://www.ietf.org/mailman/listinfo/alto