Sha256: 4d06726879a72703b830b330b73ef68ccfc4e926bdb654d82cb127e8dcfc68b2

Contents?: true

Size: 1.03 KB

Versions: 10

Compression:

Stored size: 1.03 KB

Contents

Feature: Send set config messages

  As a Trema user
  I want to send set config messages to openflow switches
  So that I can set configuration parameters of openflow switches


  Scenario: set config x 10
    When I try trema run "./objects/examples/openflow_message/set_config 10" with following configuration (backgrounded):
      """
      vswitch("set_config") { datapath_id "0xabc" }
      """
      And wait until "set_config" is up
      And *** sleep 2 ***
      And I terminated all trema services
    Then the log file "openflowd.set_config.log" should include "received: OFPT_SET_CONFIG" x 11


  Scenario: set config x 10 in Ruby
    When I try trema run "./src/examples/openflow_message/set-config.rb 0xabc, 10" with following configuration (backgrounded):
      """
      vswitch("set-config") { datapath_id "0xabc" }
      """
      And wait until "SetConfigController" is up
      And *** sleep 2 ***
      And I terminated all trema services
    Then the log file "openflowd.set-config.log" should include "received: OFPT_SET_CONFIG" x 11

Version data entries

10 entries across 10 versions & 1 rubygems

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