Sha256: 3e02a4d8ee8e6aba4baeaae9cafa037d87b4d7c19ba7ee70cfca67ce9c994660

Contents?: true

Size: 1013 Bytes

Versions: 10

Compression:

Stored size: 1013 Bytes

Contents

Feature: Send echo request messages

  As a Trema user
  I want to send echo request messages to openflow switches
  So that I can receive echo reply messages from openflow switches


  Scenario: Send echo request x 10
    When I try trema run "./objects/examples/openflow_message/echo_request 10" with following configuration (backgrounded):
      """
      vswitch("echo_request") { datapath_id "0xabc" }
      """
      And wait until "echo_request" is up
      And *** sleep 2 ***
    Then the log file "openflowd.echo_request.log" should include "received: OFPT_ECHO_REQUEST" x 10


  Scenario: Send echo request x 10 in Ruby
    When I try trema run "./src/examples/openflow_message/echo-request.rb 0xabc, 10" with following configuration (backgrounded):
      """
      vswitch("echo-request") { datapath_id "0xabc" }
      """
      And wait until "EchoRequestController" is up
      And *** sleep 2 ***
    Then the log file "openflowd.echo-request.log" should include "received: OFPT_ECHO_REQUEST" x 10

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
trema-0.2.5 features/example.message.echo_request.feature
trema-0.2.4 features/example.message.echo_request.feature
trema-0.2.3 features/example.message.echo_request.feature
trema-0.2.2.1 features/example.message.echo_request.feature
trema-0.2.2 features/example.message.echo_request.feature
trema-0.2.1 features/example.message.echo_request.feature
trema-0.2.0 features/example.message.echo_request.feature
trema-0.1.3.2 features/example.message.echo_request.feature
trema-0.1.3.1 features/example.message.echo_request.feature
trema-0.1.3 features/example.message.echo_request.feature