Contents

NiciraStackPop

@open_flow13

Pops field[offset: offset + n_bits] from top of the stack.

Scenario: new(:reg0)

  • When I create an OpenFlow action with:
    Pio::NiciraStackPop.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::NiciraStackPop.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_pop.feature at commit 40dd0fb6, Pio (GPL license).