Sha256: 16b371fbf875a548bbce5df395c658562fe945828d4b992fb438aa9e04cf24a5
Contents?: true
Size: 1.02 KB
Versions: 30
Compression:
Stored size: 1.02 KB
Contents
Feature: "Packet In" sample application In order to learn how to handle Packet In messages As a developer using Trema I want to execute "Packet In" sample application Background: Given a file named "packet_in.conf" with: """ vswitch("packet_in") { dpid 0xabc } vhost("host1") vhost("host2") link "packet_in", "host1" link "packet_in", "host2" """ @slow_process Scenario: Run "Packet In" C example Given I run `trema run ../../objects/examples/packet_in/packet_in -c packet_in.conf -d` And wait until "packet_in" is up When I send 1 packet from host1 to host2 Then the file "../../tmp/log/packet_in.log" should contain "received a packet_in" @slow_process Scenario: Run "Packet In" Ruby example Given I run `trema run ../../src/examples/packet_in/packet-in.rb -c packet_in.conf -d` And wait until "PacketInDumper" is up When I send 1 packet from host1 to host2 Then the file "../../tmp/log/PacketInDumper.log" should contain "received a packet_in"
Version data entries
30 entries across 30 versions & 1 rubygems