Propagate depreferenced status through AbstractAdvertizedRoute
[bgpcep.git] / bgp / path-selection-mode / src / main / java / org / opendaylight / protocol / bgp / mode / api / BestPath.java
index c2a81e6c1323edab9577add3cdbb3e24d9480303..700971928df36a1997054ea4c9dad1c7aadea5cb 100644 (file)
@@ -5,7 +5,6 @@
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
  */
-
 package org.opendaylight.protocol.bgp.mode.api;
 
 import com.google.common.primitives.UnsignedInteger;
@@ -44,4 +43,11 @@ public interface BestPath {
      * @return pathId
      */
     long getPathId();
-}
\ No newline at end of file
+
+    /**
+     * Return true if this path is depreferenced.
+     *
+     * @return True if this path is depreferenced.
+     */
+    boolean isDepreferenced();
+}