- adding condition to check if TP is null,then log and skip processing.
Change-Id: Idd4c7fbbe5398d15dc153927338421ffc3fef67c
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
}
for (DataObjectModification<OvsdbTerminationPointAugmentation> ovsdbTpModification : ovsdbTpModifications) {
OvsdbTerminationPointAugmentation newOvsdbTp = ovsdbTpModification.getDataAfter();
+
+ if (newOvsdbTp == null) {
+ LOG.trace("Termination Point is null. Not processing");
+ continue;
+ }
+
if (ovsdbBridge.getBridgeName().getValue().equals(newOvsdbTp.getName())) {
LOG.trace("Termination Point {} same as Bridge {}. Not processing", newOvsdbTp.getName(),
ovsdbBridge.getBridgeName().getValue());