Take our advertized tables into consideration in RibOut
[bgpcep.git] / bgp / rib-spi / src / main / java / org / opendaylight / protocol / bgp / rib / spi / PeerTrackerInformation.java
index c838d09bfabb1452589032ef91278e6aaf44cc17..bfdf4485bf01c05f070e1d1583bbb72247506ade 100644 (file)
@@ -53,10 +53,11 @@ public interface PeerTrackerInformation {
     SendReceive getSupportedAddPathTables(@Nonnull TablesKey tableKey);
 
     /**
-     * Returns true if peer supports table.
+     * Returns true if peer supports table and we have advertized support for it, i.e. any prefix from this table should
+     * be subject to export towards the peer.
      *
      * @param tableKey table
-     * @return true if Additional Path is supported for defined table
+     * @return true if the table is supported by the peer and we have advertized support for it.
      */
     boolean supportsTable(@Nonnull TablesKey tableKey);