Sha256: 850a8e49e427900a42b795a728b1d313c275d72c9958f828dba6d9e41ec770c1

Contents?: true

Size: 1.86 KB

Versions: 1

Compression:

Stored size: 1.86 KB

Contents

@open_flow13
Feature: Pio::NiciraRegMove

  Scenario: new(from: :arp_sender_hardware_address, to: :arp_target_hardware_address)
    When I try to create an OpenFlow action with:
      """
      Pio::NiciraRegMove.new(from: :arp_sender_hardware_address, to: :arp_target_hardware_address)
      """
    Then it should finish successfully
    And the action has the following fields and values:
      | field                  |                        value |
      | action_type.to_hex     |                       0xffff |
      | action_length          |                           24 |
      | experimenter_id.to_hex |                       0x2320 |
      | experimenter_type      |                            6 |
      | from                   | :arp_sender_hardware_address |
      | source_oxm_field       |                           24 |
      | source_oxm_length      |                            6 |
      | to                     | :arp_target_hardware_address |
      | destination_oxm_field  |                           25 |
      | destination_oxm_length |                            6 |

  Scenario: new(from: :reg0, to: :reg7)
    When I try to create an OpenFlow action with:
      """
      Pio::NiciraRegMove.new(from: :reg0, to: :reg7)
      """
    Then it should finish successfully
    And the action has the following fields and values:
      | field                  |  value |
      | action_type.to_hex     | 0xffff |
      | action_length          |     24 |
      | experimenter_id.to_hex | 0x2320 |
      | experimenter_type      |      6 |
      | from                   |  :reg0 |
      | source_oxm_class       |      1 |
      | source_oxm_field       |      0 |
      | source_oxm_length      |      4 |
      | to                     |  :reg7 |
      | destination_oxm_class  |      1 |
      | destination_oxm_field  |      7 |
      | destination_oxm_length |      4 |

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.0 features/open_flow13/nicira_reg_move.feature