Contents

Error::BadRequest

@open_flow10

Request was not understood error

Scenario: new (error_code: :bad_version, raw_data: EchoRequest 1.3)

  • When I create an OpenFlow message with:
    Pio::Error::BadRequest.new(error_code: :bad_version,
                               raw_data: Pio::OpenFlow13::Echo::Request.new.to_binary)
  • Then the message has the following fields and values:
    fieldvalue
    transaction_id0
    xid0
    error_type:bad_request
    error_code:bad_version
    raw_data.length8

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