frenetic-lang / frenetic

The Frenetic Programming Language and Runtime System
http://www.frenetic-lang.org/
Other
223 stars 51 forks source link

Fix Request-Response OpenFlow Transactions #490

Closed craig-riecke closed 8 years ago

craig-riecke commented 8 years ago

Frenetic adds a transactional layer for several request-response OpenFlow queries like port_stats. The layer had a few problems:

The fix makes sure all Deferreds are determined before sending the results over the wire. /port_stats now works. Need to test other transactional stuff like queries (flow_stats) before merging in.

craig-riecke commented 8 years ago

I thought this was interesting enough to log as an issue in Jane Street: https://github.com/janestreet/async_unix/issues/11