Sha256: 1007483a85e469fd4af534dbd8add9a15edb63ccfe1801087fc052302a7c9ae0

Contents?: true

Size: 1.74 KB

Versions: 9

Compression:

Stored size: 1.74 KB

Contents

@open_flow13
Feature: Apply-Actions instruction.
  Scenario: new()
    When I try to create an OpenFlow instruction with:
      """
      Pio::Apply.new
      """
    Then it should finish successfully
    And the message has the following fields and values:
      | field              | value      |
      | class              | Pio::Apply |
      | instruction_type   | 4          |
      | instruction_length | 8          |
      | actions            | []         |

  Scenario: new(SendOutPort.new(1))
    When I try to create an OpenFlow instruction with:
      """
      Pio::Apply.new(SendOutPort.new(1))
      """
    Then it should finish successfully
    And the message has the following fields and values:
      | field               |                        value |
      | class               |                   Pio::Apply |
      | instruction_type    |                            4 |
      | instruction_length  |                           24 |
      | actions.size        |                            1 |
      | actions.at(0).class | Pio::OpenFlow13::SendOutPort |
      | actions.at(0).port  |                            1 |

  Scenario: read
    When I try to parse a file named "open_flow13/apply_actions.raw" with "Pio::Apply" class
    Then it should finish successfully
    And the message has the following fields and values:
      | field               |                        value |
      | class               |                   Pio::Apply |
      | instruction_type    |                            4 |
      | instruction_length  |                           24 |
      | actions.size        |                            1 |
      | actions.at(0).class | Pio::OpenFlow13::SendOutPort |
      | actions.at(0).port  |                            1 |

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pio-0.30.0 features/open_flow13/apply_actions.feature
pio-0.29.0 features/open_flow13/apply_actions.feature
pio-0.28.1 features/open_flow13/apply_actions.feature
pio-0.28.0 features/open_flow13/apply_actions.feature
pio-0.27.2 features/open_flow13/apply_actions.feature
pio-0.27.1 features/open_flow13/apply_actions.feature
pio-0.27.0 features/open_flow13/apply_actions.feature
pio-0.26.0 features/open_flow13/apply_actions.feature
pio-0.25.0 features/open_flow13/apply_actions.feature