Created
April 15, 2015 07:58
-
-
Save valentinbud/7cfff48a8baaacf4feb9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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