- private void handleOwnershipChanged(final EntityOwnershipChange ownershipChange) {
- OvsdbConnectionInstance ovsdbConnectionInstance = getConnectionInstanceFromEntity(ownershipChange.getEntity());
- LOG.debug("Ovsdb handleOwnershipChanged: {} event received for device {}",
- ownershipChange, ovsdbConnectionInstance != null ? ovsdbConnectionInstance.getConnectionInfo()
- : "that's currently NOT registered by *this* southbound plugin instance");
+ @VisibleForTesting
+ void handleOwnershipChanged(final Entity entity, final EntityOwnershipStateChange change) {
+ OvsdbConnectionInstance ovsdbConnectionInstance = getConnectionInstanceFromEntity(entity);
+ LOG.debug("Ovsdb handleOwnershipChanged: {} event received for device {}", change,
+ ovsdbConnectionInstance != null ? ovsdbConnectionInstance.getConnectionInfo()
+ : "that's currently NOT registered by *this* southbound plugin instance");