Enhancements to remote rpc server. Using zmq router-dealer bridge to make the server...
[controller.git] / opendaylight / md-sal / remoterpc-routingtable / implementation / src / main / java / org / opendaylight / controller / sal / connector / remoterpc / api / RoutingTable.java
index 6ec4c2ce01f7ccb675873890a3ff80bfa6102963..2da031e54008cb68c5cf23cddc84b4cd50742da1 100644 (file)
@@ -7,6 +7,7 @@
  */
 package org.opendaylight.controller.sal.connector.remoterpc.api;
 
+import java.util.Map;
 import java.util.Set;
 
 public interface RoutingTable<I,R> {
@@ -65,6 +66,12 @@ public interface RoutingTable<I,R> {
    */
   public Set<R> getRoutes(I routeId);
 
+  /**
+   * Returns all network addresses stored in the table
+   * @return
+   */
+  public Set<Map.Entry> getAllRoutes();
+
   /**
    * Returns only one address from the list of network addresses
    * associated with the route. The algorithm to determine that