Contents

Vswitch.destroy_all

Background:

  • Given I run `phut -v` interactively

Scenario: Vswitch.destroy_all

@sudo

  • When I type "Vswitch.destroy_all"
  • And I type "Vswitch.all"
  • And sleep 5
  • Then the output should contain "[]"

Scenario: Vswitch.destroy_all

@sudo

  • Given I type "Vswitch.create(dpid: 0xabc)"
  • When I type "Vswitch.destroy_all"
  • And I type "Vswitch.all"
  • And sleep 5
  • Then the output should contain "[]"

Source: features/shell/vswitch.destroy_all.feature at commit babb3554, Phut (GPL license).