}
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());
}
}
}
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());
}
}
}
private NodeId getNodeId(OpenVSwitch ovs) {
- NodeKey nodeKey = getInstanceIdentifier(ovs).firstKeyOf(Node.class);
+ NodeKey nodeKey = getInstanceIdentifier(ovs).firstKeyOf(Node.class, NodeKey.class);
return nodeKey.getNodeId();
}
}