saltstack/salt — pull request #13660 by SmithSamuelM (2014-06-23 23:58:48+00:00)
Title: Enabled framer manager that runs keep alive transactions initiated by minion

Enabled keep alive from the minion side.
Now both master and minion are initiating alive transactions for presence.

Also RAET 0.0.26 added support for presence availability and presence events.
This can be hooked up in the SaltRaetRoadStackManager behavior in salt.deamons.flo.core

def action(self, **kwa):
'''
Manage the presence of any remotes
'''
stack = self.stack.value
if stack and isinstance(stack, RoadStack):
stack.manage(cascade=True)
# stack.alloweds now has dict keyed by name of available remotes for messages
# stack.changeds is dict with sets of {plus: plus, minus: minus} names of
# remotes that that are newly allowed plus and newly disallowed minus
# need to copy reference to stack.alloweds to data store
# need to queue presence event message if either plus or minus is not empty