summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-02-03 21:54:40 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-02-04 09:33:28 +0900
commit7578e7d6020ea446af4640b17adb0c325c7570a8 (patch)
treeff0c6b1fd6d209639361f2593484d7f5e43f86db /doc
parent64e2f97fd9b2d652826e71a43f6cb745132dbbb8 (diff)
replace dispatcher mechanism
This is purely internal change and no API for applications is changed. At least, I confirmed that folsom OpenStack plugin works. With the current dispatcher mechanism, multiple greenlets call applications' handlers and might be blocked anywhere so we need various locks to handle that concurrency. This makes things difficult for application developers. With this patch, each applications are connected with events. Each application has the own greenlet(s) to handle events and might send events to other applications. If an application registers handlers for some OF events, it subscribes to OF component and registers the OF events that it's interested. OF application delivers such OF events to the application and the application's greenlet executes the handlers. With this, we can completely remove dispatcher.py and its friends. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions