Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com>
---
 ryu/lib/mrtlib.py | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)

diff --git a/ryu/lib/mrtlib.py b/ryu/lib/mrtlib.py
index 83b4e53..c8f86fc 100644
--- a/ryu/lib/mrtlib.py
+++ b/ryu/lib/mrtlib.py
@@ -667,22 +667,44 @@ class 
TableDump2AfiSafiSpecificRibMrtMessage(TableDump2MrtMessage):
 
 @TableDump2MrtMessage.register_type(
     TableDump2MrtRecord.SUBTYPE_RIB_IPV4_UNICAST)
+class TableDump2RibIPv4UnicastMrtMessage(
+        TableDump2AfiSafiSpecificRibMrtMessage):
+    """
+    MRT Message for the TABLE_DUMP_V2 Type and the
+    SUBTYPE_RIB_IPV4_UNICAST subtype.
+    """
+    _PREFIX_CLS = bgp.IPAddrPrefix
+
+
 @TableDump2MrtMessage.register_type(
     TableDump2MrtRecord.SUBTYPE_RIB_IPV4_MULTICAST)
-class 
TableDump2RibIPv4UnicastMrtMessage(TableDump2AfiSafiSpecificRibMrtMessage):
+class TableDump2RibIPv4MulticastMrtMessage(
+        TableDump2AfiSafiSpecificRibMrtMessage):
     """
     MRT Message for the TABLE_DUMP_V2 Type and the
-    RIB_IPV4_UNICAST/SUBTYPE_RIB_IPV4_MULTICAST subtype.
+    SUBTYPE_RIB_IPV4_MULTICAST subtype.
     """
     _PREFIX_CLS = bgp.IPAddrPrefix
 
 
 @TableDump2MrtMessage.register_type(
     TableDump2MrtRecord.SUBTYPE_RIB_IPV6_UNICAST)
-class 
TableDump2RibIPv6UnicastMrtMessage(TableDump2AfiSafiSpecificRibMrtMessage):
+class TableDump2RibIPv6UnicastMrtMessage(
+        TableDump2AfiSafiSpecificRibMrtMessage):
+    """
+    MRT Message for the TABLE_DUMP_V2 Type and the
+    SUBTYPE_RIB_IPV6_MULTICAST subtype.
+    """
+    _PREFIX_CLS = bgp.IP6AddrPrefix
+
+
+@TableDump2MrtMessage.register_type(
+    TableDump2MrtRecord.SUBTYPE_RIB_IPV6_MULTICAST)
+class TableDump2RibIPv6MulticastMrtMessage(
+        TableDump2AfiSafiSpecificRibMrtMessage):
     """
     MRT Message for the TABLE_DUMP_V2 Type and the
-    RIB_IPV6_UNICAST/SUBTYPE_RIB_IPV6_MULTICAST subtype.
+    SUBTYPE_RIB_IPV6_MULTICAST subtype.
     """
     _PREFIX_CLS = bgp.IP6AddrPrefix
 
-- 
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
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to