Adding rest API for new Mcast app
Change-Id: I8879879f0406295b61db11b9a66efef4acc0b0c1
diff --git a/apps/mcast/api/src/main/java/org/onosproject/mcast/api/MulticastRouteService.java b/apps/mcast/api/src/main/java/org/onosproject/mcast/api/MulticastRouteService.java
index 37ebcd5..bcee070 100644
--- a/apps/mcast/api/src/main/java/org/onosproject/mcast/api/MulticastRouteService.java
+++ b/apps/mcast/api/src/main/java/org/onosproject/mcast/api/MulticastRouteService.java
@@ -54,7 +54,7 @@
/**
* Gets a Multicast route in the system.
*
- * @param groupIp Multicast group IP address
+ * @param groupIp Multicast group IP address
* @param sourceIp Multicasto source Ip address
* @return set of Multicast routes
*/
@@ -94,6 +94,16 @@
void addSink(McastRoute route, HostId hostId);
/**
+ * Adds a set of sink connect points for a given host sink to the route to
+ * which a data stream should be sent to.
+ *
+ * @param route a Multicast route
+ * @param hostId a sink host
+ * @param connectPoints the sink for the specific host
+ */
+ void addSinks(McastRoute route, HostId hostId, Set<ConnectPoint> connectPoints);
+
+ /**
* Adds a set of sink to the route to which a data stream should be
* sent to. If this method is used the connect points will all be
* used as different sinks for that Mcast Tree. For dual-homed sinks