Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Simply put, the same subsystems of two different nodes synchronize directly with one another through the Store. The Store only synchronizes the states of the subsystem that it is part of; A DeviceStore, for example, cannot be used to synchronize Host information. The figure below summarizes this for two nodes and a subsystem "A" that is part of both.


At the time of this writing, all services with the exception of topology management have access to distributed stores.

...

The Device subsystem uses the role information maintained by the MastershipManager in order to determine which nodes are allowed to interact in what way with the devices that it has knowledge about. The MastershipManager also listens for device events as cues to force role reelections and relinquishments. Finally, any role-related control messages to and from the network, such as OpenFlow RoleRequests and RoleReplies, must be sent and received via DeviceProviders DeviceProviders; therefore, the DeviceService must manipulate the network on behalf of the MastershipService.