Merge "Table Miss Entries for FIB"
authorSikhivahan GUndu <gundu.sikhivahan@ericsson.com>
Thu, 14 May 2015 08:32:13 +0000 (08:32 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 14 May 2015 08:32:13 +0000 (08:32 +0000)
interfacemgr/interfacemgr-api/src/main/java/org/opendaylight/vpnservice/interfacemgr/interfaces/IInterfaceManager.java
interfacemgr/interfacemgr-impl/src/main/java/org/opendaylight/vpnservice/interfacemgr/IfmConstants.java
interfacemgr/interfacemgr-impl/src/main/java/org/opendaylight/vpnservice/interfacemgr/IfmNodeConnectorListener.java
interfacemgr/interfacemgr-impl/src/main/java/org/opendaylight/vpnservice/interfacemgr/IfmUtil.java
interfacemgr/interfacemgr-impl/src/test/java/org/opendaylight/vpnservice/interfacemgr/test/IfmUtilTest.java
interfacemgr/interfacemgr-impl/src/test/java/org/opendaylight/vpnservice/interfacemgr/test/InterfaceManagerTest.java
interfacemgr/interfacemgr-impl/src/test/java/org/opendaylight/vpnservice/interfacemgr/test/MockDataChangedEvent.java
mdsalutil/mdsalutil-api/src/main/java/org/opendaylight/vpnservice/mdsalutil/InstructionType.java

index 206e6e1170dcbde74b4a68f341757d0521689f34..69be7cfeb4528e4e7b0dc890960a577b38b13060 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2015 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.interfacemgr.interfaces;
 
 import java.util.List;
index add3af5b81a287d7f21878878778ce73e10995f7..bc8ac661a31a1360a8c76271f04fe267a98b1b11 100644 (file)
@@ -1,3 +1,10 @@
+/*
+* Copyright (c) 2015 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.interfacemgr;
 
 public class IfmConstants {
index 1e4fac40fc32279de8955a8e31f9f4d28dfdf885..f5c5ec18d181d379d234f9c3eff8969cc1dcab77 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 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.interfacemgr;
 
 import org.opendaylight.controller.md.sal.binding.api.DataBroker;
index 76f0c1ae5acf97f2eed76ef3de16025a01a62bdf..2d2647390951d048fbeb6731ad5b54754717c0dc 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2015 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.interfacemgr;
 
 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.Interfaces;
index 74e11dff5824e1c8b81eb576d16ef4301109abf2..f41b677cb82d54ffed78bcf6cb21ae3e41168896 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2015 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.interfacemgr.test;
 
 import static org.junit.Assert.assertEquals;
index 1cae1760067cbcb215d6c4825734d07148c3b488..4e154f1246d5df387b1de84e3e66dac52543a995 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * Copyright (c) 2015 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.interfacemgr.test;
 
 import static org.junit.Assert.*;
index 3c95c901fda8296d6b3b26f886aba6153770f5a5..0d64eaac0f5631ffb10e28c0f35a3f189229064a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
+ * Copyright (c) 2015 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,
index 7fe45306e399c59ffe2556ef516087fd543ee243..dec055d4c6ba29b0cb53cc47a9bd3023f53a905d 100644 (file)
@@ -36,8 +36,10 @@ public enum InstructionType {
         public Instruction buildInstruction(InstructionInfo instructionInfo, int instructionKey) {
             List<ActionInfo> mkActions = instructionInfo.getActionInfos();
             List<Action> listAction = new ArrayList <Action> ();
+            int actionKey = 0 ;
             for(ActionInfo mkAction: mkActions) {
                 ActionType actionType = mkAction.getActionType();
+                mkAction.setActionKey(actionKey++);
                 listAction.add(actionType.buildAction(mkAction));
             }
             ApplyActions applyActions = new ApplyActionsBuilder().setAction(listAction).build();
@@ -69,8 +71,10 @@ public enum InstructionType {
         public Instruction buildInstruction(InstructionInfo instructionInfo, int instructionKey) {
             List<ActionInfo> mkActions = instructionInfo.getActionInfos();
             List<Action> listAction = new ArrayList <Action> ();
+            int actionKey = 0 ;
             for(ActionInfo mkAction: mkActions) {
                 ActionType actionType = mkAction.getActionType();
+                mkAction.setActionKey(actionKey++);
                 listAction.add(actionType.buildAction(mkAction));
             }
             WriteActions writeActions = new WriteActionsBuilder().setAction(listAction).build();