Merge "Updating the OVSDB project to use the LATEST known Controller bundle's SNAPSHO...
[netvirt.git] / ovsdb / src / main / java / org / opendaylight / ovsdb / plugin / InventoryService.java
old mode 100755 (executable)
new mode 100644 (file)
index 553ca6b..94b89f1
@@ -1,6 +1,16 @@
+/*
+ * Copyright (C) 2013 Red Hat, Inc.
+ *
+ * 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
+ *
+ * Authors : Madhu Venugopal, Brent Salisbury
+ */
 package org.opendaylight.ovsdb.plugin;
 
 import java.util.Collection;
+import java.util.Collections;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Map;
@@ -189,7 +199,7 @@ public class InventoryService implements IPluginInInventoryService, InventorySer
                     if ((oldRow == null) && (inventoryListener != null)) {
                         inventoryListener.rowAdded(n, name.getName(), uuid, newRow);
                     } else if (inventoryListener != null) {
-                        inventoryListener.rowUpdated(n, name.getName(), uuid, newRow);
+                        inventoryListener.rowUpdated(n, name.getName(), uuid, oldRow, newRow);
                     }
                 } else if (oldRow != null) {
                     if (inventoryListener != null) {
@@ -299,4 +309,9 @@ public class InventoryService implements IPluginInInventoryService, InventorySer
         nodeProps.remove(node);
         dbCache.remove(node);
     }
+
+    @Override
+    public Set<Node> getConfiguredNotConnectedNodes() {
+        return Collections.emptySet();
+    }
 }