Re: [bess] BGP common parameter Yang module

"Acee Lindem (acee)" <acee@cisco.com> Fri, 10 February 2017 16:42 UTC

Return-Path: <acee@cisco.com>
X-Original-To: bess@ietfa.amsl.com
Delivered-To: bess@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA67C129A31 for <bess@ietfa.amsl.com>; Fri, 10 Feb 2017 08:42:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.522
X-Spam-Level:
X-Spam-Status: No, score=-14.522 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com
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 0BcVysp_0yS3 for <bess@ietfa.amsl.com>; Fri, 10 Feb 2017 08:42:43 -0800 (PST)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 824B8129A27 for <bess@ietf.org>; Fri, 10 Feb 2017 08:42:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=22633; q=dns/txt; s=iport; t=1486744963; x=1487954563; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=dfbohU2brjc8alTS3PUlUOnuicgn7wHqkm1qRXuJCsY=; b=ZS3M4peeJZHLp0azKQa5y+8AjFHaL0N0GKhQIjp1F+CXQ/JXzJ/t53X/ uUr05tbVo+TMOg8DZiTYz0u3faMrTVpvRxLkiKsNeh6vG4vSb2a9hDKqS FT55tVDMett4HtMlW+EmTaLqgbk/yTwG/6hhfHae61I4lm/s+Ctw0Z7IW c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AVAQBA7J1Y/4oNJK1eGQEBAQEBAQEBAQEBBwEBAQEBgm9jYYEJB41akguIDI0qgg0fAQqFeAKCeT8YAQIBAQEBAQEBYiiEaQEBAQQBAWwLEAIBCBEDAQIhBwchBgsUCQgCBA4FiWADFQ6yKSuHBQ2EDgEBAQEBAQEBAQEBAQEBAQEBAQEBARgFizuCUYIjhUUFkAOFUYVkOgGNeoQZgXuFF4lziCyCCYhfAR84fk8VPIRJGIFhdQGJEYEMAQEB
X-IronPort-AV: E=Sophos;i="5.35,142,1484006400"; d="scan'208,217";a="205392007"
Received: from alln-core-5.cisco.com ([173.36.13.138]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Feb 2017 16:42:42 +0000
Received: from XCH-RTP-006.cisco.com (xch-rtp-006.cisco.com [64.101.220.146]) by alln-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id v1AGgfso005412 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Fri, 10 Feb 2017 16:42:42 GMT
Received: from xch-rtp-015.cisco.com (64.101.220.155) by XCH-RTP-006.cisco.com (64.101.220.146) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 10 Feb 2017 11:42:40 -0500
Received: from xch-rtp-015.cisco.com ([64.101.220.155]) by XCH-RTP-015.cisco.com ([64.101.220.155]) with mapi id 15.00.1210.000; Fri, 10 Feb 2017 11:42:40 -0500
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Giles Heron <giles.heron@gmail.com>
Thread-Topic: [bess] BGP common parameter Yang module
Thread-Index: AQHSg60ugeyj/xTMfUS7Ul84up0SbqFivycA//+y3gA=
Date: Fri, 10 Feb 2017 16:42:40 +0000
Message-ID: <D4C356E9.9C0B5%acee@cisco.com>
References: <D4C33B0D.9C077%acee@cisco.com> <3A8EF0FD-3307-435F-A3BE-F4F90E6B47A1@gmail.com>
In-Reply-To: <3A8EF0FD-3307-435F-A3BE-F4F90E6B47A1@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.116.152.196]
Content-Type: multipart/alternative; boundary="_000_D4C356E99C0B5aceeciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/bess/ILThJovKM1tLZT9qnTnLyKsBxvs>
Cc: "Patrice Brissette (pbrisset)" <pbrisset@cisco.com>, "Shah, Himanshu" <hshah@ciena.com>, "bess@ietf.org" <bess@ietf.org>, "Dhanendra Jain (dhjain)" <dhjain@cisco.com>
Subject: Re: [bess] BGP common parameter Yang module
X-BeenThere: bess@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <bess.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bess>, <mailto:bess-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bess/>
List-Post: <mailto:bess@ietf.org>
List-Help: <mailto:bess-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bess>, <mailto:bess-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Feb 2017 16:42:46 -0000

Hi Giles,
I will add the route-target-type type (enum of import, export, both) but for a general grouping, it appears there are some discrepancies between the 3 models. Assuming the types: route-discriminator, route-target, and route-target-type, can you provide a consensus grouping that all the models would use?
Thanks,
Acee

From: Giles Heron <giles.heron@gmail.com<mailto:giles.heron@gmail.com>>
Date: Friday, February 10, 2017 at 11:18 AM
To: Acee Lindem <acee@cisco.com<mailto:acee@cisco.com>>
Cc: "Patrice Brissette (pbrisset)" <pbrisset@cisco.com<mailto:pbrisset@cisco.com>>, "bess@ietf.org<mailto:bess@ietf.org>" <bess@ietf.org<mailto:bess@ietf.org>>, Himanshu Shah <hshah@ciena.com<mailto:hshah@ciena.com>>, "Dhanendra Jain (dhjain)" <dhjain@cisco.com<mailto:dhjain@cisco.com>>
Subject: Re: [bess] BGP common parameter Yang module

Hi Acee,

In general seems that for any BGP VPN (L2 or L3) you have an RD plus a list of RTs (which can be import, export or both) - so I'd prefer that to be defined in a shared grouping (more or less as per the structure Patrice gave below) than to force each model to redefine it.

Giles

On 10 Feb 2017, at 14:51, Acee Lindem (acee) <acee@cisco.com<mailto:acee@cisco.com>> wrote:

Hi Patrice - we are working fervently on a common IETF routing types model. We have both route-target and router-distinguisher types defined there. The work is being done in the Routing WG. Our intension is to accelerate standardization so it doesn't hold up standardization of the importing modules. Please comment as to whether you think this meets BESS requirements.

https://www.ietf.org/id/draft-ietf-rtgwg-routing-types-00.txt

Thanks,
Acee
P.S. We plan an update next week but the RD and RT definitions have not changed.



From: BESS <bess-bounces@ietf.org<mailto:bess-bounces@ietf.org>> on behalf of "Patrice Brissette (pbrisset)" <pbrisset@cisco.com<mailto:pbrisset@cisco.com>>
Date: Friday, February 10, 2017 at 9:26 AM
To: "bess@ietf.org<mailto:bess@ietf.org>" <bess@ietf.org<mailto:bess@ietf.org>>
Cc: "Dhanendra Jain (dhjain)" <dhjain@cisco.com<mailto:dhjain@cisco.com>>, Himanshu Shah <hshah@ciena.com<mailto:hshah@ciena.com>>
Subject: [bess] BGP common parameter Yang module

Folks,

As part of EVPN, L2VPn and L3VPN Yang model, there is a "module" common to all 3 Yang models.

      |     +--rw bgp-parameters
      |     |  +--rw common
      |     |     +--rw rd-rt* [route-distinguisher]
      |     |        +--rw route-distinguisher    string
      |     |        +--rw vpn-target* [rt-value]
      |     |           +--rw rt-value    string
      |     |           +--rw rt-type     bgp-rt-type


It will be interesting to create a common BGP parameter Yang module as shown above. I think it just makes sense.
However, there is a minor challenge; that module require a home (a draft).
I'm looking for feedback about the best place/draft for such a module.

Thanks for your help.
Regards,
Patrice Brissette
_______________________________________________
BESS mailing list
BESS@ietf.org<mailto:BESS@ietf.org>
https://www.ietf.org/mailman/listinfo/bess