Update virtual_switch.rb to eliminate top-level constants

Without this patch, some warnings are raise while running puppet.
Merge pull request #7 from luisfdez/patch-1

Update virtual_switch.rb to eliminate top-level constants