Method: Puppet::Provider::Comware::Interface#speed_to_comware
- Defined in:
- lib/puppet/provider/comware/comware_interface.rb
#speed_to_comware(pval) ⇒ Object
72 73 74 |
# File 'lib/puppet/provider/comware/comware_interface.rb', line 72 def speed_to_comware(pval) (jval = INTERFACE_SPEED_TO_COMWARE[pval]).nil? ? 1 : jval end |