Add dhcp6relay dualtor option (#12459)

This commit is contained in:
kellyyeh 2022-10-21 10:33:10 -07:00 committed by Qi Luo
parent 888f6ec157
commit 5d8efe9470

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