Re: [Ibnemo] How to group/reuse definitions

PEDRO ANDRES ARANDA GUTIERREZ <pedroa.aranda@telefonica.com> Tue, 10 November 2015 06:49 UTC

Return-Path: <pedroa.aranda@telefonica.com>
X-Original-To: ibnemo@ietfa.amsl.com
Delivered-To: ibnemo@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AE321B33B9 for <ibnemo@ietfa.amsl.com>; Mon, 9 Nov 2015 22:49:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level:
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_65=0.6, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, 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 m5WPW8ihTmue for <ibnemo@ietfa.amsl.com>; Mon, 9 Nov 2015 22:49:09 -0800 (PST)
Received: from smtpjc.telefonica.com (smtpjc.telefonica.com [81.47.204.76]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3FC041B33B5 for <ibnemo@ietf.org>; Mon, 9 Nov 2015 22:49:07 -0800 (PST)
Received: from smtpjc.telefonica.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EA3281B82E3; Tue, 10 Nov 2015 07:49:04 +0100 (CET)
Received: from ESTGVMSP101.EUROPE.telefonica.corp (unknown [10.92.4.9]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtpjc.telefonica.com (Postfix) with ESMTPS id D435A1B812B; Tue, 10 Nov 2015 07:49:04 +0100 (CET)
Received: from emea01-db3-obe.outbound.protection.outlook.com (10.92.5.139) by tls.telefonica.com (10.92.6.49) with Microsoft SMTP Server (TLS) id 14.3.235.1; Tue, 10 Nov 2015 07:49:03 +0100
Received: from DB4PR06MB0639.eurprd06.prod.outlook.com (10.161.13.145) by DB4PR06MB0639.eurprd06.prod.outlook.com (10.161.13.145) with Microsoft SMTP Server (TLS) id 15.1.318.15; Tue, 10 Nov 2015 06:49:02 +0000
Received: from DB4PR06MB0639.eurprd06.prod.outlook.com ([10.161.13.145]) by DB4PR06MB0639.eurprd06.prod.outlook.com ([10.161.13.145]) with mapi id 15.01.0318.003; Tue, 10 Nov 2015 06:49:02 +0000
From: PEDRO ANDRES ARANDA GUTIERREZ <pedroa.aranda@telefonica.com>
To: Zhoutianran <zhoutianran@huawei.com>, "Bert Wijnen (IETF)" <bwietf@bwijnen.net>, "ibnemo@ietf.org" <ibnemo@ietf.org>
Thread-Topic: [Ibnemo] How to group/reuse definitions
Thread-Index: AQHRF64zQ2kW1Ilq+UerndMOryPnj56TVgqAgAIZQ4A=
Date: Tue, 10 Nov 2015 06:49:02 +0000
Message-ID: <B0C01F5A-9B41-4EA9-A922-949AA7980502@telefonica.com>
References: <563B2449.6040802@bwijnen.net> <BBA82579FD347748BEADC4C445EA0F2183167D60@nkgeml512-mbx.china.huawei.com>
In-Reply-To: <BBA82579FD347748BEADC4C445EA0F2183167D60@nkgeml512-mbx.china.huawei.com>
Accept-Language: es-ES, en-US
Content-Language: es-ES
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/0.0.0.151008
authentication-results: spf=none (sender IP is ) smtp.mailfrom=pedroa.aranda@telefonica.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [195.235.92.36]
x-microsoft-exchange-diagnostics: 1; DB4PR06MB0639; 5:OfJu8y3nzCDAWytXFlqLQGDYTjybDOWricd5VEhGTuWf+W3XLwImMKlf8yF4R0dqJo+w1kac3CQpmDDaa8ZmGID6qzo5P3o8fZ/k3zWEqnTwkx9WDqFZR+jJi8ZQRNjoxBTAdMRXX8ktB7RHTRJzsg==; 24:BviIvgsBmlxuoX1va/6ALhIB/CF92GeZimlRr4xNhVQKIKIw6hhaiV3WWRwlDHlddKrSOx8g3TwJSFLbPDTB6SC3/nmo1Iu8LHPFxD3RJlU=; 20:1biD3d4UBRv3UzrVNyoZNcYzePjZTSKp1TXQoF21cU5Q5FeTyM+wC2jLqpeZSc0TqsGgEmS2eZsJr6CWb4W1lg==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB4PR06MB0639;
x-microsoft-antispam-prvs: <DB4PR06MB0639B36B285A800314AE510E9B140@DB4PR06MB0639.eurprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(10201501046)(3002001); SRVR:DB4PR06MB0639; BCL:0; PCL:0; RULEID:; SRVR:DB4PR06MB0639;
x-forefront-prvs: 07562C22DA
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(59124003)(189002)(13464003)(377454003)(4001350100001)(83716003)(36756003)(5001770100001)(11100500001)(5008740100001)(5007970100001)(33656002)(5001920100001)(81156007)(2501003)(101416001)(2900100001)(2950100001)(102836002)(76176999)(10400500002)(5001960100002)(5004730100002)(54356999)(77096005)(83506001)(87936001)(50986999)(107886002)(15975445007)(82746002)(19580395003)(122556002)(92566002)(97736004)(40100003)(106356001)(106116001)(19580405001)(5002640100001)(66066001)(575784001)(86362001)(105586002)(189998001)(104396002); DIR:OUT; SFP:1102; SCL:1; SRVR:DB4PR06MB0639; H:DB4PR06MB0639.eurprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: telefonica.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-ID: <0DB158F8C0FF9347A6CBC642FADF71DF@eurprd06.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2015 06:49:02.5851 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 9744600e-3e04-492e-baa1-25ec245c6f10
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR06MB0639
X-OriginatorOrg: telefonica.com
X-TM-AS-MML: No
Archived-At: <http://mailarchive.ietf.org/arch/msg/ibnemo/e_kFP5W0tyoz5ygtFXohob4huRs>
Subject: Re: [Ibnemo] How to group/reuse definitions
X-BeenThere: ibnemo@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discussion of Nemo, an intent-based North Bound \(NB\) interface consisting of an application protocol running over HTTP \(RESTful interfaces\) to exchange intent-based primitives between applications and meta-controllers controlling virtual network resources \(networks, storage, CPU\)." <ibnemo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ibnemo>, <mailto:ibnemo-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ibnemo/>
List-Help: <mailto:ibnemo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ibnemo>, <mailto:ibnemo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 10 Nov 2015 06:49:12 -0000

Hi,

Answers inline… line of thought:
1. Recursion needs to be supported in a generalised way
2. there are use cases where connectivity matters


BR,/PA
---
Dr. Pedro A. Aranda Gutiérrez

Technology Exploration -
Network Innovation & Virtualisation
email: pedroa d0t aranda At telefonica d0t com
Telefónica, Investigación y Desarrollo
C/ Zurbarán,12
28010 Madrid, Spain

Fragen sind nicht da, um beantwortet zu werden.
Fragen sind da, um gestellt zu werden.
Georg Kreisler









-----Mensaje original-----
De: Ibnemo <ibnemo-bounces@ietf.org> en nombre de Zhoutianran <zhoutianran@huawei.com>
Fecha: lunes, 9 de noviembre de 2015, 8:46
Para: "Bert Wijnen (IETF)" <bwietf@bwijnen.net>, "ibnemo@ietf.org" <ibnemo@ietf.org>
Asunto: Re: [Ibnemo] How to group/reuse definitions

>It's really useful to group a set of atomic components and provide the whole as a micro/template, just like the DMZ example. The hierarchy enables the reusability.

OK with that from the very beginning of all this discussion

>To describe a DMZ, I can see two ways.
>1. One is to describe the exact connectivity among those atomic components.

>
We need that as we climb in the hierarchy.

>I think the switch and router are what we want to eliminate. It seems too detail with the intent concept. I hope they can be auto generated by the intent engine.

It may seem too detailed if you are looking at routers, switches, etc. But once you have building blocks like DMZ, interior, exterior, etc. then suddenly you start needing expressing the connectivity. In our use case, how else would you be expressing that you have an exterior zone connected to the Internet and two DMZs, one of which serves 3 interior zones while the other serves just one interior zone. I know, I have been using _simple_ examples up until now, but believe me, things can get pretty complex out there.

>2. The other way I would prefer is to define DMZ as a layer 2 group, in which by default all the components are connected by a logic switch(which do not need to explicitly describe again). Or we can define DMZ as a layer 3 group with a  router. In this way, we can put any number of components in easily with fully flexibility.

Again, that depends a lot on the use case. I think the ‘connectivity paradigm’ may be helpful for people doing networking. Saying that I have a connection between two elements may have a different implementation depending on the elements and their location. However, the logical interpretation of the connection (i.e. its intent) is always going to be that packets treated by one block should be sent to another.

>That's my 2 cents.
>
>Best,
>Tianran
>
>> -----Original Message-----
>> From: Ibnemo [mailto:ibnemo-bounces@ietf.org] On Behalf Of Bert Wijnen
>> (IETF)
>> Sent: Thursday, November 05, 2015 5:41 PM
>> To: ibnemo@ietf.org
>> Subject: [Ibnemo] How to group/reuse definitions
>>
>> During the IETF94 Hackaton, we got some discussion on how much detail we
>> want to allow or need in the Intent Language when reusing definitions. For
>> example, let us assume that you
>>
>> - define a router
>> - define a firewall
>> - define a loadbalancer
>> - define a l2 switch
>> - etc
>>
>> And that later on you want to define something like a DMZ and inside that
>> DMZ you want to use the defined router, firewall, l2 switch, etc.
>>
>> The end-user/customer would want to just express his/her intent to have
>> an internet connection with a DMZ I guess.
>>
>> The network administrator of the ISP (operator) needs to then express that
>> the DMZ consists of let us say a router, a firewall, a l2switch etc.
>> Do we want/need the network administrator to have to (or to be able to)
>> specify the details on how these nodes get connected? Or would we rather
>> see that the Intent Engine generates the proper connections?
>>
>> I suggest that those who have proto-type implementations express their
>> approach and that network operators express their wants/needs for such a
>> scenario.
>>
>> Bert
>>
>> _______________________________________________
>> Ibnemo mailing list
>> Ibnemo@ietf.org
>> https://www.ietf.org/mailman/listinfo/ibnemo
>
>_______________________________________________
>Ibnemo mailing list
>Ibnemo@ietf.org
>https://www.ietf.org/mailman/listinfo/ibnemo

________________________________

Este mensaje y sus adjuntos se dirigen exclusivamente a su destinatario, puede contener información privilegiada o confidencial y es para uso exclusivo de la persona o entidad de destino. Si no es usted. el destinatario indicado, queda notificado de que la lectura, utilización, divulgación y/o copia sin autorización puede estar prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.

The information contained in this transmission is privileged and confidential information intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, do not read it. Please immediately reply to the sender that you have received this communication in error and then delete it.

Esta mensagem e seus anexos se dirigem exclusivamente ao seu destinatário, pode conter informação privilegiada ou confidencial e é para uso exclusivo da pessoa ou entidade de destino. Se não é vossa senhoria o destinatário indicado, fica notificado de que a leitura, utilização, divulgação e/ou cópia sem autorização pode estar proibida em virtude da legislação vigente. Se recebeu esta mensagem por erro, rogamos-lhe que nos o comunique imediatamente por esta mesma via e proceda a sua destruição