Logo: Relish

  1. Sign in

Project: Phut

Vswitch.destroy

Background
Given
I run phut -v interactively
Scenarios
  • @sudo
Vswitch.destroy
Given
I type "Vswitch.create(dpid: 0xabc)"
When
I type "Vswitch.destroy('0xabc')"
And
sleep 5
Then
a vswitch named "0xabc" should not be running
  • @sudo
Vswitch.destroy #=> error
When
I type "Vswitch.destroy('no_such_switch')"
Then
the output should contain:
Vswitch {:name=>"no_such_switch"} not found

Last published about 6 years ago by Yasuhito Takamiya.