Sha256: bcb5152c0bec338ce3ca58def93b9818d25fdab876cebda5ec5a3580efc4e52d

Contents?: true

Size: 1.12 KB

Versions: 5

Compression:

Stored size: 1.12 KB

Contents

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

  Scenario: new(metadata: 1)
    When I try to create an OpenFlow instruction with:
      """
      Pio::WriteMetadata.new(metadata: 1)
      """
    Then it should finish successfully
    And the message have the following fields and values:
      | field              |              value |
      | class              | Pio::WriteMetadata |
      | instruction_type   |                  2 |
      | instruction_length |                 24 |
      | metadata           |                  1 |
      | metadata_mask      |                  0 |

  Scenario: read
    When I try to parse a file named "open_flow13/instruction_write_metadata.raw" with "Pio::WriteMetadata" class
    Then it should finish successfully
    And the message have the following fields and values:
      | field              |              value |
      | class              | Pio::WriteMetadata |
      | instruction_type   |                  2 |
      | instruction_length |                 24 |
      | metadata           |                  1 |
      | metadata_mask      |                  1 |

Version data entries

5 entries across 5 versions & 1 rubygems

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