def dampening
      data = config_get('bgp_af', 'dampening', @get_args)
      return nil if data.nil? # no dampening

      data = data.flatten

      # dampening nil nil nil nil nil
      val = []

      if !data[4].nil?
        # dampening nil nil nil nil route-map
        val = data[4]
      elsif !data[3].nil? && data[4].nil?
        # dampening 1 2 3 4 nil
        val = data[0..3]
      end

      val
    end
def dampening
      data = config_get('bgp_af', 'dampening', @get_args)
      return nil if data.nil? # no dampening

      data = data.flatten

      # dampening nil nil nil nil nil
      val = []

      if !data[4].nil?
        # dampening nil nil nil nil route-map
        val = data[4]
      elsif !data[3].nil? && data[4].nil?
        # dampening 1 2 3 4 nil
        val = data[0..3]
      end

      val
    end
dampening (Getter/Setter/Default)

 The data presented to or retrieved from the config_set and config_get
 for dampening is one of 4 possibilities:

 Value                     Meaning
 -----                     -------
 nil                       Dampening is not configured
 []                        Dampening is configured with no options
 [1,3,4,5,nil]             Dampening + decay, reuse, suppress, suppress_max
 [nil,nil,nil,nil,'route-map'] Dampening + routemap