commit | 7814e9f6e3ef47b927c1a4c0f4ab9078533117a3 | [log] [tgz] |
---|---|---|
author | alshabib <alshabibi.ali@gmail.com> | Tue Sep 30 11:52:12 2014 -0700 |
committer | alshabib <alshabibi.ali@gmail.com> | Tue Sep 30 11:52:12 2014 -0700 |
tree | 8d5dee6d836e1c449d69692ff1e0c8e5a9de9118 | |
parent | 3f8ebbeb2956813411f90ec877ab82fa84605fe9 [diff] [blame] |
office cell and associated fixes (role, idle timeout) Change-Id: Icc1fbed46c59f9be1d124569779250c0796150ce
diff --git a/openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/AbstractOpenFlowSwitch.java b/openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/AbstractOpenFlowSwitch.java index 69ddc71..4334395 100644 --- a/openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/AbstractOpenFlowSwitch.java +++ b/openflow/api/src/main/java/org/onlab/onos/openflow/controller/driver/AbstractOpenFlowSwitch.java
@@ -243,6 +243,8 @@ if (role == RoleState.SLAVE || role == RoleState.EQUAL) { this.role = role; } + } else { + this.role = role; } } catch (IOException e) { log.error("Unable to write to switch {}.", this.dpid);