Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sonic-config-engine/minigraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def parse_spine_chassis_fe(results, vni, lo_intfs, phyport_intfs, pc_intfs, pc_m
break

results['VXLAN_TUNNEL'] = {chassis_vxlan_tunnel: {
'source_ip': lo_addr
'src_ip': lo_addr
}}

# Vnet information
Expand Down
2 changes: 1 addition & 1 deletion src/sonic-config-engine/tests/test_cfggen_t2_chassis_fe.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ def test_minigraph_t2_chassis_fe_vnet(self):
def test_minigraph_t2_chassis_fe_vxlan(self):
argument = '-m "' + self.sample_graph_t2_chassis_fe + '" -p "' + self.t2_chassis_fe_port_config + '" -v "VXLAN_TUNNEL"'
output = self.run_script(argument)
self.assertEqual(output.strip(), "{'TunnelInt': {'source_ip': '4.0.0.0'}}")
self.assertEqual(output.strip(), "{'TunnelInt': {'src_ip': '4.0.0.0'}}")