OVSDB-438: missing operational node
[ovsdb.git] / hwvtepsouthbound / hwvtepsouthbound-impl / src / main / java / org / opendaylight / ovsdb / hwvtepsouthbound / HwvtepConnectionInstance.java
index 30e17d2cb3ca398b1c45e03cc3bac154fb0ad62a..5d07adf5ee8dbbc1695a0f550f9ad08501244aa8 100644 (file)
@@ -314,4 +314,9 @@ public class HwvtepConnectionInstance {
     public HwvtepTableReader getHwvtepTableReader() {
         return hwvtepTableReader;
     }
+
+    public void refreshOperNode() throws ExecutionException, InterruptedException {
+        TableUpdates tableUpdates = hwvtepTableReader.readAllTables();
+        callback.update(tableUpdates, getDatabaseSchema(HwvtepSchemaConstants.HARDWARE_VTEP));
+    }
 }