sonic-buildimage/dockers/docker-teamd/teamd.j2
Taoyu Li 4fe1bdcf87 sonic-cfggen with sonicv2 dockers (#190)
Add a sonic-config-engine to help generate config file based on minigraph and other data on runtime. Modify fpm, teamd, lldp, snmp, and platform-monitor docker to use sonic-config-engine to generate config in docker upon load.
2017-01-19 20:56:26 -08:00

20 lines
381 B
Django/Jinja

{
"device": "{{ pc }}",
"runner": {
"name": "lacp",
"active": true,
"min_ports": 2,
"tx_hash": ["eth", "ipv4", "ipv6"]
},
"link_watch": {
"name": "ethtool"
},
"ports": {
{% for member in minigraph_portchannel_interfaces[pc] %}
"{{member}}": {}{% if not loop.last %},{% endif %}
{% endfor %}
}
}