4e10ba4438
Currently, when Ryu failed to negotiate the OpenFlow version with a switch, Ryu will send the OFPT_ERROR message with an error reason on its data field. But on Python 3, error reason string is a str type value and required to be encoded into a bytes type value, otherwise causes an exception when sending the message. This patch fixes to encode the given str value into a bytes type value in OFPErrorMsg.__init__() and solves this problem. Signed-off-by: William Fisher <william.w.fisher@gmail.com> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> |
||
---|---|---|
.. | ||
__init__.py | ||
conf_switch.py | ||
controller.py | ||
dpset.py | ||
event.py | ||
handler.py | ||
mac_to_network.py | ||
mac_to_port.py | ||
network.py | ||
ofp_api.py | ||
ofp_event.py | ||
ofp_handler.py | ||
tunnels.py |