commit | abedb0998d3ed8ed75d0e7b2e4279c137670849e | [log] [tgz] |
---|---|---|
author | Ayaka Koshibe <ayaka@onlab.us> | Mon Oct 20 17:01:31 2014 -0700 |
committer | Ayaka Koshibe <ayaka@onlab.us> | Mon Oct 20 17:31:11 2014 -0700 |
tree | 456119aa1d6472552a796c163b85974f94d4d8f5 | |
parent | 67af1f4247af9b60e899a76b468b27e95e379337 [diff] [blame] |
MasteshipService, store, and CLI commands use RoleInfo Change-Id: Ibc569498a67d33d088e5c9f89c6bb1f45eadc26e
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 7b8531c..9f75fc4 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
@@ -56,7 +56,10 @@ } /** - * Returns the NodeID of the node responsible for triggering the event. + * Returns the NodeID of the node associated with the event. + * For MASTER_CHANGED this is the newly elected master, and for + * BACKUPS_CHANGED, this is the node that was newly added, removed, or + * whose position was changed in the list. * * @return node ID as a subject */