Merge "Infra for running ovs dockers"
[ovsdb.git] / southbound / southbound-impl / src / main / java / org / opendaylight / ovsdb / southbound / transactions / md / OpenVSwitchUpdateCommand.java
index 2e132d60d036f135648718cc6f6f3f22248cae7b..2ca74ee343b87eef35dc15ad2a7f6a05a30c20ae 100644 (file)
@@ -209,7 +209,8 @@ public class OpenVSwitchUpdateCommand extends AbstractTransactionCommand {
             }
             ovsdbNodeBuilder.setInterfaceTypeEntry(ifEntryList);
         } catch (SchemaVersionMismatchException e) {
-            LOG.debug("Iface types  not supported by this version of ovsdb",e);
+            // We don't care about the exception stack trace here
+            LOG.debug("Iface types  not supported by this version of ovsdb: {}", e.getMessage());
         }
     }
 
@@ -233,7 +234,8 @@ public class OpenVSwitchUpdateCommand extends AbstractTransactionCommand {
             }
             ovsdbNodeBuilder.setDatapathTypeEntry(dpEntryList);
         } catch (SchemaVersionMismatchException e) {
-            LOG.debug("Datapath types not supported by this version of ovsdb",e);
+            // We don't care about the exception stack trace here
+            LOG.debug("Datapath types not supported by this version of ovsdb: {}", e.getMessage());
         }
     }
 
@@ -269,7 +271,7 @@ public class OpenVSwitchUpdateCommand extends AbstractTransactionCommand {
     }
 
     private NodeId getNodeId(OpenVSwitch ovs) {
-        NodeKey nodeKey = getInstanceIdentifier(ovs).firstKeyOf(Node.class);
+        NodeKey nodeKey = getInstanceIdentifier(ovs).firstKeyOf(Node.class, NodeKey.class);
         return nodeKey.getNodeId();
     }
 }