Skip to content

Commit

Permalink
add backendleafrouter in device type expected (#14889)
Browse files Browse the repository at this point in the history
  • Loading branch information
agadia-cisco authored and mssonicbld committed Oct 10, 2024
1 parent 8200535 commit 91b45ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dhcp_relay/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def dut_dhcp_relay_data(duthosts, rand_one_dut_hostname, ptfhost, tbinfo):
if neighbor_info_dict['name'] in mg_facts['minigraph_devices']:
neighbor_device_info_dict = mg_facts['minigraph_devices'][neighbor_info_dict['name']]
if 'type' in neighbor_device_info_dict and neighbor_device_info_dict['type'] in \
['LeafRouter', 'MgmtLeafRouter']:
['LeafRouter', 'MgmtLeafRouter', 'BackEndLeafRouter']:
# If this uplink's physical interface is a member of a portchannel interface,
# we record the name of the portchannel interface here, as this is the actual
# interface the DHCP relay will listen on.
Expand Down

0 comments on commit 91b45ba

Please sign in to comment.