Sha256: 25eac1cf20936071becd97dea833d1e09e59df4b035767b57c8a44bc8d2aaba1

Contents?: true

Size: 1.78 KB

Versions: 4

Compression:

Stored size: 1.78 KB

Contents

Feature: Pio::OpenFlow10::QueueStats::Request
  @open_flow10
  Scenario: new(port: 1, queue_id: 1)
    When I try to create an OpenFlow message with:
      """
      Pio::OpenFlow10::QueueStats::Request.new(port: 1, queue_id: 1)
      """
    Then it should finish successfully
    And the message has the following fields and values:
      | field          |  value |
      | ofp_version    |      1 |
      | message_type   |     16 |
      | message_length |     20 |
      | transaction_id |      0 |
      | xid            |      0 |
      | stats_type     | :queue |
      | port           |      1 |
      | queue_id       |      1 |

  @open_flow10
  Scenario: new(port: 1, queue_id: 1, transaction_id: 123)
    When I try to create an OpenFlow message with:
      """
      Pio::OpenFlow10::QueueStats::Request.new(port: 1, queue_id: 1, 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 |     20 |
      | transaction_id |    123 |
      | xid            |    123 |
      | stats_type     | :queue |
      | port           |      1 |
      | queue_id       |      1 |

  @open_flow10
  Scenario: read
    When I try to parse a file named "open_flow10/queue_stats_request.raw" with "QueueStats::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 |     20 |
      | transaction_id |    123 |
      | xid            |    123 |
      | stats_type     | :queue |
      | port           |   :all |
      | queue_id       |      1 |

Version data entries

4 entries across 4 versions & 1 rubygems

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