Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[init_cfg.json] Add new FEATURE and CONTAINER_FEATURE tables #4137

Merged
merged 6 commits into from
Feb 11, 2020
16 changes: 16 additions & 0 deletions files/build_templates/init_cfg.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,21 @@
"{{crm_res}}_high_threshold": "85"{% if not loop.last %},{% endif -%}
{% endfor %}
}
},
"Feature": {
jleveque marked this conversation as resolved.
Show resolved Hide resolved
{%- for feature in ["sflow", "telemetry"] %}
"{{feature}}": {
"status": "disabled"
}{% if not loop.last %},{% endif -%}
{% endfor %}
},
"CONTAINER_FEATURE": {
{%- for container in ["teamd", "swss", "syncd", "pmon", "lldp", "bgp", "dhcp-relay",
"radv", "sflow", "snmp", "telemetry", "database"] %}
jleveque marked this conversation as resolved.
Show resolved Hide resolved
"{{container}}": {
"auto_restart": "disabled",
"high_mem_alert": "disabled"
}{% if not loop.last %},{% endif -%}
{% endfor %}
}
}