- private void registerToSal(final Broker domRegistryDependency, final BindingAwareBroker bindingBroker) {
- // TODO: remove use of provider, there is possible directly create mount instance and
- // TODO: NetconfDeviceTopologyAdapter in constructor = less complexity
-
- domRegistryDependency.registerProvider(salProvider);
- bindingBroker.registerProvider(salProvider);
+ @Override
+ public void onDeviceConnected(final SchemaContext remoteSchemaContext,
+ final NetconfSessionPreferences sessionPreferences,
+ final DOMRpcService domRpcService, final DOMActionService domActionService) {
+ this.deviceAction = domActionService;
+ LOG.debug("{}: YANG 1.1 actions are supported in clustered netconf topology, "
+ + "DOMActionService exposed for the device", id);
+ onDeviceConnected(remoteSchemaContext, sessionPreferences, domRpcService);