Sha256: 28bbcc1ee79966f6e7443faaedad8ca343318a08a96b9372e413e8bbfb169ecd

Contents?: true

Size: 895 Bytes

Versions: 5

Compression:

Stored size: 895 Bytes

Contents

Feature: Pio::Meter
  Background:
    Given I use OpenFlow 1.3

  Scenario: new(1)
    When I try to create an OpenFlow instruction with:
    """
    Pio::Meter.new(1)
    """
    Then it should finish successfully
    And the message have the following fields and values:
    | field              |      value |
    | class              | Pio::Meter |
    | instruction_type   |          6 |
    | instruction_length |          8 |
    | meter_id           |          1 |

  Scenario: read
    When I try to parse a file named "open_flow13/instruction_meter.raw" with "Pio::Meter" class
    Then it should finish successfully
    And the message have the following fields and values:
      | field              |      value |
      | class              | Pio::Meter |
      | instruction_type   |          6 |
      | instruction_length |          8 |
      | meter_id           |          1 |

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pio-0.23.1 features/open_flow13/meter.feature
pio-0.23.0 features/open_flow13/meter.feature
pio-0.22.0 features/open_flow13/meter.feature
pio-0.21.1 features/open_flow13/meter.feature
pio-0.21.0 features/open_flow13/meter.feature