diff options
-rw-r--r-- | ryu/services/protocols/bgp/operator/commands/show/rib.py | 2 | ||||
-rw-r--r-- | ryu/services/protocols/bgp/operator/internal_api.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ryu/services/protocols/bgp/operator/commands/show/rib.py b/ryu/services/protocols/bgp/operator/commands/show/rib.py index 99979fd9..24740247 100644 --- a/ryu/services/protocols/bgp/operator/commands/show/rib.py +++ b/ryu/services/protocols/bgp/operator/commands/show/rib.py @@ -10,7 +10,7 @@ from ryu.services.protocols.bgp.operator.commands.responses import \ class RibBase(Command, RouteFormatterMixin): - supported_families = ['vpnv4', 'rtfilter', 'vpnv6'] + supported_families = ['ipv4', 'vpnv4', 'rtfilter', 'vpnv6'] class Rib(RibBase): diff --git a/ryu/services/protocols/bgp/operator/internal_api.py b/ryu/services/protocols/bgp/operator/internal_api.py index fa307b8f..ab7255a1 100644 --- a/ryu/services/protocols/bgp/operator/internal_api.py +++ b/ryu/services/protocols/bgp/operator/internal_api.py @@ -67,6 +67,7 @@ class InternalApi(object): def get_single_rib_routes(self, addr_family): rfs = { + 'ipv4': nlri.get_rf(1, 1), 'vpnv4': nlri.get_rf(1, 128), 'vpnv6': nlri.get_rf(2, 128), 'rtfilter': nlri.get_rf(1, 132) |