• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

iwaseyusuke / ryu / 835 / 3
68%
master: 68%

Build:
Build:
LAST BUILD BRANCH: mrtlib-Support_RFC8050
DEFAULT BRANCH: master
Ran 06 Mar 2018 03:44AM UTC
Files 439
Run time 14s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Mar 2018 03:35AM UTC coverage: 67.979% (+0.6%) from 67.331%
TOX_ENV=py35

push

travis-ci

iwaseyusuke
ofproto: Encode data field on OFPErrorMsg

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>

57125 of 84033 relevant lines covered (67.98%)

0.68 hits per line

Source Files on job 835.3 (TOX_ENV=py35)
  • Tree
  • List 0
  • Changed 10
  • Source Changed 2
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1
  • Travis Job 835.3
  • 3353133b on github
  • Prev Job for TOX_ENV=py35 on ofp_handler-Close_socket_when_HELLO_failed (#832.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc