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

iwaseyusuke / ryu / 331 / 2
64%
master: 68%

Build:
Build:
LAST BUILD BRANCH: mrtlib-Support_RFC8050
DEFAULT BRANCH: master
Ran 20 Jul 2016 06:49AM UTC
Files 407
Run time 21s
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

20 Jul 2016 06:07AM UTC coverage: 64.435%. First build
TOX_ENV=py34

push

travis-ci

iwaseyusuke
stplib: Handle the port state not changed events

According to OpenFlow Spec 1.3.5, OFPT_PORT_STATUS messages with
the reason value OFPPR_MODIFY should be sent the BOTH port state
and config have changed.
On the other hand, OVS does not send OFPT_PORT_STATUS messages
when the port config has changed and only sends when the port
state has changed.
But, other switch implementation, e.g. Lagopus, sends messages
when the both port state and config have changed.
Therefore, simple_switch_stp_13.py will overproduce the topology
recalculation events and will fail to recalculate the topology.

This patch checks the port state in OFPT_PORT_STATUS messages
and ignores the message if the port state is not changed.

Reported-by: Hong Panha <c011361065@edu.teu.ac.jp>
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>

48122 of 74683 relevant lines covered (64.44%)

0.64 hits per line

Source Files on job 331.2 (TOX_ENV=py34)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 331
  • Travis Job 331.2
  • 02fbdd6b on github
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

© 2025 Coveralls, Inc