Sha256: 7c05de56bde67d02c9ff2f5f0ccb784b3f3cb3f75b18466549bef3a4ad83bf23

Contents?: true

Size: 1.84 KB

Versions: 1

Compression:

Stored size: 1.84 KB

Contents

@open_flow10
Feature: Pio::Barrier::Reply
  Scenario: new
    When I try to create an OpenFlow message with:
      """
      Pio::Barrier::Reply.new
      """
    Then it should finish successfully
    And the message has the following fields and values:
      | field          | value |
      | ofp_version    |     1 |
      | message_type   |    19 |
      | 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::Reply.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   |    19 |
      | message_length |     8 |
      | transaction_id |   123 |
      | xid            |   123 |
      | body           |       |
      
  Scenario: new(xid: 123)
    When I try to create an OpenFlow message with:
      """
      Pio::Barrier::Reply.new(xid: 123)
      """
    Then it should finish successfully
    And the message has the following fields and values:
      | field          | value |
      | ofp_version    |     1 |
      | message_type   |    19 |
      | message_length |     8 |
      | transaction_id |   123 |
      | xid            |   123 |
      | body           |       |

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.25.0 features/open_flow10/barrier_reply.feature