Sha256: a22d623773ad2852f24ba98f8229369381e73503de7ed9c09a59f4103b1d180e

Contents?: true

Size: 869 Bytes

Versions: 22

Compression:

Stored size: 869 Bytes

Contents

Feature: killall command

  In order to cleanup the previous trema session
  As a developer using Trema
  I want to execute "trema killall" command

  @slow_process
  Scenario: trema killall
    Given a file named "switch_monitor.conf" with:
      """
      vswitch { datapath_id 0x1 }
      vswitch { datapath_id 0x2 }
      vswitch { datapath_id 0x3 }

      vhost "host1"
      vhost "host2"
      vhost "host3"

      link "0x1", "host1"
      link "0x2", "host2"
      link "0x3", "host3"
      """
     And I successfully run `trema run ../../objects/examples/switch_monitor/switch_monitor -c switch_monitor.conf -d`
     And wait until "switch_monitor" is up
    When I run `trema killall`
    Then switch_manager is terminated
     And switch is terminated
     And phost is terminated
     And ovs-openflowd is terminated
     And switch_monitor is terminated

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
trema-0.3.7 features/trema_commands/killall.feature
trema-0.3.6 features/trema_commands/killall.feature