0908f9ec49
*Add the "always_enabled" field to copp_cfg.j2 file, in order to allow traps without an entry in features table, to be installed automatically.
18 lines
416 B
Django/Jinja
18 lines
416 B
Django/Jinja
{
|
|
"DEVICE_METADATA": {
|
|
"localhost": {
|
|
"mac": "{{ system_mac }}",
|
|
"buffer_model": "traditional"
|
|
}
|
|
},
|
|
{% set features = ["swss", "bgp", "teamd", "nat", "database", "lldp", "dhcp_relay", "macsec"] %}
|
|
"FEATURE": {
|
|
{% for feature in features %}
|
|
"{{ feature }}": {
|
|
"state": "enabled"
|
|
}{% if not loop.last %},{% endif %}
|
|
{% endfor %}
|
|
}
|
|
}
|
|
|