Contents

NiciraStackPush

@open_flow13

Pushes field[offset: offset + n_bits] to top of the stack.

Scenario: new(:reg0)

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

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

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

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