def port_channel_load_balance
      lb = config_get('portchannel_global',
                      'port_channel_load_balance')
      hash = {}
      lb.each do |line|
        next if line[/(internal|resilient|module|fex|hash)/]
        params = line.split
        lb_type = config_get('portchannel_global', 'load_balance_type')
        case lb_type.to_sym
        when :no_rotate # n3k
          _parse_no_rotate_params(hash, params, line)
        when :ethernet # n6k
          _parse_ethernet_params(hash, params)
        when :asymmetric # n7k
          _parse_asymmetric_params(hash, params, line)
        when :no_hash # n9k-f or n3k-f
          _parse_no_hash_params(hash, params)
        when :symmetry # n9k
          _parse_symmetry_params(hash, params, line)
        end
      end
      hash
    end
def port_channel_load_balance
      lb = config_get('portchannel_global',
                      'port_channel_load_balance')
      hash = {}
      lb.each do |line|
        next if line[/(internal|resilient|module|fex|hash)/]
        params = line.split
        lb_type = config_get('portchannel_global', 'load_balance_type')
        case lb_type.to_sym
        when :no_rotate # n3k
          _parse_no_rotate_params(hash, params, line)
        when :ethernet # n6k
          _parse_ethernet_params(hash, params)
        when :asymmetric # n7k
          _parse_asymmetric_params(hash, params, line)
        when :no_hash # n9k-f or n3k-f
          _parse_no_hash_params(hash, params)
        when :symmetry # n9k
          _parse_symmetry_params(hash, params, line)
        end
      end
      hash
    end
port-channel load-balance is a complicated command
 and this has so many forms in the same device and in
 different devices.
 For ex:
 port-channel load-balance src-dst ip rotate 4 concatenation symmetric
 port-channel load-balance resilient
 port-channel load-balance ethernet destination-mac CRC10c
 port-channel load-balance ethernet source-ip
 port-channel load-balance dst ip-l4port rotate 4 asymmetric
 port-channel load-balance dst ip-l4port-vlan module 9
 port-channel load-balance hash-modulo
 we need to eliminate all the clutter and get the correct
 line of config first and after that get index of each property
 and get the property value because some properties may or
 may not be present always.
 This method returns a hash