commit | e15773f2e17afae9a38a6f66935e96c19e6983d5 | [log] [tgz] |
---|---|---|
author | Carmelo Cascone <carmelo@opennetworking.org> | Tue Aug 21 18:31:42 2018 -0700 |
committer | Carmelo Cascone <carmelo@opennetworking.org> | Thu Aug 23 00:21:28 2018 +0000 |
tree | 9f2f9085900e171a820356378a8ba9e9f7793983 | |
parent | 68e5973ae12f0d3b0e7c751b4a84e47c362e7283 [diff] |
Disconnect on channel error in GDP Change-Id: I39c240644f42051c746df5e20379897d7fb354b3
diff --git a/providers/general/device/src/main/java/org/onosproject/provider/general/device/impl/GeneralDeviceProvider.java b/providers/general/device/src/main/java/org/onosproject/provider/general/device/impl/GeneralDeviceProvider.java index 34e707f..f703371 100644 --- a/providers/general/device/src/main/java/org/onosproject/provider/general/device/impl/GeneralDeviceProvider.java +++ b/providers/general/device/src/main/java/org/onosproject/provider/general/device/impl/GeneralDeviceProvider.java
@@ -959,6 +959,7 @@ // TODO evaluate other reaction to channel error. log.warn("Received CHANNEL_ERROR from {}. Is the channel still open?", deviceId); + handleChannelClosed(deviceId); break; case ROLE_MASTER: handleMastershipResponse(deviceId, MastershipRole.MASTER);