def get_bufsize(iface):
 if (__grains__['kernel'] == 'Linux'):
  if os.path.exists('/sbin/ethtool'):
   return _get_bufsize_linux(iface)
 return {}

def get_bufsize ( iface ) : if ( __grains__ [ 'kernel' ] == 'Linux' ) : if os . path . exists ( '/sbin/ethtool' ) : return _get_bufsize_linux ( iface ) return { }
return network buffer sizes as a dict cli example: .