Skip to content

Instantly share code, notes, and snippets.

@valentinbud
Created April 15, 2015 07:58
Show Gist options
  • Save valentinbud/7cfff48a8baaacf4feb9 to your computer and use it in GitHub Desktop.
Save valentinbud/7cfff48a8baaacf4feb9 to your computer and use it in GitHub Desktop.
FIRST TRY
### REMOVE FLOWS
process do |nic|
@nic = nic
if @nic[:ovs_insecure] == "YES"
ovs.deactivate
end
end
SECOND TRY
### REMOVE FLOWS
@vm.nics.each do |nic|
if nic[:ovs_insecure] == "YES"
ovs.deactivate
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment