We have two different mechanisms to register handlers for events: register_cls and register_instance. The former registers handlers in a class (statically) and the latter registers handlers in an instance (dynamically).
We use the former only for the standard OFP handlers but there is no reason we can't use the latter for them. So let's register handlers in the uniform way. Plus dynamic registration is more flexible. = bin/ryu-manager | 3 + ryu/controller/handler.py | 131 +--------------------------------------- ryu/controller/ofp_handler.py | 113 +++++++++++++++++++++++++++++++++++ 3 files changed, 120 insertions(+), 127 deletions(-) ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
