summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/services/protocols/bgp/operator/commands/show/rib.py1
-rw-r--r--ryu/services/protocols/bgp/operator/internal_api.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/ryu/services/protocols/bgp/operator/commands/show/rib.py b/ryu/services/protocols/bgp/operator/commands/show/rib.py
index 0e68c83e..f05502a5 100644
--- a/ryu/services/protocols/bgp/operator/commands/show/rib.py
+++ b/ryu/services/protocols/bgp/operator/commands/show/rib.py
@@ -22,6 +22,7 @@ class RibBase(Command, RouteFormatterMixin):
'ipv6fs',
'vpnv4fs',
'vpnv6fs',
+ 'l2vpnfs',
]
diff --git a/ryu/services/protocols/bgp/operator/internal_api.py b/ryu/services/protocols/bgp/operator/internal_api.py
index 21ef33a2..7020bb7d 100644
--- a/ryu/services/protocols/bgp/operator/internal_api.py
+++ b/ryu/services/protocols/bgp/operator/internal_api.py
@@ -11,6 +11,7 @@ from ryu.lib.packet.bgp import RF_IPv4_FLOWSPEC
from ryu.lib.packet.bgp import RF_IPv6_FLOWSPEC
from ryu.lib.packet.bgp import RF_VPNv4_FLOWSPEC
from ryu.lib.packet.bgp import RF_VPNv6_FLOWSPEC
+from ryu.lib.packet.bgp import RF_L2VPN_FLOWSPEC
from ryu.lib.packet.bgp import RF_RTC_UC
from ryu.lib.packet.bgp import BGP_ATTR_TYPE_ORIGIN
from ryu.lib.packet.bgp import BGP_ATTR_TYPE_AS_PATH
@@ -92,6 +93,7 @@ class InternalApi(object):
'ipv6fs': RF_IPv6_FLOWSPEC,
'vpnv4fs': RF_VPNv4_FLOWSPEC,
'vpnv6fs': RF_VPNv6_FLOWSPEC,
+ 'l2vpnfs': RF_L2VPN_FLOWSPEC,
'rtfilter': RF_RTC_UC
}
if addr_family not in rfs: