Contents

PortStatus

@open_flow10

As physical ports are added, modified, and removed from the datapath, the controller needs to be informed with the PortStatus message.

Scenario: read

  • When I parse a file named "open_flow10/port_status.raw" with "PortStatus" class
  • Then the message has the following fields and values:
    fieldvalue
    transaction_id4
    xid4
    reason:delete
    number65533
    mac_address01:02:03:04:05:06
    namefoo
    config[:no_flood]
    state[:stp_forward, :stp_block]
    curr[:port_10mb_hd]
    advertised[:port_1gb_fd]
    supported[:port_autoneg]
    peer[:port_pause_asym]

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