Sha256: 57765c0f33412f7859696eaa7ee8fdb4237a678193d1b5c6c01aca549750c577

Contents?: true

Size: 986 Bytes

Versions: 10

Compression:

Stored size: 986 Bytes

Contents

Feature: Send echo reply messages

  As a Trema user
  I want to send echo reply messages to openflow switches
  Because I want to reply to echo requests from openflow switches


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


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

Version data entries

10 entries across 10 versions & 1 rubygems

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