Sha256: 1c67405173beead0749255f2ecc8bc7e625bb995fdc5802c42ec54aeac6dafa5

Contents?: true

Size: 1016 Bytes

Versions: 5

Compression:

Stored size: 1016 Bytes

Contents

Feature: Pio::SendOutPort
  Background:
    Given I use OpenFlow 1.3

  Scenario: new(1)
    When I try to create an OpenFlow action with:
      """
      Pio::SendOutPort.new(1)
      """
    Then it should finish successfully
    And the message have the following fields and values:
      | field         |            value |
      | class         | Pio::SendOutPort |
      | action_type   |                0 |
      | action_length |               16 |
      | port          |                1 |
      | max_length    |       :no_buffer |

  Scenario: read
    When I try to parse a file named "open_flow13/send_out_port.raw" with "Pio::SendOutPort" class
    Then it should finish successfully
    And the message have the following fields and values:
      | field         |            value |
      | class         | Pio::SendOutPort |
      | action_type   |                0 |
      | action_length |               16 |
      | port          |                1 |
      | max_length    |       :no_buffer |

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pio-0.23.1 features/open_flow13/send_out_port.feature
pio-0.23.0 features/open_flow13/send_out_port.feature
pio-0.22.0 features/open_flow13/send_out_port.feature
pio-0.21.1 features/open_flow13/send_out_port.feature
pio-0.21.0 features/open_flow13/send_out_port.feature