Sha256: 0d4be9413cfe0e5782a0216252e385c11a1e377fb8192df9b7e05d32be1873f2

Contents?: true

Size: 1.18 KB

Versions: 3

Compression:

Stored size: 1.18 KB

Contents

@open_flow13
Feature: Pio::WriteMetadata
  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 |
      | to_binary_s.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 |
      | to_binary_s.length |                 24 |
      | metadata           |                  1 |
      | metadata_mask      |                  1 |

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pio-0.24.2 features/open_flow13/write_metadata.feature
pio-0.24.1 features/open_flow13/write_metadata.feature
pio-0.24.0 features/open_flow13/write_metadata.feature