Sha256: 8d4666b8df2189abcf72644c4aeff36bd2e19af124a48623df40e37396a5aff9

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

@open_flow13
Feature: Error::BadRequest

  Request was not understood error.

  Scenario: new (raw_data = Echo request 1.0)
    When I create an OpenFlow message with:
      """
      Pio::Error::BadRequest.new(raw_data: Pio::OpenFlow10::Echo::Request.new.to_binary)
      """
    Then the message has the following fields and values:
      | field           |        value |
      | version         |            4 |
      | transaction_id  |            0 |
      | xid             |            0 |
      | error_type      | :bad_request |
      | error_code      | :bad_version |
      | raw_data.length |            8 |

  Scenario: read
    When I parse a file named "open_flow13/bad_request.raw" with "Pio::Error::BadRequest" class
    Then the message has the following fields and values:
      | field           |        value |
      | version         |            4 |
      | transaction_id  |            0 |
      | xid             |            0 |
      | error_type      | :bad_request |
      | error_code      | :bad_version |
      | raw_data.length |            8 |

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pio-0.30.2 features/open_flow13/bad_request.feature
pio-0.30.1 features/open_flow13/bad_request.feature