Changes to add template support for copp.json. (#5053)

* Changes to add template support for copp.json.
This is needed so that we can install differnt type of
Traps based on Device Role (Tor/Leaf/Mgmt/etc...).

Initial use case is to install DHCP/DHCPv6 tarp only
for tor router.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>

* Fixed based on review comments.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>

* Fixed based on review comment.
This commit is contained in:
abdosi
2020-07-31 14:14:21 -07:00
committed by GitHub
parent 03d3aa4fc5
commit ec435b955c
3 changed files with 87 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ SYSLOG_IDENTIFIER = 'asic_config_checksum'
CHUNK_SIZE = 8192
CONFIG_FILES = {
os.path.abspath('./src/sonic-swss/swssconfig/sample/'): ['netbouncer.json', '00-copp.config.json']
os.path.abspath('./src/sonic-swss/swssconfig/sample/'): ['netbouncer.json']
}
OUTPUT_FILE = os.path.abspath('./asic_config_checksum')