Hi Thomas,
I have taken the example code provided in the CarProvider for registering my
cohert in my provider class. But whenever I am trying to register my cohert, I
am always getting the " RPC error DOMDataTreeCommitCohortRegistry not found " .
Below is my code snippet :
@Override
public synchronized Future<RpcResult<Void>> registerCommitCohort() {
if (commitCohortReg.get() != null) {
return RpcResultBuilder.<Void>success().buildFuture();
}
final DOMDataTreeCommitCohortRegistry commitCohortRegistry =
(DOMDataTreeCommitCohortRegistry)
domDataBroker.getSupportedExtensions().get(DOMDataTreeCommitCohortRegistry.class);
if (commitCohortRegistry == null) {
// Shouldn't happen
return RpcResultBuilder.<Void>failed().withError(ErrorType.APPLICATION,
"DOMDataTreeCommitCohortRegistry not found").buildFuture();
}
...
...
}
I am using the mdsal-dom-api-2.1.0-Boron.jar . Is the issue related to the
older jar version being used ?
Regards
-Satish
_______________________________________________
controller-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/controller-dev