Current Series Release Notes

5.0.0

Upgrade Notes

  • ncclient is no longer a mandatory dependency. It is only needed by the OF-Config library (os_ken.lib.of_config); install it with the of-config extra, e.g. pip install os-ken[of-config].

  • Support for eventlet has been removed from os_ken.lib.hub and the BGP speaker’s internal utilities. native threading (based on the Python standard library) is now the only supported hub implementation. The OSKEN_HUB_TYPE environment variable and the eventlet dependency are no longer used.

Bug Fixes

  • With the native hub, hub.getcurrent() returns the current thread. It raised TypeError, getcurrent being the thread that imported the hub instead of a function.

  • With the native hub, the thread returned by hub.spawn_after() has a wait() method, as the ones returned by hub.spawn() and by the eventlet hub.

  • With the native hub, an exception raised by an event handler no longer ends the event loop of its application without being logged. It is logged, and the application keeps handling events, as with eventlet.

  • Fix a race in native-threaded switch-features processing that could terminate the OfctlService event loop and leave subsequent requests waiting indefinitely. Use the datapath ID from the received features reply without relying on another thread to initialize the shared datapath object first.