Add dhcp6relay dualtor option (#12459)

This commit is contained in:
kellyyeh 2022-10-21 10:33:10 -07:00 committed by GitHub
parent d7b9c64757
commit f4046c1417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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