Sha256: 08fb9fc31b53d157c5caf42c0165ce84d0d59655d42819a1f405c6c8c5c896e2

Contents?: true

Size: 1.58 KB

Versions: 5

Compression:

Stored size: 1.58 KB

Contents

@open_flow10
Feature: Pio::DescriptionStats::Request
  Scenario: new
    When I try to create an OpenFlow message with:
      """
      Pio::DescriptionStats::Request.new
      """
    Then it should finish successfully
    And the message has the following fields and values:
      | field          |        value |
      | ofp_version    |            1 |
      | message_type   |           16 |
      | message_length |           12 |
      | transaction_id |            0 |
      | xid            |            0 |
      | stats_type     | :description |

  Scenario: new(transaction_id: 123)
    When I try to create an OpenFlow message with:
      """
      Pio::DescriptionStats::Request.new(transaction_id: 123)
      """
    Then it should finish successfully
    And the message has the following fields and values:
      | field          |        value |
      | ofp_version    |            1 |
      | message_type   |           16 |
      | message_length |           12 |
      | transaction_id |          123 |
      | xid            |          123 |
      | stats_type     | :description |

  Scenario: read
    When I try to parse a file named "open_flow10/description_stats_request.raw" with "DescriptionStats::Request" class
    Then it should finish successfully
    And the message has the following fields and values:
      | field          |        value |
      | ofp_version    |            1 |
      | message_type   |           16 |
      | message_length |           12 |
      | transaction_id |           12 |
      | xid            |           12 |
      | stats_type     | :description |

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pio-0.30.0 features/open_flow10/description_stats_request.feature
pio-0.29.0 features/open_flow10/description_stats_request.feature
pio-0.28.1 features/open_flow10/description_stats_request.feature
pio-0.28.0 features/open_flow10/description_stats_request.feature
pio-0.27.2 features/open_flow10/description_stats_request.feature