Sha256: 8be59358b71222490ea9c5f51c88c96872265ca3f680b2375435f2ca842983f9

Contents?: true

Size: 1.07 KB

Versions: 2

Compression:

Stored size: 1.07 KB

Contents

@open_flow10
Feature: QueueStats::Request

  Information about queues is requested with a Queue Stats Request
  message.

  Scenario: new(port: 1, queue_id: 1)
    When I create an OpenFlow message with:
      """
      Pio::OpenFlow10::QueueStats::Request.new(port: 1, queue_id: 1)
      """
    Then the message has the following fields and values:
      | field          |  value |
      | version        |      1 |
      | transaction_id |      0 |
      | xid            |      0 |
      | stats_type     | :queue |
      | port           |      1 |
      | queue_id       |      1 |

  Scenario: new(port: 1, queue_id: 1, transaction_id: 123)
    When I create an OpenFlow message with:
      """
      Pio::OpenFlow10::QueueStats::Request.new(port: 1, queue_id: 1, transaction_id: 123)
      """
    Then the message has the following fields and values:
      | field          |  value |
      | version        |      1 |
      | transaction_id |    123 |
      | xid            |    123 |
      | stats_type     | :queue |
      | port           |      1 |
      | queue_id       |      1 |

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pio-0.30.2 features/open_flow10/queue_stats_request.feature
pio-0.30.1 features/open_flow10/queue_stats_request.feature