Sha256: 18eb152a6e1fdbda9f323fbca5ef03bdd1f3eef67b1fbac3ad3725de211ccd28

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

@open_flow10
Feature: Barrier::Reply

  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:
      | field          | value |
      | version        |     1 |
      | transaction_id |     0 |
      | xid            |     0 |
      | 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:
      | field          | value |
      | version        |     1 |
      | transaction_id |   123 |
      | xid            |   123 |
      | body           |       |

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pio-0.30.2 features/open_flow10/barrier_reply.feature
pio-0.30.1 features/open_flow10/barrier_reply.feature