Sha256: e9979ad8a71b0e99873218c70d74dcdb81bd4eae3c3d7f715a5c81f9cead93c1
Contents?: true
Size: 965 Bytes
Versions: 8
Compression:
Stored size: 965 Bytes
Contents
Feature: barrier_reply handler Background: Given a file named "barrier_reply.rb" with: """ruby class BarrierReply < Trema::Controller def switch_ready(dpid) send_message dpid, Barrier::Request.new end def barrier_reply(dpid, message) logger.info 'barrier_reply handler is invoked' end end """ And a file named "trema.conf" with: """ruby vswitch { datapath_id 0xabc } """ @sudo Scenario: invoke barrier_reply handler Given I use OpenFlow 1.0 When I trema run "barrier_reply.rb" with the configuration "trema.conf" Then the file "BarrierReply.log" should contain "barrier_reply handler is invoked" @sudo @wip Scenario: invoke barrier_reply handler Given I use OpenFlow 1.3 When I trema run "barrier_reply.rb" with the configuration "trema.conf" Then the file "BarrierReply.log" should contain "barrier_reply handler is invoked"
Version data entries
8 entries across 8 versions & 1 rubygems