Sha256: ca05e246d1b86f1415e6e9e196c4f833d0c157ce33d3888a7f9bc263fbd6a0b1

Contents?: true

Size: 1.59 KB

Versions: 4

Compression:

Stored size: 1.59 KB

Contents

Feature: Pio::OpenFlow10::PortStats::Request
  @open_flow10
  Scenario: new(:none)
    When I try to create an OpenFlow message with:
      """
      Pio::OpenFlow10::PortStats::Request.new(:none)
      """
    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     | :port |
      | port           | :none |

  @open_flow10
  Scenario: new(:none, transaction_id: 123)
    When I try to create an OpenFlow message with:
      """
      Pio::OpenFlow10::PortStats::Request.new(:none, 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     | :port |
      | port           | :none |

  @open_flow10
  Scenario: read
    When I try to parse a file named "open_flow10/port_stats_request.raw" with "PortStats::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     | :port |
      | port           | :none |

Version data entries

4 entries across 4 versions & 1 rubygems

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