Contents

SendOutPort

@open_flow10

Scenario: new(1)

  • When I create an OpenFlow action with:
    Pio::SendOutPort.new(1)
  • Then the action has the following fields and values:
    fieldvalue
    action_type0
    action_length8
    port1
    max_length65535

Scenario: new(:all)

  • When I create an OpenFlow action with:
    Pio::SendOutPort.new(:all)
  • Then the action has the following fields and values:
    fieldvalue
    action_type0
    action_length8
    port:all
    max_length65535

Scenario: new(:controller)

  • When I create an OpenFlow action with:
    Pio::SendOutPort.new(:controller)
  • Then the action has the following fields and values:
    fieldvalue
    action_type0
    action_length8
    port:controller
    max_length65535

Scenario: new(:local)

  • When I create an OpenFlow action with:
    Pio::SendOutPort.new(:local)
  • Then the action has the following fields and values:
    fieldvalue
    action_type0
    action_length8
    port:local
    max_length65535

Scenario: new(:table)

  • When I create an OpenFlow action with:
    Pio::SendOutPort.new(:table)
  • Then the action has the following fields and values:
    fieldvalue
    action_type0
    action_length8
    port:table
    max_length65535

Scenario: new(:in_port)

  • When I create an OpenFlow action with:
    Pio::SendOutPort.new(:in_port)
  • Then the action has the following fields and values:
    fieldvalue
    action_type0
    action_length8
    port:in_port
    max_length65535

Scenario: new(:normal)

  • When I create an OpenFlow action with:
    Pio::SendOutPort.new(:normal)
  • Then the action has the following fields and values:
    fieldvalue
    action_type0
    action_length8
    port:normal
    max_length65535

Scenario: new(:flood)

  • When I create an OpenFlow action with:
    Pio::SendOutPort.new(:flood)
  • Then the action has the following fields and values:
    fieldvalue
    action_type0
    action_length8
    port:flood
    max_length65535

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