Sha256: ae9fb7f13e55eb52c19f73e5a7d541123b0e2381c391a2a33c8df29fc952a644
Contents?: true
Size: 1.58 KB
Versions: 7
Compression:
Stored size: 1.58 KB
Contents
Feature: run trema application with `trema run' command As a Trema user I want to launch trema applications with `trema run' command So that I don't have to mind the details of Trema Scenario: trema run launches switch_manager and an application When I try trema run "./objects/examples/dumper/dumper" with following configuration (backgrounded): """ vswitch { datapath_id "0xabc" } """ And wait until "dumper" is up Then switch_manager is started And dumper is started Scenario: trema run launches switch_manager and an application with proper options When I try trema run "./objects/examples/learning_switch/learning_switch -i 0xabc" with following configuration (backgrounded, verbose): """ vswitch { datapath_id "0xabc" } """ And wait until "learning_switch" is up Then "switch_manager" should be executed with option = "--daemonize --port=6633 -- port_status::learning_switch packet_in::learning_switch state_notify::learning_switch" And "learning_switch" should be executed with option = "--name learning_switch -i 0xabc" Scenario: switch_manager is killed when trema session is closed When I try trema run "/bin/true" with following configuration (verbose): """ vswitch { datapath_id "0xabc" } """ Then switch_manager should be killed Scenario: trema help run When I try to run "./trema help run" Then the output should be: """ Usage: ./trema run [OPTIONS ...] -c, --conf FILE -d, --daemonize -h, --help -v, --verbose """
Version data entries
7 entries across 7 versions & 1 rubygems