So if you start RyuApp using event.py, manager.py will be started.

Signed-off-by: FUJITA Tomonori <[email protected]>
---
 ryu/services/protocols/vrrp/event.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/ryu/services/protocols/vrrp/event.py 
b/ryu/services/protocols/vrrp/event.py
index a92ac72..686f9ce 100644
--- a/ryu/services/protocols/vrrp/event.py
+++ b/ryu/services/protocols/vrrp/event.py
@@ -18,6 +18,7 @@
 Events for VRRP
 """
 
+from ryu.controller import handler
 from ryu.controller import event
 from ryu.lib import dpid as dpid_lib
 from ryu.lib import mac as mac_lib
@@ -267,3 +268,6 @@ class EventVRRPTransmitRequest(event.EventRequestBase):
     def __init__(self, data):
         super(EventVRRPTransmitRequest, self).__init__()
         self.data = data
+
+
+handler.register_service('ryu.services.protocols.vrrp.manager')
-- 
1.8.3.4 (Apple Git-47)


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to