trema / pio

Packet parser and generator in Ruby
27 stars 11 forks source link

Add support OFP_PORT_MOD #325

Open shun159 opened 8 years ago

shun159 commented 8 years ago

port_downさせるとき

Pio::PortMod.new(
  port_no: 1,
  mac_address: '11:11:11:11:11:11',
  config: [:port_down],
  mask: [:port_down]
)

port_upさせるとき

Pio::PortMod.new(
  port_no: 1,
  mac_address: '11:11:11:11:11:11',
  config: [],
  mask: [:port_down]
)
coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.005%) to 97.542% when pulling 433cc96e92846f4937d099f323b772d25bd1c779 on shun159:feature/ofp_port_mod into a64e9a0a25b4719588ff9b9555458ab8c49cfa85 on trema:develop.