Skip to content

Commit

Permalink
[neighbor_advertiser] Use full vlan name for vxlan tunnel map program…
Browse files Browse the repository at this point in the history
…ming (sonic-net#604)
  • Loading branch information
pavel-shirshov authored and yxieca committed Aug 14, 2019
1 parent 4efc5de commit 53281d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/neighbor_advertiser
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def add_vxlan_tunnel_map():
for (index, vlan_intf_name) in enumerate(get_vlan_interfaces(), 1):
vxlan_tunnel_map_info = {
'vni': get_vlan_interface_vxlan_id(vlan_intf_name),
'vlan': get_vlan_interface_vlan_id(vlan_intf_name)
'vlan': vlan_intf_name
}

config_db.set_entry('VXLAN_TUNNEL_MAP', (VXLAN_TUNNEL_NAME, VXLAN_TUNNEL_MAP_PREFIX + str(index)), vxlan_tunnel_map_info)
Expand Down

0 comments on commit 53281d0

Please sign in to comment.