Contents

Hello

@open_flow10

Hello messages are exchanged between the switch and controller upon connection startup. Hello messages have the version field set to the highest OpenFlow protocol version supported by the sender.

Scenario: new

  • When I create an OpenFlow message with:
    Pio::Hello.new
  • Then the message has the following fields and values:
    fieldvalue
    version1
    transaction_id0
    xid0

Scenario: new(transaction_id: 123)

  • When I create an OpenFlow message with:
    Pio::Hello.new(transaction_id: 123)
  • Then the message has the following fields and values:
    fieldvalue
    version1
    transaction_id123
    xid123

Source: features/open_flow10/hello.feature at commit 40dd0fb6, Pio (GPL license).