commit | c7648ee53dffcb1905d2b2b719bb779b398b396c | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@onlab.us> | Fri Dec 19 16:20:33 2014 -0800 |
committer | Pavlin Radoslavov <pavlin@onlab.us> | Wed Jan 07 01:02:20 2015 +0000 |
tree | 007b789cee2ff43713721cf931bd5fb3249d7f91 | |
parent | 6e4598029d990a7205bfa1af44f8bfbb1149a280 [diff] [blame] |
Work toward IPv6 support in BGP: implement decoding of the BGP UPDATE attributes: MP_REACH_NLRI and MP_UNREACH_NLRI (RFC 4760). Note: currently, the IPv6 NLRI is decoded, but it not used. This work is in the context of ONOS-422. Change-Id: Ia61b94dedfe0b1a7d7f563e805a3086f56d4da03
diff --git a/apps/sdnip/src/main/java/org/onosproject/sdnip/cli/BgpRoutesListCommand.java b/apps/sdnip/src/main/java/org/onosproject/sdnip/cli/BgpRoutesListCommand.java index d7b7cc7..56ad480 100644 --- a/apps/sdnip/src/main/java/org/onosproject/sdnip/cli/BgpRoutesListCommand.java +++ b/apps/sdnip/src/main/java/org/onosproject/sdnip/cli/BgpRoutesListCommand.java
@@ -81,7 +81,8 @@ // Print the routes if (foundBgpSession != null) { - printRoutes(foundBgpSession.bgpRibIn().values()); + printRoutes(foundBgpSession.bgpRibIn4().values()); + printRoutes(foundBgpSession.bgpRibIn6().values()); } else { printRoutes(service.getBgpRoutes()); }