Contents

Echo::Reply

@open_flow10

An Echo Reply message consists of an OpenFlow header plus the unmodified data field of an echo request message.

Scenario: new

  • When I create an OpenFlow message with:
    Pio::Echo::Reply.new
  • Then the message has the following fields and values:
    fieldvalue
    transaction_id0
    xid0
    body
    user_data

Scenario: new(transaction_id: 123)

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

Scenario: new(body: 'echo reply body')

  • When I create an OpenFlow message with:
    Pio::Echo::Reply.new(body: 'echo reply body')
  • Then the message has the following fields and values:
    fieldvalue
    transaction_id0
    xid0
    bodyecho reply body
    user_dataecho reply body

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