Contents

Meter

@open_flow13

Scenario: new(1)

  • When I create an OpenFlow instruction with:
    Pio::OpenFlow13::Meter.new(1)
  • Then the message has the following fields and values:
    fieldvalue
    classPio::OpenFlow13::Meter
    instruction_type6
    instruction_length8
    to_binary_s.length8
    meter_id1

Scenario: read

  • When I parse a file named "open_flow13/instruction_meter.raw" with "Pio::OpenFlow13::Meter" class
  • Then the message has the following fields and values:
    fieldvalue
    classPio::OpenFlow13::Meter
    instruction_type6
    instruction_length8
    to_binary_s.length8
    meter_id1

Source: features/open_flow13/meter.feature at commit 40dd0fb6, Pio (GPL license).