Contents

Lldp

Scenario: create

  • When I create an OpenFlow message with:
    Pio::Lldp.new(dpid: 0x123, port_number: 12, source_mac: '11:22:33:44:55:66')
  • Then the message has the following fields and values:
    fieldvalue
    classPio::Lldp
    destination_mac01:80:c2:00:00:0e
    source_mac11:22:33:44:55:66
    ether_type35020
    chassis_id291
    dpid291
    port_id12
    ttl120
    port_description
    system_name
    system_description
    system_capabilities
    management_address
    organizationally_specific

Scenario: parse lldp.minimal.pcap

  • When I parse a file named "lldp.minimal.pcap" with "Pio::Lldp" class
  • Then the message #1 have the following fields and values:
    fieldvalue
    classPio::Lldp
    destination_mac01:80:c2:00:00:0e
    source_mac00:04:96:1f:a7:26
    ether_type35020
    chassis_id19698525990
    dpid19698525990
    port_id1/3
    ttl120
    port_description
    system_name
    system_description
    system_capabilities
    management_address
    organizationally_specific

Scenario: parse lldp.detailed.pcap

  • Then I parse a file named "lldp.detailed.pcap" with "Pio::Lldp" class

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