Reduce the number of service notifications sent
[transportpce.git] / servicehandler / src / main / java / org / opendaylight / transportpce / servicehandler / listeners / PceListenerImpl.java
index eed0c383318e2a8f3e5d67a36b4df708c66aa30d..d154d9bc6772f7af8781493bad1b290a021d7aa9 100644 (file)
@@ -163,9 +163,6 @@ public class PceListenerImpl implements TransportpcePceListener {
                 return false;
             case Successful:
                 LOG.info("PCE calculation done OK !");
-                nbiNotification = publishNotificationServiceBuilder.setMessage("PCE calculation done OK !")
-                        .setResponseFailed("").setOperationalState(State.OutOfService).build();
-                sendNbiNotification(nbiNotification);
                 return true;
             default:
                 LOG.error("PCE path computation returned an unknown RpcStatusEx code {}",