Sha256: 09dc849822faa74af06df56c947a01c5f70e278eda1ec339e1efcbc9fa7ab2f7

Contents?: true

Size: 1.86 KB

Versions: 3

Compression:

Stored size: 1.86 KB

Contents

@open_flow10
Feature: Pio::Barrier::Request
  Scenario: new
    When I try to create an OpenFlow message with:
      """
      Pio::Barrier::Request.new
      """
    Then it should finish successfully
    And the message have the following fields and values:
      | field          | value |
      | ofp_version    |     1 |
      | message_type   |    18 |
      | message_length |     8 |
      | transaction_id |     0 |
      | xid            |     0 |
      | body           |       |

  Scenario: new(transaction_id: 123)
    When I try to create an OpenFlow message with:
      """
      Pio::Barrier::Request.new(transaction_id: 123)
      """
    Then it should finish successfully
    And the message have the following fields and values:
      | field          | value |
      | ofp_version    |     1 |
      | message_type   |    18 |
      | message_length |     8 |
      | transaction_id |   123 |
      | xid            |   123 |
      | body           |       |
      
  Scenario: new(xid: 123)
    When I try to create an OpenFlow message with:
      """
      Pio::Barrier::Request.new(xid: 123)
      """
    Then it should finish successfully
    And the message have the following fields and values:
      | field          | value |
      | ofp_version    |     1 |
      | message_type   |    18 |
      | message_length |     8 |
      | transaction_id |   123 |
      | xid            |   123 |
      | body           |       |

  Scenario: read
    When I try to parse a file named "open_flow10/barrier_request.raw" with "Barrier::Request" class
    Then it should finish successfully
    And the message have the following fields and values:
      | field          | value |
      | ofp_version    |     1 |
      | message_type   |    18 |
      | message_length |     8 |
      | transaction_id |     0 |
      | xid            |     0 |
      | body           |       |

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pio-0.24.2 features/open_flow10/barrier_request.feature
pio-0.24.1 features/open_flow10/barrier_request.feature
pio-0.24.0 features/open_flow10/barrier_request.feature