Method: Puppet::Provider::Comware::Interface#speed_from_comware
- Defined in:
- lib/puppet/provider/comware/comware_interface.rb
#speed_from_comware(jval) ⇒ Object
76 77 78 79 80 81 82 83 84 |
# File 'lib/puppet/provider/comware/comware_interface.rb', line 76 def speed_from_comware(jval) INTERFACE_SPEED_TO_COMWARE.each do |k, v| if v == jval return k end end :auto end |