Bump versions by 0.1.0 for next dev cycle
[vpnservice.git] / fibmanager / fibmanager-impl / src / test / java / org / opendaylight / vpnservice / fibmanager / test / FibManagerTest.java
index f68a5f5f145c31baf80397af0555906eef2fca62..a418d7b822cd0cc3993d3c4130832c463b14478b 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * Copyright (c) 2015 - 2016 Ericsson India Global Services Pvt Ltd. and others. All rights reserved.
- * 
- * This program and the accompanying materials are made available under the terms of the Eclipse
- * Public License v1.0 which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ * Copyright (c) 2015, 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * 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.vpnservice.fibmanager.test;
 
@@ -34,6 +34,7 @@ import org.opendaylight.yang.gen.v1.urn.opendaylight.l3vpn.rev130911.vpn.instanc
 import org.opendaylight.yang.gen.v1.urn.opendaylight.l3vpn.rev130911.vpn.instance.op.data.VpnInstanceOpDataEntryKey;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.l3vpn.rev130911.vpn.instance.op.data.vpn.instance.op.data.entry.VpnToDpnList;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.l3vpn.rev130911.vpn.instance.op.data.vpn.instance.op.data.entry.VpnToDpnListKey;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.l3vpn.rev130911.vpn.instance.op.data.vpn.instance.op.data.entry.vpn.to.dpn.list.IpAddresses;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.l3vpn.rev130911.vpn.instance.op.data.vpn.instance.op.data.entry.vpn.to.dpn.list.VpnInterfaces;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.fibmanager.rev150330.FibEntries;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.fibmanager.rev150330.fibentries.VrfTables;
@@ -77,6 +78,7 @@ public class FibManagerTest {
   private static final int label = 10;
   BigInteger Dpn;
   private static final long vpnId = 101L;
+  private static final long vpnIntfCnt = 2;
 
   private void SetupMocks() {
     Dpn = BigInteger.valueOf(100000L);
@@ -115,6 +117,9 @@ public class FibManagerTest {
             return testRd;
           }
 
+          @Override
+          public Long getVpnInterfaceCount() { return vpnIntfCnt; }
+
           @Override
           public List<VpnToDpnList> getVpnToDpnList() {
             List <VpnToDpnList> vpnToDpnLists =  new ArrayList<>();
@@ -129,6 +134,9 @@ public class FibManagerTest {
                 return null;
               }
 
+              @Override
+              public List<IpAddresses> getIpAddresses() { return null; }
+
               @Override
               public VpnToDpnListKey getKey() {
                 return new VpnToDpnListKey(Dpn);