Sha256: dedbd51cb69398b10bd66989ecb157b66811d519e3ed2beffb008cf54474453e

Contents?: true

Size: 1.54 KB

Versions: 5

Compression:

Stored size: 1.54 KB

Contents

@open_flow10
Feature: Pio::Hello

  Hello messages are exchanged between the switch and controller upon
  connection startup.

  Scenario: new
    When I try to create an OpenFlow message with:
      """
      Pio::OpenFlow10::Hello.new
      """
    Then it should finish successfully
    And the message has the following fields and values:
      | field          | value |
      | ofp_version    |     1 |
      | message_type   |     0 |
      | message_length |     8 |
      | transaction_id |     0 |
      | xid            |     0 |
      | body           |       |
      | user_data      |       |

  Scenario: new(transaction_id: 123)
    When I try to create an OpenFlow message with:
      """
      Pio::Hello.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   |     0 |
      | message_length |     8 |
      | transaction_id |   123 |
      | xid            |   123 |
      | body           |       |
      | user_data      |       |
      
  Scenario: read
    When I try to parse a file named "open_flow10/hello.raw" with "Hello" class
    Then it should finish successfully
    And the message has the following fields and values:
      | field          | value |
      | ofp_version    |     1 |
      | message_type   |     0 |
      | message_length |     8 |
      | transaction_id |    23 |
      | xid            |    23 |
      | body           |       |
      | user_data      |       |

Version data entries

5 entries across 5 versions & 1 rubygems

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