ryu.app.ofctl.api: request ryu.app.ofctl.service

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
YAMAMOTO Takashi 2014-02-21 17:14:01 +09:00 committed by FUJITA Tomonori
parent cd615a2f04
commit 990a7b82c9

View File

@ -16,6 +16,7 @@
# client for ryu.app.ofctl.service
from ryu.base import app_manager
import event
@ -33,3 +34,6 @@ def send_msg(app, msg):
Send an openflow message.
"""
return app.send_request(event.SendMsgRequest(msg=msg))()
app_manager.require_app('ryu.app.ofctl.service')