Skip to content

Commit 3c8ae45

Browse files
authored
[202012] dhcprelay add Loopback0 as source interface in dualtor scenario (sonic-net#15744)
#### Why I did it 1. sonic-build image side change to fix source interface selection in dual tor scenario. dhcprelay related PR: sonic-net/sonic-dhcp-relay#40 2. Announce dhcprelay submodule to 3578eb3 (to invoke [#40](sonic-net/sonic-dhcp-relay#40 ) PR) ##### Work item tracking - Microsoft ADO 24243215 #### How to verify it run test case, dhcp_relay/test_dhcpv6_relay.py
1 parent b1e5a7a commit 3c8ae45

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dockers/docker-dhcp-relay/dhcpv6-relay.agents.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[program:dhcp6relay]
1414
command=/usr/sbin/dhcp6relay
1515
{#- Dual ToR Option #}
16-
{% if 'subtype' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['subtype'] == 'DualToR' %} -d{% endif %}
16+
{% if 'subtype' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['subtype'] == 'DualToR' %} -u Loopback0 {% endif %}
1717

1818
priority=3
1919
autostart=false

0 commit comments

Comments
 (0)