summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2016-09-05 09:41:39 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-09-07 10:02:04 +0900
commit3f104981d2b2fc37e5948377f97384a964fd9ba5 (patch)
tree5939628d026f0a637abf3c2f6be9a4312621606f
parent7af944dc0ebd147bb139d1faec58adc1e8fa2f9d (diff)
BGPSpeaker: Add EVPN routes from Global to VRF Table
This patch adds the missing support for importing EVPN Table from the Global Table to VRF Table when BGPSpeaker recieved a new EVPN route. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/services/protocols/bgp/model.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/ryu/services/protocols/bgp/model.py b/ryu/services/protocols/bgp/model.py
index 0781ee1b..c945754a 100644
--- a/ryu/services/protocols/bgp/model.py
+++ b/ryu/services/protocols/bgp/model.py
@@ -96,8 +96,10 @@ class FlexinetOutgoingRoute(object):
def __init__(self, path, route_dist):
from ryu.services.protocols.bgp.info_base.vrf4 import Vrf4Path
from ryu.services.protocols.bgp.info_base.vrf6 import Vrf6Path
+ from ryu.services.protocols.bgp.info_base.vrfevpn import VrfEvpnPath
assert path.route_family in (Vrf4Path.ROUTE_FAMILY,
- Vrf6Path.ROUTE_FAMILY)
+ Vrf6Path.ROUTE_FAMILY,
+ VrfEvpnPath.ROUTE_FAMILY)
self.sink = None
self._path = path