Fix priority in IntervpnLink flows installed in LFIB 06/51906/3
authorMiguel Perez <francisco.miguel.perez@ericsson.com>
Wed, 15 Feb 2017 14:08:55 +0000 (15:08 +0100)
committerSam Hague <shague@redhat.com>
Mon, 20 Feb 2017 17:13:19 +0000 (17:13 +0000)
 + InterVpnLink flows installed in LFIB must have higher priority than
   regular ones (which is typically 1 or 10)

Change-Id: Ifb6a6e8d91f83b65ffda356cd16ad878a1ae11ee
Signed-off-by: Miguel Perez <francisco.miguel.perez@ericsson.com>
vpnservice/fibmanager/fibmanager-impl/src/main/java/org/opendaylight/netvirt/fibmanager/VrfEntryListener.java

index 97bf426c50248b9772c8ec65ae1a61fdd39e9609..777f180b59009a87b32cf9616c0eced93eef9463 100755 (executable)
@@ -152,7 +152,7 @@ public class VrfEntryListener extends AsyncDataTreeChangeListenerBase<VrfEntry,
     private static final int PERIODICITY = 500;
     private static final BigInteger COOKIE_VM_FIB_TABLE =  new BigInteger("8000003", 16);
     private static final int DEFAULT_FIB_FLOW_PRIORITY = 10;
-    private static final int LFIB_INTERVPN_PRIORITY = 1;
+    private static final int LFIB_INTERVPN_PRIORITY = 15;
     public static final BigInteger COOKIE_TUNNEL = new BigInteger("9000000", 16);
 
     private final DataBroker dataBroker;