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:
parent
cd615a2f04
commit
990a7b82c9
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user