diff options
author | Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> | 2017-05-09 16:09:51 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-05-12 09:47:36 +0900 |
commit | 434b2adacda2895c3f2b7aea8b6ada4555f4a0bb (patch) | |
tree | 2f26dd8bbb8c32fd7e13ad3d6909e4ed55565392 | |
parent | 7e6c648ba1cb2a0e4567450dc0e90f063c6cf970 (diff) |
BGPSpeaker/SSH: Support to show IPv6 Flow Spec routes
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/services/protocols/bgp/operator/commands/show/rib.py | 2 | ||||
-rw-r--r-- | ryu/services/protocols/bgp/operator/internal_api.py | 4 |
2 files changed, 6 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 33cb2a1c..0e68c83e 100644 --- a/ryu/services/protocols/bgp/operator/commands/show/rib.py +++ b/ryu/services/protocols/bgp/operator/commands/show/rib.py @@ -19,7 +19,9 @@ class RibBase(Command, RouteFormatterMixin): 'rtfilter', 'evpn', 'ipv4fs', + 'ipv6fs', 'vpnv4fs', + 'vpnv6fs', ] diff --git a/ryu/services/protocols/bgp/operator/internal_api.py b/ryu/services/protocols/bgp/operator/internal_api.py index 51352fb9..21ef33a2 100644 --- a/ryu/services/protocols/bgp/operator/internal_api.py +++ b/ryu/services/protocols/bgp/operator/internal_api.py @@ -8,7 +8,9 @@ from ryu.lib.packet.bgp import RF_IPv4_VPN from ryu.lib.packet.bgp import RF_IPv6_VPN from ryu.lib.packet.bgp import RF_L2_EVPN 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_RTC_UC from ryu.lib.packet.bgp import BGP_ATTR_TYPE_ORIGIN from ryu.lib.packet.bgp import BGP_ATTR_TYPE_AS_PATH @@ -87,7 +89,9 @@ class InternalApi(object): 'vpnv6': RF_IPv6_VPN, 'evpn': RF_L2_EVPN, 'ipv4fs': RF_IPv4_FLOWSPEC, + 'ipv6fs': RF_IPv6_FLOWSPEC, 'vpnv4fs': RF_VPNv4_FLOWSPEC, + 'vpnv6fs': RF_VPNv6_FLOWSPEC, 'rtfilter': RF_RTC_UC } if addr_family not in rfs: |