commit | 98bd12f69c8bcba960a8e88d35fc7f48fcd265fa | [log] [tgz] |
---|---|---|
author | Ayaka Koshibe <ayaka@onlab.us> | Sat Nov 01 20:13:37 2014 -0700 |
committer | Ayaka Koshibe <ayaka@onlab.us> | Sat Nov 01 20:13:37 2014 -0700 |
tree | 18d180d1814ac6eeff52ef06f84bb83eb2f37d90 | |
parent | 548153202c90c7f7bf4d7876ba1e574e90747c62 [diff] [blame] |
modificiations to emit BACKUP_CHANGED Mastership events Change-Id: Id61dcc9dc42c8c246313afbec8d19142e6c855a5 Conflicts: core/net/src/main/java/org/onlab/onos/net/device/impl/DeviceManager.java
diff --git a/core/api/src/main/java/org/onlab/onos/mastership/MastershipEvent.java b/core/api/src/main/java/org/onlab/onos/mastership/MastershipEvent.java index 60f0dad..5447545 100644 --- a/core/api/src/main/java/org/onlab/onos/mastership/MastershipEvent.java +++ b/core/api/src/main/java/org/onlab/onos/mastership/MastershipEvent.java
@@ -40,7 +40,9 @@ MASTER_CHANGED, /** - * Signifies that the list of backup nodes has changed. + * Signifies that the list of backup nodes has changed. If + * the change in the backups list is accompanied by a change in + * master, the event is subsumed by MASTER_CHANGED. */ BACKUPS_CHANGED }