Update traffic.rb

Changes to support traffic manager