Sha256: 3f6748112c3ba1e15c099bcdbab44fcb7815deb728939795fb3670e45f90b882

Contents?: true

Size: 996 Bytes

Versions: 1

Compression:

Stored size: 996 Bytes

Contents

Feature: "Vendor Action" sample application

  In order to learn how to send Vendor Action
  As a developer using Trema
  I want to execute "Vendor Action" sample application

  Background:
    Given a file named "vendor_action.conf" with:
      """
      vswitch( "vendor_action" ) { datapath_id "0xabc" }
      """

  @slow_process
  Scenario: Run "Packet In" C example
  Given I run `trema run ../../objects/examples/openflow_message/vendor_action -c vendor_action.conf -d`
   And wait until "vendor_action" is up
   And *** sleep 2 ***
  Then the file "../../tmp/log/openflowd.vendor_action.log" should contain "actions=note:54.72.65.6d.61.00"

  @slow_process
  Scenario: Run "Packet In" Ruby example
  Given I run `trema run ../../src/examples/openflow_message/vendor-action.rb -c vendor_action.conf -d`
   And wait until "VendorActionSampleController" is up
   And *** sleep 2 ***
  Then the file "../../tmp/log/openflowd.vendor_action.log" should contain "actions=note:54.72.65.6d.61.00"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trema-0.4.5 features/examples/message.vendor-action.feature