-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vs] add information about features to config db (#7857)
vs has components from swss, bgp, teamd and nat. This table is needed by this change sonic-net/sonic-utilities#1554. Because sonic-net/sonic-utilities#1554 requires "config warm_restart enable FEATURE" and the FEATURE has to be in feature table. Signed-off-by: Stepan Blyschak <[email protected]>
- Loading branch information
1 parent
d263b57
commit 3e90901
Showing
3 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"DEVICE_METADATA": { | ||
"localhost": { | ||
"mac": "{{ system_mac }}", | ||
"buffer_model": "traditional" | ||
} | ||
}, | ||
{% set features = ["swss", "bgp", "teamd", "nat", "database"] %} | ||
"FEATURE": { | ||
{% for feature in features %} | ||
"{{ feature }}": { | ||
"state": "enabled" | ||
}{% if not loop.last %},{% endif %} | ||
{% endfor %} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters