Method: Puppet::Provider::Comware::Interface#portlayer_from_comware

Defined in:
lib/puppet/provider/comware/comware_interface.rb

#portlayer_from_comware(layer) ⇒ Object



63
64
65
66
67
68
69
70
# File 'lib/puppet/provider/comware/comware_interface.rb', line 63

def portlayer_from_comware(layer)
  case layer
    when 1 then
      :bridge
    else
      :route
  end
end