Implemented REST API for multicast RIB.
Change-Id: I5de6fe0aae412083597113e355ba0e8c984be5f1
diff --git a/core/api/src/main/java/org/onosproject/net/mcast/McastStore.java b/core/api/src/main/java/org/onosproject/net/mcast/McastStore.java
index 96b21f6..067f517 100644
--- a/core/api/src/main/java/org/onosproject/net/mcast/McastStore.java
+++ b/core/api/src/main/java/org/onosproject/net/mcast/McastStore.java
@@ -51,7 +51,7 @@
void storeSink(McastRoute route, ConnectPoint sink, Type operation);
/**
- * Obtain the source for a multicast route.
+ * Obtains the source for a multicast route.
*
* @param route a multicast route
* @return a connect point
@@ -59,10 +59,17 @@
ConnectPoint sourceFor(McastRoute route);
/**
- * Obtain the sinks for a multicast route.
+ * Obtains the sinks for a multicast route.
*
* @param route a multicast route
* @return a set of sinks
*/
Set<ConnectPoint> sinksFor(McastRoute route);
+
+ /**
+ * Gets the set of all known multicast routes.
+ *
+ * @return set of multicast routes
+ */
+ Set<McastRoute> getRoutes();
}