def curr_bd_vni_hash
      final_bd_vni = {}
      curr_vni = config_get('bridge_domain_vni', 'member_vni')
      curr_bd_vni = config_get('bridge_domain_vni', 'member_vni_bd')
      return final_bd_vni if curr_vni.empty? || curr_bd_vni.empty?

      curr_vni_list = BridgeDomainVNI.string_to_array(curr_vni)
      curr_bd_vni_list = BridgeDomainVNI.string_to_array(curr_bd_vni)

      hash_map = Hash[curr_bd_vni_list.zip(curr_vni_list.map)]
      @bd_ids_list.each do |bd|
        final_bd_vni[bd.to_i] = hash_map[bd.to_i] if hash_map.key?(bd.to_i)
      end
      final_bd_vni
    end
def curr_bd_vni_hash
      final_bd_vni = {}
      curr_vni = config_get('bridge_domain_vni', 'member_vni')
      curr_bd_vni = config_get('bridge_domain_vni', 'member_vni_bd')
      return final_bd_vni if curr_vni.empty? || curr_bd_vni.empty?

      curr_vni_list = BridgeDomainVNI.string_to_array(curr_vni)
      curr_bd_vni_list = BridgeDomainVNI.string_to_array(curr_bd_vni)

      hash_map = Hash[curr_bd_vni_list.zip(curr_vni_list.map)]
      @bd_ids_list.each do |bd|
        final_bd_vni[bd.to_i] = hash_map[bd.to_i] if hash_map.key?(bd.to_i)
      end
      final_bd_vni
    end
Example clis;
 system bridge-domain 101-200
 bridge-domain 101-200
 bridge-domain 101-110,120,141-145,180
   member vni 6001-6011,5041-5044,8000,9000

 config_get('bridge_domain_vni', 'member_vni')
 will get the current member vni in this case
 6001-6011,5041-5044,8000,9000

 config_get('bridge_domain_vni', 'member_vni_bd')
 will get the current bd's mapped to member vni in this case
 101-110,120,141-145,180

 The @bd_ids_list which is created when the BridgeDomainVNI object is
 initialized which could be 101-110 bd range.
 hash_map will have 101=>6001,102=>6002...120=>6011,141=>5041...180=>9000
 And the final_bd_vni hash will be based of the initialized list
 101=>6001,102=>6002,103=>6003....110=>6010 only.