Sha256: fbbf248b3022a12bf50f0d45b575e55207c6466fe8753430d3a39d5dae7f229f

Contents?: true

Size: 724 Bytes

Versions: 18

Compression:

Stored size: 724 Bytes

Contents

Feature: phut kill command
  Background:
    Given a file named "network.conf" with:
      """
      vswitch { datapath_id 0xabc }

      vhost('host1') { ip '192.168.0.1' }
      vhost('host2') { ip '192.168.0.2' }

      link '0xabc', 'host1'
      link '0xabc', 'host2'
      """
    And I do phut run "network.conf"

  @sudo
  Scenario: phut kill vswitch_name
    When I do phut kill "0xabc"
    And I run `sudo ovs-vsctl list-br`
    Then the output from "sudo ovs-vsctl list-br" should not contain "br0xabc"

  @sudo
  Scenario: phut kill vhost_name
    When I do phut kill "host1"
    And I successfully run `sleep 5`
    Then the following files should not exist:
      | vhost.host1.pid |
      | vhost.host1.ctl |

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
phut-0.7.7 features/phut_kill.feature
phut-0.7.6 features/phut_kill.feature
phut-0.7.5 features/phut_kill.feature
phut-0.7.4 features/phut_kill.feature
phut-0.7.3 features/phut_kill.feature
phut-0.7.2 features/phut_kill.feature
phut-0.7.1 features/phut_kill.feature
phut-0.7.0 features/phut_kill.feature
phut-0.6.11 features/phut_kill.feature
phut-0.6.10 features/phut_kill.feature
phut-0.6.9 features/phut_kill.feature
phut-0.6.8 features/phut_kill.feature
phut-0.6.7 features/phut_kill.feature
phut-0.6.6 features/phut_kill.feature
phut-0.6.5 features/phut_kill.feature
phut-0.6.4 features/phut_kill.feature
phut-0.6.3 features/phut_kill.feature
phut-0.6.2 features/phut_kill.feature