Contents

NiciraSendOutPort

@open_flow13

Outputs to the OpenFlow port number written to source[offset:offset+n_bits]

Scenario: new(:reg0)

  • When I create an OpenFlow action with:
    Pio::NiciraSendOutPort.new(:reg0)
  • Then the action has the following fields and values:
    fieldvalue
    offset0
    n_bits32
    source:reg0
    max_length.to_hex0xffff

Scenario: new(:reg0, offset: 16, n_bits: 16, max_length: 256)

  • When I create an OpenFlow action with:
    Pio::NiciraSendOutPort.new(:reg0, offset: 16, n_bits: 16, max_length: 256)
  • Then the action has the following fields and values:
    fieldvalue
    offset16
    n_bits16
    source:reg0
    max_length256

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