Contents

Barrier::Reply

@open_flow10

When the switch received a Barrier Request message, the switch must finish processing all previously-received messages before executing any messages beyond the Barrier Request. When such processing is complete, the switch must send an Barrier Reply message with the xid of the original request.

Scenario: new

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

Scenario: new(transaction_id: 123)

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

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