Add dhcp6relay dualtor option (#12459)

This commit is contained in:
kellyyeh 2022-10-21 10:33:10 -07:00 committed by Ying Xie
parent 5dcfab999c
commit c001f2b916

View File

@ -12,6 +12,9 @@
{% set _dummy = relay_for_ipv6.update({'flag': False}) %}
[program:dhcp6relay]
command=/usr/sbin/dhcp6relay
{#- Dual ToR Option #}
{% if 'subtype' in DEVICE_METADATA['localhost'] and DEVICE_METADATA['localhost']['subtype'] == 'DualToR' %} -d{% endif %}
priority=3
autostart=false
autorestart=false