def range
      list = []
      ranges = config_get('ospf_area', 'range', @get_args)
      ranges.each do |line|
        llist = []
        params = line.split
        llist[0] = params[0]
        llist[1] = 'not_advertise' if line.include?('not-advertise')
        if line.include?('cost')
          arr_index = llist[1].nil? ? 1 : 2
          llist[arr_index] = params[params.index('cost') + 1]
        end
        list << llist
      end
      list
    end
def range
      list = []
      ranges = config_get('ospf_area', 'range', @get_args)
      ranges.each do |line|
        llist = []
        params = line.split
        llist[0] = params[0]
        llist[1] = 'not_advertise' if line.include?('not-advertise')
        if line.include?('cost')
          arr_index = llist[1].nil? ? 1 : 2
          llist[arr_index] = params[params.index('cost') + 1]
        end
        list << llist
      end
      list
    end
range can take multiple values for the same vrf
 area 1.1.1.1 range 10.3.0.0/32
 area 1.1.1.1 range 10.3.0.1/32
 area 1.1.1.1 range 10.3.3.0/24
 area 1.1.1.1 range 10.3.0.0/16 not-advertise cost 23
 sometimes the not-advertise and cost are reversed in the
 show command for reasons unknown!
 area 1.1.1.1 range 10.3.0.0/16 cost 23 not-advertise
 use positional way of getting the values as it is
 simple and there are only two properties which are
 optional. ip is mandatory
 the return list is of the form [ip, not-advertise, cost]
 ex: [['10.3.0.0/16', 'not-advertise', '23'],
      ['10.3.0.0/32', 'not-advertise'],
      ['10.3.0.1/32'],
      ['10.3.3.0/24', '450']]