Signed-off-by: Satoshi Fujimoto <[email protected]>
---
ryu/services/protocols/bgp/operator/commands/show/rib.py | 1 +
ryu/services/protocols/bgp/operator/internal_api.py | 2 ++
2 files changed, 3 insertions(+)
diff --git a/ryu/services/protocols/bgp/operator/commands/show/rib.py
b/ryu/services/protocols/bgp/operator/commands/show/rib.py
index 0e68c83..f05502a 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 21ef33a..7020bb7 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:
--
2.7.4
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel