Re: [bess] miss import and export policy within routing-policy under vpn-target

"Susan Hares" <> Thu, 25 July 2019 19:38 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id C40E71201C6; Thu, 25 Jul 2019 12:38:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: 0.949
X-Spam-Status: No, score=0.949 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DOS_OUTLOOK_TO_MX=2.845, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id gox0WGBCVm09; Thu, 25 Jul 2019 12:38:19 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 3D7CD1201C5; Thu, 25 Jul 2019 12:38:13 -0700 (PDT)
X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=;
From: "Susan Hares" <>
To: "'Qin Wu'" <>, <>
Cc: <>, <>
References: <>
In-Reply-To: <>
Date: Thu, 25 Jul 2019 15:38:09 -0400
Message-ID: <00b301d54320$7dcda020$7968e060$>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_00B4_01D542FE.F6BC0020"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQHJqmXI2LHRmZsKJtnMGQUkWd8Zpqby6/OA
Content-Language: en-us
X-Antivirus: AVG (VPS 190725-4, 07/25/2019), Outbound message
X-Antivirus-Status: Not-Tested
Archived-At: <>
Subject: Re: [bess] miss import and export policy within routing-policy under vpn-target
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: BGP-Enabled ServiceS working group discussion list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 25 Jul 2019 19:38:21 -0000



Just to make sure I have the context, the "BGP model" is the
draft-bess-l3vpn-yang-draft or the base BGP protocol model? 




From: BESS [] On Behalf Of Qin Wu
Sent: Thursday, July 25, 2019 2:36 PM
Subject: [bess] miss import and export policy within routing-policy under


Hi, folks:

When I walk through draft-ietf-bess-l3vpn-yang draft today,

I see what is missing in routing policy model is import and export policy
parameter, the grouping apply-policy defined in routing policy yang model
which supports import and export policy is not used in the BGP model,

So I am wondering why we not add import and export policy and take out
routing policy leafref.

Also I am wondering whether all the vendors support import-from-global and
export-to-global, if the answer is no, 

I am wondering if we should add if-feature for import-from-global and
export-to-global and take them completely out.