| Package | Description |
|---|---|
| org.onosproject.mastership |
Set of abstractions for dealing with controller mastership related topics.
|
| Modifier and Type | Method and Description |
|---|---|
RoleInfo |
MastershipStore.getNodes(DeviceId deviceId)
Returns the master and backup nodes for a device.
|
RoleInfo |
MastershipService.getNodesFor(DeviceId deviceId)
Returns controllers connected to a given device, in order of
preference.
|
RoleInfo |
MastershipEvent.roleInfo()
Returns the current role state for the subject.
|
| Constructor and Description |
|---|
MastershipEvent(MastershipEvent.Type type,
DeviceId device,
RoleInfo info)
Creates an event of a given type and for the specified device,
role information, and the current time.
|
MastershipEvent(MastershipEvent.Type type,
DeviceId device,
RoleInfo info,
long time)
Creates an event of a given type and for the specified device, master,
and time.
|
Copyright © 2015. All rights reserved.